View Single Post
Posts: 64 | Thanked: 19 times | Joined on Feb 2008
#20
The latest upgrade of easy-chroot failed with this error:

The following packages have unmet dependencies:
easy-chroot: Depends: dmsetup but it is not installed

This was not fixable by:

Nokia-N810-36-5:~# apt-get -f install dmsetup
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dmsetup
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
3 not fully installed or removed.
Need to get 0B/37.1kB of archives.
After unpacking 119kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
dmsetup
Install these packages without verification [y/N]? y
(Reading database ... 22780 files and directories currently installed.)
Unpacking dmsetup (from .../dmsetup_2%3a1.02.27-maemo3_armel.deb) ...
rm: cannot remove '/etc/udev/rules.d/65_dmsetup.rules': No such file or directory
dpkg: error processing /var/cache/apt/archives/dmsetup_2%3a1.02.27-maemo3_armel.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/dmsetup_2%3a1.02.27-maemo3_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


A workaround (thanks to cehteh in #maemo on irc.freenode.net) to this problem is:

Nokia-N810-36-5:~# touch /etc/udev/rules.d/65_dmsetup.rules

Then try apt-get install dmsetup and then apt-get install easy-deb-chroot as seen below:

Preparing to replace easy-deb-chroot 0.9.25 (using .../easy-deb-chroot_0.9.30-1diablo2_armel.deb)
 

The Following User Says Thank You to johndoe32102002 For This Useful Post: