rsteinmetz70112
March 6th, 2019, 08:10 PM
OK, I'm on my 4th of 7 upgrades from 16.04 to 18.04. 2 went well 2 went not so well.
The one I working on now went not so well as somewhere a number of packages failed to download and configure leaving me with a partially working system,. I've not got the computer almost working except I can't run
# apt upgrade or
# dpkg --configure -a or
# apt autoremove because of dpkg errors that seem to be caused by conflicts between different packages that seem to be very similar.
Here is some output
# dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-tools-4.15.0-45-generic:
linux-tools-4.15.0-45-generic depends on linux-tools-4.15.0-45; however:
Package linux-tools-4.15.0-45 is not installed.
dpkg: error processing package linux-tools-4.15.0-45-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-tools-4.15.0-43-generic:
linux-tools-4.15.0-43-generic depends on linux-tools-4.15.0-43; however:
Package linux-tools-4.15.0-43 is not installed.
dpkg: error processing package linux-tools-4.15.0-43-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-tools-4.15.0-45-generic
linux-tools-4.15.0-43-generic
root@Henry:~# dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-tools-4.15.0-45-generic:
linux-tools-4.15.0-45-generic depends on linux-tools-4.15.0-45; however:
Package linux-tools-4.15.0-45 is not installed.
dpkg: error processing package linux-tools-4.15.0-45-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-tools-4.15.0-43-generic:
linux-tools-4.15.0-43-generic depends on linux-tools-4.15.0-43; however:
Package linux-tools-4.15.0-43 is not installed.
dpkg: error processing package linux-tools-4.15.0-43-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-tools-4.15.0-45-generic
linux-tools-4.15.0-43-generic
I'm not sure why I have two versions of linux-tools trying to be installed.
whne I run
# apt install -f
Part of the output is this:
The following additional packages will be installed:
linux-tools-4.15.0-43 linux-tools-4.15.0-45
The following NEW packages will be installed:
linux-tools-4.15.0-43 linux-tools-4.15.0-45
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/9,212 kB of archives.
After this operation, 41.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 313063 files and directories currently installed.)
Preparing to unpack .../linux-tools-4.15.0-43_4.15.0-43.46_amd64.deb ...
Unpacking linux-tools-4.15.0-43 (4.15.0-43.46) ...
dpkg: error processing archive /var/cache/apt/archives/linux-tools-4.15.0-43_4.15.0-43.46_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libcpupower.so.4.15.0-43', which is also in package linux-hwe-tools-4.15.0-43 4.15.0-43.46~16.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../linux-tools-4.15.0-45_4.15.0-45.48_amd64.deb ...
Unpacking linux-tools-4.15.0-45 (4.15.0-45.48) ...
dpkg: error processing archive /var/cache/apt/archives/linux-tools-4.15.0-45_4.15.0-45.48_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libcpupower.so.4.15.0-45', which is also in package linux-hwe-tools-4.15.0-45 4.15.0-45.48~16.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-tools-4.15.0-43_4.15.0-43.46_amd64.deb
/var/cache/apt/archives/linux-tools-4.15.0-45_4.15.0-45.48_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This seems to indicate
linux-hwe-tools-4.15.0-43 4.15.0-43.46~16.04.1is already installed.
So the question is should I remove the partially installed packages and hope for the best?
The one I working on now went not so well as somewhere a number of packages failed to download and configure leaving me with a partially working system,. I've not got the computer almost working except I can't run
# apt upgrade or
# dpkg --configure -a or
# apt autoremove because of dpkg errors that seem to be caused by conflicts between different packages that seem to be very similar.
Here is some output
# dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-tools-4.15.0-45-generic:
linux-tools-4.15.0-45-generic depends on linux-tools-4.15.0-45; however:
Package linux-tools-4.15.0-45 is not installed.
dpkg: error processing package linux-tools-4.15.0-45-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-tools-4.15.0-43-generic:
linux-tools-4.15.0-43-generic depends on linux-tools-4.15.0-43; however:
Package linux-tools-4.15.0-43 is not installed.
dpkg: error processing package linux-tools-4.15.0-43-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-tools-4.15.0-45-generic
linux-tools-4.15.0-43-generic
root@Henry:~# dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-tools-4.15.0-45-generic:
linux-tools-4.15.0-45-generic depends on linux-tools-4.15.0-45; however:
Package linux-tools-4.15.0-45 is not installed.
dpkg: error processing package linux-tools-4.15.0-45-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-tools-4.15.0-43-generic:
linux-tools-4.15.0-43-generic depends on linux-tools-4.15.0-43; however:
Package linux-tools-4.15.0-43 is not installed.
dpkg: error processing package linux-tools-4.15.0-43-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-tools-4.15.0-45-generic
linux-tools-4.15.0-43-generic
I'm not sure why I have two versions of linux-tools trying to be installed.
whne I run
# apt install -f
Part of the output is this:
The following additional packages will be installed:
linux-tools-4.15.0-43 linux-tools-4.15.0-45
The following NEW packages will be installed:
linux-tools-4.15.0-43 linux-tools-4.15.0-45
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/9,212 kB of archives.
After this operation, 41.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 313063 files and directories currently installed.)
Preparing to unpack .../linux-tools-4.15.0-43_4.15.0-43.46_amd64.deb ...
Unpacking linux-tools-4.15.0-43 (4.15.0-43.46) ...
dpkg: error processing archive /var/cache/apt/archives/linux-tools-4.15.0-43_4.15.0-43.46_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libcpupower.so.4.15.0-43', which is also in package linux-hwe-tools-4.15.0-43 4.15.0-43.46~16.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../linux-tools-4.15.0-45_4.15.0-45.48_amd64.deb ...
Unpacking linux-tools-4.15.0-45 (4.15.0-45.48) ...
dpkg: error processing archive /var/cache/apt/archives/linux-tools-4.15.0-45_4.15.0-45.48_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libcpupower.so.4.15.0-45', which is also in package linux-hwe-tools-4.15.0-45 4.15.0-45.48~16.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-tools-4.15.0-43_4.15.0-43.46_amd64.deb
/var/cache/apt/archives/linux-tools-4.15.0-45_4.15.0-45.48_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This seems to indicate
linux-hwe-tools-4.15.0-43 4.15.0-43.46~16.04.1is already installed.
So the question is should I remove the partially installed packages and hope for the best?