[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Don't replace manpages_1.46-1_all.deb (for SPARC)



on Wed, Dec 26, 2001 at 11:23:43AM -0600, Colin Watson (cjwatson@debian.org) wrote:
> On Wed, Dec 26, 2001 at 11:51:54AM +0300, Yury Lyakh wrote:
> > dpkg: error processing /var/cache/apt/archives/manpages_1.46-1_all.deb
> > (--unpack):
> >  trying to overwrite `/usr/share/man/man8/ld.so.8.gz', which is also in
> >  package libc6
> 
> 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

Peace.

-- 
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

Attachment: pgpugjn_JgyHq.pgp
Description: PGP signature


Reply to: