* [gentoo-user] emerge --sync failed
@ 2011-10-23 23:40 Hartmut Figge
2011-10-23 23:50 ` Albert W. Hopkins
2011-10-24 8:14 ` Nikos Chantziaras
0 siblings, 2 replies; 6+ messages in thread
From: Hartmut Figge @ 2011-10-23 23:40 UTC (permalink / raw
To: gentoo-user
Greetings,
emerge --sync was successfull till 'Performing Global Updates' which
leaded to an error. After waiting for perhaps 1 to 2 hours i tried
another 'emerge --sync' in the hope that would fix the issue. No luck.
---------------
i5 hafi # emerge --sync
Performing Global Updates:
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' #='/var/db update' @='/var/db move'
s='/var/db SLOT move' %='binary move' S='binary SLOT move'
p='update /etc/portage/package.*'
/usr/portage/profiles/updates/3Q-2011..........................
/usr/portage/profiles/updates/4Q-2011......
ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 dev-php/dev-php5/pecl-ssh2'
Traceback (most recent call last):
File "/usr/bin/emerge", line 43, in <module>
retval = emerge_main()
File "/usr/lib/portage/pym/_emerge/main.py", line 1531, in emerge_main
_global_updates(trees, mtimedb["updates"], quiet=("--quiet" in myopts)):
File "/usr/lib/portage/pym/portage/_global_updates.py", line 160, in _global_updates
moves = vardb.move_ent(update_cmd, repo_match=repo_match)
File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 300, in move_ent
origmatches = self.match(origcp, use_cache=0)
File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 474, in match
origdep, mydb=self, use_cache=use_cache, settings=self.settings)
File "/usr/lib/portage/pym/portage/dbapi/dep_expand.py", line 33, in dep_expand
mydep = Atom(mydep, allow_repo=True)
File "/usr/lib/portage/pym/portage/dep/__init__.py", line 1097, in __init__
raise InvalidAtom(self)
InvalidAtom: dev-php5/dev-php5/pecl-ssh2
---------------
Now what? :)
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] emerge --sync failed
2011-10-23 23:40 [gentoo-user] emerge --sync failed Hartmut Figge
@ 2011-10-23 23:50 ` Albert W. Hopkins
2011-10-24 0:06 ` [gentoo-user] " Hartmut Figge
2011-10-24 8:14 ` Nikos Chantziaras
1 sibling, 1 reply; 6+ messages in thread
From: Albert W. Hopkins @ 2011-10-23 23:50 UTC (permalink / raw
To: gentoo-user
On Mon, 2011-10-24 at 01:40 +0200, Hartmut Figge wrote:
> Greetings,
>
> emerge --sync was successfull till 'Performing Global Updates' which
> leaded to an error. After waiting for perhaps 1 to 2 hours i tried
> another 'emerge --sync' in the hope that would fix the issue. No luck.
>
> ---------------
> i5 hafi # emerge --sync
>
> Performing Global Updates:
> (Could take a couple of minutes if you have a lot of binary packages.)
> .='update pass' *='binary update' #='/var/db update' @='/var/db move'
> s='/var/db SLOT move' %='binary move' S='binary SLOT move'
> p='update /etc/portage/package.*'
> /usr/portage/profiles/updates/3Q-2011..........................
> /usr/portage/profiles/updates/4Q-2011......
> ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 dev-php/dev-php5/pecl-ssh2'
> Traceback (most recent call last):
> File "/usr/bin/emerge", line 43, in <module>
> retval = emerge_main()
> File "/usr/lib/portage/pym/_emerge/main.py", line 1531, in emerge_main
> _global_updates(trees, mtimedb["updates"], quiet=("--quiet" in myopts)):
> File "/usr/lib/portage/pym/portage/_global_updates.py", line 160, in _global_updates
> moves = vardb.move_ent(update_cmd, repo_match=repo_match)
> File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 300, in move_ent
> origmatches = self.match(origcp, use_cache=0)
> File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 474, in match
> origdep, mydb=self, use_cache=use_cache, settings=self.settings)
> File "/usr/lib/portage/pym/portage/dbapi/dep_expand.py", line 33, in dep_expand
> mydep = Atom(mydep, allow_repo=True)
> File "/usr/lib/portage/pym/portage/dep/__init__.py", line 1097, in __init__
> raise InvalidAtom(self)
> InvalidAtom: dev-php5/dev-php5/pecl-ssh2
> ---------------
I'm seeing this chatter now. It looks like someone made a typo. And
some mirrors are still picking it up.
You should be able to delete /usr/portage/profiles/updates/4Q-2011 (or
edit the file and fix it... it's pretty straighforward) and continue
from there.
-a
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: emerge --sync failed
2011-10-23 23:50 ` Albert W. Hopkins
@ 2011-10-24 0:06 ` Hartmut Figge
0 siblings, 0 replies; 6+ messages in thread
From: Hartmut Figge @ 2011-10-24 0:06 UTC (permalink / raw
To: gentoo-user
Albert W. Hopkins:
>You should be able to delete /usr/portage/profiles/updates/4Q-2011 (or
>edit the file and fix it... it's pretty straighforward) and continue
>from there.
Done the edit. Works. Thanks.
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: emerge --sync failed
2011-10-23 23:40 [gentoo-user] emerge --sync failed Hartmut Figge
2011-10-23 23:50 ` Albert W. Hopkins
@ 2011-10-24 8:14 ` Nikos Chantziaras
2011-10-24 21:21 ` Hartmut Figge
1 sibling, 1 reply; 6+ messages in thread
From: Nikos Chantziaras @ 2011-10-24 8:14 UTC (permalink / raw
To: gentoo-user
On 10/24/2011 02:40 AM, Hartmut Figge wrote:
> Greetings,
>
> emerge --sync was successfull till 'Performing Global Updates' which
> leaded to an error. After waiting for perhaps 1 to 2 hours i tried
> another 'emerge --sync' in the hope that would fix the issue. No luck.
>
> ---------------
> i5 hafi # emerge --sync
>
> Performing Global Updates:
> (Could take a couple of minutes if you have a lot of binary packages.)
> .='update pass' *='binary update' #='/var/db update' @='/var/db move'
> s='/var/db SLOT move' %='binary move' S='binary SLOT move'
> p='update /etc/portage/package.*'
> /usr/portage/profiles/updates/3Q-2011..........................
> /usr/portage/profiles/updates/4Q-2011......
> ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 dev-php/dev-php5/pecl-ssh2'
For future reference, instead of deleting (which can be a bad idea since
new ebuilds can depend on renamed/moved packages which means you can
mess up your installation), you can resync later with:
emerge --sync --package-moves=n
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: emerge --sync failed
2011-10-24 8:14 ` Nikos Chantziaras
@ 2011-10-24 21:21 ` Hartmut Figge
2011-10-25 5:14 ` Nikos Chantziaras
0 siblings, 1 reply; 6+ messages in thread
From: Hartmut Figge @ 2011-10-24 21:21 UTC (permalink / raw
To: gentoo-user
Nikos Chantziaras:
>On 10/24/2011 02:40 AM, Hartmut Figge wrote:
>> i5 hafi # emerge --sync
[...]
>> ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 dev-php/dev-php5/pecl-ssh2'
>
>For future reference, instead of deleting (which can be a bad idea since
>new ebuilds can depend on renamed/moved packages which means you can
>mess up your installation), you can resync later with:
>
> emerge --sync --package-moves=n
Followed by a normal emerge --sync which will take care of the necessary
actions for move?
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: emerge --sync failed
2011-10-24 21:21 ` Hartmut Figge
@ 2011-10-25 5:14 ` Nikos Chantziaras
0 siblings, 0 replies; 6+ messages in thread
From: Nikos Chantziaras @ 2011-10-25 5:14 UTC (permalink / raw
To: gentoo-user
On 10/25/2011 12:21 AM, Hartmut Figge wrote:
> Nikos Chantziaras:
>> On 10/24/2011 02:40 AM, Hartmut Figge wrote:
>
>>> i5 hafi # emerge --sync
> [...]
>>> ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 dev-php/dev-php5/pecl-ssh2'
>>
>> For future reference, instead of deleting (which can be a bad idea since
>> new ebuilds can depend on renamed/moved packages which means you can
>> mess up your installation), you can resync later with:
>>
>> emerge --sync --package-moves=n
>
> Followed by a normal emerge --sync which will take care of the necessary
> actions for move?
Not necessary. Portage will perform them on the first opportunity (like
when trying to emerge something.)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-10-25 5:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-23 23:40 [gentoo-user] emerge --sync failed Hartmut Figge
2011-10-23 23:50 ` Albert W. Hopkins
2011-10-24 0:06 ` [gentoo-user] " Hartmut Figge
2011-10-24 8:14 ` Nikos Chantziaras
2011-10-24 21:21 ` Hartmut Figge
2011-10-25 5:14 ` Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox