Explicit list of user-chosen packages

Bug #47348 reported by Alexander Jones
4
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Medium
Unassigned

Bug Description

One thing that I love about Gentoo Linux right now is that I have a "world file", which lists every package I have explicitly chosen to have installed on my system. It's not a perfect solution, but I think it's nicer than Aptitude's approach of flagging packages as "automatically installed". It should work off of dependency graph analysis.

Removing packages that are dependants of other packages should remove the dependant package and all remaining unneeded and unwanted dependencies.

For example, if I have a clean installation, my package list is simply "ubuntu-desktop". If I wish to remove Mozilla Firefox, APT should figure out that it is installed through being a dependency of "ubuntu-desktop" and prompt me to remove that package, along with all of its dependencies. Importantly, though, it should give me the option to keep the remaining dependencies and add them to my explicit package list. This would require a careful refactoring of dependencies in order to keep this managable for the every-day user.

If, after removing Firefox and adding all other dependencies of ubuntu-desktop to my package list, I then decide to install ubuntu-desktop again, Firefox would be reinstalled, and the package list would have redundant items in. I think some sort of interface for maintaining a package list would be necessary - there may be cases whereby users wish to explicitly say that they want these packages to be installed even though they are currently installed as dependencies of other packages. This means that if a dependant package's dependencies change, it won't be automatically removed.

Sound like a plan?

Revision history for this message
Simon Law (sfllaw) wrote :

Thanks for your report. Your idea might get more attention and have
the possibility of being implemented if you would submit a
specification for this.

You should first check whether it already exists at the Ubuntu specs
page (https://launchpad.net/distros/ubuntu/+specs) in Launchpad. If
that is the case, feel free to contact the drafter of that spec about
your comments/suggestions. Otherwise you can start writing a spec
following the steps described in
        https://wiki.ubuntu.com/FeatureSpecifications.

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 47348] Explicit list of user-chosen packages

Alex:

Sounds like you will love debfoster :)

(its 'world file' is /var/lib/debfoster/keepers)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.