On Thu, Feb 26, 2004, Mary Gardiner wrote: > I can change update-modules to update-modules.modutils as per that > bug... but then the *post-install* scripts won't run. More changes I > guess.
For the archives, the complete sequence of steps was: 1. Edit /var/lib/dpkg/info/nvidia-kernel-2.4.24-1-686.postrm so that every occurence of "update-modules" reads "update-modules.modutils" 2. dpkg -i [original deb] Although the new deb would probably work just as well. I can't do a straight purge or remove because of the "very bad inconsistent state" thing. 3. dpkg dies during the reinstall after successfully removing the package. 4. Edit /var/lib/dpkg/info/nvidia-kernel-2.4.24-1-686.postinst so that every occurence of "update-modules" reads "update-modules.modutils" 5. Run dpkg --configure -a to finish the reinstallation 6. Repeat step 1 because all changes got overwritten after successfully reinstallation 7. Remove/purge package DIE DIE DIE. It's possible that "reboot into 2.4 kernel, reinstall package" also works. -Mary -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
