[nmglug] upgrade packages with apt

Brian O'Keefe okeefe at cybermesa.com
Fri Jan 19 09:21:35 PST 2024


Again, I'm sorry for my ignorance. Could you please provide an example 
with brave browser?

Thanks!

On 1/18/24 11:17PM, Jonathan Haack wrote:
> Apt remove the individual library packages it complains about one by 
> one (especially brave browser) and then run those commands again and 
> should be fine
>
>
>
>
> Kindly,
>
> Jonathan Haack
> Math/CS Teacher, DSA/SFCC
> Director, Haack’s Networking
>
>> On Jan 18, 2024, at 5:29 PM, Brian O'Keefe <okeefe at cybermesa.com> wrote:
>>
>> 
>>
>> Hello all!
>>
>> I haven't seen any messages from the group so I don't know if it 
>> still exists. I miss Ted's summaries and input. So I feel bad that my 
>> first communication in a very long time is me carping about a problem 
>> and I hope you folks can have tolerance for me!
>>
>> ASUS laptop running Ubuntu 20.04 with Mate desktop
>>
>> I ran a normal upgrade as indicated by the package manager, which is 
>> at least every couple of days if not daily. I ran the upgrade and all 
>> seemed fine. However, an error symbol popped up in the panel and it 
>> noted there was an apt error and to run "apt --fix-broken install". 
>> I've done this many times in the past and the dependencies or 
>> conflicts are fixed. However, not this time. Here's the output of 
>> that command:
>>
>> $ 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:
>>   brave-keyring libcodec2-1.0 libdav1d6 libdcmtk16 libev4 libimath30
>>   libjasper7 liblc3-0 liblerc3 liblzma-dev libopenfec libraw20 libroc
>>   libsodium27 libspeexdsp-dev libunwind-dev libuv1-dev libvpx7 
>> libwebsockets16
>>   libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libzxingcore1
>> Use 'sudo apt autoremove' to remove them.
>> The following additional packages will be installed:
>>   libdeflate0:i386 libroc0.3 libtiff5:i386
>> The following NEW packages will be installed:
>>   libdeflate0:i386 libroc0.3
>> The following packages will be upgraded:
>>   libtiff5:i386
>> 1 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
>> 6 not fully installed or removed.
>> Need to get 0 B/535 kB of archives.
>> After this operation, 1,676 kB of additional disk space will be used.
>> Do you want to continue? [Y/n]
>> (Reading database ... 564966 files and directories currently installed.)
>> Preparing to unpack .../libroc0.3_0.3.0+dfsg-3~20.04.sav0_amd64.deb ...
>> Unpacking libroc0.3:amd64 (0.3.0+dfsg-3~20.04.sav0) ...
>> dpkg: error processing archive 
>> /var/cache/apt/archives/libroc0.3_0.3.0+dfsg-3~20
>> .04.sav0_amd64.deb (--unpack):
>>  trying to overwrite '/usr/lib/x86_64-linux-gnu/libroc.so.0.3', which 
>> is also in
>>  package libroc:amd64 0.3.0-1~ubuntu20.04
>> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
>> 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
>> Preparing to unpack .../libtiff5_4.4.0-4ubuntu3.3+20.04.sav1_i386.deb ...
>> Unpacking libtiff5:i386 (4.4.0-4ubuntu3.3+20.04.sav1) over 
>> (4.4.0-4ubuntu3.3+20.
>> 04.sav0) ...
>> dpkg: error processing archive 
>> /var/cache/apt/archives/libtiff5_4.4.0-4ubuntu3.3
>> +20.04.sav1_i386.deb (--unpack):
>>  trying to overwrite shared 
>> '/usr/share/doc/libtiff5/changelog.Debian.gz', which
>>  is different from other instances of package libtiff5:i386
>> Errors were encountered while processing:
>>  /var/cache/apt/archives/libroc0.3_0.3.0+dfsg-3~20.04.sav0_amd64.deb
>>  /var/cache/apt/archives/libdeflate0_1.19-0ubuntu1~20.04.sav0_i386.deb
>>  /var/cache/apt/archives/libtiff5_4.4.0-4ubuntu3.3+20.04.sav1_i386.deb
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>> No matter what I try I cannot run an upgrade nor even a simple  "apt 
>> autoremove"
>>
>> $ sudo apt autoremove
>> 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:
>>  libpipewire-0.3-modules : Depends: libroc0.3 (>= 0.3.0+dfsg-3~) but 
>> it is not installed
>>  libtiff5 : Breaks: libtiff5:i386 (!= 4.4.0-4ubuntu3.3+20.04.sav1) 
>> but 4.4.0-4ubuntu3.3+20.04.sav0 is installed
>>  libtiff5:i386 : Breaks: libtiff5 (!= 4.4.0-4ubuntu3.3+20.04.sav0) 
>> but 4.4.0-4ubuntu3.3+20.04.sav1 is installed
>> E: Unmet dependencies. Try 'apt --fix-broken install' with no 
>> packages (or specify a solution).
>>
>> I try this this:
>>
>> "$ 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:
>>  libpipewire-0.3-modules : Depends: libroc0.3 (>= 0.3.0+dfsg-3~) but 
>> it is not installed
>>  libtiff5 : Breaks: libtiff5:i386 (!= 4.4.0-4ubuntu3.3+20.04.sav1) 
>> but 4.4.0-4ubuntu3.3+20.04.sav0 is installed
>>  libtiff5:i386 : Breaks: libtiff5 (!= 4.4.0-4ubuntu3.3+20.04.sav0) 
>> but 4.4.0-4ubuntu3.3+20.04.sav1 is installed
>> E: Unmet dependencies. Try 'apt --fix-broken install' with no 
>> packages (or specify a solution)."
>>
>> It seems like a circular problem of the libtiff5 packages breaking 
>> each other. I've considered removing one or the other but the 
>> additional packages to be removed scares me as so many packages 
>> depend on them.
>>
>> $ sudo apt remove libtiff5
>> 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:
>>  argyll : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  blender : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  chafa : Depends: libtiff5 (>= 4.0.3) but it is not going to be installed
>>  darktable : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  efax-gtk : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>             Recommends: heirloom-mailx but it is not installable
>>  enblend : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  enfuse : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  krita : Depends: libtiff5 (>= 4.0.3) but it is not going to be installed
>>  libatrildocument3 : Depends: libtiff5 (>= 4.0.3) but it is not going 
>> to be installed
>>  libcupsfilters1 : Depends: libtiff5 (>= 4.0.3) but it is not going 
>> to be installed
>>  libdcmtk14 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libdcmtk16 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libdcmtk17 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libevdocument3-4 : Depends: libtiff5 (>= 4.0.3) but it is not going 
>> to be installed
>>  libgd3 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libgdal30 : Depends: libtiff5 (>= 4.0.10+git190814) but it is not 
>> going to be installed
>>  libgdk-pixbuf2.0-0 : Depends: libtiff5 (>= 4.0.3) but it is not 
>> going to be installed
>>  libgegl-0.4-0 : Depends: libtiff5 (>= 4.0.3) but it is not going to 
>> be installed
>>  libgeotiff5 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libgmic1 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libgraphicsmagick-q16-3 : Depends: libtiff5 (>= 4.0.10) but it is 
>> not going to be installed
>>  libgxps2 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  liblcms2-utils : Depends: libtiff5 (>= 4.0.3) but it is not going to 
>> be installed
>>  libmagickcore-6.q16-6 : Depends: libtiff5 (>= 4.0.3) but it is not 
>> going to be installed
>>  libopenimageio2.1 : Depends: libtiff5 (>= 4.0.3) but it is not going 
>> to be installed
>>  libpano13-3 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libpipewire-0.3-modules : Depends: libroc0.3 (>= 0.3.0+dfsg-3~) but 
>> it is not going to be installed
>>  libpoppler97 : Depends: libtiff5 (>= 4.0.3) but it is not going to 
>> be installed
>>  libproj22 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libreoffice-core : Depends: libtiff5 (>= 4.0.3) but it is not going 
>> to be installed
>>  libsane : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libsdl-image1.2 : Depends: libtiff5 (>= 4.0.3) but it is not going 
>> to be installed
>>  libspandsp2 : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libvtk7.1p : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  libwxgtk3.0-gtk3-0v5 : Depends: libtiff5 (>= 4.0.3) but it is not 
>> going to be installed
>>  lightzone : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  netpbm : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  okular-extra-backends : Depends: libtiff5 (>= 4.0.3) but it is not 
>> going to be installed
>>  python3-pil : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  qt5-image-formats-plugins : Depends: libtiff5 (>= 4.0.3) but it is 
>> not going to be installed
>>  tracker-extract : Depends: libtiff5 (>= 4.0.3) but it is not going 
>> to be installed
>>  xplanet : Depends: libtiff5 (>= 4.0.3) but it is not going to be 
>> installed
>>  xsane : Depends: libtiff5 (>= 4.0.3) but it is not going to be installed
>> E: Unmet dependencies. Try 'apt --fix-broken install' with no 
>> packages (or specify a solution)."
>>
>> So there is nothing I know of to correct this. Can anyone help?
>>
>> Thank you all
>>
>> -- 
>> <signature.png>
>> _______________________________________________
>> 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/20240119/4b606180/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/20240119/4b606180/attachment.png>


More information about the nmglug mailing list