Gentoo Archives: gentoo-user-fr

From: Jean-Paul Lacquement <zelos414@×××××.com>
To: gentoo-user-fr@l.g.o
Subject: Re: [gentoo-user-fr] [PORTAGE] impossible d'emerger
Date: Mon, 13 Jul 2009 20:21:25
Message-Id: fa218e630907131321x6d23c235gc1f332fe2fe9c523@mail.gmail.com
In Reply to: Re: [gentoo-user-fr] [PORTAGE] impossible d'emerger by Jean-Paul Lacquement
>>>>> Bonsoir, >>>>> >>>>> Met à jour l'arbre des paquets avec : >>>>> emerge sync >>>>> >>>>> Essaie de mettre à jour d'abord portage: >>>>> emerge portage >>>>> >>>>> Puis regarde quels sont les paquets qui ne sont pas à jour avec: >>>>> emerge -uDavt world >>>>> >>>>> Pour installer xpdf, en tenant compte des dépendances, utilise: >>>>> emerge -uDavt xpdf >>>>> >>>>> Consulte l'aide de Gentoo: >>>>> http://www.gentoo.org/doc/fr/handbook/handbook-x86.xml?part=2&chap=1 >>>>> http://www.gentoo.org/doc/fr/handbook/ >>>>> >>>>> >>>>> Revolver Onslaught a écrit : >>>>>> Hello, >>>>>> >>>>>> Après avoir installé friachement Gentoo X86_64, j'ai décidé de faire >>>>>> une mise-à-jour: >>>>>> gentoo --sync >>>>>> >>>>>> A priori, tout s'est bien déroulé. >>>>>> >>>>>> Malheureusement, je ne peux plus rien installer : >>>>>> >>>>>> neptune portage # emerge xpdf >>>>>> >>>>>>  * IMPORTANT: 3 news items need reading for repository 'gentoo'. >>>>>>  * Use eselect news to read news items. >>>>>> >>>>>> Calculating dependencies -Traceback (most recent call last): >>>>>>   File "/usr/bin/emerge", line 40, in <module> >>>>>>     retval = _emerge.emerge_main() >>> [...] >>>>>>   File "//usr/lib64/portage/pym/portage/dep.py", line 625, in index >>>>>>     return self._str.index(*pargs, **kargs) >>>>>> ValueError: substring not found >>>>>> >>>>>> J'obtiens cette erreru quelle que soit le paquet. >>>> >>>> Merci pour vos réponses. >>>> >>>> Malheureusement, pythjon-updater ne suffit pas. J'ai également essayé >>>> emerge --sync et tout ce qui a été décrit ci-dessus, sans succès. >>>> >>>> Une autre idée ? >>> >>> As-tu l'erreur que pour xpdf (ce que je ne pense pas), quelles sont les >>> éventuelles sorties d'erreur des commandes citées par Paul et moi? >>> Peux-tu faire une mise à jour system (emerge -uDavt system), avant >>> d'installer xpdf? As-tu respecté la procédure d'install de la doc que >>> j'ai cité (handbook) pour ta gentoo64? >>> >>> Peux-tu nous donner la sortie de la commande 'emerge --info'? >>> >>> >> >> Les erreurs sont les mêmes pour tous les paquets. >> >> Voici les sorties des commandes dont Paul et toi parliez ci-dessus, >> hormis emerge --sync qui ne retourne pas d'erreurs (echo $? me l'a >> confirmé) >> >> neptune ~ # emerge portage >> >>  * IMPORTANT: 3 news items need reading for repository 'gentoo'. >>  * Use eselect news to read news items. >> >> Calculating dependencies /Traceback (most recent call last): >>  File "/usr/bin/emerge", line 40, in <module> >>    retval = _emerge.emerge_main() >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 15814, in emerge_main >>    myopts, myaction, myfiles, spinner) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 14708, in >> action_build >>    retval, favorites = mydepgraph.select_files(myfiles) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5835, in select_files >>    if not self._create_graph(): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5025, in >> _create_graph >>    allow_unsatisfied=allow_unsatisfied): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5364, in >> _add_pkg_deps >>    if not atom.blocker and vardb.match(atom): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 1259, in >> _match_wrapper >>    matches = self._match(cpv, use_cache=use_cache) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 4509, in match >>    result = portage.dbapi.match(self, origdep, use_cache=use_cache) >>  File "//usr/lib64/portage/pym/portage/dbapi/__init__.py", line 126, in match >>    mydep = dep_expand(origdep, mydb=self, settings=self.settings) >>  File "//usr/lib64/portage/pym/portage/__init__.py", line 7182, in dep_expand >>    myindex = orig_dep.index(mydep) >>  File "//usr/lib64/portage/pym/portage/dep.py", line 625, in index >>    return self._str.index(*pargs, **kargs) >> ValueError: substring not found >> neptune ~ # emerge -uDavt world >> >>  * IMPORTANT: 3 news items need reading for repository 'gentoo'. >>  * Use eselect news to read news items. >> >> >> These are the packages that would be merged, in reverse order: >> >> Calculating dependencies \Traceback (most recent call last): >>  File "/usr/bin/emerge", line 40, in <module> >>    retval = _emerge.emerge_main() >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 15814, in emerge_main >>    myopts, myaction, myfiles, spinner) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 14708, in >> action_build >>    retval, favorites = mydepgraph.select_files(myfiles) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5835, in select_files >>    if not self._create_graph(): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5025, in >> _create_graph >>    allow_unsatisfied=allow_unsatisfied): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5364, in >> _add_pkg_deps >>    if not atom.blocker and vardb.match(atom): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 1259, in >> _match_wrapper >>    matches = self._match(cpv, use_cache=use_cache) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 4509, in match >>    result = portage.dbapi.match(self, origdep, use_cache=use_cache) >>  File "//usr/lib64/portage/pym/portage/dbapi/__init__.py", line 126, in match >>    mydep = dep_expand(origdep, mydb=self, settings=self.settings) >>  File "//usr/lib64/portage/pym/portage/__init__.py", line 7182, in dep_expand >>    myindex = orig_dep.index(mydep) >>  File "//usr/lib64/portage/pym/portage/dep.py", line 625, in index >>    return self._str.index(*pargs, **kargs) >> ValueError: substring not found >> neptune ~ # emerge -uDavt xpdf >> >>  * IMPORTANT: 3 news items need reading for repository 'gentoo'. >>  * Use eselect news to read news items. >> >> >> These are the packages that would be merged, in reverse order: >> >> Calculating dependencies \Traceback (most recent call last): >>  File "/usr/bin/emerge", line 40, in <module> >>    retval = _emerge.emerge_main() >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 15814, in emerge_main >>    myopts, myaction, myfiles, spinner) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 14708, in >> action_build >>    retval, favorites = mydepgraph.select_files(myfiles) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5835, in select_files >>    if not self._create_graph(): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5025, in >> _create_graph >>    allow_unsatisfied=allow_unsatisfied): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5364, in >> _add_pkg_deps >>    if not atom.blocker and vardb.match(atom): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 1259, in >> _match_wrapper >>    matches = self._match(cpv, use_cache=use_cache) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 4509, in match >>    result = portage.dbapi.match(self, origdep, use_cache=use_cache) >>  File "//usr/lib64/portage/pym/portage/dbapi/__init__.py", line 126, in match >>    mydep = dep_expand(origdep, mydb=self, settings=self.settings) >>  File "//usr/lib64/portage/pym/portage/__init__.py", line 7182, in dep_expand >>    myindex = orig_dep.index(mydep) >>  File "//usr/lib64/portage/pym/portage/dep.py", line 625, in index >>    return self._str.index(*pargs, **kargs) >> ValueError: substring not found >> neptune ~ # emerge -uDavt system >> >>  * IMPORTANT: 3 news items need reading for repository 'gentoo'. >>  * Use eselect news to read news items. >> >> >> These are the packages that would be merged, in reverse order: >> >> Calculating dependencies |Traceback (most recent call last): >>  File "/usr/bin/emerge", line 40, in <module> >>    retval = _emerge.emerge_main() >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 15814, in emerge_main >>    myopts, myaction, myfiles, spinner) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 14708, in >> action_build >>    retval, favorites = mydepgraph.select_files(myfiles) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5835, in select_files >>    if not self._create_graph(): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5025, in >> _create_graph >>    allow_unsatisfied=allow_unsatisfied): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 5364, in >> _add_pkg_deps >>    if not atom.blocker and vardb.match(atom): >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 1259, in >> _match_wrapper >>    matches = self._match(cpv, use_cache=use_cache) >>  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 4509, in match >>    result = portage.dbapi.match(self, origdep, use_cache=use_cache) >>  File "//usr/lib64/portage/pym/portage/dbapi/__init__.py", line 126, in match >>    mydep = dep_expand(origdep, mydb=self, settings=self.settings) >>  File "//usr/lib64/portage/pym/portage/__init__.py", line 7182, in dep_expand >>    myindex = orig_dep.index(mydep) >>  File "//usr/lib64/portage/pym/portage/dep.py", line 625, in index >>    return self._str.index(*pargs, **kargs) >> ValueError: substring not found >> >> >> Je continue de rechercher de mon coté également. >> > > Après une peitite analyse avec strrace : > > strace emerge xpdf, j'ai pu trouver ceci: > > stat("/usr/lib64/python2.5/curses/sys", 0x7ffffa91ee18) = -1 ENOENT > (No such file or directory) > open("/usr/lib64/python2.5/curses/sys.so", O_RDONLY) = -1 ENOENT (No > such file or directory) > open("/usr/lib64/python2.5/curses/sysmodule.so", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/lib64/python2.5/curses/sys.py", O_RDONLY) = -1 ENOENT (No > such file or directory) > open("/usr/lib64/python2.5/curses/sys.pyc", O_RDONLY) = -1 ENOENT (No > such file or directory) > > > Aucun de ces fichiers n'est présent. Est-il possible de les > réinstaller malgré l'état de portage ? >
Résolu: il suffisait de réinstaller python sans générer les dépendances : emerge --nodeps python Merci pour votre aide. Jean-Paul