Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #13899: apt-queue

Written by BrandonPerry the 30 Sep 08 at 18:48. Category: Usability. Related project: Nothing/Others. Status: New
Rationale
apt-queue would be just as it sounds, a queue for apt. If you are doing a say "sudo apt-get install kubuntu-desktop" but need to install other things after the fact, but don't want to wait around until "apt-get install kubuntu-desktop" is done, apt-queue would allow you to queue apt things. Let's say, while you are installing kubuntu-desktop, you realize you want thunderbird instead of kmail, you would run

sudo apt-queue install mozilla-thunderbird

apt-queue find the pid for the current apt-get process and watches it until it is through, then runs itself. Each apt-queue process would have its own pid obviously, so each apt-queue process would be run in the order the pid was entered on the queue.
Tags: apt

141
votes
up equal down
Solution #1: Auto-generated solution of idea #13899
Written by BrandonPerry the 30 Sep 08 at 18:48.
Ubuntu Brainstorm was updated in January 2009. Since the idea #13899 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
No attachments.


Duplicates


Comments
andruk (Idea reviewer) wrote on the 30 Sep 08 at 20:15
Rather than have yet another application that uses a kludge to monitor another process, simply have apt queue requested packages instead of throwing up an error that "there is another apt process running".

I believe this has been suggested before.

adelie wrote on the 30 Sep 08 at 20:57
Apt never really looses its place, and there is never really any harm done by stopping apt and running the same command again, unless it was in the middle of configuring something, which simply means telling apt to finish configuring packages.

I frequently will begin a large apt-get, then realize I want an additional package, ctrl-c, arrow-up to retype command, add the additional package, then hit enter again. same is true with synaptic. just hit cancel, add packages, and hit apply. and download progress will be saved.

further, the shell has several commands to see if other processes are still running, but the right way to do it would be to prepend your apt-get command with wait until the apt lock file is removed, then continue with the apt-get.

I think the better feature is that the shell is super flexible, and apt is very difficult to break.

Reactor5 wrote on the 30 Sep 08 at 22:22
Perhaps a better feature would be "apt-get add" which would do something combining what you and adelie are saying.

Xepra wrote on the 1 Oct 08 at 09:35
Def a dupe, but can't find the original right off...

Null wrote on the 1 Oct 08 at 11:06
You can use apt-get install stuff more_stuff even_more_stuff which will instal all the specified packages. You may even want to add -y argument if you dont want to waste time manualy saying yes.


Post your comment