on Wed, Dec 26, 2001 at 08:10:03PM +0000, Colin Watson ([EMAIL PROTECTED]) wrote: > On Wed, Dec 26, 2001 at 11:04:50AM -0800, Karsten M. Self wrote: > > on Wed, Dec 26, 2001 at 11:23:43AM -0600, Colin Watson > > ([EMAIL PROTECTED]) wrote: > > > As Karsten said, it's been reported a few times. I believe 'dpkg -i > > > --force-overwrite /var/cache/apt/archives/manpages_1.46-1_all.deb' is > > > safe. > > > > Or the following steps, which will remove the offending manpage, back up > > the current copy of the package, and install a modified one. > > > > I'm still newish at modifying packages, if anyone sees something wrong > > here, speak up. > > > > $ cd /tmp > > $ cp /var/cache/apt/archives/manpages_1.46-1_all.deb . > > $ mv manpages_1.46-1_all.deb manpages_1.46-1_all.deb-bak > > $ mkdir manpages; cd manpages > > $ ar -x /var/cache/apt/archives/manpages_1.46-1_all.deb > > $ rm ./usr/share/man/man8/ld.so.8.gz > > $ cd /tmp > > $ dpkg-deb --build manpages_1.46-1 manpages > > $ dpkg -i manpages_1.46-1 manpages_1.46-1.deb > > 'ar -x foo.deb' gives you debian-binary, control.tar.gz, and data.tar.gz > in the current directory. Also, if you're going to use 'dpkg-deb > --build', you need control.tar.gz unpacked in a directory called DEBIAN.
Right. Forgot a couple of steps. > Better would be something like this: > > [in some temporary directory] > $ ar x manpages_1.46-1_all.deb > $ gunzip data.tar.gz > $ tar -f data.tar --delete ./usr/share/man/man8/ld.so.8.gz > $ gzip data.tar > $ ar r manpages_1.46-1_all.deb data.tar.gz > [etc.] Good. > Of course, you'll have to put manpages on hold after this or the > packaging system will probably try to replace it with the version in the > Debian archive. Presumably, the next version will fix this bug. I've left mine unheld. Thanks. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? Home of the brave http://gestalt-system.sourceforge.net/ Land of the free We freed Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html
pgpNgAK9CG0Lv.pgp
Description: PGP signature