apt-get autoremove removes required packages
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | apt (Ubuntu) |
High
|
Unassigned | ||
Bug Description
Binary package hint: apt
When installing syslog-ng, apt removes syslog and ubuntu-minimal. A subsequent apt-get autoremove tries to remove upstart, which has priority required. I believe apt-get autoremove should not by default autoremove required packages.
Related branches
| John Kozyrakis (ikoz) wrote : | #1 |
| Michael Vogt (mvo) wrote : | #2 |
Thanks for your bugreport.
This is a bug in apt and will be fixed. There may also be a bug in the way we installed the ubuntu-minimal task.
Is this edgy or feisty? Was it a fresh install or a upgrade from a previous release.
Thanks,
Michael
| Changed in apt: | |
| assignee: | nobody → mvo |
| importance: | Undecided → High |
| status: | Unconfirmed → Needs Info |
| Dennis Kaarsemaker (dennis) wrote : Re: [Bug 75882] Re: apt-get autoremove removes required packages | #3 |
> Is this edgy or feisty? Was it a fresh install or a upgrade from a
> previous release.
In my case edgy, upgrded from a very fresh dapper (didn't have a dapper
CD nearby when I needed to install).
| Niko Rosvall (niko-rosvall) wrote : | #4 |
I have fresh install edgy amd64.
I removed openoffice, so metapackage ubuntu-desktop was removed too. After that apt-get autoremove suggest that gedit, gnome-games, gnome-themes, tangerine-
| Niko Rosvall (niko-rosvall) wrote : | #5 |
I just noticed that if I reinstall those packages marked autoremovable, then, after reinstall apt no longer marks them auto removable. I just think that i should not mark those kind of packages at the first place...
| Tollef Fog Heen (tfheen) wrote : | #6 |
Moving milestone forward; herd 2 is out
| Tollef Fog Heen (tfheen) wrote : | #7 |
Michael, please tend to this; it's been around for a while and is milestoned as important to get fixed for feisty.
| Michael Vogt (mvo) wrote : | #8 |
Hey Tollef, thanks for your comment.
Apt will not remove "required" packages anymore since mid Dec. I kept the bug open because I want to understand why those got marked auto-installed in the first-place.
Cheers,
Michael
| Tollef Fog Heen (tfheen) wrote : | #9 |
Moving milestone forward; herd 5 is out.
| Michael Vogt (mvo) wrote : | #10 |
The feisty version of apt will not touch any package with priority "required".
| Changed in apt: | |
| status: | Needs Info → Fix Released |
| John Vivirito (gnomefreak) wrote : | #11 |
I'm reopening this bug as it is reproducible in Jaunty.
| John Vivirito (gnomefreak) wrote : | #12 |
Sorry forgot output:
gnomefreak@
Reading package lists... Done
Building dependency tree
Reading state information... Done
bookmark-merge is already the newest version.
gxineplugin is already the newest version.
xine-plugin is already the newest version.
nautilus-cd-burner is already the newest version.
nautilus-data is already the newest version.
nautilus-gksu is already the newest version.
nautilus-sendto is already the newest version.
gnome-themes-extras is already the newest version.
nautilus-actions is already the newest version.
nautilus-wallpaper is already the newest version.
nautilus-actions is already the newest version.
nautilus-
nautilus-
python-nautilus is already the newest version.
python-nautilus set to manually installed.
The following packages were automatically installed and are no longer required:
desktop-base libgtk2.0-0-dbg planner evolution-
rhythmbox-dbg gnome-desktop-
gstreamer0.
python-renderpm libgsf-1-114-dbg gnome-dbg cheese nvidia-settings evince-dbg
libots0 libpango1.0-0-dbg gnome-network-admin hardinfo libgnomedb3-common
libgnomedb3-4 libgnomevfs2-0-dbg gthumb-data gparted gnome-office
evolution-dbg libaiksaurusgtk
abiword-
python-lxml swfdec-gnome python-
gnumeric-common libxft2-dbg libfontconfig1-dbg dasher libloudmouth1-0
link-
libgsf-
libt1-5 gstreamer0.
python-4suite-doc dasher-data gstreamer0.
dkms abiword-
libxml2-dbg gnome-panel-dbg libswfdec-0.8-0 libgnomedb3-4-dbg libgoffice-0-6
libnss3-1d-dbg python-uniconvertor nautilus-dbg libgtkhtml3.14-dbg liferea
libgdome2-
liboobs-1-4-dbg python-4suite-xml gnumeric libnspr4-0d-dbg
epiphany-
libgnomeui-0-dbg gnome-accessibility libglib2.0-0-dbg
nvidia-
xulrunner-
libgstreamer0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
clamav clamav-base clamav-freshclam libclamav5 libmp4v2-0 python-clamav
Suggested packages:
unrar lha clamav-docs
The fol...
| Changed in apt: | |
| status: | Fix Released → New |
| David Wynn (wynn-david) wrote : | #13 |
No, it's not. Look at your output from Show. "Priority:" shows as Optional. Gnome-core is not a "Priority: Required" package. Its a meta-package that can be used to bring in one group's (Gnome developers? Debian?) idea of a base set of Gnome packages, but it is not essential. The Ubuntu folks have developed their own idea of what should be included as part of a Gnome system, and these would be the "Depends" portion of ubuntu-desktop. If you have ubuntu-minimal, ubuntu-standard, and ubuntu-desktop installed, you have everything you need for a functional Gnome desktop, without installing gnome-core.
I'm going to assume this was fixed since the Feisty era then, and reclose this bug.
| Changed in apt: | |
| status: | New → Fix Released |
| Changed in apt (Ubuntu): | |
| status: | Fix Released → Confirmed |
I have the same problem, in Ubuntu Hardy.
Still issue in Lucid?
| Robbie Williamson (robbiew) wrote : | #16 |
Marking this as "Won't Fix" to keep folks from re-opening. The original problem is FIXRELEASED. Please open a new bug if you believe the issue still exists in a SUPPORTED release.
| Changed in apt (Ubuntu): | |
| milestone: | 7.04-beta → none |
| assignee: | Michael Vogt (mvo) → nobody |
| status: | Confirmed → Won't Fix |


I confirm this, it removed upstart in my system and had to chroot it using live cd to install it again.