pluto-storage-devices breaks the apt-get upgrade process
Currently, apt-get upgrading an alpha system breaks on pluto-storage-devices. There is a workaround in the wiki, which involves forcefully removing the pluto-storage-devices package using dpkg -r
The error is:
Preparing to replace pluto-storage-devices 2.0.0.44.0805082200 (using .../pluto-storage-devices_2.0.0.44.0903010810_i386.deb) ...
Leaving `diversion of /bin/umount to /bin/umount.wraped by pluto-storage-devices'
Leaving `diversion of /bin/mount to /bin/mount.wraped by pluto-storage-devices'
Unpacking replacement pluto-storage-devices ...
Removing `diversion of /bin/umount to /bin/umount.wraped by pluto-storage-devices'
dpkg-divert: rename involves overwriting `/bin/umount' with
different file `/bin/umount.wraped', not allowed
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
Removing `diversion of /bin/umount to /bin/umount.wraped by pluto-storage-devices'
dpkg-divert: rename involves overwriting `/bin/umount' with
different file `/bin/umount.wraped', not allowed
dpkg: error processing /var/cache/apt/archives/pluto-storage-devices_2.0.0.44.0903010810_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 2
Removing `diversion of /bin/umount to /bin/umount.wraped by pluto-storage-devices'
dpkg-divert: rename involves overwriting `/bin/umount' with
different file `/bin/umount.wraped', not allowed
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/pluto-storage-devices_2.0.0.44.0903010810_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dcerouter_101777:~# dpkg -r --force-all pluto-storage-devices
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 127610 files and directories currently installed.)
Removing pluto-storage-devices ...
Removing `diversion of /bin/umount to /bin/umount.wraped by pluto-storage-devices'
No diversion `diversion of /bin/umount to /bin/mount.wraped by pluto-storage-devices', none removed
dcerouter_101777:~#