View previous topic :: View next topic |
Author |
Message |
sawanv Apprentice
Joined: 05 Dec 2002 Posts: 238
|
Posted: Thu Aug 21, 2003 8:04 pm Post subject: Funny errors in portage |
|
|
Hello All.
I recently upgraded portage to 2.4.8-r6 and a few issues cropped up which puzzeled me.
First of all can anyone please explain what the following means:
Code: |
* NOTICE: PLEASE *REPLACE* your make.globals. All user changes to variables
* in make.globals should be placed in make.conf. DO NOT MODIFY make.globals.
* Feature additions are noted in help and make.conf descriptions. Update
* them using 'etc-update' please. Maintaining current configs for portage
* and other system packages is fairly important for the continued health
* of your system.
* /etc/portage/profiles/package.mask has been moved to /etc/portage/package.mask
* a hardlink has been created to the new location if the file exists in profiles
* already.
|
What should I replace make.globals with and why?
Second issue seems more serious: it seems some portage features are broken (unless the previous thing is related and fixes this):
when I go:
I get the following:
Code: |
[ebuild U ] media-libs/freetype-2.1.4 [2.1.2-r2]
[ebuild U ] x11-misc/ttmkfdir-3.0.9 [3.0.4]
[ebuild U ] media-libs/fontconfig-2.2.0-r2 [2.1]
Traceback (most recent call last):[ebuild U ] app-arch/unzip-5.50-r2 [5.50-r1]
File "/usr/bin/emerge", line 1978, in ?
mydepgraph.display(mydepgraph.altlist())
File "/usr/bin/emerge", line 943, in display
if ("fetch" in string.split(portage.portdb.aux_get(x[2],["RESTRICT"])[0])):
File "/usr/lib/python2.2/site-packages/portage.py", line 3423, in aux_get
myebuild,in_overlay=self.findname2(mycpv)
File "/usr/lib/python2.2/site-packages/portage.py", line 3392, in findname2
for myloc in suffix_array(self.overlays, "/"+mysplit[0]+"/"+psplit[0]+"/"+mysplit[1]+".ebuild"):
TypeError: unsubscriptable object
|
The -u switch causes the above. An "emerge -p" works fine and gives me the expected.
Can anyone please help?
Thanks
Sawan _________________ Eir kahen "chalo ghar jayen",
Bir kahen "chalo ghar jayen",
Phatte kahen "chalo ghar jayen",
Cartman kahen....."Screw you guys, I am going home !!! " |
|
Back to top |
|
|
Megaptera Tux's lil' helper
Joined: 29 Jul 2002 Posts: 145
|
Posted: Thu Aug 21, 2003 8:16 pm Post subject: |
|
|
The note about replacing make.globals is in case the upgrade to Portage provides a new version. Use etc-update (carefully!) to check if this is the case. It doesn't mean you have to re-write it by hand or anything; I think it's just a standard warning.
I'm not sure where the second problem is sitting. It's probably a bad ebuild; try "emerge -p unzip" and see if that gives you the same problem. If it does, try emerge syncing again; hopefully there was just a temporary glitch in that particular ebuild (unzip.5.50-r2). _________________ It is not like the world will end if I take the day off from eating worlds. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|