Hi,
I have some weird files in my filling system (ext3 fs) that prevent me to
emerge....
# emerge sync
Check /var/db/pkg/dev-perl/Net-SSLeay-1.22/PROVIDE and USE.
Traceback (most recent call last):
File "/usr/bin/emerge", line 10, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 6844, in ?
settings=config(config_profile_path=PROFILE_PATH,config_incrementals=increme
ntals)
File "/usr/lib/portage/pym/portage.py", line 1071, in __init__
self.loadVirtuals('/')
File "/usr/lib/portage/pym/portage.py", line 1176, in loadVirtuals
self.virtuals = self.getvirtuals(root)
File "/usr/lib/portage/pym/portage.py", line 1398, in getvirtuals
self.treeVirtuals =
map_dictlist_vals(getCPFromCPV,temp_vartree.get_all_provides())
File "/usr/lib/portage/pym/portage.py", line 4651, in get_all_provides
for mykey in self.get_provide(node):
File "/usr/lib/portage/pym/portage.py", line 4643, in get_provide
print "Possibly Invalid: " + str(mylines)
UnboundLocalError: local variable 'mylines' referenced before assignment
# pwd
/var/db/pkg/dev-perl/Net-SSLeay-1.22
# ls -al
total 1590550318
drwxr-xr-x 2 root root 4096 Mar 5 15:16 .
drwxr-xr-x 50 root root 4096 Jul 17 2004 ..
?--------- 26990 1877803008 1077438767 65536 Jan 1 1970 CBUILD
?--------- 26990 1874264064 1077438767 65536 Jan 1 1970 CONTENTS
?--------- 26990 3767402496 1085696303 65536 Jan 1 1970 COUNTER
?--------- 11 1877803008 1077412987 65536 Jan 1 1970 PROVIDE
?--------- 26990 3767402496 1085696303 65536 Jan 1 1970 USE
# rm CBUILD
rm: cannot remove `CBUILD': Operation not permitted
# chmod +777 CBUILD
chmod: changing permissions of `CBUILD': Operation not permitted
# chown root:root CBUILD
chown: changing ownership of `CBUILD': Operation not permitted
# rm PROVIDE
rm: remove write-protected weird file `PROVIDE'? y
rm: cannot remove `PROVIDE': Operation not permitted
and I have no idea about how to get rid of them...
basically: cannot rm, chmod/own ...etc...
Reboot didn't detect any issues (nor shutdown -Fr now)
I did also try e2fsck, but I aborted it, not knowing how to get about
unmounting /var (which I think is used by pretty any processes I got
runing)...
# fsck.ext3 /dev/hda2
e2fsck 1.33 (21-Apr-2003)
/dev/hda2 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? cancelled!
Any clues about what I should try ?
Many thanks
JM
Gentoo 1.4, Kernel 2.40, P3-550E
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.6.2 - Release Date: 04/03/2005
--
[email protected] mailing list