On Sat, 02 Dec 2006 20:04:37 -0800 Daniel Burrows <[EMAIL PROTECTED]> wrote:
> Package: uswsusp > Version: 0.3~cvs20060928-4 > Severity: serious > > uswsusp fails to configure regardless of whether I tell it to ignore > my existing non-existant swap file. > > [EMAIL PROTECTED]:~$ sudo dpkg -i > /var/cache/apt/archives/uswsusp_0.3~cvs20060928-4_i386.deb > Selecting previously deselected package uswsusp. > (Reading database ... 233077 files and directories currently installed.) > Unpacking uswsusp (from .../uswsusp_0.3~cvs20060928-4_i386.deb) ... > Setting up uswsusp (0.3~cvs20060928-4) ... > update-initramfs: Generating /boot/initrd.img-2.6.18-3-686 > dpkg: error processing uswsusp (--install): > subprocess post-installation script returned error exit status 1 > Errors were encountered while processing: > uswsusp This is with the invalid resume device entry in /etc/uswsusp.conf, right? I don't really understand why this happens. With a invalid swap device it should just `exit 0;'. > Worse, once I've got it in this state, I also can't remove it! > > [EMAIL PROTECTED]:~$ sudo dpkg --purge uswsusp > (Reading database ... 233102 files and directories currently installed.) > Removing uswsusp ... > dpkg: error processing uswsusp (--purge): > subprocess post-removal script returned error exit status 1 > Errors were encountered while processing: > uswsusp > > It appears that the problem here is the call to update-initramfs. If I > force-remove initramfs-tools, I can remove uswsusp just fine. Maybe it > would be a good idea to ignore errors in the initramfs call on remove? (or > if not, print some visible indication of what went wrong ... this might be > more of an initramfs bug, though) Are you sure the failing of update-initramfs is related to uswsusp? In the postrm it runs update-initramfs to remove all traces of uswsusp from the initramfs. If dpkg did its job there shouldn't be a hook-script left from uswsusp, so the run should be as if uswsusp wasn't their at all. Could you please try to run update-initramfs -u in a terminal to see if it succeeds? grts Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]