View previous topic :: View next topic |
Author |
Message |
AustrianCoder Apprentice
Joined: 11 Oct 2003 Posts: 258 Location: �sterreich
|
Posted: Thu Jul 01, 2004 6:36 pm Post subject: emerge problem |
|
|
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 |
|
|
Sas Veteran
Joined: 05 Jul 2003 Posts: 1229 Location: Germany
|
Posted: Thu Jul 01, 2004 6:44 pm Post subject: |
|
|
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 |
|
|
AustrianCoder Apprentice
Joined: 11 Oct 2003 Posts: 258 Location: �sterreich
|
Posted: Thu Jul 01, 2004 6:48 pm Post subject: |
|
|
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 |
|
|
Sas Veteran
Joined: 05 Jul 2003 Posts: 1229 Location: Germany
|
Posted: Thu Jul 01, 2004 7:12 pm Post subject: |
|
|
Benenn mal /etc/portage in irgendwas anderes um und versuchs nochmal. _________________ 42 |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Thu Jul 01, 2004 7:48 pm Post subject: |
|
|
Da ist wohl was in /var/db/pkg kaputt, konkret ist da anscheinend ein Verzeichnis wo keins sein sollte. |
|
Back to top |
|
|
AustrianCoder Apprentice
Joined: 11 Oct 2003 Posts: 258 Location: �sterreich
|
Posted: Thu Jul 01, 2004 7:56 pm Post subject: |
|
|
@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 |
|
|
Sas Veteran
Joined: 05 Jul 2003 Posts: 1229 Location: Germany
|
Posted: Thu Jul 01, 2004 7:57 pm Post subject: |
|
|
Ich habe auch /etc/portage geschrieben. _________________ 42 |
|
Back to top |
|
|
AustrianCoder Apprentice
Joined: 11 Oct 2003 Posts: 258 Location: �sterreich
|
Posted: Thu Jul 01, 2004 8:06 pm Post subject: |
|
|
@Sas:
Oh stimmt 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 |
|
Back to top |
|
|
Sas Veteran
Joined: 05 Jul 2003 Posts: 1229 Location: Germany
|
Posted: Thu Jul 01, 2004 8:10 pm Post subject: |
|
|
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 |
|
|
AustrianCoder Apprentice
Joined: 11 Oct 2003 Posts: 258 Location: �sterreich
|
Posted: Thu Jul 01, 2004 8:18 pm Post subject: |
|
|
Habe nun den Inhalt von /etc/portage gelöscht, doch immer noch das selbe |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Thu Jul 01, 2004 9:28 pm Post subject: |
|
|
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 |
|
|
AustrianCoder Apprentice
Joined: 11 Oct 2003 Posts: 258 Location: �sterreich
|
Posted: Thu Jul 01, 2004 9:30 pm Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Thu Jul 01, 2004 9:33 pm Post subject: |
|
|
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 |
|
|
AustrianCoder Apprentice
Joined: 11 Oct 2003 Posts: 258 Location: �sterreich
|
Posted: Thu Jul 01, 2004 9:45 pm Post subject: |
|
|
@Genone:
Wow scheint jetzt wieder zu gehen. |
|
Back to top |
|
|
|