public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] sablotron emerge problem
@ 2005-09-06  6:27 Martin Muellenberg
  2005-09-06  6:59 ` Zac Medico
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Muellenberg @ 2005-09-06  6:27 UTC (permalink / raw
  To: gentoo-user

hi all,

i have the following problem when emerging sth.
for example is this produced by emerge gnuplot:
...
>>> Regenerating /etc/ld.so.cache...
>>> media-gfx/gnuplot-4.0-r1 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

 app-text/sablotron
    selected: 1.0
   protected: 1.0.1
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging app-text/sablotron-1.0...
No package files given... Grabbing a set.
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3206, in ?
    unmerge("clean", ["world"])
  File "/usr/bin/emerge", line 2251, in unmerge
    
retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_action 
not in ["clean","prune"])
  File "/usr/lib/portage/pym/portage.py", line 2901, in unmerge
    mylink.unmerge(trimworld=mytrimworld,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 6119, in unmerge
    spawn("bzip2 -d "+self.dbdir+"/environment.bz2",self.settings,free=1)
  File "/usr/lib/portage/pym/portage.py", line 1603, in spawn
    return portage_exec.spawn_bash(mystring,env=env,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 48, in spawn_bash
    return spawn(args,env=env,opt_name=opt_name,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 164, in spawn
    raise str(e)+":\n   "+myc+" "+string.join(myargs)
execve() arg 3 contains a non-string value:
   /bin/bash [sablotron-1.0] bash -c bzip2 
-d /var/db/pkg/app-text/sablotron-1.0/environment.bz2
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3206, in ?
    unmerge("clean", ["world"])
  File "/usr/bin/emerge", line 2251, in unmerge
    
retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_action 
not in ["clean","prune"])
  File "/usr/lib/portage/pym/portage.py", line 2901, in unmerge
    mylink.unmerge(trimworld=mytrimworld,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 6130, in unmerge
    
a=doebuild(myebuildpath,"prerm",self.myroot,self.settings,cleanup=cleanup,use_cache=0,tree="vartree")
  File "/usr/lib/portage/pym/portage.py", line 2611, in doebuild
    return spawn(EBUILD_SH_BINARY+" 
"+mydo,mysettings,debug=debug,free=1,logfile=logfile)
  File "/usr/lib/portage/pym/portage.py", line 1603, in spawn
    return portage_exec.spawn_bash(mystring,env=env,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 48, in spawn_bash
    return spawn(args,env=env,opt_name=opt_name,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 164, in spawn
    raise str(e)+":\n   "+myc+" "+string.join(myargs)
execve() arg 3 contains a non-string value:
   /bin/bash [sablotron-1.0] bash -c /usr/lib/portage/bin/ebuild.sh prerm
!!! FAILED prerm: 1
localhost marmll #

i get the same error message when reemerging sablotron itself.
i am very thankful for any kind of tip.

martin muellenberg 
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] sablotron emerge problem
  2005-09-06  6:27 [gentoo-user] sablotron emerge problem Martin Muellenberg
@ 2005-09-06  6:59 ` Zac Medico
  2005-09-06  8:05   ` Neil Bothwick
  2005-09-06 10:09   ` Martin Muellenberg
  0 siblings, 2 replies; 4+ messages in thread
From: Zac Medico @ 2005-09-06  6:59 UTC (permalink / raw
  To: gentoo-user

Martin Muellenberg wrote:
>   File "/usr/lib/portage/pym/portage_exec.py", line 164, in spawn
>     raise str(e)+":\n   "+myc+" "+string.join(myargs)
> execve() arg 3 contains a non-string value:
>    /bin/bash [sablotron-1.0] bash -c bzip2 

This could indicate corruption in /var/db/pkg/app-text/sablotron-1.0/CONTENTS.  For example, see http://bugs.gentoo.org/show_bug.cgi?id=86679.  If you simply "rm -r /var/db/pkg/app-text/sablotron-1.0" then portage will continue as if it is not installed.

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



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

* Re: [gentoo-user] sablotron emerge problem
  2005-09-06  6:59 ` Zac Medico
@ 2005-09-06  8:05   ` Neil Bothwick
  2005-09-06 10:09   ` Martin Muellenberg
  1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2005-09-06  8:05 UTC (permalink / raw
  To: gentoo-user

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

On Mon, 05 Sep 2005 23:59:53 -0700, Zac Medico wrote:

> This could indicate corruption
> in /var/db/pkg/app-text/sablotron-1.0/CONTENTS.  For example, see
> http://bugs.gentoo.org/show_bug.cgi?id=86679.  If you simply "rm
> -r /var/db/pkg/app-text/sablotron-1.0" then portage will continue as if
> it is not installed.

However, if it is installed, it would be best to re-emerge it to
straighten up the database.


-- 
Neil Bothwick

In the begining, there was nothing.

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

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

* Re: [gentoo-user] sablotron emerge problem
  2005-09-06  6:59 ` Zac Medico
  2005-09-06  8:05   ` Neil Bothwick
@ 2005-09-06 10:09   ` Martin Muellenberg
  1 sibling, 0 replies; 4+ messages in thread
From: Martin Muellenberg @ 2005-09-06 10:09 UTC (permalink / raw
  To: gentoo-user

On Tuesday 06 September 2005 14:59, Zac Medico wrote:
> Martin Muellenberg wrote:
> >   File "/usr/lib/portage/pym/portage_exec.py", line 164, in spawn
> >     raise str(e)+":\n   "+myc+" "+string.join(myargs)
> > execve() arg 3 contains a non-string value:
> >    /bin/bash [sablotron-1.0] bash -c bzip2
>
> This could indicate corruption in
> /var/db/pkg/app-text/sablotron-1.0/CONTENTS.  For example, see
> http://bugs.gentoo.org/show_bug.cgi?id=86679.  If you simply "rm -r
> /var/db/pkg/app-text/sablotron-1.0" then portage will continue as if it is
> not installed.
>
> Zac

thank you for the tip. i did "rm -r /var/db/pkg/app-text/sablotron-1.0" and 
afterwards a reemerge of sablotron. now everything is fine.

martin muellenberg
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-09-06 10:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-06  6:27 [gentoo-user] sablotron emerge problem Martin Muellenberg
2005-09-06  6:59 ` Zac Medico
2005-09-06  8:05   ` Neil Bothwick
2005-09-06 10:09   ` Martin Muellenberg

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