How about creating this file
*/bin/udevinfo*
with the following lines in it:
#!/bin/bash
udevadm info $@

Make it executable:
*chmod +x /bin/udevinfo*

Then try your command again.


On Tue, Jun 9, 2009 at 3:46 PM, NKJensen <[email protected]> wrote:

> alias udevinfo='udevadm info' did not solve my problem.
>
> I still get the cpio error:
>
> n...@nkj-laptop:~$ sudo dpkg --configure -a
> Setting up initramfs-tools (0.92bubuntu29) ...
> update-initramfs: deferring update (trigger activated)
>
> Setting up linux-image-2.6.28-13-generic (2.6.28-13.44) ...
> Running depmod.
> update-initramfs: Generating /boot/initrd.img-2.6.28-13-generic
> cpio: ./bin/udevinfo: Cannot stat: No such file or directory
> update-initramfs: failed for /boot/initrd.img-2.6.28-13-generic
> Failed to create initrd image.
> dpkg: error processing linux-image-2.6.28-13-generic (--configure):
>  subprocess post-installation script returned error exit status 2
> dpkg: dependency problems prevent configuration of linux-image-generic:
>  linux-image-generic depends on linux-image-2.6.28-13-generic; however:
>  Package linux-image-2.6.28-13-generic is not configured yet.
> dpkg: error processing linux-image-generic (--configure):
>  dependency problems - leaving unconfigured
> Processing triggers for initramfs-tools ...
> update-initramfs: Generating /boot/initrd.img-2.6.27-14-generic
> cpio: ./bin/udevinfo: Cannot stat: No such file or directory
> update-initramfs: failed for /boot/initrd.img-2.6.27-14-generic
> dpkg: subprocess post-installation script returned error exit status 1
> n...@nkj-laptop:~$
>
> --
> update 8.10 to 9.04 ==> Pb with udevinfo (not found)
> https://bugs.launchpad.net/bugs/350988
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “update-manager” source package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: update-manager
>
> In script update-initramfs, cpio command don't found ./udevinfo
> dpkg --configure -a give the same error
> Update cancelled, impossible to restart in previous configuration
>
> ProblemType: Crash
> Architecture: i386
> DistroRelease: Ubuntu 9.04
> ExecutablePath: /usr/bin/update-manager
> InterpreterPath: /usr/bin/python2.6
> NonfreeKernelModules: nvidia
> Package: update-manager 1:0.111.0
> PackageArchitecture: all
> ProcAttrCurrent: unconfined
> ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager -dc
> ProcEnviron:
>  SHELL=/bin/bash
>  LANG=fr_FR.UTF-8
>  LANGUAGE=fr_FR:fr:en_GB:en
> PythonArgs: ['/usr/bin/update-manager', '-dc']
> SourcePackage: update-manager
> Title: update-manager crashed with RuntimeError in <module>()
> Traceback:
>  Traceback (most recent call last):
>   File "/usr/bin/update-manager", line 44, in <module>
>     gtk.init_check()
>  RuntimeError: could not open display
> Uname: Linux 2.6.27-14-generic i686
> UserGroups: lpadmin
>

-- 
update 8.10 to 9.04 ==> Pb with udevinfo (not found)
https://bugs.launchpad.net/bugs/350988
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to