Public bug reported:

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)

[EMAIL PROTECTED]:~$ 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.

[EMAIL PROTECTED]:~$ 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.

[EMAIL PROTECTED]:~$ 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.

[EMAIL PROTECTED]:~$ 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).

** Affects: apt
     Importance: Unknown
         Status: New

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Packages installed with apt-get build-dep should be set to auto-installed for 
easy removal
https://bugs.launchpad.net/bugs/248268
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to