'apt-get install somepackage' tells me I have packages to autoremove.

Bug #69148 reported by Frode M. Døving
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Wishlist
Michael Vogt

Bug Description

I don't want this information when installing packages.
If I want to autoremove packages, I use 'apt-get autoremove'.

It's not like 'apt-get remove somepackage' tells me I have 233456 packages that can be upgraded, and I should run 'apt-get upgrade' to install them.

Attaching a debdiff that itroduces the APT::Get::HideAutoRemove key.
If set to 'true' it will hide the autoremove messages when doing other things.
'apt-get autoremove' still behaves normally.

Revision history for this message
Frode M. Døving (frode) wrote :

debdiff attached.

Revision history for this message
Frode M. Døving (frode) wrote :

diff.
cleaner than the debdiff.

Michael Vogt (mvo)
Changed in apt:
assignee: nobody → mvo
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Francois-Denis Gonthier (fdgonthier) wrote :

Thanks you. This patch cured that annoyance.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This should be fixed with the latest version of apt in feisty, please reopen if you still see this problem.

Cheers,
 Michael

Changed in apt:
status: Confirmed → Fix Released
Revision history for this message
Sam_ (and-sam) wrote :

Just uploaded Apport Report about system specs, in short, bug still remains in Karmic via CLI.
Not sure which key you meant here,

> Attaching a debdiff that itroduces the APT::Get::HideAutoRemove key.

manpage of apt-get doesn't mention it.

Did a test cmd via CLI:
sudo apt-get -s purge gnome-utils
Output:
Paketlisten werden gelesen... Fertig ## read package list
Abhängigkeitsbaum wird aufgebaut ## create dependency tree
Lese Status-Informationen ein... Fertig ## read status information
## However, below are the essential (irritating) lines.
## Following packages were installed automatically and no longer needed. Use 'apt-get autoremove' to remove them.
## I know for what reason I want to keep them and certainly don't want to remove them.
## But it may confuse a user to issue the cmd 'autoremove'.
Die folgenden Pakete wurden automatisch installiert und werden nicht länger benötigt:
  libglademm-2.4-1c2a pavucontrol linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
  gnome-utils* ubuntu-desktop*
0 aktualisiert, 0 neu installiert, 2 zu entfernen und 0 nicht aktualisiert.
Purg ubuntu-desktop [1.175]
Purg gnome-utils [2.28.1-0ubuntu1]

Thanks for your attention.

Changed in apt (Ubuntu):
status: Fix Released → New
Revision history for this message
Frode M. Døving (frode) wrote :

This configuration key is listed in /usr/share/doc/apt/examples/configure-index.gz , with all the other configuration keys.
If you want to use it, read the manpage for apt.conf and the mentioned configure-index.gz.

Changed in apt (Ubuntu):
status: New → Fix Released
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.