[Bug 1583591] Re: Removing a meta package shouldn't mark any of it's deps/recommends for autoremove
David Kalnischkies
1583591 at bugs.launchpad.net
Thu May 19 13:20:20 UTC 2016
This is an explicit feature – apt will mark the packages as manual if
the metapackage is removed as a consequence of another package (e.g. you
remove the browser the metapackage depends on, the office-suite will be
marked as manual to prevent it to be removed automatically just because
you don't like the browser).
If you request the removal of the metapackage explicitly through, the
dependencies will not be marked. You can do that manually as you see
fit. This is done so that people who install a suite of packages via a
metapackage can get right of this suite in (roughly) the same way they
installed it.
** Changed in: apt (Ubuntu)
Status: New => Opinion
--
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/1583591
Title:
Removing a meta package shouldn't mark any of it's deps/recommends for
autoremove
Status in apt package in Ubuntu:
Opinion
Status in ubuntu-meta package in Ubuntu:
New
Bug description:
Ex.
~$ sudo apt autoremove
[sudo] password for doug:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
doug at doug-HP-Pavilion-Notebook:~$ sudo apt remove ubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apturl apturl-common cheese gir1.2-rb-3.0 gir1.2-secret-1 gnome-video-effects gstreamer1.0-alsa
gstreamer1.0-plugins-base-apps libdmapsharing-3.0-2 libexiv2-14 libgexiv2-2 libgpod-common libgpod4 libraw15
librhythmbox-core9 libsgutils2-2 media-player-info nautilus-share python3-mako rhythmbox rhythmbox-data
rhythmbox-plugin-zeitgeist rhythmbox-plugins shotwell shotwell-common snapd squashfs-tools ubuntu-core-launcher
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
ubuntu-desktop
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 46.1 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt 1.2.10ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu May 19 08:35:52 2016
InstallationDate: Installed on 2016-04-26 (22 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1583591/+subscriptions
More information about the foundations-bugs
mailing list