"Unknown Package Versions" before Crimson upgrade, huge autoremove list after

I finally made some time to do the upgrade 3 or 4 weeks ago. The installer app complained about several “Unknown Package Versions”. After poking around in this forum a bit, seemed like I could just use apt to remove them.

Didn’t really see any issues with removing most of them. However I was a little hesitant when I removed “pureos-desktop”, so saved that for last. After removing it there was a huge list of packages that could be autoremoved, but I saw some things in that list that gave me pause (things like “xorg” and other packages prefixed with “x11”), so I held off on doing it until I could check here.

I don’t see an option for attaching a file… if I don’t get the option after posting I’ll add the package list in a reply post…

But the question is… can I remove all these? Is it possible apt maybe didn’t catch a dependency on one of these?

Unknown package versions:

libvpx5 (1.7.0-3+deb10u1)
libffi6 (3.2.1-9)
libnettle6 (3.4.1-1+deb10u1)
libx264-152 (2:0.152.2854+gite9a5903-2+b1)
gcc-5-base (5.4.1-4)
libx265-160 (2.8-4)
libgcc1 (1:8.3.0-6)
libapt-pkg5.0 (1.8.2.3)
gcc-6-base (6.5.0-1)
liblogging-stdlog0 (1.0.6-3)
libip4tc0 (1.8.2-4)
gcc-8-base (8.3.0-6)
e2fslibs (1.44.5-1+deb10u3)
libcomerr2 (1.44.5-1+deb10u3)
libreadline7 (7.0-5)
libsndio6.1 (1.1.0-3)
libssl1.0.2 (1.0.2q-2)
libapt-inst2.0 (1.8.2.3)
libavcodec-extra57 (7:3.4.2-2+b2)
libcrystalhd3 (1:0.0~git20110715.fdd2f19-13)
libavutil55 (7:3.4.3-1)
libjson-c3 (0.12.1+ds-2+deb10u1)
libprocps7 (2:3.3.15-2)
libip6tc0 (1.8.2-4)
multiarch-support (2.28-10+deb10u2)
libdns-export1100 (1:9.11.3+dfsg-2)
libswresample2 (7:3.4.3-1)
libhogweed4 (3.4.1-1+deb10u1)
libisc-export169 (1:9.11.3+dfsg-2)
pureos-desktop (0.9.7)
libgdbm3 (1.8.3-14)
libgdbm5 (1.14.1-6+b1)

---------------------------

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  acpi-fakekey acpi-support acpi-support-base acpid apparmor-profiles apt-file apt-forktracer attr augeas-lenses baobab bind9-dnsutils bind9-host bind9-libs bluez-cups
  cheese cheese-common clapper coinor-libcbc3 coinor-libcgl1 coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5 coinor-libosi1v5 command-not-found crda cryptsetup
  cryptsetup-initramfs cryptsetup-run dc dctrl-tools deja-dup distro-info-data dkms dmeventd dmz-cursor-theme dnsutils duplicity endeavour endeavour-common eog exfat-fuse
  feedbackd feedbackd-common file-roller firefox-esr-mobile-config flashrom folks-common fonts-hack fonts-hack-ttf fonts-lato fonts-noto-cjk fonts-noto-color-emoji
  fonts-noto-core fonts-noto-ui-core fonts-open-sans four-in-a-row fwupd g++-10 gedit gedit-common genisoimage ghostscript-x gir1.2-appstream-1.0 gir1.2-champlain-0.12
  gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-evince-3.0 gir1.2-geocodeglib-1.0 gir1.2-geocodeglib-2.0 gir1.2-gfbgraph-0.2 gir1.2-gmenu-3.0
  gir1.2-gnomebluetooth-1.0 gir1.2-goa-1.0 gir1.2-grilo-0.3 gir1.2-gspell-1 gir1.2-gst-plugins-base-1.0 gir1.2-gtkchamplain-0.12 gir1.2-gtkclutter-1.0 gir1.2-gweather-3.0
  gir1.2-handy-0.0 gir1.2-mediaart-2.0 gir1.2-peas-1.0 gir1.2-rb-3.0 gir1.2-rest-0.7 gir1.2-rest-1.0 gir1.2-shumate-1.0 gir1.2-totem-1.0 gir1.2-totemplparser-1.0
  gir1.2-tracker-3.0 gnome-accessibility-themes gnome-bluetooth gnome-bluetooth-common gnome-boxes gnome-calculator gnome-calendar gnome-clocks gnome-contacts
  gnome-disk-utility gnome-font-viewer gnome-getting-started-docs gnome-initial-setup gnome-logs gnome-maps gnome-music gnome-online-miners gnome-orca gnome-photos
  gnome-power-manager gnome-screenshot gnome-session-canberra gnome-shell-extensions gnome-sushi gnome-system-monitor gnome-text-editor gnome-themes-extra
  gnome-themes-extra-data gnome-themes-standard gnome-todo gnome-tweaks gnome-video-effects grilo-plugins-0.3 gstreamer1.0-clutter-3.0 gstreamer1.0-gtk3
  gstreamer1.0-packagekit gtk2-engines-pixbuf gucharmap guile-2.2-libs gvfs-bin gvfs-fuse hdparm ibus-libpinyin ibus-table ibverbs-providers inetutils-telnet inputattach
  iputils-tracepath ipxe-qemu irqbalance isenkram-cli iw libaio1 libamtk-5-0 libamtk-5-common libappstream-glib8 libapt-pkg-perl libarmadillo10 libatk1.0-data libaugeas0
  libavcodec-extra libavdevice58 libavfilter7 libavformat58 libavresample4 libb2-1 libbox2d2 libbpf0 libc++1-16 libc++abi1-16 libcacard0 libcamel-1.2-62 libcapstone4
  libcbor0 libcephfs2 libcfitsio9 libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcheese-gtk25 libcheese8 libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcmis-0.5-5v5
  libcolord-gtk1 libcue2 libcupsimage2 libdap27 libdapclient6v5 libdaxctl1 libdevmapper-event1.02.1 libdleyna-connector-dbus-1.0-1 libdleyna-core-1.0-5
  libdmapsharing-3.0-2 libdns-export1110 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-25 libedataserverui-1.2-2 libedataserverui4-1.0-0 libeditorconfig0 libepsilon1 libexecs0 libexempi8 libexporter-tiny-perl libextutils-pkgconfig-perl
  libfam0 libfdt1 libfeedback-0.0-0 libffi7 libflac8 libflashrom1 libfluidsynth2 libfmt9 libfolks-eds26 libfolks26 libfstrm0 libftdi1-2 libfwupd2 libfwupd3 libfwupdplugin1
  libgail-3-0 libgcab-1.0-0 libgdal28 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libgeocode-glib0 libgeos-3.9.0 libgfapi0 libgfbgraph-0.2-0 libgfrpc0 libgfxdr0
  libgl1-mesa-glx libglew2.1 libglu1-mesa libglusterfs0 libgmobile-common libgmobile0 libgnome-bluetooth13 libgnome-menu-3-0 libgnome-todo libgom-1.0-0 libgpod-common
  libgpod4 libgrilo-0.3-0 libgs9-common libgsf-1-114 libgsf-1-common libgssdp-1.2-0 libgtk-vnc-2.0-0 libgtkhex-3-0 libgtksourceview-5-0 libgtksourceview-5-common
  libgucharmap-2-90-7 libgupnp-1.2-0 libgvnc-1.0-0 libgweather-3-16 libgweather-common libhandy-0.0-0 libibverbs1 libicu67 libigdgmm11 libilmbase25 libiptcdata0
  libisc-export1105 libiscsi7 libjavascriptcoregtk-6.0-1 libjaylink0 libjcat1 libjemalloc2 libjim0.79 libjsoncpp24 libkf5idletime5 libkf5sane-data libkf5sane5
  libksanecore1 liblibreoffice-java liblist-moreutils-perl liblist-moreutils-xs-perl libllvm11 liblua5.4-0 liblvm2cmd2.03 libmalcontent-ui-0-0 libmarisa0
  libmission-control-plugins0 libmms0 libmozjs-78-0 libmpdec3 libmusicbrainz5-2 libmusicbrainz5cc2v5 libnautilus-extension1a libncurses5 libncursesw5 libndctl6
  libneon27-gnutls libnetcdf18 libnetcf1 libnotify-bin libntfs-3g883 liboauth0 libodbc1 libodbccr2 libofa0 libopencc-data libopencc1.1 libopenexr25 liborcus-0.16-0
  liborcus-parser-0.16-0 libosinfo-1.0-0 libosinfo-bin libosinfo-l10n libpam-cracklib libpeas-1.0-0 libpeas-common libperl5.32 libphobos2-ldc-shared94 libphodav-2.0-0
  libphodav-2.0-common libphodav-3.0-0 libphodav-3.0-common libpinyin-data libpinyin15 libpkgconf3 libplacebo72 libpmem1 libpodofo0.9.7 libpoppler102 libportal-gtk4-1
  libpostproc55 libprocps8 libproj19 libprotobuf-c1 libprotobuf-lite23 libprotobuf23 libproxy1-plugin-gsettings libproxy1-plugin-networkmanager libproxy1-plugin-webkit
  libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqhull8.0 libqpdf28 libqrcodegencpp1 libqtav1 libqtavwidgets1 libquvi-0.9-0.9.3 libquvi-scripts-0.9 librados2
  librbd1 librdmacm1 libregexp-assemble-perl librem-ec-acpi-dkms libreoffice-calc libreoffice-draw libreoffice-gnome libreoffice-gtk3 libreoffice-impress librest-0.7-0
  librhythmbox-core10 librsync2 librygel-core-2.6-2 librygel-db-2.6-2 libsgutils2-1.46-2 libsgutils2-2 libshumate-1.0-1 libshumate-common libslirp0 libsmbios-c2
  libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libspice-server1 libsrt1.4-gnutls libssh-4 libstdc++-10-dev libswscale5 libtepl-5-0 libtepl-6-2 libtepl-common
  libtiff5 libtinfo5 libtotem-plparser-common libtotem-plparser18 libtotem0 libtpms0 libtracker-control-2.0-0 libtracker-miner-2.0-0 libtracker-sparql-2.0-0
  libtracker-sparql-3.0-0 libu2f-udev libunoloader-java libunwind-16 liburing1 liburing2 libusbredirhost1 libusbredirparser1 libuv1 libvdeplug2 libvirglrenderer1
  libvirt-daemon libvirt-daemon-driver-lxc libvirt-daemon-driver-qemu libvirt-daemon-driver-vbox libvirt-daemon-driver-xen libvirt-glib-1.0-0 libvirt-glib-1.0-data
  libvirt-l10n libvirt0 libwebkitgtk-6.0-4 libwiretap11 libwmf0.2-7 libwsutil12 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libx86-1 libxcb-damage0 libxencall1
  libxendevicemodel1 libxenevtchn1 libxenforeignmemory1 libxengnttab1 libxenhypfs1 libxenmisc4.14 libxenmisc4.17 libxenstore3.0 libxenstore4 libxentoolcore1 libxentoollog1
  libzapojit-0.0-0 lightsoff linux-headers-5.10.0-45-amd64 linux-headers-5.10.0-45-common linux-headers-amd64 linux-image-5.10.0-45-amd64 lp-solve lshw ltrace lua-bitop
  lua-expat lua-json lua-lpeg lua-socket lvm2 memtest86+ mousetweaks mscompress mtr-tiny nautilus nautilus-data nautilus-share odbcinst odbcinst1debian2 osinfo-db ovmf
  p7zip p7zip-full perl-modules-5.32 pigz pkg-config pkgconf pkgconf-bin plocate polari powertop printer-driver-c2esp printer-driver-foo2zjs printer-driver-foo2zjs-common
  printer-driver-min12xxw printer-driver-pnm2ppa printer-driver-ptouch printer-driver-pxljr printer-driver-sag-gdi printer-driver-splix pureos-desktop-settings
  pureos-flatpak-defaults pureos-gnome pureos-gnome-settings pureos-init-disk-crypto pureos-settings pureos-standard pureos-upgrade pureos-webext
  purism-power-optimisations python-apt-common python3-apt python3-bcrypt python3-blinker python3-dateutil python3-decorator python3-distro-info python3-fasteners
  python3-future python3-httplib2 python3-jwt python3-lazr.restfulclient python3-lazr.uri python3-lockfile python3-mako python3-markupsafe python3-monotonic python3-nacl
  python3-oauthlib python3-paramiko python3-psutil python3-pycurl python3-pyparsing python3-selinux python3-slip python3-slip-dbus python3-software-properties
  python3-wadllib python3.9 python3.9-minimal qemu-block-extra qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils rfkill rhythmbox
  rhythmbox-data rhythmbox-plugins rsync runit-helper samba samba-ad-provision samba-vfs-modules seabios seahorse simple-scan software-properties-common
  software-properties-gtk spice-client-glib-usb-acl-helper spice-vdagent squashfs-tools swtpm swtpm-libs swtpm-tools systemd-zram-generator tcpdump tdb-tools
  telepathy-idle telepathy-logger telepathy-mission-control-5 telnet thin-provisioning-tools time totem totem-common totem-plugins tracker tracker-extract tracker-miner-fs
  unattended-upgrades ure-java usbutils vbetool webext-privacy-badger webext-ublock-origin-firefox x11-apps x11-session-utils xbitmaps xdg-user-dirs-gtk xinit xorg
Use 'sudo apt autoremove' to remove them.

Interesting. The last PureOS version where pureos-desktop still existed was 9 / amber and it already was a transitional package back there that merely depended on pureos-gnome.

sudo apt install pureos-gnome should mark it as manually installed and make autoremoval work more sensibly. Good instinct to stop there :slight_smile:

Well, that does seem to have reduced the number of things to autoremove (still seems like a lot):

$ sudo apt install pureos-gnome
[sudo] password for user: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pureos-gnome is already the newest version (0.12.6).
pureos-gnome set to manually installed.
The following packages were automatically installed and are no longer required:
  augeas-lenses chromium-sandbox crda cryptsetup-run dc dctrl-tools exfat-fuse g++-10 gedit gedit-common gir1.2-champlain-0.12 gir1.2-geocodeglib-1.0 gir1.2-gfbgraph-0.2
  gir1.2-gnomebluetooth-1.0 gir1.2-gspell-1 gir1.2-gtkchamplain-0.12 gir1.2-gweather-3.0 gir1.2-handy-0.0 gir1.2-rb-3.0 gir1.2-rest-0.7 gnome-bluetooth-common
  gnome-getting-started-docs gnome-online-miners gnome-orca gnome-themes-standard guile-2.2-libs gvfs-bin inputattach libamtk-5-0 libamtk-5-common libappstream-glib8
  libarmadillo10 libatk1.0-data libaugeas0 libavdevice58 libavfilter7 libavformat58 libavresample4 libbpf0 libc++1-16 libc++abi1-16 libcamel-1.2-62 libcbor0 libcfitsio9
  libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcmis-0.5-5v5 libcolord-gtk1 libcupsimage2 libdap27 libdapclient6v5 libdleyna-connector-dbus-1.0-1 libdleyna-core-1.0-5
  libdns-export1110 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-25
  libedataserverui-1.2-2 libepsilon1 libexporter-tiny-perl libextutils-pkgconfig-perl libfam0 libffi7 libflac8 libfluidsynth2 libfwupd2 libfwupdplugin1 libgail-3-0
  libgcab-1.0-0 libgdal28 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libgeocode-glib0 libgeos-3.9.0 libgfbgraph-0.2-0 libgl1-mesa-glx libglew2.1 libgnome-bluetooth13
  libgnome-todo libgpod-common libgpod4 libgs9-common libgssdp-1.2-0 libgtk-vnc-2.0-0 libgtkhex-3-0 libgupnp-1.2-0 libgvnc-1.0-0 libgweather-3-16 libgweather-common
  libhandy-0.0-0 libicu67 libigdgmm11 libilmbase25 libisc-export1105 libjim0.79 libjsoncpp24 libkf5idletime5 libkf5sane-data libkf5sane5 libksanecore1 liblibreoffice-java
  liblist-moreutils-perl liblist-moreutils-xs-perl libllvm11 libmalcontent-ui-0-0 libmms0 libmozjs-78-0 libmpdec3 libmusicbrainz5-2 libmusicbrainz5cc2v5 libnautilus-extension1a
  libncurses5 libncursesw5 libneon27-gnutls libnetcdf18 libnetcf1 libntfs-3g883 libodbc1 libodbccr2 libofa0 libopenexr25 liborcus-0.16-0 liborcus-parser-0.16-0 libperl5.32
  libphobos2-ldc-shared94 libphodav-2.0-0 libphodav-2.0-common libpkgconf3 libplacebo72 libpodofo0.9.7 libpoppler102 libpostproc55 libprocps8 libproj19 libprotobuf-lite23
  libprotobuf23 libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqhull8.0 libqpdf28 libqrcodegencpp1 libqtav1 libqtavwidgets1 libquvi-0.9-0.9.3 libquvi-scripts-0.9
  librest-0.7-0 librhythmbox-core10 librygel-core-2.6-2 librygel-db-2.6-2 libsgutils2-1.46-2 libsgutils2-2 libsmbios-c2 libsrt1.4-gnutls libstdc++-10-dev libswscale5
  libtepl-5-0 libtepl-6-2 libtepl-common libtiff5 libtinfo5 libtracker-control-2.0-0 libtracker-miner-2.0-0 libtracker-sparql-2.0-0 libu2f-udev libunoloader-java libunwind-16
  liburing1 libwiretap11 libwmf0.2-7 libwsutil12 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libxenmisc4.14 libxenstore3.0 libzapojit-0.0-0 linux-headers-5.10.0-45-common lua-bitop
  lua-expat lua-json lua-lpeg lua-socket mscompress odbcinst odbcinst1debian2 perl-modules-5.32 pigz pkg-config pkgconf pkgconf-bin printer-driver-c2esp printer-driver-foo2zjs
  printer-driver-foo2zjs-common printer-driver-min12xxw printer-driver-pnm2ppa printer-driver-ptouch printer-driver-pxljr printer-driver-sag-gdi printer-driver-splix
  python3-decorator python3-mako python3-markupsafe python3-pycurl python3-selinux python3-slip python3-slip-dbus python3.9 python3.9-minimal rhythmbox rhythmbox-data
  rhythmbox-plugins unattended-upgrades ure-java
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

So, I’m good to autoremove these at this point?

This looks much more reasonable now. You may want to keep things like gedit (replaced by default with gnome-text-editor), rhythmbox or unattended-upgrades if you still want to use them, but they’re fine to remove if you don’t.

Actually, I have gedit running right now. Hadn’t noticed the other editor (til now). Doesn’t pick up on the same recently used list.

$ apt list gedit gnome-text-editor
Listing... Done
gedit/crimson,now 44.2-1 amd64 [installed,auto-removable]
gnome-text-editor/crimson,now 43.2-1 amd64 [installed,automatic]

I’ll probably keep it for now. Not using the other 2… maybe need to take another look through the list before I clear them out…

Are they the same app?.. versioning is different, but close…

Thanks for your help!

No; gnome-text-editor became the GNOME core project instead of gedit, but I believe gedit is still being maintained.

You should manually install it in that case so that apt doesn’t keep on badgering you to remove it and otherwise one day you will accidentally remove it.

Personally I still have both but it is a bit of a struggle to get either text editor to work exactly the way that I want it to work. It almost seems like I want a combination of the two. :joy:

Neither is seriously problematic though. Both can actually edit text files.

Yep, that was the first thing I did after my last post: sudo apt install gedit

Confirmed gedit and a couple dependencies were removed from the autoremove list