Re: [gentoo-user] Damaged file in portage cache

2007-06-14 Thread Rudmer van Dijk
On Thursday 14 June 2007, Jean-Baptiste Mestelan wrote: I cannot emerge --sync my system anymore, as this brings out the try running `emerge --metadata` it will restore the portage cache in /var/cache/edb/dep Rudmer following error : Updating Portage cache: Traceback (most

Re: [gentoo-user] Damaged file in portage cache

2007-06-14 Thread Kent Fredric
On 6/14/07, Philip Webb [EMAIL PROTECTED] wrote: 070614 Jean-Baptiste Mestelan wrote: I cannot emerge --sync , as this brings out the following error : Updating Portage cache: Traceback (most recent call last): -- snip -- OSError: [Errno 2] No such file or directory:

Re: [gentoo-user] Damaged file in portage cache

2007-06-14 Thread Jean-Baptiste Mestelan
Many thanks for your kind answers. I have tried to emerge --metadata, too, and the result is just the same. localhost ~ # emerge --metadata Updating Portage cache: Traceback (most recent call last): File /usr/bin/emerge, line 5530, in ? retval = emerge_main() File /usr/bin/emerge,

Re: [gentoo-user] Damaged file in portage cache

2007-06-14 Thread Rudmer van Dijk
On Thursday 14 June 2007, Jean-Baptiste Mestelan wrote: Many thanks for your kind answers. I have tried to emerge --metadata, too, and the result is just the same. localhost ~ # emerge --metadata Updating Portage cache: Traceback (most recent call last): File /usr/bin/emerge, line

Re: [gentoo-user] Damaged file in portage cache

2007-06-14 Thread Jean-Baptiste Mestelan
On 6/14/07, Rudmer van Dijk [EMAIL PROTECTED] wrote: hmm, then it really looks like your filesystem is screwed... what filesystem are you using? and have you tried to do a fsck on it? It is ext3 filesystem ; I have executed fsck on it, which reported no errors. It looks like the fs is out of

Re: [gentoo-user] Damaged file in portage cache

2007-06-14 Thread Alex Schuster
Jean-Baptiste Mestelan writes: I have manually deleted a lot of files from /var/cache/edb/dep, but the offending ones can neither be removed nor renamed. (Was I all right, in manually butchering /var/cache/edb/dep ?) The fact that the remaining files contain strange characters is puzzling,

Re: [gentoo-user] Damaged file in portage cache

2007-06-14 Thread Rudmer van Dijk
On Thursday 14 June 2007, Jean-Baptiste Mestelan wrote: On 6/14/07, Rudmer van Dijk [EMAIL PROTECTED] wrote: hmm, then it really looks like your filesystem is screwed... what filesystem are you using? and have you tried to do a fsck on it? It is ext3 filesystem ; I have executed fsck on

Re: [gentoo-user] Damaged file in portage cache

2007-06-14 Thread Jean-Baptiste Mestelan
On 6/14/07, Alex Schuster [EMAIL PROTECTED] wrote: Can you mv the dep directory to another name, and re-create it with emerge --metadata? Hey, this worked !!! I could not touch the files in /var/cache/edb/dep/usr/portage/net-misc/ but I could mv at an above level : mv /var/cache/edb/dep

[gentoo-user] Damaged file in portage cache

2007-06-13 Thread Jean-Baptiste Mestelan
Hello. I cannot emerge --sync my system anymore, as this brings out the following error : Updating Portage cache: Traceback (most recent call last): File /usr/bin/emerge, line 5530, in ? retval = emerge_main() File /usr/bin/emerge, line 5489, in emerge_main

Re: [gentoo-user] Damaged file in portage cache

2007-06-13 Thread Philip Webb
070614 Jean-Baptiste Mestelan wrote: I cannot emerge --sync , as this brings out the following error : Updating Portage cache: Traceback (most recent call last): -- snip -- OSError: [Errno 2] No such file or directory: '/var/cache/edb/dep/usr/portage/net-misc/vmpsd-1.3-r\x12' it