[nmglug] upgrade packages with apt

Ted Pomeroy ted.pome at gmail.com
Wed Jan 24 07:37:39 PST 2024


Brian & NMGLUGers, This circular chasing of several packages may have
resulted from multiple repositories and goals for adding software. 1) LTS
with Ubuntu Exteded support, 2) Cairo Dock ppa, 3) Several 3rd party
browser ppa experiments, 4) Other 3rd party software and Ubuntu Backports.
Also add Wine to the mix. The potential for confusion is high as is the
inevitability of a conflict.
At one point three items held up the updates: libdeflate0:i386, libroc0.3
and libtiff5:i386. Only one of these is in the Ubuntu "focal" 20.04
repository on my machine of that date. 'libroc0.3' is in "noble" - Ubuntu
24.04, due out very soon, but the backport may be an issue. There is a
libtiff5 in focal, but his may not be from there. I had a look at the
update settings and Brian and I made a few less adventurous unsuccessful
attempts to resolve this.
Is there anyone familiar with LTS and Exreded support best practices?
Brian, it is definitely time for a backup of important items, forward
cloning will only bring along the errors. You may also want to address your
browser saved settings and extensions and such for both important
preferences and potential unwanted programs/extensions. We can talk again
sometime.
Thank you, Ted P

On Tue, Jan 23, 2024 at 4:37 PM Brian O'Keefe <okeefe at cybermesa.com> wrote:

> Hello All,
>
> This is a true saga and if no one wants to read the numerous chapters I
> wouldn't blame you! I made some sort of progress in getting my broken pkgs
> fixed but I fear at a huge price. Many pkgs are now "not needed" though I
> have not removed them. I don't know why thry would now not be needed and
> what that could do. I don't need to autoremove them The info is below. My
> comments are bold.
>
> *After chasing dependencies all over and incorrect pkg versions I bailed
> and ran the force command:*
>
> # dpkg --force depends -P libtiff5:i386
>
> dpkg: libtiff5:i386: dependency problems, but removing anyway as you
> requested:
>
> libsane:i386 depends on libtiff5 (>= 4.0.3).
>
> libgd3:i386 depends on libtiff5 (>= 4.0.3).
>
> (Reading database ... 564495 files and directories currently installed.)
>
> Removing libtiff5:i386 (4.4.0-4ubuntu3.3+20.04.sav1) ...
>
> Processing triggers for libc-bin (2.31-0ubuntu9.14) …
>
> # dpkg --force depends -P libtiff5:i386
>
> dpkg: libtiff5:i386: dependency problems, but removing anyway as you
> requested:
>
> libsane:i386 depends on libtiff5 (>= 4.0.3).
>
> libgd3:i386 depends on libtiff5 (>= 4.0.3).
>
> (Reading database ... 564495 files and directories currently installed.)
>
> Removing libtiff5:i386 (4.4.0-4ubuntu3.3+20.04.sav1) ...
>
> Processing triggers for libc-bin (2.31-0ubuntu9.14) …
>
> *And in fact it is gone and is no longer present in the pkg mgr. I ran an
> upgrade in pkg mgr:*
>
> Pkg mgr. Upgrade:
>
> To be installed
>
> libdeflate0:386
>
> Error: E:
> /var/cache/apt/archives/libdeflate0_1.19-0ubuntu1~20.04.sav0_i386.deb:
> trying to overwrite shared
> '/usr/share/doc/libdeflate0/changelog.Debian.gz', which is different from
> other instances of package libdeflate0:i386
>
> *At this point the pkg mgr showed no broken pkgs but would not upgrade.*
>
> Pkg mgr Terminal output:
>
> (Reading database ... 562383 files and directories currently installed.)
>
> Preparing to unpack .../libdeflate0_1.19-0ubuntu1~20.04.sav0_i386.deb ...
>
> Unpacking libdeflate0:i386 (1.19-0ubuntu1~20.04.sav0) ...
>
> dpkg: error processing archive
> /var/cache/apt/archives/libdeflate0_1.19-0ubuntu1~20.04.sav0_i386.deb
> (--unpack):
>
> trying to overwrite shared
> '/usr/share/doc/libdeflate0/changelog.Debian.gz', which is different from
> other instances of package libdeflate0:i386
>
> Errors were encountered while processing:
>
> /var/cache/apt/archives/libdeflate0_1.19-0ubuntu1~20.04.sav0_i386.deb
>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> A package failed to install. Trying to recover:
>
> Processing triggers for libc-bin (2.31-0ubuntu9.14) ...
>
>
> *So I ran this which completed without errors but a huge number of i386*
> pkgs were deemed unnecessary *
>
> # apt --fix-broken install
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> The following packages were automatically installed and are no longer
> required:
>
> brave-keyring gstreamer1.0-plugins-base:i386 libapparmor1:i386
> libasound2:i386
>
> libasound2-plugins:i386 libasyncns0:i386 libatomic1:i386
> libavahi-client3:i386
>
> libavahi-common-data:i386 libavahi-common3:i386 libbrotli1:i386
> libbsd0:i386 libcairo2:i386
>
> libcap2:i386 libcapi20-3:i386 libcdparanoia0:i386 libcodec2-1.0
> libcups2:i386
>
> libcurl3-gnutls:i386 libcurl4:i386 libdav1d6 libdbus-1-3:i386 libdcmtk16
>
> libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386
> libdrm-radeon1:i386
>
> libdrm2:i386 libdw1:i386 libedit2:i386 libelf1:i386 libev4 libexif12:i386
> libexpat1:i386
>
> libfaudio0:i386 libflac12:i386 libfontconfig1:i386 libfreetype6:i386
> libgbm1:i386
>
> libgdbm-compat4:i386 libgdbm6:i386 libgl1:i386 libgl1-mesa-dri:i386
> libglapi-mesa:i386
>
> libglib2.0-0:i386 libglu1-mesa:i386 libglvnd0:i386 libglx-mesa0:i386
> libglx0:i386
>
> libgphoto2-port12:i386 libgsm1:i386 libgssapi-krb5-2:i386
>
> libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libicu66:i386
> libieee1284-3:i386
>
> libimath30 libjack-jackd2-0:i386 libjasper7 libjbig0:i386
> libjpeg-turbo8:i386 libjpeg8:i386
>
> libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386
> liblc3-0
>
> liblcms2-2:i386 liblerc3 libllvm12:i386 libltdl7:i386 liblua5.4-0
> liblzma-dev
>
> libmp3lame0:i386 libmpg123-0:i386 libmysqlclient21:i386 libnettle7:i386
> libnghttp2-14:i386
>
> libodbc1:i386 libogg0:i386 libopenal1:i386 libopenfec libopus0:i386
> liborc-0.4-0:i386
>
> libosmesa6:i386 libpcap0.8:i386 libpci3:i386 libpciaccess0:i386
> libperl5.30:i386
>
> libpixman-1-0:i386 libpng16-16:i386 libpsl5:i386 libpulse0:i386 libraw20
> libroc
>
> librtmp1:i386 libsamplerate0:i386 libsdl2-2.0-0:i386 libsensors5:i386
> libsharpyuv0:i386
>
> libsndfile1:i386 libsndio7:i386 libsnmp35:i386 libsodium27 libspeexdsp-dev
> libssh-4:i386
>
> libstb0:i386 libstdc++6:i386 libtheora0:i386 libunwind-dev libunwind8:i386
>
> libusb-1.0-0:i386 libuv1-dev libv4l-0:i386 libv4lconvert0:i386
> libvisual-0.4-0:i386
>
> libvkd3d-shader1:i386 libvkd3d1:i386 libvorbis0a:i386 libvorbisenc2:i386
> libvpx7
>
> libvulkan1:i386 libwayland-client0:i386 libwayland-cursor0:i386
> libwayland-egl1:i386
>
> libwayland-server0:i386 libwebp7:i386 libwebsockets16 libwireplumber-0.4-0
> libwrap0:i386
>
> libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libx11-6:i386 libx11-xcb1:i386
> libxau6:i386
>
> libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386
>
> libxcb-randr0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386
>
> libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386
> libxdmcp6:i386
>
> libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386
> libxkbcommon0:i386 libxml2:i386
>
> libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386
> libxslt1.1:i386
>
> libxss1:i386 libxxf86vm1:i386 libzstd1:i386 libzxingcore1
> mesa-vulkan-drivers:i386
>
> ocl-icd-libopencl1:i386 vkd3d-compiler:i386
>
> Use 'sudo apt autoremove' to remove them.
>
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> *So that upgrade worked with no broken pkgs.*
>
>
> *I installed Wine to see if the i386 pkgs were called and got the same
> error with libtiff5:i386 and ended up with broken packages. I ran apt
> upgrade again *
>
> $ sudo apt upgrade
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt --fix-broken install' to correct these.
> The following packages have unmet dependencies:
>  libgd3:i386 : Depends: libtiff5:i386 (>= 4.0.3) but it is not installed
>  libsane:i386 : Depends: libtiff5:i386 (>= 4.0.3) but it is not installed
> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
> specify a solution).
> brian at brian-VivoBook-ASUS-Laptop-X505ZA-F505ZA:~$ sudo apt --fix-broken
> install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following packages were automatically installed and are no longer
> required:
>   brasero-common brave-keyring caribou chromium-common chromium-sandbox
>   folks-common gir1.2-caribou-1.0 gir1.2-evince-3.0 gnome-contacts
>   gnome-online-miners gnucash-common gnucash-docs guile-2.2 guile-3.0-libs
>   libalgorithm-c3-perl libaqbanking-data libaqbanking44 libbrasero-media3-1
>   libcaribou-common libcaribou0 libcgi-fast-perl libcgi-pm-perl
>   libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl
>   libclass-inspector-perl libclass-singleton-perl libcodec2-1.0
>   libdate-manip-perl libdatetime-format-strptime-perl
> libdatetime-locale-perl
>   libdatetime-perl libdatetime-timezone-perl libdav1d6 libdbi1 libdcmtk16
>   libdeepin-wm0 libdiscid0 libev4 libeval-closure-perl
> libexception-class-perl
>   libfcgi-perl libfile-sharedir-perl libfinance-quote-perl libfolks-eds25
>   libfolks25 libgfbgraph-0.2-0 libgranite-common libgranite5
> libgtk-vnc-2.0-0
>   libgvnc-1.0-0 libgwengui-gtk3-0 libgwenhywfar-data libgwenhywfar79
>   libhtml-tableextract-perl libimath30 libisofs6 libjasper7
> libjson-parse-perl
>   libjte2 liblc3-0 liblerc3 liblua5.4-0 liblzma-dev libmro-compat-perl
>   libmusicbrainz5-2 libnamespace-autoclean-perl libofx7 liboobs-1-5
> libopenfec
>   libosinfo-1.0-0 libosinfo-bin libosp5 libparams-validationcompiler-perl
>   libproxy1-plugin-webkit libraw20 libroc libsodium27 libspecio-perl
>   libspeexdsp-dev libspice-client-gtk-3.0-5 libturbojpeg libunwind-dev
>   libuv1-dev libvirt-glib-1.0-0 libvpl2 libvpx7 libwebsockets16
>   libwireplumber-0.4-0 libwxbase3.0-0v5 libxmlsec1 libxstring-perl
>   libzapojit-0.0-0 libzxingcore1 osinfo-db python3-gnucash
>   system-tools-backends
> Use 'sudo apt autoremove' to remove them.
> The following additional packages will be installed:
>   libdeflate0:i386 libtiff5:i386
> The following NEW packages will be installed:
>   libdeflate0:i386 libtiff5:i386
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> 5 not fully installed or removed.
> Need to get 0 B/244 kB of archives.
> After this operation, 728 kB of additional disk space will be used.
> Do you want to continue? [Y/n]
> (Reading database ... 561861 files and directories currently installed.)
> Preparing to unpack .../libdeflate0_1.19-0ubuntu1~20.04.sav0_i386.deb ...
> Unpacking libdeflate0:i386 (1.19-0ubuntu1~20.04.sav0) ...
> dpkg: error processing archive
> /var/cache/apt/archives/libdeflate0_1.19-0ubuntu1
> ~20.04.sav0_i386.deb (--unpack):
>  trying to overwrite shared
> '/usr/share/doc/libdeflate0/changelog.Debian.gz', wh
> ich is different from other instances of package libdeflate0:i386
> Selecting previously unselected package libtiff5:i386.
> Preparing to unpack .../libtiff5_4.4.0-4ubuntu3.3+20.04.sav2_i386.deb ...
> Unpacking libtiff5:i386 (4.4.0-4ubuntu3.3+20.04.sav2) ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libdeflate0_1.19-0ubuntu1~20.04.sav0_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
> *I tried fixing this with the pkg mgr broken filter to no avail so again
> ran:*
>
> $ sudo apt --fix-broken install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following packages were automatically installed and are no longer
> required:
>   brasero-common brave-keyring caribou chromium-common chromium-sandbox
>   folks-common gir1.2-caribou-1.0 gir1.2-evince-3.0 gnome-contacts
>   gnome-online-miners gnucash-common gnucash-docs guile-2.2 guile-3.0-libs
>   libalgorithm-c3-perl libaqbanking-data libaqbanking44 libbrasero-media3-1
>   libcaribou-common libcaribou0 libcgi-fast-perl libcgi-pm-perl
>   libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl
>   libclass-inspector-perl libclass-singleton-perl libcodec2-1.0
>   libdate-manip-perl libdatetime-format-strptime-perl
> libdatetime-locale-perl
>   libdatetime-perl libdatetime-timezone-perl libdav1d6 libdbi1 libdcmtk16
>   libdeepin-wm0 libdiscid0 libev4 libeval-closure-perl
> libexception-class-perl
>   libfcgi-perl libfile-sharedir-perl libfinance-quote-perl libfolks-eds25
>   libfolks25 libgfbgraph-0.2-0 libgranite-common libgranite5
> libgtk-vnc-2.0-0
>   libgvnc-1.0-0 libgwengui-gtk3-0 libgwenhywfar-data libgwenhywfar79
>   libhtml-tableextract-perl libimath30 libisofs6 libjasper7
> libjson-parse-perl
>   libjte2 liblc3-0 liblerc3 liblua5.4-0 liblzma-dev libmro-compat-perl
>   libmusicbrainz5-2 libnamespace-autoclean-perl libofx7 liboobs-1-5
> libopenfec
>   libosinfo-1.0-0 libosinfo-bin libosp5 libparams-validationcompiler-perl
>   libproxy1-plugin-webkit libraw20 libroc libsodium27 libspecio-perl
>   libspeexdsp-dev libspice-client-gtk-3.0-5 libturbojpeg libunwind-dev
>   libuv1-dev libvirt-glib-1.0-0 libvpl2 libvpx7 libwebsockets16
>   libwireplumber-0.4-0 libwxbase3.0-0v5 libxmlsec1 libxstring-perl
>   libzapojit-0.0-0 libzxingcore1 osinfo-db python3-gnucash
>   system-tools-backends
> Use 'sudo apt autoremove' to remove them.
> The following additional packages will be installed:
>   libdeflate0:i386 libtiff5:i386
> The following NEW packages will be installed:
>   libdeflate0:i386 libtiff5:i386
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> 5 not fully installed or removed.
> Need to get 0 B/244 kB of archives.
> After this operation, 728 kB of additional disk space will be used.
> Do you want to continue? [Y/n]
> (Reading database ... 561861 files and directories currently installed.)
> Preparing to unpack .../libdeflate0_1.19-0ubuntu1~20.04.sav0_i386.deb ...
> Unpacking libdeflate0:i386 (1.19-0ubuntu1~20.04.sav0) ...
> dpkg: error processing archive
> /var/cache/apt/archives/libdeflate0_1.19-0ubuntu1
> ~20.04.sav0_i386.deb (--unpack):
>  trying to overwrite shared
> '/usr/share/doc/libdeflate0/changelog.Debian.gz', wh
> ich is different from other instances of package libdeflate0:i386
> Selecting previously unselected package libtiff5:i386.
> Preparing to unpack .../libtiff5_4.4.0-4ubuntu3.3+20.04.sav2_i386.deb ...
> Unpacking libtiff5:i386 (4.4.0-4ubuntu3.3+20.04.sav2) ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libdeflate0_1.19-0ubuntu1~20.04.sav0_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> $ sudo apt --fix-broken install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer
> required:
>   brasero-common brave-keyring caribou chromium-common chromium-sandbox
>   folks-common gir1.2-caribou-1.0 gir1.2-evince-3.0 gnome-contacts
>   gnome-online-miners gnucash-common gnucash-docs guile-2.2 guile-3.0-libs
>   libalgorithm-c3-perl libaqbanking-data libaqbanking44 libbrasero-media3-1
>   libcapi20-3:i386 libcaribou-common libcaribou0 libcgi-fast-perl
>   libcgi-pm-perl libclass-c3-perl libclass-c3-xs-perl
>   libclass-data-inheritable-perl libclass-inspector-perl
>   libclass-singleton-perl libcodec2-1.0 libcups2:i386 libcurl3-gnutls:i386
>   libcurl4:i386 libdate-manip-perl libdatetime-format-strptime-perl
>   libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl
> libdav1d6
>   libdbi1 libdcmtk16 libdeepin-wm0 libdiscid0 libdrm-amdgpu1:i386
>   libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386
>   libedit2:i386 libev4 libeval-closure-perl libexception-class-perl
>   libexif12:i386 libfaudio0:i386 libfcgi-perl libfile-sharedir-perl
>   libfinance-quote-perl libfolks-eds25 libfolks25 libgbm1:i386
>   libgdbm-compat4:i386 libgdbm6:i386 libgfbgraph-0.2-0 libgl1:i386
>   libgl1-mesa-dri:i386 libglapi-mesa:i386 libglu1-mesa:i386 libglvnd0:i386
>   libglx-mesa0:i386 libglx0:i386 libgphoto2-port12:i386 libgranite-common
>   libgranite5 libgsm1:i386 libgssapi-krb5-2:i386 libgtk-vnc-2.0-0
>   libgvnc-1.0-0 libgwengui-gtk3-0 libgwenhywfar-data libgwenhywfar79
>   libhtml-tableextract-perl libicu66:i386 libieee1284-3:i386 libimath30
>   libisofs6 libjasper7 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386
>   libjson-parse-perl libjte2 libk5crypto3:i386 libkeyutils1:i386
>   libkrb5-3:i386 libkrb5support0:i386 liblc3-0 liblcms2-2:i386 liblerc3
>   libllvm12:i386 libltdl7:i386 liblua5.4-0 liblzma-dev libmro-compat-perl
>   libmusicbrainz5-2 libmysqlclient21:i386 libnamespace-autoclean-perl
>   libnettle7:i386 libnghttp2-14:i386 libodbc1:i386 libofx7 liboobs-1-5
>   libopenal1:i386 libopenfec libosinfo-1.0-0 libosinfo-bin libosmesa6:i386
>   libosp5 libparams-validationcompiler-perl libpcap0.8:i386 libpci3:i386
>   libpciaccess0:i386 libperl5.30:i386 libproxy1-plugin-webkit libpsl5:i386
>   libraw20 libroc librtmp1:i386 libsdl2-2.0-0:i386 libsensors5:i386
>   libsharpyuv0:i386 libsndio7:i386 libsnmp35:i386 libsodium27
> libspecio-perl
>   libspeexdsp-dev libspice-client-gtk-3.0-5 libssh-4:i386 libstb0:i386
>   libturbojpeg libunwind-dev libusb-1.0-0:i386 libuv1-dev libv4l-0:i386
>   libv4lconvert0:i386 libvirt-glib-1.0-0 libvkd3d-shader1:i386
> libvkd3d1:i386
>   libvpl2 libvpx7 libvulkan1:i386 libwayland-client0:i386
>   libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-server0:i386
>   libwebp7:i386 libwebsockets16 libwireplumber-0.4-0 libwxbase3.0-0v5
>   libx11-xcb1:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386
>   libxcb-present0:i386 libxcb-randr0:i386 libxcb-sync1:i386
>   libxcb-xfixes0:i386 libxcomposite1:i386 libxcursor1:i386 libxfixes3:i386
>   libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxmlsec1
>   libxpm4:i386 libxrandr2:i386 libxshmfence1:i386 libxslt1.1:i386
> libxss1:i386
>   libxstring-perl libxxf86vm1:i386 libzapojit-0.0-0 libzstd1:i386
>   libzxingcore1 mesa-vulkan-drivers:i386 ocl-icd-libopencl1:i386 osinfo-db
>   python3-gnucash system-tools-backends vkd3d-compiler:i386
> Use 'sudo apt autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
>
> *So now I have no errors but upgrading pulls in the *libtiff:i386 *pkg
> and then I again cannot do any apt command without the dependency error and
> so I start all over with: *
>
> dpkg --force depends -P libtiff5:i386
>
> *and eventually end up chasing the package in the pkg mgr, using the 'fix
> broken packages' option. Then back to the terminal and running all of the
> above again. So now I have tens and tens of obsolete packages but I'm
> loathe to remove them. I 'm also loathe to try an upgrade and get the same
> errors again. I don't want to reboot or shutdown for fear of what I've
> created. *
>
> *If any of you read through all of this then you're saints!*
>
>
> *Brian *
>
>
>
> _______________________________________________
>
> nmglug mailing list
>> nmglug at lists.nmglug.org
>> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>>
> --
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nmglug.org/pipermail/nmglug-nmglug.org/attachments/20240124/31168d5a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.png
Type: image/png
Size: 3913 bytes
Desc: not available
URL: <http://lists.nmglug.org/pipermail/nmglug-nmglug.org/attachments/20240124/31168d5a/attachment.png>


More information about the nmglug mailing list