[Bug 248268] Re: Packages installed with apt-get build-dep should be set to auto-installed for easy removal
Bug Watch Updater
248268 at bugs.launchpad.net
Thu Aug 11 02:31:59 UTC 2011
** Changed in: apt
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/248268
Title:
Packages installed with apt-get build-dep should be set to auto-
installed for easy removal
Status in APT:
Fix Released
Status in “apt” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: apt
Reference Debian bug report #448743. I just submitted a patch for
fixing this behaviour there.
When installing a package's build-dependancies, they are all marked
manually-installed. This creates a situation where they must all be
manually removed afterwards. (usually uninstalling libc6-dev takes
care of a large portion)
orion at eris:~$ sudo apt-get build-dep bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
autoconf autotools-dev bison libncurses5-dev m4 tex-common texi2html texinfo texlive-base texlive-base-bin texlive-common texlive-doc-base texlive-latex-base
0 upgraded, 13 newly installed, 0 to remove and 16 not upgraded.
Need to get 14.9MB of archives.
orion at eris:~$ sudo apt-get autoremove --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
This patch sets the status of the installed build-dependancies to Auto, so that they are available for removal with apt-get autoremove.
orion at eris:~$ sudo apt-get build-dep bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
autoconf autotools-dev bison libncurses5-dev m4 tex-common texi2html texinfo texlive-base texlive-base-bin texlive-common texlive-doc-base texlive-latex-base
0 upgraded, 13 newly installed, 0 to remove and 16 not upgraded.
Need to get 14.9MB of archives.
orion at eris:~$ sudo apt-get autoremove --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
texlive-common texi2html bison libncurses5-dev texlive-base-bin texlive-latex-base autoconf texlive-base texlive-doc-base autotools-dev tex-common texinfo
The following packages will be REMOVED:
autoconf* autotools-dev* bison* libncurses5-dev* tex-common* texi2html* texinfo* texlive-base* texlive-base-bin* texlive-common* texlive-doc-base* texlive-latex-base*
0 upgraded, 0 newly installed, 12 to remove and 16 not upgraded.
This patch applies cleanly to apt currently in hardy (0.7.9ubuntu17),
at least through apt currently in debian/unstable (0.7.14).
To manage notifications about this bug go to:
https://bugs.launchpad.net/apt/+bug/248268/+subscriptions
More information about the foundations-bugs
mailing list