Comment 0 for bug 1990586

Revision history for this message
Jeremy BĂ­cha (jbicha) wrote :

Impact
------
Users who manually run sudo apt dist-upgrade without paying attention can remove essential parts of their system

Test Case
---------
This test case won't work as well if phasing is set to 0% or 100%

Set /etc/machine-id to 2c030cfce3b4487f9810f12a3ac6e87c

sudo apt update
sudo apt dist-upgrade

Workaround
----------
Don't run sudo apt dist-upgrade. Just run sudo apt upgrade
Or use Update Manager or the Ubuntu Store to apply updates

Other Info
----------
These 3 updates were published today:
python3-stdlib-extensions
python3-defaults
python3.10

Apt Output
----------
The following packages were automatically installed and are no longer required:
  apg apport-symptoms aptdaemon-data avahi-utils cups-pk-helper distro-info gdb gedit-common genisoimage gir1.2-dbusmenu-glib-0.4 gir1.2-dee-1.0 gir1.2-goa-1.0 gir1.2-gst-plugins-base-1.0
  gir1.2-gtksource-4 gir1.2-gudev-1.0 gir1.2-notify-0.7 gir1.2-packagekitglib-1.0 gir1.2-rb-3.0 gir1.2-secret-1 gir1.2-snapd-1 gir1.2-totem-1.0 gir1.2-totemplparser-1.0 gir1.2-udisks-2.0
  gir1.2-unity-7.0 gir1.2-vte-2.91 gir1.2-wnck-3.0 gnome-control-center-faces gnome-online-accounts gnome-session-bin gnome-session-common gnome-software-common gnome-startup-applications
  gnome-terminal-data hplip-data ibus-data ibus-gtk4 libbabeltrace1 libboost-regex1.74.0 libc6-dbg libcolord-gtk1 libdebuginfod-common libdebuginfod1 libdmapsharing-3.0-2 libglu1-mesa
  libgpod-common libgpod4 libgsound0 libgssdp-1.2-0 libgupnp-1.2-1 libgupnp-av-1.0-3 libgupnp-dlna-2.0-4 libhpmud0 libimagequant0 libipt2 liblirc-client0 libmalcontent-0-0 libnetplan0 libraqm0
  librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 libsane-hpaio libsgutils2-2 libsource-highlight-common libsource-highlight4v5 libwhoopsie-preferences0
  libwnck-3-0 libwnck-3-common libxatracker2 libxres1 libxss1 libxvmc1 mobile-broadband-provider-info network-manager-gnome patch printer-driver-hpcups printer-driver-postscript-hp
  python-apt-common python3-brlapi python3-cairo python3-certifi python3-chardet python3-click python3-colorama python3-cups python3-dateutil python3-debconf python3-debian python3-defer
  python3-distro-info python3-httplib2 python3-importlib-metadata python3-jeepney python3-keyring python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri python3-louis
  python3-macaroonbakery python3-mako python3-markupsafe python3-more-itertools python3-netifaces python3-olefile python3-pil python3-pkg-resources python3-problem-report python3-protobuf
  python3-pymacaroons python3-pyparsing python3-renderpm python3-reportlab python3-reportlab-accel python3-requests python3-rfc3339 python3-secretstorage python3-systemd python3-tz
  python3-wadllib python3-xkit python3-zipp rygel whoopsie-preferences x11-apps x11-session-utils xbitmaps xbrlapi xcvt xfonts-scalable xinit xinput xserver-xorg-core xserver-xorg-input-all
  xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel
  xserver-xorg-video-nouveau xserver-xorg-video-qxl xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  apport apport-gtk aptdaemon apturl apturl-common command-not-found gdm3 gedit gnome-control-center gnome-software gnome-software-plugin-snap gnome-terminal hplip ibus ibus-table
  language-selector-common language-selector-gnome nautilus-extension-gnome-terminal nautilus-share netplan.io networkd-dispatcher orca python3-apport python3-apt python3-aptdaemon
  python3-aptdaemon.gtk3widgets python3-commandnotfound python3-cupshelpers python3-dbus python3-distupgrade python3-gi python3-gi-cairo python3-ibus-1.0 python3-pyatspi
  python3-software-properties python3-update-manager python3-yaml rhythmbox-plugin-alternative-toolbar rhythmbox-plugins software-properties-common software-properties-gtk system-config-printer
  system-config-printer-common system-config-printer-udev totem-plugins ubuntu-advantage-desktop-daemon ubuntu-advantage-tools ubuntu-desktop ubuntu-desktop-minimal ubuntu-drivers-common
  ubuntu-minimal ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk ubuntu-session unattended-upgrades update-manager update-manager-core update-notifier update-notifier-common
  usb-creator-common usb-creator-gtk xorg xserver-xorg
The following packages have been kept back:
  gnome-shell gnome-shell-common grub-efi-amd64-bin grub-efi-amd64-signed gzip libnss-systemd libpam-systemd libpython3-stdlib libpython3.10 libpython3.10-minimal libpython3.10-stdlib
  libspeechd2 libsystemd0 libudev1 python3 python3-gdbm python3-lib2to3 python3-minimal python3-speechd python3.10 python3.10-minimal speech-dispatcher speech-dispatcher-audio-plugins
  speech-dispatcher-espeak-ng systemd systemd-oomd systemd-sysv systemd-timesyncd udev xwayland
The following packages will be upgraded:
  apt apt-utils dmidecode evolution-data-server evolution-data-server-common fonts-opensymbol fprintd gir1.2-gnomedesktop-3.0 gir1.2-gtk-4.0 gjs gnome-control-center-data
  gnome-control-center-faces gnome-desktop3-data gnome-remote-desktop isc-dhcp-client isc-dhcp-common libapt-pkg6.0 libcamel-1.2-63 libcryptsetup12 libebackend-1.2-10 libebook-1.2-20
  libebook-contacts-1.2-3 libecal-2.0-1 libedata-book-1.2-26 libedata-cal-2.0-1 libedataserver-1.2-26 libedataserverui-1.2-3 libgjs0g libgnome-bg-4-1 libgnome-desktop-3-19 libgnome-desktop-4-1
  libgtk-4-1 libgtk-4-bin libgtk-4-common libldap-2.5-0 libldap-common libnftables1 libpam-fprintd libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
  libreoffice-gnome libreoffice-gtk3 libreoffice-help-common libreoffice-help-en-us libreoffice-impress libreoffice-math libreoffice-ogltrans libreoffice-pdfimport libreoffice-style-breeze
  libreoffice-style-colibre libreoffice-style-elementary libreoffice-style-yaru libreoffice-writer libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3
  libuno-salhelpergcc3-3 linux-firmware nftables python3-uno thermald uno-libs-private ure xdg-utils xserver-xorg-video-amdgpu zlib1g
70 upgraded, 0 newly installed, 63 to remove and 30 not upgraded.