1 |
On Thursday 04 November 2004 01:10, Karl Zander wrote: |
2 |
> I updated to a newer version of the Shorewall firewall. The install went |
3 |
> fine. But when portage was cleaning up it failed to remove the old |
4 |
> version. It was an older version of Shorewall that had already been |
5 |
> removed from portage. |
6 |
> |
7 |
> This is from emerge.log |
8 |
> |
9 |
> 1097088830: === (1 of 1) Cleaning |
10 |
> (sys-apps/man-1.5m-r2::/usr/portage/sys-apps/man/man-1.5m-r2.ebuild) |
11 |
> 1097088832: === (1 of 1) Compiling/Merging |
12 |
> (sys-apps/man-1.5m-r2::/usr/portage/sys-apps/man/man-1.5m-r2.ebuild) |
13 |
> 1097088882: === (1 of 1) Post-Build Cleaning |
14 |
> (sys-apps/man-1.5m-r2::/usr/portage/sys-apps/man/man-1.5m-r2.ebuild) |
15 |
> 1097088883: >>> AUTOCLEAN: sys-apps/man |
16 |
> 1097088888: === Unmerging... (sys-apps/man-1.5m-r1) |
17 |
> 1097088891: >>> unmerge success: sys-apps/man-1.5m-r1 |
18 |
> 1097088892: ::: completed emerge (1 of 1) sys-apps/man-1.5m-r2 to / |
19 |
> 1097088892: *** Finished. Cleaning up... |
20 |
> 1097088901: === Unmerging... (net-firewall/shorewall-1.4.7c) |
21 |
> 1097088902: *** terminating. |
22 |
> |
23 |
> When I run emerge --update now it will install new packages, but always |
24 |
> dies when it tries to remove shorewall. How can I clean this up? |
25 |
|
26 |
Have a look at the ebuild with a text editor |
27 |
at /var/db/pkg/net-firewall/shorewall-1.4.7c/shorewall-1.4.7c.ebuild. You'll |
28 |
probably find that a quote is missing from a DEPEND string and that there's a |
29 |
Ctrl-A character in it's place. |
30 |
|
31 |
If that is the case, running /usr/lib/portage/bin/fixvardbentries should fix |
32 |
the corruption in that ebuild and probably other ebuilds too. |
33 |
|
34 |
Regards, |
35 |
Jason Stubbs |