Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Thu Jul 01, 2004 6:36 pm    Post subject: emerge problem Reply with quote

Hallo.

Habe hier einen Rechner von einem Kollegen und der bockt doch mit emerge :(

FM4 / # emerge -p world


Performing Global Updates: /usr/portage/profiles/updates/2Q-2004
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
.................................@Traceback (most recent call last):
File "/usr/bin/emerge", line 14, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 6352, in ?
do_upgrade(mykey)
File "/usr/lib/portage/pym/portage.py", line 6272, in do_upgrade
db["/"]["vartree"].dbapi.move_ent(mysplit)
File "/usr/lib/portage/pym/portage.py", line 4048, in move_ent
fixdbentries(origcp, newcp, pkgdir)
File "/usr/lib/portage/pym/portage.py", line 3407, in fixdbentries
f = open(dbdir+"/"+myfile, "r")
IOError: [Errno 21] Is a directory


Was kann ich da tun?
Danke, Christian
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Thu Jul 01, 2004 6:44 pm    Post subject: Reply with quote

Macht er das bei jedem Paket oder nur bei world? Dann versuchs doch mal mit 'regenworld'. Oder versuchen Portage neu zu mergen, falls das geht.

Im schlimmsten Fall halt Portage von nem CD-Archiv nehmen...
_________________
42
Back to top
View user's profile Send private message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Thu Jul 01, 2004 6:48 pm    Post subject: Reply with quote

FM4 root # emerge portage


Performing Global Updates: /usr/portage/profiles/updates/2Q-2004
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
.................................@Traceback (most recent call last):
File "/usr/bin/emerge", line 14, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 6352, in ?
do_upgrade(mykey)
File "/usr/lib/portage/pym/portage.py", line 6272, in do_upgrade
db["/"]["vartree"].dbapi.move_ent(mysplit)
File "/usr/lib/portage/pym/portage.py", line 4048, in move_ent
fixdbentries(origcp, newcp, pkgdir)
File "/usr/lib/portage/pym/portage.py", line 3407, in fixdbentries
f = open(dbdir+"/"+myfile, "r")
IOError: [Errno 21] Is a directory
FM4 root # emerge nmap


Performing Global Updates: /usr/portage/profiles/updates/2Q-2004
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
.................................@Traceback (most recent call last):
File "/usr/bin/emerge", line 14, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 6352, in ?
do_upgrade(mykey)
File "/usr/lib/portage/pym/portage.py", line 6272, in do_upgrade
db["/"]["vartree"].dbapi.move_ent(mysplit)
File "/usr/lib/portage/pym/portage.py", line 4048, in move_ent
fixdbentries(origcp, newcp, pkgdir)
File "/usr/lib/portage/pym/portage.py", line 3407, in fixdbentries
f = open(dbdir+"/"+myfile, "r")
IOError: [Errno 21] Is a directory

Ich hab hier einige Rechner auf denen die aktuelleste Stable von portage läuft. Wie bekomme ich portage ohne merge auf den Rechner?
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Thu Jul 01, 2004 7:12 pm    Post subject: Reply with quote

Benenn mal /etc/portage in irgendwas anderes um und versuchs nochmal.
_________________
42
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9625
Location: beyond the rim

PostPosted: Thu Jul 01, 2004 7:48 pm    Post subject: Reply with quote

Da ist wohl was in /var/db/pkg kaputt, konkret ist da anscheinend ein Verzeichnis wo keins sein sollte.
Back to top
View user's profile Send private message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Thu Jul 01, 2004 7:56 pm    Post subject: Reply with quote

@Sas:

/usr/portage ist korrekt, da ich den via nfs an einige Rechner verteile.

@Genone:

Und wie fixe ich das nun am Besten?
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Thu Jul 01, 2004 7:57 pm    Post subject: Reply with quote

Ich habe auch /etc/portage geschrieben.
_________________
42
Back to top
View user's profile Send private message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Thu Jul 01, 2004 8:06 pm    Post subject: Reply with quote

@Sas:

Oh stimmt :oops: also habe mal den kompletten Inhalt von /etc/portage von meinem P2 350 Server genohmen und auf den Celeron 700 Rechner rüber kopiert... immer noch der gleiche Fehler :cry:
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Thu Jul 01, 2004 8:10 pm    Post subject: Reply with quote

Ich weiß jetzt zwar nicht, was das für Rechner sind, auf welchem es geht und auf welchem nicht, aber ich hatte mal eine ähnliche / die gleiche Fehlermeldung als ich mich in der package.unmask vertippt hatte. Weiß halt nicht mehr ob es zu 100% die Gleiche war...
_________________
42
Back to top
View user's profile Send private message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Thu Jul 01, 2004 8:18 pm    Post subject: Reply with quote

Habe nun den Inhalt von /etc/portage gelöscht, doch immer noch das selbe :roll:
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9625
Location: beyond the rim

PostPosted: Thu Jul 01, 2004 9:28 pm    Post subject: Reply with quote

Es ist definitiv kein Problem in /etc/portage sondern entweder in /usr/portage/packages (eher unwahrscheinlich) oder /var/db/pkg. Mal folgenden find Befehl ausprobieren, alles was der ausgibt sollte nicht da sein:
Code:
find /var/db/pkg/ -type d -mindepth 3
Back to top
View user's profile Send private message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Thu Jul 01, 2004 9:30 pm    Post subject: Reply with quote

FM4 etc # find /var/db/pkg/ -type d -mindepth 3
/var/db/pkg/x11-libs/gtk+-2.2.4-r1/SLOT
/var/db/pkg/x11-libs/gtk+-2.2.4-r1/USE
/var/db/pkg/x11-libs/gtk+-2.2.4-r1/environment.bz2

Gut... und nun?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9625
Location: beyond the rim

PostPosted: Thu Jul 01, 2004 9:33 pm    Post subject: Reply with quote

Am besten das Verzeichnis /var/db/pkg/x11-libs/gtk-2.2.4-r1 löschen und gtk sofort danach neu installieren.
Back to top
View user's profile Send private message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Thu Jul 01, 2004 9:45 pm    Post subject: Reply with quote

@Genone:

Wow :D scheint jetzt wieder zu gehen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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