Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge] erreur avec lockfile.. (Résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
wiBo
n00b
n00b


Joined: 04 Apr 2004
Posts: 39
Location: Saint-Georges de Beauce

PostPosted: Tue Nov 09, 2004 10:37 pm    Post subject: [emerge] erreur avec lockfile.. (Résolu) Reply with quote

** P.S.: Je sais qu'il faut faire un post pour 1 question, donc, dsl.. **

Bonsoir, depuis que j'ai un autre facheux problème, lorsque j'emerge un soft par exemple wget ou ntp, j'obtiens ceci lors de l'installation :

Code:
>>> extracting info
>>> extracting ntp-4.2.0-r2
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2991, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1825, in merge
    retval=portage.pkgmerge(mytbz2,myroot,self.pkgsettings)
  File "/usr/lib/portage/pym/portage.py", line 6769, in pkgmerge
    mylink.merge(pkgloc,infloc,myroot,myebuild,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 6670, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
  File "/usr/lib/portage/pym/portage.py", line 6162, in treewalk
    self.lockdb()
  File "/usr/lib/portage/pym/portage.py", line 5777, in lockdb
    self.lock_pkg = portage_locks.lockdir(self.dbpkgdir)
  File "/usr/lib/portage/pym/portage_locks.py", line 35, in lockdir
    return lockfile(mydir,wantnewlockfile=1)
  File "/usr/lib/portage/pym/portage_locks.py", line 67, in lockfile
    myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR,0660)
OSError: [Errno 20] Not a directory: '/var/db/pkg/net-misc/ntp-4.2.0-r2.portage_lockfile'


Merci encore une fois de votre support et ainsi que votre patience en or :)

Sur google : rien, enfin, p-e que je n'écrit pas les bons mots clés!

Amicalement,

wiBo.
_________________
[wiBo@School Histoire]$ mount brain
/dev/brain : No such file or directory. :lol:


Last edited by wiBo on Wed Nov 10, 2004 9:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
Argian
l33t
l33t


Joined: 01 May 2004
Posts: 682
Location: Nîmes

PostPosted: Tue Nov 09, 2004 11:32 pm    Post subject: Reply with quote

Il existe ce fichier /var/db/pkg/net-misc/ntp-4.2.0-r2.portage_lockfile ?
Back to top
View user's profile Send private message
wiBo
n00b
n00b


Joined: 04 Apr 2004
Posts: 39
Location: Saint-Georges de Beauce

PostPosted: Wed Nov 10, 2004 4:08 am    Post subject: Reply with quote

Non, net-misc semble être un fichier..

Code:
root@jhentou exp # cd /var/db/pkg/
root@jhentou pkg # ls
app-admin    dev-cpp     gnome-base     net-analyzer  net-wireless  x11-misc
app-arch     dev-db      gnome-extra    net-ftp       net-www       x11-plugins
app-cdr      dev-java    kde-base       net-im        sys-apps      x11-terms
app-crypt    dev-lang    mail-mta       net-irc       sys-boot      x11-themes
app-dicts    dev-libs    media-fonts    net-libs      sys-devel     x11-wm
app-editors  dev-perl    media-gfx      net-mail      sys-fs
app-office   dev-python  media-libs     net-misc      sys-kernel
app-portage  dev-ruby    media-plugins  net-nds       sys-libs
app-shells   dev-tcltk   media-sound    net-p2p       x11-base
app-text     dev-util    media-video    net-print     x11-libs
root@jhentou pkg # ls -l
total 220
drwxr-xr-x   6 root root 4096 nov  5  2004 app-admin
drwxr-xr-x  14 root root 4096 nov  3  2004 app-arch
drwxr-xr-x   6 root root 4096 nov  1  2004 app-cdr
drwxr-xr-x   4 root root 4096 nov  3  2004 app-crypt
drwxr-xr-x   3 root root 4096 oct 31  2004 app-dicts
drwxr-xr-x   4 root root 4096 oct 31  2004 app-editors
drwxr-xr-x   2 root root 4096 nov  1  2004 app-office
drwxr-xr-x   4 root root 4096 nov  7  2004 app-portage
drwxr-xr-x   4 root root 4096 nov  3  2004 app-shells
drwxr-xr-x  25 root root 4096 nov  1  2004 app-text
drwxr-xr-x  11 root root 4096 oct 31  2004 dev-cpp
drwxr-xr-x   2 root root 4096 avr 23 03:18 dev-db
drwxr-xr-x   4 root root 4096 nov  3  2004 dev-java
drwxr-xr-x   8 root root 4096 nov  3  2004 dev-lang
drwxr-xr-x  18 root root 4096 nov  3  2004 dev-libs
drwxr-xr-x   4 root root 4096 oct 30  2004 dev-perl
drwxr-xr-x   5 root root 4096 nov  3  2004 dev-python
drwxr-xr-x   2 root root 4096 nov  5  2004 dev-ruby
drwxr-xr-x   3 root root 4096 avr 19  2004 dev-tcltk
drwxr-xr-x  10 root root 4096 nov  5  2004 dev-util
drwxr-xr-x  29 root root 4096 oct 31  2004 gnome-base
drwxr-xr-x  17 root root 4096 oct 31  2004 gnome-extra
drwxr-xr-x   2 root root 4096 avr 23 03:16 kde-base
drwxr-xr-x   3 root root 4096 oct 31  2004 mail-mta
drwxr-xr-x   4 root root 4096 oct 30  2004 media-fonts
drwxr-xr-x   7 root root 4096 nov  5  2004 media-gfx
drwxr-xr-x  40 root root 4096 nov  4  2004 media-libs
drwxr-xr-x  12 root root 4096 oct 31  2004 media-plugins
drwxr-xr-x  15 root root 4096 nov  4  2004 media-sound
drwxr-xr-x   6 root root 4096 oct 31  2004 media-video
drwxr-xr-x   5 root root 4096 oct 31  2004 net-analyzer
drwxr-xr-x   3 root root 4096 avr 26 02:06 net-ftp
drwxr-xr-x   3 root root 4096 nov  6  2004 net-im
drwxr-xr-x   4 root root 4096 oct 31  2004 net-irc
drwxr-xr-x   6 root root 4096 oct 30  2004 net-libs
drwxr-xr-x   3 root root 4096 oct 31  2004 net-mail
-rw-r--r--   1 root root 3102 oct 30  2004 net-misc
drwxr-xr-x   4 root root 4096 oct 31  2004 net-nds
drwxr-xr-x   3 root root 4096 nov  6  2004 net-p2p
drwxr-xr-x   5 root root 4096 nov  1  2004 net-print
drwxr-xr-x   2 root root 4096 nov  6  2004 net-wireless
drwxr-xr-x   6 root root 4096 oct 31  2004 net-www
drwxr-xr-x  43 root root 4096 nov  4  2004 sys-apps
drwxr-xr-x   3 root root 4096 nov  6  2004 sys-boot
drwxr-xr-x  20 root root 4096 nov  4  2004 sys-devel
drwxr-xr-x   5 root root 4096 nov  5  2004 sys-fs
drwxr-xr-x   7 root root 4096 nov  4  2004 sys-kernel
drwxr-xr-x  16 root root 4096 nov  4  2004 sys-libs
drwxr-xr-x   4 root root 4096 nov  3  2004 x11-base
drwxr-xr-x  12 root root 4096 oct 31  2004 x11-libs
drwxr-xr-x   4 root root 4096 nov  3  2004 x11-misc
drwxr-xr-x  19 root root 4096 nov  6  2004 x11-plugins
drwxr-xr-x   3 root root 4096 oct 31  2004 x11-terms
drwxr-xr-x   9 root root 4096 oct 31  2004 x11-themes
drwxr-xr-x   3 root root 4096 oct 31  2004 x11-wm
root@jhentou pkg #


net-misc semble être le seul fichier et les autres sont des répertoires..

Idées? :(

Merci!! :lol:
_________________
[wiBo@School Histoire]$ mount brain
/dev/brain : No such file or directory. :lol:
Back to top
View user's profile Send private message
navidson
Apprentice
Apprentice


Joined: 30 May 2003
Posts: 235
Location: entre mon bureau et mon lit

PostPosted: Wed Nov 10, 2004 9:21 am    Post subject: Reply with quote

justement net-misc est chez moi un repertoire ...

j avais des erreurs de ce genre apres une corruption du disque dur...
_________________
Il semblerait que cela fait un peu trop longtemps que des têtes n'ont pas été plantées au bout des piques.
Il semblerait que je suis loin d'être le seul à partager cette impatience.
Maurice G Dantec, a propos du TPI
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Wed Nov 10, 2004 1:38 pm    Post subject: Reply with quote

Hmm... Peut-etre qu'un emerge metadata pourrait resoudre le probleme?
Sinon emerge sync..
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
wiBo
n00b
n00b


Joined: 04 Apr 2004
Posts: 39
Location: Saint-Georges de Beauce

PostPosted: Wed Nov 10, 2004 9:58 pm    Post subject: Reply with quote

Merci de votre aide.

J'ai seulement fait rm -rf net-misc && mkdir net-misc

Ça l'a réglé le problème :)
_________________
[wiBo@School Histoire]$ mount brain
/dev/brain : No such file or directory. :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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