[Bug 1860620] [NEW] ubuntu-desktop-minimal should not depend on mysql libs
Casey Marshall
casey.marshall at canonical.com
Thu Jan 23 01:33:52 UTC 2020
Public bug reported:
After upgrading to 20.04 I decided to remove packages that I don't need
or use.
I was surprised to find that mysql client, server and common packages
were installed, as I could not remember having installed mysql -- I
don't use it or develop for it...
When I removed them, ubuntu-desktop-minimal went along for the ride:
c at slate:~$ sudo apt-get purge -y mysql-client-core-5.7 mysql-common mysql-server-core-5.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-client-core-5.7' is not installed, so not removed
Package 'mysql-server-core-5.7' is not installed, so not removed
The following package was automatically installed and is no longer required:
libgsound0
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
colord* gnome-control-center* libmysqlclient21* libsane* libsnmp30* mysql-common* ubuntu-desktop-minimal*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 28.4 MB disk space will be freed.
(Reading database ... 381127 files and directories currently installed.)
Removing ubuntu-desktop-minimal (1.443) ...
Removing gnome-control-center (1:3.34.1-1ubuntu3) ...
Removing colord (1.4.4-1ubuntu1) ...
Removing libsane:amd64 (1.0.27-3.2ubuntu3) ...
Removing libsnmp30:amd64 (5.7.3+dfsg-5ubuntu6) ...
Removing libmysqlclient21:amd64 (8.0.18-0ubuntu5) ...
Removing mysql-common (5.8+1.0.5ubuntu2) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.63.3-1) ...
Processing triggers for libc-bin (2.30-0ubuntu3) ...
Processing triggers for man-db (2.9.0-2) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Processing triggers for udev (244-3ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
(Reading database ... 380812 files and directories currently installed.)
Purging configuration files for mysql-common (5.8+1.0.5ubuntu2) ...
Purging configuration files for colord (1.4.4-1ubuntu1) ...
And, reinstalling ubuntu-desktop-minimal wants to brings them back, even
with recommends and suggests turned off:
c at slate:~$ sudo apt install ubuntu-desktop-minimal --no-install-recommends --no-install-
--no-install-recommends --no-install-suggests
c at slate:~$ sudo apt install ubuntu-desktop-minimal --no-install-recommends --no-install-suggests
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
colord gnome-control-center libmysqlclient21 libsane libsnmp30 mysql-common
Suggested packages:
colord-sensor-argyll gnome-user-share realmd libcanberra-gtk-module hplip
Recommended packages:
gnome-online-accounts gnome-control-center-faces rygel | rygel-tracker sane-utils firefox hplip
The following NEW packages will be installed:
colord gnome-control-center libmysqlclient21 libsane libsnmp30 mysql-common ubuntu-desktop-minimal
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,114 kB of archives.
After this operation, 28.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
This seems really wrong... and looks like a transitive dependency, as I
don't see it in apt-get showpkg ubuntu-desktop-minimal.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-desktop-minimal 1.443
ProcVersionSignature: Ubuntu 4.15.0-74.84-generic 4.15.18
Uname: Linux 4.15.0-74-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair binder_linux ashmem_linux
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 22 19:26:53 2020
InstallationDate: Installed on 2018-08-26 (514 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-meta
UpgradeStatus: Upgraded to focal on 2020-01-23 (0 days ago)
** Affects: ubuntu-meta (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal wayland-session
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1860620
Title:
ubuntu-desktop-minimal should not depend on mysql libs
Status in ubuntu-meta package in Ubuntu:
New
Bug description:
After upgrading to 20.04 I decided to remove packages that I don't
need or use.
I was surprised to find that mysql client, server and common packages
were installed, as I could not remember having installed mysql -- I
don't use it or develop for it...
When I removed them, ubuntu-desktop-minimal went along for the ride:
c at slate:~$ sudo apt-get purge -y mysql-client-core-5.7 mysql-common mysql-server-core-5.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-client-core-5.7' is not installed, so not removed
Package 'mysql-server-core-5.7' is not installed, so not removed
The following package was automatically installed and is no longer required:
libgsound0
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
colord* gnome-control-center* libmysqlclient21* libsane* libsnmp30* mysql-common* ubuntu-desktop-minimal*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 28.4 MB disk space will be freed.
(Reading database ... 381127 files and directories currently installed.)
Removing ubuntu-desktop-minimal (1.443) ...
Removing gnome-control-center (1:3.34.1-1ubuntu3) ...
Removing colord (1.4.4-1ubuntu1) ...
Removing libsane:amd64 (1.0.27-3.2ubuntu3) ...
Removing libsnmp30:amd64 (5.7.3+dfsg-5ubuntu6) ...
Removing libmysqlclient21:amd64 (8.0.18-0ubuntu5) ...
Removing mysql-common (5.8+1.0.5ubuntu2) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.63.3-1) ...
Processing triggers for libc-bin (2.30-0ubuntu3) ...
Processing triggers for man-db (2.9.0-2) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Processing triggers for udev (244-3ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
(Reading database ... 380812 files and directories currently installed.)
Purging configuration files for mysql-common (5.8+1.0.5ubuntu2) ...
Purging configuration files for colord (1.4.4-1ubuntu1) ...
And, reinstalling ubuntu-desktop-minimal wants to brings them back,
even with recommends and suggests turned off:
c at slate:~$ sudo apt install ubuntu-desktop-minimal --no-install-recommends --no-install-
--no-install-recommends --no-install-suggests
c at slate:~$ sudo apt install ubuntu-desktop-minimal --no-install-recommends --no-install-suggests
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
colord gnome-control-center libmysqlclient21 libsane libsnmp30 mysql-common
Suggested packages:
colord-sensor-argyll gnome-user-share realmd libcanberra-gtk-module hplip
Recommended packages:
gnome-online-accounts gnome-control-center-faces rygel | rygel-tracker sane-utils firefox hplip
The following NEW packages will be installed:
colord gnome-control-center libmysqlclient21 libsane libsnmp30 mysql-common ubuntu-desktop-minimal
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,114 kB of archives.
After this operation, 28.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
This seems really wrong... and looks like a transitive dependency, as
I don't see it in apt-get showpkg ubuntu-desktop-minimal.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-desktop-minimal 1.443
ProcVersionSignature: Ubuntu 4.15.0-74.84-generic 4.15.18
Uname: Linux 4.15.0-74-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair binder_linux ashmem_linux
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 22 19:26:53 2020
InstallationDate: Installed on 2018-08-26 (514 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-meta
UpgradeStatus: Upgraded to focal on 2020-01-23 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1860620/+subscriptions
More information about the foundations-bugs
mailing list