[Bug 1583591] [NEW] Removing a meta package shouldn't mark any of it's deps/recommends for autoremove

Doug McMahon 1583591 at bugs.launchpad.net
Thu May 19 12:39:26 UTC 2016


Public bug reported:

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)

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

** Affects: ubuntu-meta (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Also affects: ubuntu-meta (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  Ex.
- $ sudo apt-get autoremove
- [sudo] password for doug: 
- doug at doug-HP-Pavilion-Notebook:~$ sudo apt autoremove
- [sudo] password for doug: 
+ ~$ sudo apt autoremove
+ [sudo] password for doug:
  Reading package lists... Done
- Building dependency tree       
+ 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       
+ 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
+   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
+   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)

-- 
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:
  New
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