View previous topic :: View next topic |
Author |
Message |
kasper n00b
Joined: 22 Jul 2002 Posts: 55 Location: Montpellier
|
Posted: Tue Mar 18, 2003 4:20 pm Post subject: pb in portage.py on emerge clean |
|
|
Hey,
Since a few days, i'm searching, reading, trying things but i cannot find information to save my 5 month old Gentoo
So, let's focus on the problem. It started when i merged an upgrade of mod_php a few days ago. It has failed on the clean process (unmerge previous version). I did not pay much attention at this time.
But as i have autoclean enabled, the clean process is ran every time I emerge something and it fails always at the same point.
Here is what it says :
Code: | # emerge clean
dev-php/mod_php
selected: 4.2.3-r2
protected: 4.3.1
omitted: none
>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging dev-php/mod_php-4.2.3-r2...
No package files given... Grabbing a set.
--- !found obj /usr/lib/php/build/shtool
--- !found obj /usr/lib/php/build/rules_pear.mk
--- !found obj /usr/lib/php/build/rules_common.mk
[ ...snip... ]
--- !found obj /usr/include/php/TSRM/readdir.h
--- !found obj /usr/include/php/TSRM/acconfig.h
--- !found obj /usr/include/php/TSRM/TSRM.h
--- !found dir /usr/include/php/TSRM
Traceback (most recent call last):
File "/usr/bin/emerge", line 1699, in ?
if 1==unmerge(myaction, myfiles):
File "/usr/bin/emerge", line 1374, in unmerge
retval=portage.unmerge(mysplit[0],mysplit[1],portage.root)
File "/usr/lib/python2.2/site-packages/portage.py", line 1605, in unmerge
mylink.unmerge()
File "/usr/lib/python2.2/site-packages/portage.py", line 3669, in unmerge
if (pkgfiles[obj][0] not in ("dir","fif","dev","sym")) and (lmtime != pkgfiles[obj][1]):
KeyError: . |
Another thing that could be interesting :
Code: | # emerge -Cp mod_php-4.3.1.ebuild
['', 'usr', 'portage', 'dev-php', 'mod_php', 'mod_php-4.3.1.ebuild']
/usr/portage/dev-php/mod_php/mod_php-4.3.1.ebuild
!!! mod_php-4.3.1.ebuild is not inside /var/db/pkg; aborting. |
Pretty isn't it ?
I've tried to wipe out /usr/portage, emerge rsync, emerge regen but it didn't change anything.
Anybody have a clue ? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Mar 18, 2003 5:22 pm Post subject: |
|
|
Can you try moving /var/db/pkg/dev-php/mod_php-4.2.3-r2 completely out of /var/db/pkg? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
kasper n00b
Joined: 22 Jul 2002 Posts: 55 Location: Montpellier
|
Posted: Wed Mar 19, 2003 2:45 pm Post subject: |
|
|
Thanx for helping me
I tried and now it seems to work fine :
Code: | # emerge clean
>>> No outdated packages were found on your system. |
I'm trying to re-emerge mod_php-4.3.1 as it was telling me that it's emerged but... not installed (cf. above). |
|
Back to top |
|
|
kasper n00b
Joined: 22 Jul 2002 Posts: 55 Location: Montpellier
|
Posted: Wed Mar 19, 2003 2:49 pm Post subject: |
|
|
Cool
Everything went fine (has to USE="-java" to emerge mod_php), I can now continue to work Thanx a lot rac ! |
|
Back to top |
|
|
|
|
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
|
|