Public bug reported:
I wanted to reconfigure console using dpkg-reconfigure console-setup after
which I started getting errors like this:
"
Removing linux-image-extra-4.8.0-56-generic (4.8.0-56.61~16.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.0-56-generic
/boot/vmlinuz-4.8.0-56-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.8.0-56-generic
/boot/vmlinuz-4.8.0-56-generic
/usr/lib/dkms/dkms_autoinstaller:27: parse error near `}'
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
"
I also got this parsing error on /var/lib/dpkg/info/console-setup.config file
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-extra-4.8.0-56-generic 4.8.0-56.61~16.04.1
ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-58-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.9
AptOrdering:
linux-image-extra-4.8.0-56-generic: Purge
initramfs-tools: Configure
console-setup: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Tue Jul 11 11:28:06 2017
ErrorMessage: run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
InstallationDate: Installed on 2017-03-02 (130 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64
(20170215.2)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.2
apt 1.2.20
SourcePackage: dkms
Title: package linux-image-extra-4.8.0-56-generic 4.8.0-56.61~16.04.1 failed to
install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with return code
1
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: dkms (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package need-duplicate-check xenial
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1703568
Title:
package linux-image-extra-4.8.0-56-generic 4.8.0-56.61~16.04.1 failed
to install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with
return code 1
Status in dkms package in Ubuntu:
New
Bug description:
I wanted to reconfigure console using dpkg-reconfigure console-setup after
which I started getting errors like this:
"
Removing linux-image-extra-4.8.0-56-generic (4.8.0-56.61~16.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.0-56-generic
/boot/vmlinuz-4.8.0-56-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.8.0-56-generic
/boot/vmlinuz-4.8.0-56-generic
/usr/lib/dkms/dkms_autoinstaller:27: parse error near `}'
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
"
I also got this parsing error on /var/lib/dpkg/info/console-setup.config file
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-extra-4.8.0-56-generic 4.8.0-56.61~16.04.1
ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-58-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.9
AptOrdering:
linux-image-extra-4.8.0-56-generic: Purge
initramfs-tools: Configure
console-setup: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Tue Jul 11 11:28:06 2017
ErrorMessage: run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
InstallationDate: Installed on 2017-03-02 (130 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64
(20170215.2)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.2
apt 1.2.20
SourcePackage: dkms
Title: package linux-image-extra-4.8.0-56-generic 4.8.0-56.61~16.04.1 failed
to install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with return
code 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1703568/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp