Package System is broken - Technical Help - DeepTalk - Deep Learning Community

Package System is broken

post by gabe78 on Aug 19, 2021

Hi all,

I will appreciate if someone could point me in the right direction to fix the following issue:

My package system is broken and the recommended fix does not work…

$ sudo apt --fix-broken install

The following additional packages will be installed:

libnvidia-compute-460 libnvidia-compute-470 libnvidia-compute-470:i386 libnvidia-decode-460:i386 libnvidia-decode-470 libnvidia-decode-470:i386

The following NEW packages will be installed:

libnvidia-compute-470 libnvidia-compute-470:i386 libnvidia-decode-470 libnvidia-decode-470:i386

The following packages will be upgraded:

libnvidia-compute-460 libnvidia-decode-460:i386

2 upgraded, 4 newly installed, 0 to remove and 374 not upgraded.

3 not fully installed or removed.

Need to get 59.7 MB of archives.

After this operation, 158 MB of additional disk space will be used.

Do you want to continue? [Y/n] y

…

…

Fetched 59.7 MB in 4s (13.9 MB/s)

(Reading database … 258692 files and directories currently installed.)

Preparing to unpack …/0-libnvidia-decode-460_470.63.01-0lambda0~20.04.3_i386.deb …

Unpacking libnvidia-decode-460:i386 (470.63.01-0lambda0~20.04.3) over (460.56-0ubuntu0.20.04.1) …

dpkg: error processing archive /tmp/apt-dpkg-install-Jvv2gZ/0-libnvidia-decode-460_470.63.01-0lambda0~20.04.3_i386.deb (–unpack):

trying to overwrite shared ‘/usr/share/doc/libnvidia-decode-460/changelog.Debian.gz’, which is different from other instances of package libnvidia-decode-460:i386

Preparing to unpack …/1-libnvidia-compute-460_470.63.01-0lambda0~20.04.3_amd64.deb …

Unpacking libnvidia-compute-460:amd64 (470.63.01-0lambda020.04.3) over (460.56-0lambda020.04.1) …

dpkg: error processing archive /tmp/apt-dpkg-install-Jvv2gZ/1-libnvidia-compute-460_470.63.01-0lambda0~20.04.3_amd64.deb (–unpack):

trying to overwrite shared ‘/usr/share/doc/libnvidia-compute-460/changelog.Debian.gz’, which is different from other instances of package libnvidia-compute-460:amd64

dpkg: regarding …/2-libnvidia-compute-470_470.63.01-0lambda0~20.04.3_amd64.deb containing libnvidia-compute-470:amd64:

libnvidia-compute-470 conflicts with libcuda-10.0-1

libnvidia-compute-460:amd64 provides libcuda-10.0-1 and is present and installed.

dpkg: error processing archive /tmp/apt-dpkg-install-Jvv2gZ/2-libnvidia-compute-470_470.63.01-0lambda0~20.04.3_amd64.deb (–unpack):

conflicting packages - not installing libnvidia-compute-470:amd64

dpkg: regarding …/3-libnvidia-decode-470_470.63.01-0lambda0~20.04.3_amd64.deb containing libnvidia-decode-470:amd64:

libnvidia-decode-470 conflicts with libnvidia-decode

libnvidia-decode-460:i386 provides libnvidia-decode and is present and unpacked but not configured.

dpkg: error processing archive /tmp/apt-dpkg-install-Jvv2gZ/3-libnvidia-decode-470_470.63.01-0lambda0~20.04.3_amd64.deb (–unpack):

conflicting packages - not installing libnvidia-decode-470:amd64

No apport report written because MaxReports is reached already

dpkg: regarding …/4-libnvidia-compute-470_470.63.01-0lambda0~20.04.3_i386.deb containing libnvidia-compute-470:i386:

libnvidia-compute-470:i386 conflicts with libcuda-10.0-1

libnvidia-compute-460:amd64 provides libcuda-10.0-1 and is present and installed.

dpkg: error processing archive /tmp/apt-dpkg-install-Jvv2gZ/4-libnvidia-compute-470_470.63.01-0lambda0~20.04.3_i386.deb (–unpack):

conflicting packages - not installing libnvidia-compute-470:i386

No apport report written because MaxReports is reached already

dpkg: regarding …/5-libnvidia-decode-470_470.63.01-0lambda0~20.04.3_i386.deb containing libnvidia-decode-470:i386:

libnvidia-decode-470:i386 conflicts with libnvidia-decode

libnvidia-decode-460:i386 provides libnvidia-decode and is present and unpacked but not configured.

dpkg: error processing archive /tmp/apt-dpkg-install-Jvv2gZ/5-libnvidia-decode-470_470.63.01-0lambda0~20.04.3_i386.deb (–unpack):

conflicting packages - not installing libnvidia-decode-470:i386

No apport report written because MaxReports is reached already

Errors were encountered while processing:

/tmp/apt-dpkg-install-Jvv2gZ/0-libnvidia-decode-460_470.63.01-0lambda0~20.04.3_i386.deb

/tmp/apt-dpkg-install-Jvv2gZ/1-libnvidia-compute-460_470.63.01-0lambda0~20.04.3_amd64.deb

/tmp/apt-dpkg-install-Jvv2gZ/2-libnvidia-compute-470_470.63.01-0lambda0~20.04.3_amd64.deb

/tmp/apt-dpkg-install-Jvv2gZ/3-libnvidia-decode-470_470.63.01-0lambda0~20.04.3_amd64.deb

/tmp/apt-dpkg-install-Jvv2gZ/4-libnvidia-compute-470_470.63.01-0lambda0~20.04.3_i386.deb

/tmp/apt-dpkg-install-Jvv2gZ/5-libnvidia-decode-470_470.63.01-0lambda0~20.04.3_i386.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

Linux 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Thanks in advance!!!

Gabe