Gentoo Archives: gentoo-server

From: Karl Zander <gentoolist@××××××××××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Emerge failing when removing old package
Date: Fri, 05 Nov 2004 16:30:27
Message-Id: 5.1.0.14.2.20041105112651.0540f188@mail.commpartners.com
In Reply to: Re: [gentoo-server] Emerge failing when removing old package by Jason Stubbs
1 >
2 > > When I run emerge --update now it will install new packages, but always
3 > > dies when it tries to remove shorewall. How can I clean this up?
4 >
5 >Have a look at the ebuild with a text editor
6 >at /var/db/pkg/net-firewall/shorewall-1.4.7c/shorewall-1.4.7c.ebuild. You'll
7 >probably find that a quote is missing from a DEPEND string and that there's a
8 >Ctrl-A character in it's place.
9 >
10 >If that is the case, running /usr/lib/portage/bin/fixvardbentries should fix
11 >the corruption in that ebuild and probably other ebuilds too.
12 >
13 >Regards,
14 >Jason Stubbs
15
16 Spot on!! There indeed was a Ctrl-A there. fixvardbentires "fixed" it and
17 I successfully unmerged the old shorewall. Thank you. This is a good
18 little trick to remember.
19
20
21 --Karl