Gentoo Archives: gentoo-dev

From: Steven Elling <ellings@×××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Errors over errors with portage
Date: Mon, 13 Oct 2003 23:46:07
Message-Id: 200310131845.56088.ellings@kcnet.com
In Reply to: [gentoo-dev] Errors over errors with portage by Thomas Schweikle
1 On Monday 13 October 2003 17:51, Thomas Schweikle wrote:
2 > >>> Install tcp-wrappers-7.6-r6 into
3 >
4 > /var/tmp/portage/tcp-wrappers-7.6-r6/image/ category sys-apps
5 > [...]
6 >
7 > >>> Regenerating /etc/ld.so.cache...
8 >
9 > * Caching service dependencies... [ ok ]
10 >
11 > >>> Regenerating /etc/ld.so.cache...
12 >
13 > * Caching service dependencies... [ ok ]
14 >
15 > >>> Auto-cleaning packages ...
16 >
17 > ['gnome-base/libbonobo', '2.2.2', 'r0'] ['gnome-base/libbonobo-2.4.0',
18 > 'gnome-base/libbonobo-2.2.2']
19 > !!! COUNTER file is missing for gnome-base/libbonobo-2.2.2 in /var/db.
20 > !!! Please run /usr/lib/portage/bin/fix-db.pl or remerge the package.
21 > yew root #
22 >
23 > running /usr/lib/portage/bin/fix-db.pl doesn't fix anything. After the
24 > next emerge the error will be there again. Thus the error is definitely
25 > build into portage.
26
27 First off I'm using portage 2.0.49-r13 and all the packages reported as not
28 satisfying dependencies are installed on my system and are of a suitable
29 version.
30
31 I am having similar problem, however, it was complaining about
32 'sys-apps/baselayout' while re-emerging sed. The following is the error
33 output:
34
35 ['sys-apps/baselayout', '1.8.5.9', 'r0'] ['sys-apps/baselayout-1.8.5.9',
36 'sys-apps/baselayout-1.8.6.8-r1', 'sys-apps/baselayout-1.8.6.10-r1']
37 !!! COUNTER file is missing for sys-apps/baselayout-1.8.5.9 in /var/db.
38 !!! Please run /usr/lib/portage/bin/fix-db.pl or remerge the package.
39 -----
40
41 The reason I was re-emerging sed was due to the following error while
42 running 'emerge -DUK system':
43
44 >>> --upgradeonly implies --update... adding --update to options.
45 Calculating system dependencies \
46 !!! There are no packages available to satisfy: ">=sys-apps/sed-4.0.5"
47 !!! Either add a suitable binary package or compile from an ebuild.
48
49 !!! Problem with binary sys-apps/baselayout-1.8.6.10-r1
50 !!! Possibly a DEPEND/*DEPEND problem.
51
52 !!! Depgraph creation failed.
53 -----
54
55 I ran '/usr/lib/portage/bin/fix-db.pl' but it reported:
56
57 Grabbing db contents...
58 Grabbing mtimes...
59 fix-db: fatal: insufficient data for kde-base/kde-3.1.4
60
61 Remove this package's directory from /var/db/pkg to fix this, then start
62 this script again. If everything worked correctly, you must remerge
63 kde-base/kde-3.1.4 to not mess up any dependencies.
64 -----
65
66 I did a 'rm -rf /var/db/pkg/kde-base/kde-3.1.4' and re-ran
67 '/usr/lib/portage/bin/fix-db.pl' only to get the following error:
68
69 Grabbing db contents...
70 Grabbing mtimes...
71 fix-db: fatal: insufficient data for net-print/foomatic-3.0.0
72
73 Remove this package's directory from /var/db/pkg to fix this, then start
74 this script again. If everything worked correctly, you must remerge
75 net-print/foomatic-3.0.0 to not mess up any dependencies.
76 -----
77
78 I had a feeling that fix-db.pl would give me the same error for all packages
79 on my system so I quit running it. I ran 'emerge -DUK system' in hopes
80 that it would work but I got the following:
81
82 >>> --upgradeonly implies --update... adding --update to options.
83 Calculating system dependencies \
84 !!! There are no packages available to satisfy: ">=sys-apps/sed-4.0.5"
85 !!! Either add a suitable binary package or compile from an ebuild.
86
87 !!! Problem with binary sys-apps/baselayout-1.8.6.10-r1
88 !!! Possibly a DEPEND/*DEPEND problem.
89
90 !!! Depgraph creation failed.
91 -----
92
93 I did an 'emerge -DUp system' to find out what system packages needed
94 updating and tried to emerge them manually. For two of the packages to be
95 updated, I ran 'emerge -pDUK sys-devel/gcc app-editors/vim' and it produced
96 the following:
97
98 >>> --upgradeonly implies --update... adding --update to options.
99
100 These are the packages that I would merge, in order:
101
102 Calculating dependencies |
103 !!! There are no packages available to satisfy: ">=sys-libs/ncurses-5.2-r2"
104 !!! Either add a suitable binary package or compile from an ebuild.
105
106 !!! Error calculating dependencies. Please correct.
107 -----
108
109 I then ran 'emerge -pDK sys-devel/gcc app-editors/vim' with no errors but
110 when I ran 'emerge -pUK sys-devel/gcc app-editors/vim' I got the following:
111
112 >>> --upgradeonly implies --update... adding --update to options.
113
114 These are the packages that I would merge, in order:
115
116 Calculating dependencies |
117 !!! There are no packages available to satisfy:
118 ">=sys-devel/gcc-config-1.3.1"
119 !!! Either add a suitable binary package or compile from an ebuild.
120
121 !!! Error calculating dependencies. Please correct.
122 -----
123
124 I then did an 'emerge -pK sys-devel/gcc app-editors/vim-core
125 app-editors/vim', which did not produce any errors so I ran 'emerge -K
126 sys-devel/gcc app-editors/vim-core app-editors/vim' and the previously
127 built packages gcc, vim-core and vim were installed but again I got the
128 following error:
129
130 ['sys-apps/baselayout', '1.8.5.9', 'r0'] ['sys-apps/baselayout-1.8.5.9',
131 'sys-apps/baselayout-1.8.6.8-r1', 'sys-apps/baselayout-1.8.6.10-r1']
132 !!! COUNTER file is missing for sys-apps/baselayout-1.8.5.9 in /var/db.
133 !!! Please run /usr/lib/portage/bin/fix-db.pl or remerge the package.
134 -----
135
136 At this point I realized the errors were talking about
137 sys-apps/baselayout-1.8.5.9, sys-apps/baselayout-1.8.6.8-r1 and
138 sys-apps/baselayout-1.8.6.10-r1. I did an 'emerge -s baselayout' to verify
139 which version I had installed, which was version 1.8.6.10-r1.
140
141 I did an 'emerge -p unmerge sys-apps/baselayout-1.8.5.9
142 sys-apps/baselayout-1.8.6.8-r1' to see if versions 1.8.5.9 and 1.8.6.8-r1
143 of baselayout were still installed and this is what I got:
144
145 >>> These are the packages that I would unmerge:
146
147 sys-apps/baselayout
148 selected: 1.8.5.9 1.8.6.8-r1
149 protected: none
150 omitted: 1.8.6.10-r1
151
152 >>> 'Selected' packages are slated for removal.
153 >>> 'Protected' and 'omitted' packages will not be removed.
154 -----
155
156 This made me think the older versions were still installed so I unmerged
157 them without incident. This begs the questions 'Why were older versions of
158 baselayout still installed?' and 'How many other packages have older
159 versions still installed?'
160
161 Next I did an 'emerge -DUK system' but still it produced the following:
162
163 >>> --upgradeonly implies --update... adding --update to options.
164 Calculating system dependencies \
165 !!! There are no packages available to satisfy: ">=sys-apps/sed-4.0.5"
166 !!! Either add a suitable binary package or compile from an ebuild.
167
168 !!! Problem with binary sys-apps/baselayout-1.8.6.10-r1
169 !!! Possibly a DEPEND/*DEPEND problem.
170 -----
171
172 I tried 'emerge -DUk system' and it emerged dev-libs/openssl-0.9.6k from a
173 previously built package without any errors but missed x11-base/xfree and
174 sys-apps/tcp-wrappers, which are listed in the output of 'emerge -DUp
175 system'.
176
177
178 --
179 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Errors over errors with portage Xavier Neys <neysx@g.o>
Re: [gentoo-dev] Errors over errors with portage Brian Jackson <iggy@g.o>