public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge error...
@ 2005-07-15  1:42 Karsten Gebbert
  2005-07-15  3:50 ` Zac Medico
  0 siblings, 1 reply; 34+ messages in thread
From: Karsten Gebbert @ 2005-07-15  1:42 UTC (permalink / raw
  To: gentoo-user

Hello list,

The described error, or failure, always occures when building the 59th 
app after emerge --newuse --emptytree system:

 >sys-apps/baselayout-1.11.12-r4

and again:

 >!!!Files listed in the manifest do not exist!
 >files/digest-baselayout-1.12.0-pre1
 >baselayout-1.12.0_pre1.ebuild

Why can it not get the sources and build it? Could this be a problem 
within make.conf's known mirrors or so?

KArsten
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error...
  2005-07-15  1:42 Karsten Gebbert
@ 2005-07-15  3:50 ` Zac Medico
  2005-07-15  4:00   ` Karsten Gebbert
  0 siblings, 1 reply; 34+ messages in thread
From: Zac Medico @ 2005-07-15  3:50 UTC (permalink / raw
  To: gentoo-user

Karsten Gebbert wrote:
> Hello list,
> 
> The described error, or failure, always occures when building the 59th
> app after emerge --newuse --emptytree system:
> 
>>sys-apps/baselayout-1.11.12-r4
> 
> and again:
> 
>>!!!Files listed in the manifest do not exist!
>>files/digest-baselayout-1.12.0-pre1
>>baselayout-1.12.0_pre1.ebuild
> 
> Why can it not get the sources and build it? Could this be a problem
> within make.conf's known mirrors or so?
> 
> KArsten

Unfortunately our portage tree rsync system does not handle concurrency well which occasionally results in an inconsistent portage snapshot.  If you emerge sync again that should fix it.  Alteratively, you can use "ebuild <path to ebuild> digest" to correct the inconsistency yourself.  See the ebuild(1) manpage for details.

Also, maybe you can skip the first 58 packages with "emerge --resume".

Zac
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error...
  2005-07-15  3:50 ` Zac Medico
@ 2005-07-15  4:00   ` Karsten Gebbert
  0 siblings, 0 replies; 34+ messages in thread
From: Karsten Gebbert @ 2005-07-15  4:00 UTC (permalink / raw
  To: gentoo-user

Zac Medico wrote:

>Karsten Gebbert wrote:
>  
>
>>Hello list,
>>
>>The described error, or failure, always occures when building the 59th
>>app after emerge --newuse --emptytree system:
>>
>>    
>>
>>>sys-apps/baselayout-1.11.12-r4
>>>      
>>>
>>and again:
>>
>>    
>>
>>>!!!Files listed in the manifest do not exist!
>>>files/digest-baselayout-1.12.0-pre1
>>>baselayout-1.12.0_pre1.ebuild
>>>      
>>>
>>Why can it not get the sources and build it? Could this be a problem
>>within make.conf's known mirrors or so?
>>
>>KArsten
>>    
>>
>
>Unfortunately our portage tree rsync system does not handle concurrency well which occasionally results in an inconsistent portage snapshot.  If you emerge sync again that should fix it.  Alteratively, you can use "ebuild <path to ebuild> digest" to correct the inconsistency yourself.  See the ebuild(1) manpage for details.
>
>Also, maybe you can skip the first 58 packages with "emerge --resume".
>
>Zac
>  
>
actually, that works fine! after emerge --sync and another emerge 
system, it seemed to have resumed at the respective point.

cheers,

KArsten
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user] emerge error
@ 2006-02-24 14:56 John Fawcett
  2006-02-24 15:04 ` Michael Smith
  2006-02-24 15:07 ` Jason Stubbs
  0 siblings, 2 replies; 34+ messages in thread
From: John Fawcett @ 2006-02-24 14:56 UTC (permalink / raw
  To: gentoo-user

I'm new to gentoo and I wonder if someone can point me in the right
direction to resovle the following kind of problem.

I have run emerge mysql and get the following output:
Calculating dependencies /!!! Cannot resolve a virtual package name to
an ebuild.
!!! This is a bug, please report it. (virtual/perl-Storable-2.13)

What should I do, is it really a bug, and who should it be reported to?
thanks
Johh
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2006-02-24 14:56 John Fawcett
@ 2006-02-24 15:04 ` Michael Smith
  2006-02-24 15:13   ` Holly Bostick
  2006-02-24 15:07 ` Jason Stubbs
  1 sibling, 1 reply; 34+ messages in thread
From: Michael Smith @ 2006-02-24 15:04 UTC (permalink / raw
  To: gentoo-user

Hmm, I can't find any open bugs on this in bugs.gentoo.org, so I guess it's new.

You should register a new account at bugs.gentoo.org and report it. Before you 
do, make sure you run emerge --sync and see if the problem goes away.

John Fawcett wrote:
> I'm new to gentoo and I wonder if someone can point me in the right
> direction to resovle the following kind of problem.
> 
> I have run emerge mysql and get the following output:
> Calculating dependencies /!!! Cannot resolve a virtual package name to
> an ebuild.
> !!! This is a bug, please report it. (virtual/perl-Storable-2.13)
> 
> What should I do, is it really a bug, and who should it be reported to?
> thanks
> Johh
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2006-02-24 14:56 John Fawcett
  2006-02-24 15:04 ` Michael Smith
@ 2006-02-24 15:07 ` Jason Stubbs
  2006-02-24 15:41   ` John Fawcett
  1 sibling, 1 reply; 34+ messages in thread
From: Jason Stubbs @ 2006-02-24 15:07 UTC (permalink / raw
  To: gentoo-user

On Friday 24 February 2006 23:56, John Fawcett wrote:
> Calculating dependencies /!!! Cannot resolve a virtual package name to
> an ebuild.
> !!! This is a bug, please report it. (virtual/perl-Storable-2.13)

Update portage.

--
Jason Stubbs
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2006-02-24 15:04 ` Michael Smith
@ 2006-02-24 15:13   ` Holly Bostick
  0 siblings, 0 replies; 34+ messages in thread
From: Holly Bostick @ 2006-02-24 15:13 UTC (permalink / raw
  To: gentoo-user

Michael Smith schreef:
>> John Fawcett wrote:

>> I'm new to gentoo and I wonder if someone can point me in the right
>> direction to resovle the following kind of problem.
>> 
>> I have run emerge mysql and get the following output: Calculating 
>> dependencies /!!! Cannot resolve a virtual package name to an 
>> ebuild. !!! This is a bug, please report it. 
>> (virtual/perl-Storable-2.13)
>> 
>> What should I do, is it really a bug, and who should it be reported
>>  to? thanks

> Hmm, I can't find any open bugs on this in bugs.gentoo.org, so I 
> guess it's new.
> 
> You should register a new account at bugs.gentoo.org and report it. 
> Before you do, make sure you run emerge --sync and see if the problem
>  goes away.

It very well might:

eix perl-Storable
* virtual/perl-Storable
     Available versions:  2.07 2.13 2.15
     Installed:           none
     Homepage:            http://www.gentoo.org/proj/en/perl/
     Description:         Virtual for Storable


The point being, that there *is* no other ebuild *but*
virtual/perl-Storable, so the fact that it cannot be found/resolved
seems very likely to be a sync issue of some sort rather than a bug,
/per se/, especially since this is the "middle" available version.

What version of mysql are you attempting to install, John, and what ARCH
are you running (emerge info)?

Holly
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2006-02-24 15:07 ` Jason Stubbs
@ 2006-02-24 15:41   ` John Fawcett
  0 siblings, 0 replies; 34+ messages in thread
From: John Fawcett @ 2006-02-24 15:41 UTC (permalink / raw
  To: gentoo-user

Jason Stubbs wrote:
> On Friday 24 February 2006 23:56, John Fawcett wrote:
>> Calculating dependencies /!!! Cannot resolve a virtual package name to
>> an ebuild.
>> !!! This is a bug, please report it. (virtual/perl-Storable-2.13)
> 
> Update portage.
> 
> --
> Jason Stubbs
I had already done an emerge --sync
Now as suggested I updated portage and then emerge mysql is compiling,
so the error has gone.
thanks,
John
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user] emerge error
@ 2006-11-08 14:03 Stefán István
  2006-11-08 14:18 ` Hemmann, Volker Armin
  0 siblings, 1 reply; 34+ messages in thread
From: Stefán István @ 2006-11-08 14:03 UTC (permalink / raw
  To: gentoo levlist

Hi!
I try to emerge pgp, and get the following error when the compilation is 
finished:

>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-crypt_-_gnupg-1.9.20-r3-26975.log"

access_wr: /
--------------------------------------------------------------------------------

What does this mean?

Thanks,
István

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2006-11-08 14:03 [gentoo-user] emerge error Stefán István
@ 2006-11-08 14:18 ` Hemmann, Volker Armin
  2006-11-08 14:29   ` Stefán István
  2006-11-08 14:39   ` Bo Ørsted Andresen
  0 siblings, 2 replies; 34+ messages in thread
From: Hemmann, Volker Armin @ 2006-11-08 14:18 UTC (permalink / raw
  To: gentoo-user

On Wednesday 08 November 2006 15:03, Stefán István wrote:
> Hi!
> I try to emerge pgp, and get the following error when the compilation is
>
> finished:
> >>> Source compiled.
>
> --------------------------- ACCESS VIOLATION SUMMARY
> ---------------------------
> LOG FILE = "/var/log/sandbox/sandbox-app-crypt_-_gnupg-1.9.20-r3-26975.log"
>
> access_wr: /
> ---------------------------------------------------------------------------
>-----
>
> What does this mean?
>
> Thanks,
> István

as it says, somewhere the ebuild/app tried to write outside of the sandbox and 
got stopped. Read the log. Usually that means that something is broken. Try a 
different pgp version - and don't disable sandbox. Disabling sanbox is evil.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2006-11-08 14:18 ` Hemmann, Volker Armin
@ 2006-11-08 14:29   ` Stefán István
  2006-11-08 14:39   ` Bo Ørsted Andresen
  1 sibling, 0 replies; 34+ messages in thread
From: Stefán István @ 2006-11-08 14:29 UTC (permalink / raw
  To: gentoo-user

szerda 08 november 2006 15.18 dátummal Hemmann, Volker Armin ezt írta:
> On Wednesday 08 November 2006 15:03, Stefán István wrote:
> > Hi!
> > I try to emerge pgp, and get the following error when the compilation is
> >
> > finished:
> > >>> Source compiled.
> >
> > --------------------------- ACCESS VIOLATION SUMMARY
> > ---------------------------
> > LOG FILE = 
"/var/log/sandbox/sandbox-app-crypt_-_gnupg-1.9.20-r3-26975.log"
> >
> > access_wr: /
> > 
---------------------------------------------------------------------------
> >-----
> >
> > What does this mean?
> >
> > Thanks,
> > István
> 
> as it says, somewhere the ebuild/app tried to write outside of the sandbox 
and 
> got stopped. Read the log. Usually that means that something is broken. Try 
a 
> different pgp version - and don't disable sandbox. Disabling sanbox is evil.

To tell the thruth, I don't know what sandbox is. I hasn't disabled it, or at 
least I don't know about it.

The log says only: access_wr: /

István

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2006-11-08 14:18 ` Hemmann, Volker Armin
  2006-11-08 14:29   ` Stefán István
@ 2006-11-08 14:39   ` Bo Ørsted Andresen
  2006-11-08 15:10     ` Stefán István
  1 sibling, 1 reply; 34+ messages in thread
From: Bo Ørsted Andresen @ 2006-11-08 14:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

On Wednesday 08 November 2006 15:18, Hemmann, Volker Armin wrote:
> On Wednesday 08 November 2006 15:03, Stefán István wrote:
> > Hi!
> > I try to emerge pgp, and get the following error when the compilation is
> >
> > finished:
> > >>> Source compiled.
> >
> > --------------------------- ACCESS VIOLATION SUMMARY
> > ---------------------------
> > LOG FILE =
> > "/var/log/sandbox/sandbox-app-crypt_-_gnupg-1.9.20-r3-26975.log"
> >
> > access_wr: /
> > -------------------------------------------------------------------------
> >-- -----
> >
> > What does this mean?
> >
> > Thanks,
> > István
>
> as it says, somewhere the ebuild/app tried to write outside of the sandbox
> and got stopped. Read the log. Usually that means that something is broken.
> Try a different pgp version - and don't disable sandbox. Disabling sanbox
> is evil.

Actually the most likely cause is bug #101433 [1]. Which means he needs to 
upgrade his sandbox:

# FEATURES=-sandbox emerge --oneshot sandbox

After that he should have no issues with emerging gnupg without disabling 
sandbox.

[1] http://bugs.gentoo.org/show_bug.cgi?id=101433

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2006-11-08 14:39   ` Bo Ørsted Andresen
@ 2006-11-08 15:10     ` Stefán István
  0 siblings, 0 replies; 34+ messages in thread
From: Stefán István @ 2006-11-08 15:10 UTC (permalink / raw
  To: gentoo-user

szerda 08 november 2006 15.39 dátummal Bo Ørsted Andresen ezt írta:
> On Wednesday 08 November 2006 15:18, Hemmann, Volker Armin wrote:
> > On Wednesday 08 November 2006 15:03, Stefán István wrote:
> > > Hi!
> > > I try to emerge pgp, and get the following error when the compilation is
> > >
> > > finished:
> > > >>> Source compiled.
> > >
> > > --------------------------- ACCESS VIOLATION SUMMARY
> > > ---------------------------
> > > LOG FILE =
> > > "/var/log/sandbox/sandbox-app-crypt_-_gnupg-1.9.20-r3-26975.log"
> > >
> > > access_wr: /
> > > 
-------------------------------------------------------------------------
> > >-- -----
> > >
> > > What does this mean?
> > >
> > > Thanks,
> > > István
> >
> > as it says, somewhere the ebuild/app tried to write outside of the sandbox
> > and got stopped. Read the log. Usually that means that something is 
broken.
> > Try a different pgp version - and don't disable sandbox. Disabling sanbox
> > is evil.
> 
> Actually the most likely cause is bug #101433 [1]. Which means he needs to 
> upgrade his sandbox:
> 
> # FEATURES=-sandbox emerge --oneshot sandbox
> 
> After that he should have no issues with emerging gnupg without disabling 
> sandbox.
> 
> [1] http://bugs.gentoo.org/show_bug.cgi?id=101433

Thank you, it is solved the problem.

Best regards,
István

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user]  emerge error
@ 2008-01-23  3:08 James
  2008-01-23  5:58 ` James Ausmus
  0 siblings, 1 reply; 34+ messages in thread
From: James @ 2008-01-23  3:08 UTC (permalink / raw
  To: gentoo-user

Hello,

I did a routine 'emerge sync' with no problems.
Then I did an ' emerge -uDNvp world' and it gives this
message:

Calculating system dependencies /Traceback (most recent call last):
  File "/usr/bin/emerge", line 6518, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6512, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 5813, in action_build
    mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
  File "/usr/bin/emerge", line 1174, in __init__
    vardb.aux_get(pkg, self._mydbapi_keys))))
  File "/usr/bin/emerge", line 948, in _aux_get_wrapper
    self._portdb.aux_get(pkg, self._portdb_keys)))
  File "/usr/lib/portage/pym/portage.py", line 6552, in aux_get
    try:                                del self.auxdb[mylocation][mycpv]
  File "/usr/lib/portage/pym/cache/template.py", line 82, in __delitem__
    self._delitem(cpv)
  File "/usr/lib/portage/pym/cache/flat_hash.py", line 98, in _delitem
    raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: sys-apps/baselayout-1.12.10-r5 is corrupt:
[Errno 13] Permission denied:
'/var/cache/edb/dep/usr/portage/sys-apps/baselayout-1.12.10-r5'


revdep-rebuild is clean......

I cannot emerge (rebuild) anything. Never seen this problem before

Ideas on fixing this?


James

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2008-01-23  3:08 [gentoo-user] emerge error James
@ 2008-01-23  5:58 ` James Ausmus
  2008-01-23  7:41   ` KH
  0 siblings, 1 reply; 34+ messages in thread
From: James Ausmus @ 2008-01-23  5:58 UTC (permalink / raw
  To: gentoo-user

On Jan 22, 2008 7:08 PM, James <wireless@tampabay.rr.com> wrote:
> Hello,
>
> I did a routine 'emerge sync' with no problems.
> Then I did an ' emerge -uDNvp world' and it gives this
> message:

<snip>

> cache.cache_errors.CacheCorruption: sys-apps/baselayout-1.12.10-r5 is corrupt:
> [Errno 13] Permission denied:
> '/var/cache/edb/dep/usr/portage/sys-apps/baselayout-1.12.10-r5'
>
>
> revdep-rebuild is clean......
>
> I cannot emerge (rebuild) anything. Never seen this problem before
>
> Ideas on fixing this?

Hmm - not sure exactly, but two thoughts come to mind off the bat:

1. Check your disk space, make sure it's not full
2. As root, do a chown -R portage:portage /var/cache/edb

and see what happens.

-James


>
>
> James
>
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge error
  2008-01-23  5:58 ` James Ausmus
@ 2008-01-23  7:41   ` KH
  2008-01-23 16:03     ` [gentoo-user] " James
  0 siblings, 1 reply; 34+ messages in thread
From: KH @ 2008-01-23  7:41 UTC (permalink / raw
  To: gentoo-user

James Ausmus wrote:
> On Jan 22, 2008 7:08 PM, James <wireless@tampabay.rr.com> wrote:
>   
>> Hello,
>>
>> I did a routine 'emerge sync' with no problems.
>> Then I did an ' emerge -uDNvp world' and it gives this
>> message:
>>     
>
> <snip>
>
>   
>> cache.cache_errors.CacheCorruption: sys-apps/baselayout-1.12.10-r5 is corrupt:
>> [Errno 13] Permission denied:
>> '/var/cache/edb/dep/usr/portage/sys-apps/baselayout-1.12.10-r5'
>>
>>
>> revdep-rebuild is clean......
>>
>> I cannot emerge (rebuild) anything. Never seen this problem before
>>
>> Ideas on fixing this?
>>     
>
> Hmm - not sure exactly, but two thoughts come to mind off the bat:
>
> 1. Check your disk space, make sure it's not full
> 2. As root, do a chown -R portage:portage /var/cache/edb
>
> and see what happens.
>
> -James
>
>
>   
>> James
>>
>> --
>> gentoo-user@lists.gentoo.org mailing list
>>
>>
>>     
add the -c to chown
       -c, --changes
              like verbose but report only when a change is made

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user]  Re: emerge error
  2008-01-23  7:41   ` KH
@ 2008-01-23 16:03     ` James
  2008-01-23 16:13       ` James Ausmus
  2008-01-23 16:31       ` Dale
  0 siblings, 2 replies; 34+ messages in thread
From: James @ 2008-01-23 16:03 UTC (permalink / raw
  To: gentoo-user

KH <gentoo-user <at> konstantinhansen.de> writes:


> James Ausmus wrote:

> > 1. Check your disk space, make sure it's not full

Not a problem...

> > 2. As root, do a chown -R portage:portage /var/cache/edb

> add the -c to chown
>        -c, --changes
>               like verbose but report only when a change is made


Many of the files were owned by root:portage

Now they are owned by portage:portage, but that did not 
fix the error:



calculating world dependencies \Traceback (most recent call last)
  File "/usr/bin/emerge", line 6518, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6512, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 5813, in action_build
    mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
  File "/usr/bin/emerge", line 1174, in __init__
    vardb.aux_get(pkg, self._mydbapi_keys))))
  File "/usr/bin/emerge", line 948, in _aux_get_wrapper
    self._portdb.aux_get(pkg, self._portdb_keys)))
  File "/usr/lib/portage/pym/portage.py", line 6552, in aux_get
    try:                                
del self.auxdb[mylocation][mycpv]
  File "/usr/lib/portage/pym/cache/template.py", 
line 82, in __delitem__
    self._delitem(cpv)
  File "/usr/lib/portage/pym/cache/flat_hash.py", 
line 98, in _delitem
    raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: 
sys-apps/baselayout-1.12.10-r5 is
 corrupt:[Errno 13] Permission denied:
var/cache/edb/dep/usr/portage/sys-apps/baselayout-1.12.10-r5'



The files that had their permissions changed were:

changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-lpd-20070329' to portage:portage
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-lpd-20070928' to portage:portage
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-cups-20070329' to portage:portage
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-cups-20070928' to portage:portage

snip>
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-screen-20070329' to
portage:portage
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-screen-20070928' to
portage:portage
chown: cannot access var/cache/edb/dep/usr/
portage/sec-policy/selinux-bind-20050408': 
Permission denied
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-bind-20050626' to portage:portage
chown: cannot access var/cache/edb/dep/usr/
portage/sec-policy/selinux-bind-20061114': 
Permission denied
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-bind-20070329' to portage:portage



Maybe the '/usr/bin/emerge' executable is corrupted. Can I 
just scp over a copy from another similar arch machine?


Any other ideas?

James


-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] Re: emerge error
  2008-01-23 16:03     ` [gentoo-user] " James
@ 2008-01-23 16:13       ` James Ausmus
  2008-01-23 16:29         ` James
  2008-01-23 16:31       ` Dale
  1 sibling, 1 reply; 34+ messages in thread
From: James Ausmus @ 2008-01-23 16:13 UTC (permalink / raw
  To: gentoo-user

On Jan 23, 2008 8:03 AM, James <wireless@tampabay.rr.com> wrote:
> KH <gentoo-user <at> konstantinhansen.de> writes:
>
>
> > James Ausmus wrote:
>
> > > 1. Check your disk space, make sure it's not full
>
> Not a problem...
>
> > > 2. As root, do a chown -R portage:portage /var/cache/edb
>
> > add the -c to chown
> >        -c, --changes
> >               like verbose but report only when a change is made
>
>
> Many of the files were owned by root:portage
>
> Now they are owned by portage:portage, but that did not
> fix the error:

<snip>

OK, try doing:

emerge --metadata

Also, have you done a emerge --sync since this started?

Sounds like it might just be a cache corruption - if the cache was
corrupted during the rsync process in an emerge--sync, then just doing
a emerge --metadata won't help, but if was just corrupted on disk (in
the /var/cache/edb dir), then a emerge --metadata might do it.

HTH-

James
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user]  Re: emerge error
  2008-01-23 16:13       ` James Ausmus
@ 2008-01-23 16:29         ` James
  2008-01-23 16:39           ` James
  0 siblings, 1 reply; 34+ messages in thread
From: James @ 2008-01-23 16:29 UTC (permalink / raw
  To: gentoo-user

James Ausmus <james.ausmus <at> gmail.com> writes:


> OK, try doing:

> emerge --metadata

> Also, have you done a emerge --sync since this started?

> Sounds like it might just be a cache corruption - if the cache was
> corrupted during the rsync process in an emerge--sync, then just doing
> a emerge --metadata won't help, but if was just corrupted on disk (in
> the /var/cache/edb dir), then a emerge --metadata might do it.


'emerge' sync almost ran to completion:



Number of files: 131430
Number of files transferred: 270
Total file size: 175763417 bytes
Total transferred file size: 1202283 bytes
Literal data: 1202283 bytes
Matched data: 0 bytes
File list size: 3192393
File list generation time: 4.092 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 8817
Total bytes received: 4410697

sent 8817 bytes  received 4410697 bytes  34393.11 bytes/sec
total size is 175763417  speedup is 39.77

>>> Updating Portage cache:      Traceback (most recent call last):
  File "/usr/bin/emerge", line 6518, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6473, in emerge_main
    action_sync(settings, trees, mtimedb, myopts, myaction)
  File "/usr/bin/emerge", line 5010, in action_sync
    action_metadata(settings, portdb, myopts)
  File "/usr/bin/emerge", line 5104, in action_metadata
    eclass_cache=ec, verbose_instance=noise_maker)
  File "/usr/lib/portage/pym/cache/util.py", line 21, in mirror_cache
    dead_nodes = set(trg_cache)
  File "/usr/lib/python2.4/sets.py", line 429, in __init__
    self._update(iterable)
  File "/usr/lib/python2.4/sets.py", line 383, in _update
    for element in iterable:
  File "/usr/lib/portage/pym/cache/flat_hash.py", line 122, in __iter__
    st = os.lstat(p)
OSError: [Errno 13] Permission denied: 
'/var/cache/edb/dep/usr/portage/net-zope'

ideas?

James


-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user]  Re: emerge error
  2008-01-23 16:03     ` [gentoo-user] " James
  2008-01-23 16:13       ` James Ausmus
@ 2008-01-23 16:31       ` Dale
  1 sibling, 0 replies; 34+ messages in thread
From: Dale @ 2008-01-23 16:31 UTC (permalink / raw
  To: gentoo-user

James wrote:
> <<  SNIP >>
>
> Maybe the '/usr/bin/emerge' executable is corrupted. Can I 
> just scp over a copy from another similar arch machine?
>
>
> Any other ideas?
>
> James
>
>
>   

http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml

Dale

:-)  :-) 
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user]  Re: emerge error
  2008-01-23 16:29         ` James
@ 2008-01-23 16:39           ` James
  2008-01-23 16:49             ` Neil Bothwick
  2008-01-24  5:12             ` Joseph
  0 siblings, 2 replies; 34+ messages in thread
From: James @ 2008-01-23 16:39 UTC (permalink / raw
  To: gentoo-user

James <wireless <at> tampabay.rr.com> writes:


> James Ausmus <james.ausmus <at> gmail.com> writes:

>   File "/usr/lib/portage/pym/cache/flat_hash.py", line 122, in __iter__
>     st = os.lstat(p)
> OSError: [Errno 13] Permission denied: 
> '/var/cache/edb/dep/usr/portage/net-zope'


Well here is the problem:
in '/var/cache/edb/dep/usr/portage'

drwxrwsr-x 2 root portage  1480 Jan 10 13:41 net-www
?????????? ? ?    ?           ?            ? net-zope
drwxrwsr-x 2 root portage  3024 Jan 22 22:29 perl-core


But I cannot remove it?

rm -rf ./net-zope
rm: cannot remove `./net-zope': Permission denied

cp /dev/null net-zope
cp: accessing `net-zope': Permission denied

rmdir net-zope
rmdir: net-zope: Permission denied

chown root:portage net-zope
chown: cannot access `net-zope': Permission denied


ideas?

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user]  Re: emerge error
  2008-01-23 16:39           ` James
@ 2008-01-23 16:49             ` Neil Bothwick
  2008-01-23 18:33               ` James
  2008-01-24  5:12             ` Joseph
  1 sibling, 1 reply; 34+ messages in thread
From: Neil Bothwick @ 2008-01-23 16:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

On Wed, 23 Jan 2008 16:39:51 +0000 (UTC), James wrote:

> ideas?

fsck. If that fails, copy off the data you can and reformat, the
filesystem is screwed.


-- 
Neil Bothwick

You shall know the truth, and you shall freak.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user]  Re: emerge error
  2008-01-23 16:49             ` Neil Bothwick
@ 2008-01-23 18:33               ` James
  2008-01-23 19:37                 ` Neil Bothwick
  0 siblings, 1 reply; 34+ messages in thread
From: James @ 2008-01-23 18:33 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil <at> digimed.co.uk> writes:


> > ideas?

> fsck. If that fails, copy off the data you can and reformat, the
> filesystem is screwed.

Roger that. 

Here's an idea, since it's a minimal firewall, that I'm currently using,
and scp works.

dd  over ssh everything onto a 8G Compact Flash card  that is plugged
into another system and then install the CF card into an ide-to-cf socket
reboot and then emerge-sync? think this will work?


The partions are simple on the existing firewall:
/dev/hda3              18G  2.1G   16G  12% /
udev                  125M  2.6M  123M   3% /dev
shm                   125M     0  125M   0% /dev/shm
/dev/hda1             393M   46M  347M  12% /boot

Next format the CF card similar to the above scheme.

<not sure exactly how to run dd over ssh any (syntax) ideas? >


Then install CF disk into similar arch machine (amd k6)and boot it
up.

Since I have quite a few of these machine and several friends
running on similar firewalls, it's time I start using CF drvies
and develop a procedure to replicate the firewalls, without
3 days of install, configuring and compiling.

Do you think this will work?
Did I miss any steps?


I do not want to reboot until I get an second firewall working.....


James



-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user]  Re: emerge error
  2008-01-23 18:33               ` James
@ 2008-01-23 19:37                 ` Neil Bothwick
  2008-01-23 20:08                   ` James
  0 siblings, 1 reply; 34+ messages in thread
From: Neil Bothwick @ 2008-01-23 19:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 530 bytes --]

On Wed, 23 Jan 2008 18:33:19 +0000 (UTC), James wrote:

> dd  over ssh everything onto a 8G Compact Flash card  that is plugged
> into another system and then install the CF card into an ide-to-cf
> socket reboot and then emerge-sync? think this will work?

No, because it will copy the corruption too. You'll end up with a byte
for byte copy of your broken filesystem. If fsck won't fix it, backup,
reformat, restore is the only safe fix.


-- 
Neil Bothwick

To whom the gods destroy, they first teach Windows...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user]  Re: emerge error
  2008-01-23 19:37                 ` Neil Bothwick
@ 2008-01-23 20:08                   ` James
  2008-01-23 23:32                     ` Neil Bothwick
  0 siblings, 1 reply; 34+ messages in thread
From: James @ 2008-01-23 20:08 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil <at> digimed.co.uk> writes:


> > dd  over ssh everything onto a 8G Compact Flash card  that is plugged
> > into another system and then install the CF card into an ide-to-cf
> > socket reboot and then emerge-sync? think this will work?

> No, because it will copy the corruption too. You'll end up with a byte
> for byte copy of your broken filesystem. If fsck won't fix it, backup,
> reformat, restore is the only safe fix.


If I reboot, I *may* loose the firewall completely, depending on what the
drive does. The only safe thing is to build another firewall before
rebooting the current firewall (then see if fsck will fix it).......

Either way, once I build a new firewall, I'm going to copy it
to CF and be done with these old ide drives.........

thx


James







-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user]  Re: emerge error
  2008-01-23 20:08                   ` James
@ 2008-01-23 23:32                     ` Neil Bothwick
  2008-01-24  3:33                       ` Hal Martin
  2008-01-24 13:46                       ` James
  0 siblings, 2 replies; 34+ messages in thread
From: Neil Bothwick @ 2008-01-23 23:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]

On Wed, 23 Jan 2008 20:08:00 +0000 (UTC), James wrote:

> > No, because it will copy the corruption too. You'll end up with a byte
> > for byte copy of your broken filesystem. If fsck won't fix it, backup,
> > reformat, restore is the only safe fix.  
 
> If I reboot, I *may* loose the firewall completely, depending on what
> the drive does. The only safe thing is to build another firewall before
> rebooting the current firewall (then see if fsck will fix it).......

Then don't reboot. Mount another drive somewhere temporary, copy the
contents of /var to it, then unmount /var and mount the new drive
on /var. Reformat the original filesystem and reverse the process.

> Either way, once I build a new firewall, I'm going to copy it
> to CF and be done with these old ide drives.........

Use a suitable filesystem, or the flash memory will die very quickly,
especially if you put /var on it.


-- 
Neil Bothwick

New Intel opcode #007 PUKE: Put unmeaningful keywords everywhere

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user]  Re: emerge error
  2008-01-23 23:32                     ` Neil Bothwick
@ 2008-01-24  3:33                       ` Hal Martin
  2008-01-24 13:46                       ` James
  1 sibling, 0 replies; 34+ messages in thread
From: Hal Martin @ 2008-01-24  3:33 UTC (permalink / raw
  To: gentoo-user

If you need another firewall in the interim, I would suggest giving
IPCop a try. I've been using it as a gateway OS for 5 years now and it's
been solid for the entire time.

Or, if you'd really rather stick with Gentoo, you could run IPCop on
another of your K6 machines until you rebuild the Gentoo one.

-Hal

Neil Bothwick wrote:
> On Wed, 23 Jan 2008 20:08:00 +0000 (UTC), James wrote:
>
>   
>>> No, because it will copy the corruption too. You'll end up with a byte
>>> for byte copy of your broken filesystem. If fsck won't fix it, backup,
>>> reformat, restore is the only safe fix.  
>>>       
>  
>   
>> If I reboot, I *may* loose the firewall completely, depending on what
>> the drive does. The only safe thing is to build another firewall before
>> rebooting the current firewall (then see if fsck will fix it).......
>>     
>
> Then don't reboot. Mount another drive somewhere temporary, copy the
> contents of /var to it, then unmount /var and mount the new drive
> on /var. Reformat the original filesystem and reverse the process.
>
>   
>> Either way, once I build a new firewall, I'm going to copy it
>> to CF and be done with these old ide drives.........
>>     
>
> Use a suitable filesystem, or the flash memory will die very quickly,
> especially if you put /var on it.
>
>
>   

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user]  Re: emerge error
  2008-01-23 16:39           ` James
  2008-01-23 16:49             ` Neil Bothwick
@ 2008-01-24  5:12             ` Joseph
  1 sibling, 0 replies; 34+ messages in thread
From: Joseph @ 2008-01-24  5:12 UTC (permalink / raw
  To: gentoo-user

On 01/23/08 16:39, James wrote:
>> OSError: [Errno 13] Permission denied: 
>> '/var/cache/edb/dep/usr/portage/net-zope'
>
>
>Well here is the problem:
>in '/var/cache/edb/dep/usr/portage'
>
>drwxrwsr-x 2 root portage  1480 Jan 10 13:41 net-www
>?????????? ? ?    ?           ?            ? net-zope
>drwxrwsr-x 2 root portage  3024 Jan 22 22:29 perl-core
>
>
>But I cannot remove it?
>
>rm -rf ./net-zope
>rm: cannot remove `./net-zope': Permission denied
>
>cp /dev/null net-zope
>cp: accessing `net-zope': Permission denied
>
>rmdir net-zope
>rmdir: net-zope: Permission denied
>
>chown root:portage net-zope
>chown: cannot access `net-zope': Permission denied
>
>
>ideas?

Try booting from Live Gentoo CD (or Knopix) mount the partition and delete that file.

-- 
#Joseph
GPG KeyID: ED0E1FB7
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user]  Re: emerge error
  2008-01-23 23:32                     ` Neil Bothwick
  2008-01-24  3:33                       ` Hal Martin
@ 2008-01-24 13:46                       ` James
  2008-01-24 20:07                         ` Neil Bothwick
  1 sibling, 1 reply; 34+ messages in thread
From: James @ 2008-01-24 13:46 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil <at> digimed.co.uk> writes:


> > If I reboot, I *may* loose the firewall completely, depending on what
> > the drive does. The only safe thing is to build another firewall before
> > rebooting the current firewall (then see if fsck will fix it).......

> Then don't reboot. Mount another drive somewhere temporary, copy the
> contents of /var to it, then unmount /var and mount the new drive
> on /var. Reformat the original filesystem and reverse the process.

Earlier I posted the partitions:
/dev/hda3              18G  2.1G   16G  12% /
udev                  125M  2.6M  123M   3% /dev
shm                   125M     0  125M   0% /dev/shm
/dev/hda1             393M   46M  347M  12% /boot

since /var is part of / (on the same partition) will this still work?

> > Either way, once I build a new firewall, I'm going to copy it
> > to CF and be done with these old ide drives.........

> Use a suitable filesystem, or the flash memory will die very quickly,
> especially if you put /var on it.


What would be the best file system to use on said CF HD to extend the life?
I usually use the reiserfs on  boot and root (simple partioning scheme).
But, I'm open to suggestions here.


The other thing I'm going to do is keep a master (k6) system with
a good HD for compiling updates and start  distributing binaries
to all of the other k6 (586) firewalls.... That should greatly
help extend the life too..... (any ideas on the caveats of this
scheme are most welcome).....

James




-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user]  Re: emerge error
  2008-01-24 13:46                       ` James
@ 2008-01-24 20:07                         ` Neil Bothwick
  2008-01-25  1:34                           ` James
  0 siblings, 1 reply; 34+ messages in thread
From: Neil Bothwick @ 2008-01-24 20:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]

On Thu, 24 Jan 2008 13:46:04 +0000 (UTC), James wrote:

> > Then don't reboot. Mount another drive somewhere temporary, copy the
> > contents of /var to it, then unmount /var and mount the new drive
> > on /var. Reformat the original filesystem and reverse the process.  
> 
> Earlier I posted the partitions:
> /dev/hda3              18G  2.1G   16G  12% /
> udev                  125M  2.6M  123M   3% /dev
> shm                   125M     0  125M   0% /dev/shm
> /dev/hda1             393M   46M  347M  12% /boot
> 
> since /var is part of / (on the same partition) will this still work?

No, another reason to keep /var, and as much else as possible, away
from /.

> > Use a suitable filesystem, or the flash memory will die very quickly,
> > especially if you put /var on it.  

> What would be the best file system to use on said CF HD to extend the
> life? I usually use the reiserfs on  boot and root (simple partioning
> scheme). But, I'm open to suggestions here.

JFFS2, or budget on replacing the cards every couple of months.


-- 
Neil Bothwick

First Law of Laboratory Work:
Hot glass looks exactly the same as cold glass.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user]  Re: emerge error
  2008-01-24 20:07                         ` Neil Bothwick
@ 2008-01-25  1:34                           ` James
  0 siblings, 0 replies; 34+ messages in thread
From: James @ 2008-01-25  1:34 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil <at> digimed.co.uk> writes:


> JFFS2, or budget on replacing the cards every couple of months.


Thanks to everyone that helps,

thx Neil,


James






-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 34+ messages in thread

* [gentoo-user] emerge Error
@ 2009-03-12 12:33 dhk
  2009-03-12 12:42 ` Justin
  0 siblings, 1 reply; 34+ messages in thread
From: dhk @ 2009-03-12 12:33 UTC (permalink / raw
  To: gentoo-user

All,

After sync'ing yesterday and getting a whole bunch of packages evince
had problems and gnome never got installed.  Today after sync'ing I get
the following which doesn't make sense to me.  Can someone help.

# emerge -uDNp world
!!! CONFIG_PROTECT is empty
These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy
">=app-text/poppler-bindings-0.8[gtk,cairo]".
!!! One of the following packages is required to complete your request:
- app-text/poppler-bindings-0.10.4 (Change USE: +cairo)
(dependency required by "app-text/evince-2.24.2" [ebuild])
(dependency required by "gnome-base/gnome-2.24.1" [ebuild])
(dependency required by "world" [argument])

Thanks,

Dave



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge Error
  2009-03-12 12:33 [gentoo-user] emerge Error dhk
@ 2009-03-12 12:42 ` Justin
  2009-03-12 14:13   ` dhk
  0 siblings, 1 reply; 34+ messages in thread
From: Justin @ 2009-03-12 12:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 160 bytes --]

dhk schrieb:

> - app-text/poppler-bindings-0.10.4 (Change USE: +cairo)


This line tells you what to do:

reemerge poppler-bindings with USE="cairo"


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [gentoo-user] emerge Error
  2009-03-12 12:42 ` Justin
@ 2009-03-12 14:13   ` dhk
  0 siblings, 0 replies; 34+ messages in thread
From: dhk @ 2009-03-12 14:13 UTC (permalink / raw
  To: gentoo-user

Justin wrote:
> dhk schrieb:
> 
>> - app-text/poppler-bindings-0.10.4 (Change USE: +cairo)
> 
> 
> This line tells you what to do:
> 
> reemerge poppler-bindings with USE="cairo"
> 
That worked, Thanks.



^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2009-03-12 14:14 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23  3:08 [gentoo-user] emerge error James
2008-01-23  5:58 ` James Ausmus
2008-01-23  7:41   ` KH
2008-01-23 16:03     ` [gentoo-user] " James
2008-01-23 16:13       ` James Ausmus
2008-01-23 16:29         ` James
2008-01-23 16:39           ` James
2008-01-23 16:49             ` Neil Bothwick
2008-01-23 18:33               ` James
2008-01-23 19:37                 ` Neil Bothwick
2008-01-23 20:08                   ` James
2008-01-23 23:32                     ` Neil Bothwick
2008-01-24  3:33                       ` Hal Martin
2008-01-24 13:46                       ` James
2008-01-24 20:07                         ` Neil Bothwick
2008-01-25  1:34                           ` James
2008-01-24  5:12             ` Joseph
2008-01-23 16:31       ` Dale
  -- strict thread matches above, loose matches on Subject: below --
2009-03-12 12:33 [gentoo-user] emerge Error dhk
2009-03-12 12:42 ` Justin
2009-03-12 14:13   ` dhk
2006-11-08 14:03 [gentoo-user] emerge error Stefán István
2006-11-08 14:18 ` Hemmann, Volker Armin
2006-11-08 14:29   ` Stefán István
2006-11-08 14:39   ` Bo Ørsted Andresen
2006-11-08 15:10     ` Stefán István
2006-02-24 14:56 John Fawcett
2006-02-24 15:04 ` Michael Smith
2006-02-24 15:13   ` Holly Bostick
2006-02-24 15:07 ` Jason Stubbs
2006-02-24 15:41   ` John Fawcett
2005-07-15  1:42 Karsten Gebbert
2005-07-15  3:50 ` Zac Medico
2005-07-15  4:00   ` Karsten Gebbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox