run-parts: /etc/kernel/postinst.d/dkms exited with return code 1 [ due to removed package with lingering files in /etc ]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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-
sudo apt-get install linux-generic linux-headers-
update-initramfs: Generating /boot/initrd.
Running postinst hook script /usr/sbin/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /memtest86+.bin
done
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: failed to exec /etc/kernel/
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: errore nell'elaborare linux-image-
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/
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: linux-image-
ProcVersionSign
SourcePackage: dkms
Title: package linux-image-
Uname: Linux 2.6.31-14-generic x86_64
Related branches
fabio (meneghetti-fabio) wrote : | #1 |
- Dependencies.txt Edit (1.2 KiB, text/plain; charset="utf-8")
- Dmesg.txt Edit (57.6 KiB, text/plain; charset="utf-8")
- DpkgTerminalLog.gz Edit (20.8 KiB, application/x-gzip)
Mario Limonciello (superm1) wrote : | #2 |
Changed in dkms (Ubuntu): | |
status: | New → Incomplete |
quarK (marioquark-yahoo) wrote : | #3 |
here i am:
same behaviuor...
my /etc/kernel/
and its permissions are
-rwxr-xr-x 1 root root 0 2009-07-29 23:29 dkms
this bug https:/
Mario Limonciello (superm1) wrote : | #4 |
@mvo:
Would you mind taking a look at this? I'm really not sure why this situation has happened. I've seen a few similar bugs like it happening though.
Lawrence Seguin (lseguin) wrote : | #5 |
Rajinder Sandhu (sandy744) wrote : | #6 |
Hi Mario,
Please find the requested output in the following para:
rajinder@
#!/bin/bash
# We're passed the version of the kernel being installed
inst_kern=$1
exec /usr/lib/
rajinder@
total 20K
drwxr-xr-x 2 root root 4.0K 2009-12-18 12:27 .
drwxr-xr-x 5 root root 4.0K 2009-12-18 12:27 ..
-rwxr-xr-x 1 root root 139 2009-12-15 22:48 dkms
-rwxr-xr-x 1 root root 479 2009-07-28 13:38 nvidia-common
-rwxr-xr-x 1 root root 196 2009-12-06 17:31 pm-utils
rajinder@
Thanks,
Rajinder Sandhu
having dup of the same bug 498651
StefanPotyra (sistpoty) wrote : | #7 |
Just happened to me, too. The reason is a logic error:
If dkms is removed, but not purged, the conf-files will not get deleted from the system. As a result, the assumption that the package contents are available if the conf-file is available is wrong.
-> please add a check to /etc/kernel/
Thanks,
Stefan.
Changed in dkms (Ubuntu): | |
status: | Incomplete → Confirmed |
status: | Confirmed → Triaged |
StefanPotyra (sistpoty) wrote : | #8 |
Oh, sorry, rereading all comments, this bug report seems to actually refer to two different bugs:
1) /etc/kernel/
-> no clue about that
2) /etc/kernel/
-> see comment 7.
I could kill the issue and update the OS after installing dkms manually with
synaptic manager...hope it could give you some hint to add installation of
dkms line in the update program
Thanks
Rajinder
=======
On Wed, Jan 6, 2010 at 10:48 PM, StefanPotyra <
<email address hidden>> wrote:
> Oh, sorry, rereading all comments, this bug report seems to actually refer
> to two different bugs:
> 1) /etc/kernel/
> -> no clue about that
> 2) /etc/kernel/
> removed.
> -> see comment 7.
>
> --
> package linux-image-
> install/upgrade: run-parts: /etc/kernel/
> code 1
> https:/
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “dkms” package in Ubuntu: Triaged
>
> 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-
>
> sudo apt-get install linux-generic linux-headers-
> linux-image-generic
>
> update-initramfs: Generating /boot/initrd.
> Running postinst hook script /usr/sbin/
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found memtest86+ image: /memtest86+.bin
> done
> Examining /etc/kernel/
> run-parts: executing /etc/kernel/
> run-parts: failed to exec /etc/kernel/
> run-parts: /etc/kernel/
> Failed to process /etc/kernel/
> /var/lib/
> dpkg: errore nell'elaborare linux-image-
> 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/
> code 1
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> Package: linux-image-
> ProcVersionSign
> SourcePackage: dkms
> Title: package linux-image-
> install/upgrade: run-parts: /etc/kernel/
> code 1
> Uname: Linux 2.6.31-14-generic x86_64
>
> To unsubscribe from this bug, go to:
> https:/
>
--
Warm regards,
Rajinder Sandhu
Bangalore
India
Mario Limonciello (superm1) wrote : Re: 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 | #10 |
Stefan:
I think you are right that there are two separate bugs here, but the first I also have no clue about. I'm going to treat this as the second bug and fix that. With the new version, if we continue to see the first showing up, lets use a New bug for that.
Mario Limonciello (superm1) wrote : | #11 |
Fixed in 6f7beb210eeb5eb
Changed in dkms (Ubuntu): | |
status: | Triaged → Fix Committed |
summary: |
- 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 + run-parts: /etc/kernel/postinst.d/dkms exited with return code 1 [ due + to removed package with lingering files in /etc ] |
Dear Sir,
As mentioned previously, the dkms was installed so manually installed and
there after problem was solved. May be we need to add a line for
installation of dkms which may be missing or not installing dkms
Thanks,
Rajinder Sandhu
=======
On Thu, Jan 14, 2010 at 1:17 AM, Mario Limonciello <email address hidden>wrote:
> Fixed in 6f7beb210eeb5eb
>
> ** Changed in: dkms (Ubuntu)
> Status: Triaged => Fix Committed
>
> ** Summary changed:
>
> - package linux-image-
> install/upgrade: run-parts: /etc/kernel/
> code 1
> + run-parts: /etc/kernel/
> removed package with lingering files in /etc ]
>
> --
> run-parts: /etc/kernel/
> removed package with lingering files in /etc ]
> https:/
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “dkms” package in Ubuntu: Fix Committed
>
> 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-
>
> sudo apt-get install linux-generic linux-headers-
> linux-image-generic
>
> update-initramfs: Generating /boot/initrd.
> Running postinst hook script /usr/sbin/
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found memtest86+ image: /memtest86+.bin
> done
> Examining /etc/kernel/
> run-parts: executing /etc/kernel/
> run-parts: failed to exec /etc/kernel/
> run-parts: /etc/kernel/
> Failed to process /etc/kernel/
> /var/lib/
> dpkg: errore nell'elaborare linux-image-
> 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/
> code 1
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> Package: linux-image-
> ProcVersionSign
> SourcePackage: dkms
> Title: package linux-image-
> install/upgrade: run-parts: /etc/kernel/
> code 1
> Uname: Linux 2.6.31-14-generic x86_64
>
> To unsubscribe from this bug, go to:
> https:/
>
--
Warm regards,
Rajinder Sandhu
Bangalore
India
I can confirm that going to synaptic package manager and reinstalling
dkms solved the problem for me as well.
On Thu, 2010-01-14 at 01:29 +0000, Rajinder Sandhu wrote:
> Dear Sir,
> As mentioned previously, the dkms was installed so manually installed and
> there after problem was solved. May be we need to add a line for
> installation of dkms which may be missing or not installing dkms
> Thanks,
> Rajinder Sandhu
> =======
>
> On Thu, Jan 14, 2010 at 1:17 AM, Mario Limonciello
> <email address hidden>wrote:
>
> > Fixed in 6f7beb210eeb5eb
> >
> > ** Changed in: dkms (Ubuntu)
> > Status: Triaged => Fix Committed
> >
> > ** Summary changed:
> >
> > - package linux-image-
> > install/upgrade: run-parts: /etc/kernel/
> > code 1
> > + run-parts: /etc/kernel/
> > removed package with lingering files in /etc ]
> >
> > --
> > run-parts: /etc/kernel/
> > removed package with lingering files in /etc ]
> > https:/
> > You received this bug notification because you are a direct subscriber
> > of a duplicate bug.
> >
> > Status in “dkms” package in Ubuntu: Fix Committed
> >
> > 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-
> >
> > sudo apt-get install linux-generic linux-headers-
> > linux-image-generic
> >
> > update-initramfs: Generating /boot/initrd.
> > Running postinst hook script /usr/sbin/
> > Generating grub.cfg ...
> > Found linux image: /boot/vmlinuz-
> > Found initrd image: /boot/initrd.
> > Found linux image: /boot/vmlinuz-
> > Found initrd image: /boot/initrd.
> > Found memtest86+ image: /memtest86+.bin
> > done
> > Examining /etc/kernel/
> > run-parts: executing /etc/kernel/
> > run-parts: failed to exec /etc/kernel/
> > run-parts: /etc/kernel/
> > Failed to process /etc/kernel/
> > /var/lib/
> > dpkg: errore nell'elaborare linux-image-
> > 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/
> > code 1
> > InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> > Package: linux-image-
> > ProcVersionSign
> > SourcePackage: dkms
> > Title: package linux-image-
> > install/upgrade: run-parts: /etc/kernel/
>...
Launchpad Janitor (janitor) wrote : | #14 |
This bug was fixed in the package dkms - 2.1.1.1-0ubuntu1
---------------
dkms (2.1.1.1-0ubuntu1) lucid; urgency=low
[ Mario Limonciello ]
* dkms_common.
to make sure that this is safe on more shells.
* Makefile, debian/rules: Only copy the init script in for redhat targets.
* kernel_postinst.d: Make sure that dkms_autoinstaller is executable (LP: #480055)
* Move the architecture mapping logic out of the DKMS template and into
common.postinst for Ubuntu only. (LP: #497149)
* template-
[ Thomas Chenault ]
* Fix parsing in find_external_
when a driver disk module has more than two dependencies.
-- Mario Limonciello <email address hidden> Mon, 25 Jan 2010 17:42:40 -0600
Changed in dkms (Ubuntu): | |
status: | Fix Committed → Fix Released |
jlbridge (jlbridge09) wrote : | #15 |
How would I go about purging the dkms? I'm still new to Linux, so I'm not entirely sure of the commands yet.
Mario Limonciello (superm1) 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 ] | #16 |
Open synaptic, find dkms. Right click it and hit completely remove.
On 02/17/2010, jlbridge <email address hidden> wrote:
> How would I go about purging the dkms? I'm still new to Linux, so I'm
> not entirely sure of the commands yet.
>
> --
> run-parts: /etc/kernel/
> removed package with lingering files in /etc ]
> https:/
> You received this bug notification because you are subscribed to dkms in
> ubuntu.
>
--
Sent from my mobile device
Mario Limonciello
<email address hidden>
Rajinder Sandhu (sandy744) wrote : | #17 |
purging means removing the package along with its configuration files....
instead now you need to install the package dkms..open synaptic package manager
System>
jlbridge (jlbridge09) wrote : | #18 |
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>
> 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/
> removed package with lingering files in /etc ]
> https:/
> 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-
>
> sudo apt-get install linux-generic linux-headers-
> linux-image-generic
>
> update-initramfs: Generating /boot/initrd.
> Running postinst hook script /usr/sbin/
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found memtest86+ image: /memtest86+.bin
> done
> Examining /etc/kernel/
> run-parts: executing /etc/kernel/
> run-parts: failed to exec /etc/kernel/
> run-parts: /etc/kernel/
> Failed to process /etc/kernel/
> /var/lib/
> dpkg: errore nell'elaborare linux-image-
> 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/
> code 1
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> Package: linux-image-
> ProcVersionSign
> SourcePackage: dkms
> Title: package linux-image-
> install/upgrade: run-parts: /etc/kernel/
> code 1
> Uname: Linux 2.6.31-14-generic x86_64
>
> To unsubscribe from this bug, go to:
> https:/
>
Bhagya (mayankbhagya) wrote : | #19 |
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>
> 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/
> > removed package with lingering files in /etc ]
> > https:/
> > 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-
> >
> > sudo apt-get install linux-generic linux-headers-
> > linux-image-generic
> >
> > update-initramfs: Generating /boot/initrd.
> > Running postinst hook script /usr/sbin/
> > Generating grub.cfg ...
> > Found linux image: /boot/vmlinuz-
> > Found initrd image: /boot/initrd.
> > Found linux image: /boot/vmlinuz-
> > Found initrd image: /boot/initrd.
> > Found memtest86+ image: /memtest86+.bin
> > done
> > Examining /etc/kernel/
> > run-parts: executing /etc/kernel/
> > run-parts: failed to exec /etc/kernel/
> > run-parts: /etc/kernel/
> > Failed to process /etc/kernel/
> > /var/lib/
> > dpkg: errore nell'elaborare linux-image-
> > 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/
> > code 1
> > InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> > Package: linux-image-
> > ProcVersionSign
> > SourcePackage: dkms
> > Title: package linux-image-
> > install/upgrade: run-parts: /etc/kernel/
jlbridge (jlbridge09) wrote : | #20 |
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.
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-
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>
> > 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/
> to
> > > removed package with lingering files in /etc ]
> > > https:/
> > > 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-
> > >
> > > sudo apt-get install linux-generic linux-headers-
> > > linux-image-generic
> > >
> > > update-initramfs: Generating /boot/initrd.
> > > Running postinst hook script /usr/sbin/
> > > Generating grub.cfg ...
> > > Found linux image: /boot/vmlinuz-
> > > Found initrd image: /boot/initrd.
> > > Found linux image: /boot/vmlinuz-
> > > Found initrd image: /boot/initrd.
> > > Found memtest86+ image: /memtest86+.bin
> > > done
> > > Examining /etc/kernel/
> > > run-parts: executing /etc/kernel/
> > > run-parts: failed to exec /etc/kernel/
> error
> > > run-parts: /etc/kernel/
> > > Failed to process /etc/kernel/
> > > /var/lib/
> > > dpkg: err...
Jean-Baptiste Lallement (jibel) wrote : | #21 |
@jlbridge, you're probably hit by bug 512096. Have a look at it.
jlbridge (jlbridge09) wrote : | #22 |
Ok, did that but now when I go to activate the driver, it comes up with this
error in jockey.log:
WARNING: /sys/module/
On Fri, Feb 19, 2010 at 6:39 PM, Jean-Baptiste Lallement <
<email address hidden>> wrote:
> @jlbridge, you're probably hit by bug 512096. Have a look at it.
>
> --
> run-parts: /etc/kernel/
> removed package with lingering files in /etc ]
> https:/
> 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-
>
> sudo apt-get install linux-generic linux-headers-
> linux-image-generic
>
> update-initramfs: Generating /boot/initrd.
> Running postinst hook script /usr/sbin/
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found memtest86+ image: /memtest86+.bin
> done
> Examining /etc/kernel/
> run-parts: executing /etc/kernel/
> run-parts: failed to exec /etc/kernel/
> run-parts: /etc/kernel/
> Failed to process /etc/kernel/
> /var/lib/
> dpkg: errore nell'elaborare linux-image-
> 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/
> code 1
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> Package: linux-image-
> ProcVersionSign
> SourcePackage: dkms
> Title: package linux-image-
> install/upgrade: run-parts: /etc/kernel/
> code 1
> Uname: Linux 2.6.31-14-generic x86_64
>
> To unsubscribe from this bug, go to:
> https:/
>
rebo2255 (rebo2255) wrote : | #23 |
I use Ubuntu 9.10, kernel 2.6.31.57
I have the same problem (run-parts: failed to exec /etc/kernel/
My version of dkms is 2.1.0.1-0ubuntu1. If i attempt to uninstall it from synaptic i have this error:
E: dkms: el subproceso script pre-removal instalado devolvió el código de salida de error 2
If i attempt using a terminal it more of the same.
The language is spanish, something like: the installed script pre-removal subprocess returned the code error 2.
I have downloaded the 2.1.1.1 version but dkms_autoinstaller not even runs, it shows an error on the first executable line: on a function declaration [unexpected "("]. It means to me that nothing its going well that way.
I downloaded the 2.1.0.1 packet from Mario Limonciello when i invoke the autoinstaller script it returns:
dkms_autoinstaller' start
* Running DKMS auto installation service for kernel 2.6.31-20-generic
* vboxdrv (3.1.4)... [fail]
* vboxnetadp (3.1.4)... [fail]
* vboxnetflt (3.1.4)... [fail]
I think that maybe StefanPotyra have my solution because of just like he said /var/lib/
I hope that somebody could help. I am really desperate.
StefanPotyra (sistpoty) wrote : | #24 |
reb2255: No, that's a different issue, since your dkms file got corrupted somehow.
Can you check if your hard disk is ok, and if so, please open a new bug against dkms, also stating what your file system of the partition containing /etc is (ext3, ext4, or anything else)?
(we'll probably reassign the bug to a different package, but I wouldn't know by heart what's the most appropriate package atm.).
Thanks!
Rajinder Sandhu (sandy744) wrote : | #25 |
Dear friend,
open terminal and they reinstall dkms, in my case it was not there.
open terminal and then type
sudo apt-get install dkms
it will ask for password type your pw and then it will install dkms. Your
problem will be over by doing this much.
Thanks
Rajinder Sandhu
On Wed, Mar 10, 2010 at 3:53 AM, StefanPotyra <
<email address hidden>> wrote:
> reb2255: No, that's a different issue, since your dkms file got corrupted
> somehow.
> Can you check if your hard disk is ok, and if so, please open a new bug
> against dkms, also stating what your file system of the partition containing
> /etc is (ext3, ext4, or anything else)?
>
> (we'll probably reassign the bug to a different package, but I wouldn't
> know by heart what's the most appropriate package atm.).
>
> Thanks!
>
> --
> run-parts: /etc/kernel/
> removed package with lingering files in /etc ]
> https:/
> 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-
>
> sudo apt-get install linux-generic linux-headers-
> linux-image-generic
>
> update-initramfs: Generating /boot/initrd.
> Running postinst hook script /usr/sbin/
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found linux image: /boot/vmlinuz-
> Found initrd image: /boot/initrd.
> Found memtest86+ image: /memtest86+.bin
> done
> Examining /etc/kernel/
> run-parts: executing /etc/kernel/
> run-parts: failed to exec /etc/kernel/
> run-parts: /etc/kernel/
> Failed to process /etc/kernel/
> /var/lib/
> dpkg: errore nell'elaborare linux-image-
> 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/
> code 1
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> Package: linux-image-
> ProcVersionSign
> SourcePackage: dkms
> Title: package linux-image-
> install/upgrade: run-parts: /etc/kernel/
> code 1
> Uname: Linux 2.6.31-14-generic x86_64
>
> To unsubscribe from this bug, go to:
> https:/
>
--
Warm regards,
Rajinder Sandhu
Bangalore
India
Can someone with this problem please post their /etc/kernel/ postinst. d/dkms file and the permissions on it (ls -alh /etc/kernel/ postinst. d).
It looks like there may have been some corruption during installation.