Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21549 ideas, 132424 comments, 2606791 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #25794: Que for apt-get

Written by Naitsirhc Hsem the 7 Sep 10 at 15:07. Related project: Synaptic package manager. Status: New
Rationale
I noticed that the software center lets you line up packages to install in real time. I was wondering if a program similar to apt-get could make a download que and install packages as soon as the download was finished, packages could be downloading while another installed.

73
votes
up equal down
Solution #1: apt-get que packages
Written by Naitsirhc Hsem the 7 Sep 10 at 15:07.
I think if you could add the que option to apt-get, it would make installing multiple packages easier.
EX:

sudo apt-get que ubuntu-restricted-extras kile gedit ubuntu-desktop

sudo apt-get que start
-23
votes
up equal down
Solution #2: Functionality already exists in apt-get
Written by Cybolic the 14 Sep 10 at 11:18.
To download the packages:

sudo apt-get --download-only install package1 package2 package3

or the short version:

sudo apt-get -d install package1 package2 package3

And then install them, specifically stating not to download any newer version:

sudo apt-get --no-download install package1 package2 package3
-18
votes
up equal down
Solution #3: Use Packagekit instead of Apt directly
Written by snadrus the 16 Sep 10 at 20:28.
sudo pkcon install 2vcard

Propose your solution

Attachments
No attachments.


Duplicates


Comments
pererik87 wrote on the 7 Sep 10 at 19:39
Already possible.

sudo apt-get package1 package2 package3

Akerbos wrote on the 7 Sep 10 at 20:08
10.000th proposal of this kind.

cheesehead (Brainstorm admin) wrote on the 7 Sep 10 at 22:39
Seems like the idea is more like:

sudo apt-get install package1 package2 package3

sudo apt-get install package4 #appends to the existing list of packages awaiting action

And there have indeed been lots of ideas for ambitions simultaneous download / install using queues, but this seems much more sensible...and quite useful to us poor humans who do suddenly remember a package at inopportune moments.


lvxferre wrote on the 9 Sep 10 at 23:11
@pererik87: just "apt-get install p1 p2 p3" will download all the packages and only after download is complete will begin to install them. And if you "apt-get install p4" in another terminal, it'll only warn you that apt is already in use.

Hsem's idea is making a queue as a new functionality - and seems easy enough and useful enough to implement.

auerswald wrote on the 14 Sep 10 at 06:03
A queuing functionality for apt would be nice, but it should be transparent. An "apt-get install p" concurrently to a running "apt-get install p'" should resolve the dependencys of p with the assumption that p' (with dependencies) is installed, wait for completion of "apt-get install p'" and then install p with dependencys unless the user aborted the install. It should display a message to show why it it waiting with the actual installation.

oliver-joos wrote on the 14 Sep 10 at 13:42
This idea proposes "downloading WHILE another is installed".
I think solution 2 solves the opposite: first download all and AFTERWARDS install all packages.

Both can be useful: #1 saves time, #2 installs while being offline. But IMHO solution 2 should go into a separate idea.

snadrus wrote on the 16 Sep 10 at 20:25
Packagekit queues:

sudo pkcon install flashplugin-nonfree

AND that command works on default Ubuntu, Debian, Redhat, or any modern Desktop with packagekit.


Post your comment