Bug#138038: g++: old diversion of c++filt?
On Sat, Jun 01, 2002 at 10:03:55PM +0200, Matthias Klose wrote:
> Julian Gilbey writes:
> > Package: g++
> > Version: sid
> >
> > In my diversions file, I have just come across the following:
> >
> > /usr/bin/c++filt
> > /usr/bin/c++filt.binutils
> > g++
> > /usr/man/man1/c++filt.1.gz
> > /usr/man/man1/c++filt.binutils.1.gz
> > g++
> >
> > So ls -l /usr/bin/c++filt* gives the following:
> > -rwxr-xr-x 1 root root 26028 Jan 20 1999 /usr/bin/c++filt
> > -rwxr-xr-x 1 root root 54820 Feb 15 23:12 /usr/bin/c++filt.binutils
> >
> > That's weird. Not sure why it's still there, but maybe something
> > could be done about it?
>
> hmm, how to correctly remove the diversion? does
>
> dpkg-divert --remove --rename --divert /usr/bin/c++-filt.binutils \
> /usr/bin/c++-filt
>
> work?
Oh, I don't know; I've already removed the diversion :-(
You may want to use "--package g++" instead of "--divert ..." to
ensure that you only remove an old g++ diversion, and maybe you want
to test that there is a diversion in existence first? You don't need
the --rename argument either; it's automatic on --remove.
is /usr/share/man/c++filt.1.gz also diverted?
No, it was /usr/man/man1/c++filt.1.gz. (Not /usr/share.) So maybe
you would want to do a test such as "if [ -d /usr/man ]" before you
try to remove this diversion ;-)
> please could you send the /var/lib/dpkg/diversions file?
The relevant bit was included in the original report (quoted above);
the current file would be of no help.
HTH,
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
website: http://www.maths.qmul.ac.uk/~jdg/
Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
Visit http://www.thehungersite.com/ to help feed the hungry
--
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: