FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-07-2010, 10:08 PM
Walt Rarus
 
Default help with inaccessible (trashed?) file

WALRUS ~ # whoami
root
WALRUS ~ # ls -l /usr/portage/x11-misc/icesndcfg/
ls: cannot access /usr/portage/x11-misc/icesndcfg/icesndcfg-1.3.ebuild: Permission denied
total 12
-rw-r--r-- 1 root*** root*** 2675 2008-05-09 09:37 ChangeLog

-rw-r--r-- 1 root*** root**** 771 2008-05-09 09:37 Manifest
?????????? ? ?****** ?********* ?*************** ? icesndcfg-1.3.ebuild
-rw-r--r-- 1 portage portage* 224 2003-07-07 09:54 metadata.xml

The situation with icesndcfg-1.3.ebuild above is disallowing a complete "emerge --sync".

I don't know how to resolve the problem since even root can't access/overwrite this (bogus?) file. Any help available?
 
Old 02-07-2010, 10:16 PM
Daniel Troeder
 
Default help with inaccessible (trashed?) file

On 02/07/2010 11:08 PM, Walt Rarus wrote:
> WALRUS ~ # whoami
> root
> WALRUS ~ # ls -l /usr/portage/x11-misc/icesndcfg/
> ls: cannot access /usr/portage/x11-misc/icesndcfg/icesndcfg-1.3.ebuild:
> Permission denied
> total 12
> -rw-r--r-- 1 root root 2675 2008-05-09 09:37 ChangeLog
> -rw-r--r-- 1 root root 771 2008-05-09 09:37 Manifest
> ?????????? ? ? ? ? ? icesndcfg-1.3.ebuild
> -rw-r--r-- 1 portage portage 224 2003-07-07 09:54 metadata.xml
>
> The situation with icesndcfg-1.3.ebuild above is disallowing a complete
> "emerge --sync".
> I don't know how to resolve the problem since even root can't
> access/overwrite this (bogus?) file. Any help available?
Most likely a filesystem corruption. -> fsck
 
Old 02-07-2010, 11:02 PM
Alex Schuster
 
Default help with inaccessible (trashed?) file

Walt Rarus writes:

> WALRUS ~ # whoami
> root
> WALRUS ~ # ls -l /usr/portage/x11-misc/icesndcfg/
> ls: cannot access /usr/portage/x11-misc/icesndcfg/icesndcfg-1.3.ebuild:
> Permission denied
> total 12
> -rw-r--r-- 1 root root 2675 2008-05-09 09:37 ChangeLog
> -rw-r--r-- 1 root root 771 2008-05-09 09:37 Manifest
> ?????????? ? ? ? ? ? icesndcfg-1.3.ebuild
> -rw-r--r-- 1 portage portage 224 2003-07-07 09:54 metadata.xml
>
> The situation with icesndcfg-1.3.ebuild above is disallowing a complete
> "emerge --sync".
> I don't know how to resolve the problem since even root can't
> access/overwrite this (bogus?) file. Any help available?

Looks like a corrupted file system. A fsck might fix this. You can force
one by 'shutdown -Fr now'. Sync your portage tree after this to make sure
it is in a clean state.

Good luck,

Wonko
 
Old 02-08-2010, 12:51 AM
Alan McKinnon
 
Default help with inaccessible (trashed?) file

On Monday 08 February 2010 01:02:39 Alex Schuster wrote:
> Walt Rarus writes:
> > WALRUS ~ # whoami
> > root
> > WALRUS ~ # ls -l /usr/portage/x11-misc/icesndcfg/
> > ls: cannot access /usr/portage/x11-misc/icesndcfg/icesndcfg-1.3.ebuild:
> > Permission denied
> > total 12
> > -rw-r--r-- 1 root root 2675 2008-05-09 09:37 ChangeLog
> > -rw-r--r-- 1 root root 771 2008-05-09 09:37 Manifest
> > ?????????? ? ? ? ? ? icesndcfg-1.3.ebuild
> > -rw-r--r-- 1 portage portage 224 2003-07-07 09:54 metadata.xml
> >
> > The situation with icesndcfg-1.3.ebuild above is disallowing a complete
> > "emerge --sync".
> > I don't know how to resolve the problem since even root can't
> > access/overwrite this (bogus?) file. Any help available?
>
> Looks like a corrupted file system. A fsck might fix this. You can force
> one by 'shutdown -Fr now'. Sync your portage tree after this to make sure
> it is in a clean state.

In my experience, fsck consistently detects file systems corruption, and
consistently fails to do anything useful about it.

However, it's pretty common for users to have made a separate volume for the
portage tree (i.e. something mounted at /usr/portage). If so, just trash the
thing, download a new-ish tarball of the tree, resync and you're back in
business.

--
alan dot mckinnon at gmail dot com
 
Old 02-08-2010, 04:47 AM
Walt Rarus
 
Default help with inaccessible (trashed?) file

On Sun, Feb 7, 2010 at 7:51 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:



In my experience, fsck consistently detects file systems corruption, and

consistently fails to do anything useful about it.


In my case, reiserfsck --fix-fixable did the trick, i.e., detected
and fixed the exact problem with the directory and file.




However, it's pretty common for users to have made a separate volume for
the

portage tree (i.e. something mounted at /usr/portage). If so, just trash
the

thing, download a new-ish tarball of the tree, resync and you're back in

business.



Hmm, something to think about should I ever restructure my setup.



Thanks to Daniel, Alex, and Alan for your helpful comments.

Walt
 

Thread Tools




All times are GMT. The time now is 09:04 PM.

VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org