------- Comment From <email address hidden> 2020-08-20 09:32 EDT-------
I have installed an Ubuntu 20.4, and copied the deb-packages to /root/tmp/fheimes.
But I have never installed additional kernel packages on Ubuntu. It failed like this:
root@s8360032:~/tmp/fheimes# apt install /root/tmp/fheimes/*.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-buildinfo-5.4.0-42-generic' instead of '/root/tmp/fheimes/linux-buildinfo-5.4.0-42-generic_5.4.0-42.46_s390x.deb'
Note, selecting 'linux-headers-5.4.0-42-generic' instead of '/root/tmp/fheimes/linux-headers-5.4.0-42-generic_5.4.0-42.46_s390x.deb'
Note, selecting 'linux-image-unsigned-5.4.0-42-generic' instead of '/root/tmp/fheimes/linux-image-unsigned-5.4.0-42-generic_5.4.0-42.46_s390x.deb'
Note, selecting 'linux-modules-5.4.0-42-generic' instead of '/root/tmp/fheimes/linux-modules-5.4.0-42-generic_5.4.0-42.46_s390x.deb'
Note, selecting 'linux-modules-extra-5.4.0-42-generic' instead of '/root/tmp/fheimes/linux-modules-extra-5.4.0-42-generic_5.4.0-42.46_s390x.deb'
Note, selecting 'linux-tools-5.4.0-42-generic' instead of '/root/tmp/fheimes/linux-tools-5.4.0-42-generic_5.4.0-42.46_s390x.deb'
The following additional packages will be installed:
libdw1 linux-tools-5.4.0-42 linux-tools-common
Suggested packages:
fdutils linux-doc | linux-source-5.4.0 linux-tools
The following packages will be REMOVED:
linux-generic linux-image-5.4.0-42-generic linux-image-generic
The following NEW packages will be installed:
libdw1 linux-buildinfo-5.4.0-42-generic linux-image-unsigned-5.4.0-42-generic linux-tools-5.4.0-42
linux-tools-5.4.0-42-generic linux-tools-common
The following packages will be DOWNGRADED:
linux-headers-5.4.0-42-generic linux-modules-5.4.0-42-generic linux-modules-extra-5.4.0-42-generic
0 upgraded, 6 newly installed, 3 downgraded, 3 to remove and 0 not upgraded.
Need to get 5,185 kB/28.9 MB of archives.
After this operation, 23.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ports.ubuntu.com/ubuntu-ports focal/main s390x libdw1 s390x 0.176-1.1build1 [226 kB]
Get:2 /root/tmp/fheimes/linux-image-unsigned-5.4.0-42-generic_5.4.0-42.46_s390x.deb linux-image-unsigned-5.4.0-42-generic s390x 5.4.0-42.46 [6,658 kB]
Get:3 /root/tmp/fheimes/linux-buildinfo-5.4.0-42-generic_5.4.0-42.46_s390x.deb linux-buildinfo-5.4.0-42-generic s390x 5.4.0-42.46 [384 kB]
Get:4 /root/tmp/fheimes/linux-headers-5.4.0-42-generic_5.4.0-42.46_s390x.deb linux-headers-5.4.0-42-generic s390x 5.4.0-42.46 [709 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-tools-common all 5.4.0-42.46 [197 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-tools-5.4.0-42 s390x 5.4.0-42.46 [4,763 kB]
Get:7 /root/tmp/fheimes/linux-modules-5.4.0-42-generic_5.4.0-42.46_s390x.deb linux-modules-5.4.0-42-generic s390x 5.4.0-42.46 [9,310 kB]
Get:8 /root/tmp/fheimes/linux-modules-extra-5.4.0-42-generic_5.4.0-42.46_s390x.deb linux-modules-extra-5.4.0-42-generic s390x 5.4.0-42.46 [6,332 kB]
Get:9 /root/tmp/fheimes/linux-tools-5.4.0-42-generic_5.4.0-42.46_s390x.deb linux-tools-5.4.0-42-generic s390x 5.4.0-42.46 [289 kB]
Fetched 5,185 kB in 0s (12.6 MB/s)
(Reading database ... 52292 files and directories currently installed.)
Removing linux-generic (5.4.0.42.46) ...
Removing linux-image-generic (5.4.0.42.46) ...
dpkg: linux-image-5.4.0-42-generic: dependency problems, but removing anyway as you requested:
linux-modules-extra-5.4.0-42-generic depends on linux-image-5.4.0-42-generic | linux-image-unsigned-5.4.0-42-generic; however:
Package linux-image-5.4.0-42-generic is to be removed.
Package linux-image-unsigned-5.4.0-42-generic is not installed.
Removing linux-image-5.4.0-42-generic (5.4.0-42.46) ...
E: Aborting removal of the running kernel
dpkg: error processing package linux-image-5.4.0-42-generic (--remove):
installed linux-image-5.4.0-42-generic package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-5.4.0-42-generic
Processing was halted because there were too many errors.
N: Download is performed unsandboxed as root as file '/root/tmp/fheimes/linux-image-unsigned-5.4.0-42-generic_5.4.0-42.46_s390x.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Sub-process /usr/bin/dpkg returned an error code (1)
------- Comment From <email address hidden> 2020-08-20 09:32 EDT-------
I have installed an Ubuntu 20.4, and copied the deb-packages to /root/tmp/fheimes.
But I have never installed additional kernel packages on Ubuntu. It failed like this:
root@s8360032: ~/tmp/fheimes# apt install /root/tmp/ fheimes/ *.deb buildinfo- 5.4.0-42- generic' instead of '/root/ tmp/fheimes/ linux-buildinfo -5.4.0- 42-generic_ 5.4.0-42. 46_s390x. deb' headers- 5.4.0-42- generic' instead of '/root/ tmp/fheimes/ linux-headers- 5.4.0-42- generic_ 5.4.0-42. 46_s390x. deb' image-unsigned- 5.4.0-42- generic' instead of '/root/ tmp/fheimes/ linux-image- unsigned- 5.4.0-42- generic_ 5.4.0-42. 46_s390x. deb' modules- 5.4.0-42- generic' instead of '/root/ tmp/fheimes/ linux-modules- 5.4.0-42- generic_ 5.4.0-42. 46_s390x. deb' modules- extra-5. 4.0-42- generic' instead of '/root/ tmp/fheimes/ linux-modules- extra-5. 4.0-42- generic_ 5.4.0-42. 46_s390x. deb' tools-5. 4.0-42- generic' instead of '/root/ tmp/fheimes/ linux-tools- 5.4.0-42- generic_ 5.4.0-42. 46_s390x. deb' 5.4.0-42 linux-tools-common 5.4.0-42- generic linux-image-generic -5.4.0- 42-generic linux-image- unsigned- 5.4.0-42- generic linux-tools- 5.4.0-42 5.4.0-42- generic linux-tools-common 5.4.0-42- generic linux-modules- 5.4.0-42- generic linux-modules- extra-5. 4.0-42- generic ports.ubuntu. com/ubuntu- ports focal/main s390x libdw1 s390x 0.176-1.1build1 [226 kB] fheimes/ linux-image- unsigned- 5.4.0-42- generic_ 5.4.0-42. 46_s390x. deb linux-image- unsigned- 5.4.0-42- generic s390x 5.4.0-42.46 [6,658 kB] fheimes/ linux-buildinfo -5.4.0- 42-generic_ 5.4.0-42. 46_s390x. deb linux-buildinfo -5.4.0- 42-generic s390x 5.4.0-42.46 [384 kB] fheimes/ linux-headers- 5.4.0-42- generic_ 5.4.0-42. 46_s390x. deb linux-headers- 5.4.0-42- generic s390x 5.4.0-42.46 [709 kB] ports.ubuntu. com/ubuntu- ports focal-updates/main s390x linux-tools-common all 5.4.0-42.46 [197 kB] ports.ubuntu. com/ubuntu- ports focal-updates/main s390x linux-tools- 5.4.0-42 s390x 5.4.0-42.46 [4,763 kB] fheimes/ linux-modules- 5.4.0-42- generic_ 5.4.0-42. 46_s390x. deb linux-modules- 5.4.0-42- generic s390x 5.4.0-42.46 [9,310 kB] fheimes/ linux-modules- extra-5. 4.0-42- generic_ 5.4.0-42. 46_s390x. deb linux-modules- extra-5. 4.0-42- generic s390x 5.4.0-42.46 [6,332 kB] fheimes/ linux-tools- 5.4.0-42- generic_ 5.4.0-42. 46_s390x. deb linux-tools- 5.4.0-42- generic s390x 5.4.0-42.46 [289 kB] 5.4.0-42- generic: dependency problems, but removing anyway as you requested: extra-5. 4.0-42- generic depends on linux-image- 5.4.0-42- generic | linux-image- unsigned- 5.4.0-42- generic; however: 5.4.0-42- generic is to be removed. unsigned- 5.4.0-42- generic is not installed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-
Note, selecting 'linux-
Note, selecting 'linux-
Note, selecting 'linux-
Note, selecting 'linux-
Note, selecting 'linux-
The following additional packages will be installed:
libdw1 linux-tools-
Suggested packages:
fdutils linux-doc | linux-source-5.4.0 linux-tools
The following packages will be REMOVED:
linux-generic linux-image-
The following NEW packages will be installed:
libdw1 linux-buildinfo
linux-tools-
The following packages will be DOWNGRADED:
linux-headers-
0 upgraded, 6 newly installed, 3 downgraded, 3 to remove and 0 not upgraded.
Need to get 5,185 kB/28.9 MB of archives.
After this operation, 23.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://
Get:2 /root/tmp/
Get:3 /root/tmp/
Get:4 /root/tmp/
Get:5 http://
Get:6 http://
Get:7 /root/tmp/
Get:8 /root/tmp/
Get:9 /root/tmp/
Fetched 5,185 kB in 0s (12.6 MB/s)
(Reading database ... 52292 files and directories currently installed.)
Removing linux-generic (5.4.0.42.46) ...
Removing linux-image-generic (5.4.0.42.46) ...
dpkg: linux-image-
linux-modules-
Package linux-image-
Package linux-image-
Removing linux-image- 5.4.0-42- generic (5.4.0-42.46) ... 5.4.0-42- generic (--remove): 5.4.0-42- generic package pre-removal script subprocess returned error exit status 1 5.4.0-42- generic tmp/fheimes/ linux-image- unsigned- 5.4.0-42- generic_ 5.4.0-42. 46_s390x. deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Aborting removal of the running kernel
dpkg: error processing package linux-image-
installed linux-image-
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-
Processing was halted because there were too many errors.
N: Download is performed unsandboxed as root as file '/root/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can I get some hints how to apply the deb Files?