* Marco d'Itri <[email protected]> [2009 01 03, 16:07]:
> > Wouldn't it still be a good idea to take care of left-over diversions?
> I'd rather not add more hard to understand code for a problem which
> appears to affect only your system.

 Same problem here, upgrading from a mixed system etch+lenny to lenny.
Managed to complete the upgrade with the following:

# dpkg --configure module-init-tools
Setting up module-init-tools (3.4-1) ...
dpkg-divert: rename involves overwriting `/sbin/depmod' with
  different file `/sbin/depmod.modutils', not allowed
dpkg: error processing module-init-tools (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 module-init-tools

# dpkg-divert  --list|grep depmod
diversion of /sbin/depmod to /sbin/depmod.modutils by module-init-tools
diversion of /usr/share/man/man8/depmod.8.gz to 
/usr/share/man/man8/depmod.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/depmod.8.gz to 
/usr/share/man/fr/man8/depmod.modutils.8.gz by module-init-tools

# ls -l /sbin/depmod*
-rwxr-xr-x 1 root root 52800 2008-04-05 04:06 /sbin/depmod
-rwxr-xr-x 1 root root 52800 2008-04-05 04:06 /sbin/depmod.modutils

# mv /sbin/depmod.modutils /root
# mv /sbin/insmod.modutils /root
# mv /sbin/update-modules.modutils /root
# mv /sbin/modinfo.modutils /root
# mv /sbin/lsmod.Lmodutils /root
# mv /sbin/rmmod.Lmodutils /root
# mv /sbin/modprobe.Lmodutils /root

# dpkg --configure module-init-tools
Setting up module-init-tools (3.4-1) ...
#

Greetings




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to