Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PORTAGE] IOError: [Errno 21] Is a directory (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
Ti momo
Apprentice
Apprentice


Joined: 29 Jun 2004
Posts: 198
Location: Paris

PostPosted: Tue Jan 20, 2009 11:16 am    Post subject: [PORTAGE] IOError: [Errno 21] Is a directory (Résolu) Reply with quote

Bonjour,

J'ai un petit problème sur un serveur suite à l'upgrade de portage.
L'upgrade s'effectue correctement mais une fois terminé emerge ne fonctionne plus, voici le problème :

Quote:

xxx ~ # emerge -av tcpdump

These are the packages that would be merged, in order:

Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 40, in ?
retval = _emerge.emerge_main()
File "//usr/lib/portage/pym/_emerge/__init__.py", line 14387, in emerge_main
myopts, myaction, myfiles, spinner)
File "//usr/lib/portage/pym/_emerge/__init__.py", line 13304, in action_build
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
File "//usr/lib/portage/pym/_emerge/__init__.py", line 4344, in __init__
pkg_cache=self._pkg_cache)
File "//usr/lib/portage/pym/_emerge/__init__.py", line 1070, in __init__
real_dbapi.flush_cache()
File "//usr/lib/portage/pym/portage/dbapi/vartree.py", line 368, in flush_cache
self._owners.populate() # index any unindexed contents
File "//usr/lib/portage/pym/portage/dbapi/vartree.py", line 748, in populate
self._populate()
File "//usr/lib/portage/pym/portage/dbapi/vartree.py", line 774, in _populate
owners_cache.add(cpv)
File "//usr/lib/portage/pym/portage/dbapi/vartree.py", line 698, in add
contents = self._vardb._dblink(cpv).getcontents()
File "//usr/lib/portage/pym/portage/dbapi/vartree.py", line 1162, in getcontents
myc = open(contents_file,"r")
IOError: [Errno 21] Is a directory


Si je liste la version de portage, equery m'annonce que l'ancienne version est toujours présente :
Quote:

xxx ~ # equery l portage
/usr/lib/portage/pym/portage_util.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_util module was replaced by portage.util
/usr/lib/portage/pym/portage_checksum.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_checksum module was replaced by portage.checksum
/usr/lib/portage/pym/output.py:39: DeprecationWarning: DEPRECATION NOTICE: The output module was replaced by portage.output
[ Searching for package 'portage' in all categories among: ]
* installed packages
[I--] [M ] sys-apps/portage-2.1.2.7 (0)
[I--] [ ] sys-apps/portage-2.1.6.4 (0)


Une idée peut être ?

Edit : Résolu, j'ai downgradé ma version de portage manuellement, j'investigerais sur le problème plus tard.
_________________
Avant de poster utilise la fonctions recherche qui est ton ami : https://forums.gentoo.org/search.php
Mon blog : http://blog.yacoubi.fr
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