Message-Id: <email address hidden>
Date: Sat, 26 Nov 2005 17:12:42 +0800
From: Paul Wise <email address hidden>
To: <email address hidden>
Subject: failure in pre-installation script: /dev/.udev/ not found
Package: udev
Version: 0.076-1
Severity: important
I got this pre-install failure upgrading from udev 0.074-3 to 0.076-1
under 2.6.12 (debian package linux-image-2.6.14-2-k7):
Preparing to replace udev 0.074-3 (using .../archives/udev_0.076-1_i386.deb=
) ...
mv: target `/dev/.udev/db/' is not a directory: No such file or directory
dpkg: error processing /var/cache/apt/archives/udev_0.076-1_i386.deb (--unp=
ack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/udev_0.076-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
On my system I have /dev/.udevdb/, but not /dev/.udev/. Looking at the
preinst, it looks like you are forgetting to check if /dev/.udev/ exists
before moving /dev/.udevdb/ to /dev/.udev/db/.
-- System Information:
Debian Release: unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-k7
Locale: LANG=3Den_AU.UTF-8, LC_CTYPE=3Den_AU.UTF-8 (charmap=3DUTF-8)
Versions of packages udev depends on:
ii initscripts 2.86.ds1-6 Standard scripts needed for bo=
otin
ii libc6 2.3.5-8 GNU C Library: Shared librarie=
s an
ii libselinux1 1.26-1 SELinux shared libraries
ii libsepol1 1.8-1 Security Enhanced Linux policy=
lib
ii lsb-base 3.0-11 Linux Standard Base 3.0 init s=
crip
ii makedev 2.3.1-79 creates device files in /dev
ii sed 4.1.4-4 The GNU sed stream editor
Message-Id: <email address hidden>
Date: Sat, 26 Nov 2005 17:12:42 +0800
From: Paul Wise <email address hidden>
To: <email address hidden>
Subject: failure in pre-installation script: /dev/.udev/ not found
--=-nmVgCf6ChCP 6zRah+Gzi Transfer- Encoding: quoted-printable
Content-Type: text/plain
Content-
Package: udev
Version: 0.076-1
Severity: important
I got this pre-install failure upgrading from udev 0.074-3 to 0.076-1 2.6.14- 2-k7):
under 2.6.12 (debian package linux-image-
Preparing to replace udev 0.074-3 (using .../archives/ udev_0. 076-1_i386. deb= apt/archives/ udev_0. 076-1_i386. deb (--unp= apt/archives/ udev_0. 076-1_i386. deb
) ...
mv: target `/dev/.udev/db/' is not a directory: No such file or directory
dpkg: error processing /var/cache/
ack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
On my system I have /dev/.udevdb/, but not /dev/.udev/. Looking at the
preinst, it looks like you are forgetting to check if /dev/.udev/ exists
before moving /dev/.udevdb/ to /dev/.udev/db/.
-- Package-specific info: .rules -> ../perm= rules -> ../libgp= plugdev. rules -> ../hal.= rules -> ../persi= utils.rules -> ../alsa-=
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 0
lrwxrwxrwx 1 root root 20 2005-05-22 12:48 020_permissions
issions.rules
lrwxrwxrwx 1 root root 19 2005-10-12 13:36 025_libgphoto2.
hoto2.rules
lrwxrwxrwx 1 root root 16 2005-10-29 14:04 025_libsane.rules -> ../libsane.=
rules
lrwxrwxrwx 1 root root 12 2005-10-19 03:17 050_hal-
rules
lrwxrwxrwx 1 root root 19 2005-05-22 12:48 cd-aliases.rules -> ../cd-aliase=
s.rules
lrwxrwxrwx 1 root root 13 2005-05-22 12:48 udev.rules -> ../udev.rules
lrwxrwxrwx 1 root root 19 2005-08-15 11:54 z20_persistent.
stent.rules
lrwxrwxrwx 1 root root 12 2005-07-04 14:38 z50_run.rules -> ../run.rules
lrwxrwxrwx 1 root root 16 2005-10-12 13:36 z55_hotplug.rules -> ../hotplug.=
rules
lrwxrwxrwx 1 root root 19 2005-08-03 14:19 z60_alsa-
utils.rules
lrwxrwxrwx 1 root root 17 2005-07-04 14:38 z70_hotplugd.rules -> ../hotplug=
d.rules
-- /sys/: hda/hda1/ dev hda/hda2/ dev hda/hda3/ dev hda/hda4/ dev hda/hda5/ dev hda/hda6/ dev hdb/hdb1/ dev hdb/hdb2/ dev hdb/hdb3/ dev ram10/dev ram11/dev ram12/dev ram13/dev ram14/dev ram15/dev graphics/ fb0/dev input/event0/ dev input/event1/ dev input/mice/ dev misc/agpgart/ dev misc/hpet/ dev misc/psaux/ dev misc/rtc/ dev sound/adsp/ dev sound/audio/ dev sound/controlC0 /dev sound/dsp/ dev sound/mixer/ dev sound/pcmC0D0c/ dev sound/pcmC0D0p/ dev sound/pcmC0D1c/ dev sound/pcmC0D2p/ dev sound/timer/ dev usb_device/ usbdev1. 1/dev usb_device/ usbdev2. 1/dev
/sys/block/fd0/dev
/sys/block/hda/dev
/sys/block/
/sys/block/
/sys/block/
/sys/block/
/sys/block/
/sys/block/
/sys/block/hdb/dev
/sys/block/
/sys/block/
/sys/block/
/sys/block/hdd/dev
/sys/block/ram0/dev
/sys/block/
/sys/block/
/sys/block/
/sys/block/
/sys/block/
/sys/block/
/sys/block/ram1/dev
/sys/block/ram2/dev
/sys/block/ram3/dev
/sys/block/ram4/dev
/sys/block/ram5/dev
/sys/block/ram6/dev
/sys/block/ram7/dev
/sys/block/ram8/dev
/sys/block/ram9/dev
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
-- Kernel configuration:
-- System Information: 3Den_AU. UTF-8 (charmap=3DUTF-8)
Debian Release: unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-k7
Locale: LANG=3Den_AU.UTF-8, LC_CTYPE=
Versions of packages udev depends on:
ii initscripts 2.86.ds1-6 Standard scripts needed for bo=
otin
ii libc6 2.3.5-8 GNU C Library: Shared librarie=
s an
ii libselinux1 1.26-1 SELinux shared libraries
ii libsepol1 1.8-1 Security Enhanced Linux policy=
lib
ii lsb-base 3.0-11 Linux Standard Base 3.0 init s=
crip
ii makedev 2.3.1-79 creates device files in /dev
ii sed 4.1.4-4 The GNU sed stream editor
--=20
bye,
pabs
http:// wiki.debian. org/PaulWise
--=-nmVgCf6ChCP 6zRah+Gzi pgp-signature; name=signature.asc Description: This is a digitally signed message part
Content-Type: application/
Content-
-----BEGIN PGP SIGNATURE-----
9mGvjxCMRAsojAK CwjVMr/ RSBfMDxnyaEvqxE HHtWcgCfUX89 WQDZ+ilw=
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQBDiCcK5Sc
9qrrOSmzyM6YmjE
=L44p
-----END PGP SIGNATURE-----
--=-nmVgCf6ChCP 6zRah+Gzi- -