Comment 20 for bug 480055

Revision history for this message
jlbridge (jlbridge09) wrote : Re: [Bug 480055] Re: run-parts: /etc/kernel/postinst.d/dkms exited with return code 1 [ due to removed package with lingering files in /etc ]

Its says that it can't configure the bcmwl kernel source. Even when I type

sudo dpkg --configure bcmwl-kernel-source

It says the following:

Setting up bcmwl-kernel-source (5.10.91.9+bdcom-0ubuntu4) ...
dpkg (subprocess): unable to execute installed post-installation script:
Exec format error
dpkg: error processing bcmwl-kernel-source (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 bcmwl-kernel-source

On Wed, Feb 17, 2010 at 10:36 PM, Bhagya <email address hidden> wrote:

> Dude...
> Open terminal and type the following:
>
> sudo apt-get purge dkms
>
> After that, reinstall dkms by typing the following cmd...
>
> sudo apt-get install dkms
>
>
> On Thu, Feb 18, 2010 at 7:07 AM, jlbridge <email address hidden> wrote:
>
> > I did that, but the bcmwl kernel source is associated with it (its the
> > Broadcom wireless driver) doesn't want to uninstall. It says there's an
> > error in it. Can I still just uninstall the dkms and reinstall it? Or
> > will
> > this create a problem with it if I do?
> >
> > On Wed, Feb 17, 2010 at 6:58 PM, Rajinder Sandhu <email address hidden>
> > wrote:
> >
> > > purging means removing the package along with its configuration
> files....
> > > instead now you need to install the package dkms..open synaptic package
> > > manager
> > > System>Administration>Synaptic Package Manager type dkms in search box
> > and
> > > you will be taken directly to dkms now right click on this and tick
> > nstall
> > > then there is apply Icon click that it will install then you can close
> > the
> > > synaptic package manager
> > >
> > > --
> > > run-parts: /etc/kernel/postinst.d/dkms exited with return code 1 [ due
> to
> > > removed package with lingering files in /etc ]
> > > https://bugs.launchpad.net/bugs/480055
> > > You received this bug notification because you are a direct subscriber
> > > of a duplicate bug.
> > >
> > > Status in “dkms” package in Ubuntu: Fix Released
> > >
> > > Bug description:
> > > Binary package hint: dkms
> > >
> > > apt-get update; apt-get upgrade
> > >
> > > I seguenti pacchetti sono stati mantenuti alla versione attuale:
> > > linux-generic linux-headers-generic linux-image-generic
> > >
> > > sudo apt-get install linux-generic linux-headers-generic
> > > linux-image-generic
> > >
> > > update-initramfs: Generating /boot/initrd.img-2.6.31-15-generic
> > > Running postinst hook script /usr/sbin/update-grub.
> > > Generating grub.cfg ...
> > > Found linux image: /boot/vmlinuz-2.6.31-15-generic
> > > Found initrd image: /boot/initrd.img-2.6.31-15-generic
> > > Found linux image: /boot/vmlinuz-2.6.31-14-generic
> > > Found initrd image: /boot/initrd.img-2.6.31-14-generic
> > > Found memtest86+ image: /memtest86+.bin
> > > done
> > > Examining /etc/kernel/postinst.d.
> > > run-parts: executing /etc/kernel/postinst.d/dkms
> > > run-parts: failed to exec /etc/kernel/postinst.d/dkms: Exec format
> error
> > > run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
> > > Failed to process /etc/kernel/postinst.d at
> > > /var/lib/dpkg/info/linux-image-2.6.31-15-generic.postinst line 1002.
> > > dpkg: errore nell'elaborare linux-image-2.6.31-15-generic
> (--configure):
> > > il sottoprocesso vecchio script di post-installation ha restituito lo
> > > stato di errore 2
> > >
> > > ProblemType: Package
> > > Architecture: amd64
> > > Date: Tue Nov 10 16:04:01 2009
> > > DistroRelease: Ubuntu 9.10
> > > ErrorMessage: run-parts: /etc/kernel/postinst.d/dkms exited with return
> > > code 1
> > > InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64
> (20091027)
> > > Package: linux-image-2.6.31-15-generic 2.6.31-15.49
> > > ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
> > > SourcePackage: dkms
> > > Title: package linux-image-2.6.31-15-generic 2.6.31-15.49 failed to
> > > install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with
> > return
> > > code 1
> > > Uname: Linux 2.6.31-14-generic x86_64
> > >
> > > To unsubscribe from this bug, go to:
> > > https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/480055/+subscribe
> > >
> >
> > --
> > run-parts: /etc/kernel/postinst.d/dkms exited with return code 1 [ due to
> > removed package with lingering files in /etc ]
> > https://bugs.launchpad.net/bugs/480055
> > You received this bug notification because you are a direct subscriber
> > of a duplicate bug.
> >
> > Status in “dkms” package in Ubuntu: Fix Released
> >
> > Bug description:
> > Binary package hint: dkms
> >
> > apt-get update; apt-get upgrade
> >
> > I seguenti pacchetti sono stati mantenuti alla versione attuale:
> > linux-generic linux-headers-generic linux-image-generic
> >
> > sudo apt-get install linux-generic linux-headers-generic
> > linux-image-generic
> >
> > update-initramfs: Generating /boot/initrd.img-2.6.31-15-generic
> > Running postinst hook script /usr/sbin/update-grub.
> > Generating grub.cfg ...
> > Found linux image: /boot/vmlinuz-2.6.31-15-generic
> > Found initrd image: /boot/initrd.img-2.6.31-15-generic
> > Found linux image: /boot/vmlinuz-2.6.31-14-generic
> > Found initrd image: /boot/initrd.img-2.6.31-14-generic
> > Found memtest86+ image: /memtest86+.bin
> > done
> > Examining /etc/kernel/postinst.d.
> > run-parts: executing /etc/kernel/postinst.d/dkms
> > run-parts: failed to exec /etc/kernel/postinst.d/dkms: Exec format error
> > run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
> > Failed to process /etc/kernel/postinst.d at
> > /var/lib/dpkg/info/linux-image-2.6.31-15-generic.postinst line 1002.
> > dpkg: errore nell'elaborare linux-image-2.6.31-15-generic (--configure):
> > il sottoprocesso vecchio script di post-installation ha restituito lo
> > stato di errore 2
> >
> > ProblemType: Package
> > Architecture: amd64
> > Date: Tue Nov 10 16:04:01 2009
> > DistroRelease: Ubuntu 9.10
> > ErrorMessage: run-parts: /etc/kernel/postinst.d/dkms exited with return
> > code 1
> > InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> > Package: linux-image-2.6.31-15-generic 2.6.31-15.49
> > ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
> > SourcePackage: dkms
> > Title: package linux-image-2.6.31-15-generic 2.6.31-15.49 failed to
> > install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with
> return
> > code 1
> > Uname: Linux 2.6.31-14-generic x86_64
> >
> > To unsubscribe from this bug, go to:
> > https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/480055/+subscribe
> >
>
> --
> run-parts: /etc/kernel/postinst.d/dkms exited with return code 1 [ due to
> removed package with lingering files in /etc ]
> https://bugs.launchpad.net/bugs/480055
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “dkms” package in Ubuntu: Fix Released
>
> Bug description:
> Binary package hint: dkms
>
> apt-get update; apt-get upgrade
>
> I seguenti pacchetti sono stati mantenuti alla versione attuale:
> linux-generic linux-headers-generic linux-image-generic
>
> sudo apt-get install linux-generic linux-headers-generic
> linux-image-generic
>
> update-initramfs: Generating /boot/initrd.img-2.6.31-15-generic
> Running postinst hook script /usr/sbin/update-grub.
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-2.6.31-15-generic
> Found initrd image: /boot/initrd.img-2.6.31-15-generic
> Found linux image: /boot/vmlinuz-2.6.31-14-generic
> Found initrd image: /boot/initrd.img-2.6.31-14-generic
> Found memtest86+ image: /memtest86+.bin
> done
> Examining /etc/kernel/postinst.d.
> run-parts: executing /etc/kernel/postinst.d/dkms
> run-parts: failed to exec /etc/kernel/postinst.d/dkms: Exec format error
> run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
> Failed to process /etc/kernel/postinst.d at
> /var/lib/dpkg/info/linux-image-2.6.31-15-generic.postinst line 1002.
> dpkg: errore nell'elaborare linux-image-2.6.31-15-generic (--configure):
> il sottoprocesso vecchio script di post-installation ha restituito lo
> stato di errore 2
>
> ProblemType: Package
> Architecture: amd64
> Date: Tue Nov 10 16:04:01 2009
> DistroRelease: Ubuntu 9.10
> ErrorMessage: run-parts: /etc/kernel/postinst.d/dkms exited with return
> code 1
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> Package: linux-image-2.6.31-15-generic 2.6.31-15.49
> ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
> SourcePackage: dkms
> Title: package linux-image-2.6.31-15-generic 2.6.31-15.49 failed to
> install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with return
> code 1
> Uname: Linux 2.6.31-14-generic x86_64
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/480055/+subscribe
>