Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139880

Summary: bash error when unmerging nvidia-kernel-1.0.6111-r2: non-string argument
Product: Gentoo Linux Reporter: Fred Labrosse <ffl>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED CANTFIX    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fred Labrosse 2006-07-10 07:13:48 UTC
I'm trying to unmerge an old version of nvidia-kernel (6111) and when I get:

# emerge -C nvidia-kernel

 media-video/nvidia-kernel
    selected: 1.0.6111-r2
   protected: none
     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 media-video/nvidia-kernel-1.0.6111-r2...
No package files given... Grabbing a set.
execve() arg 3 contains a non-string value:
   /bin/bash -c bzip2 -d /var/db/pkg/media-video/nvidia-kernel-1.0.6111-r2/environment.bz2
execve() arg 3 contains a non-string value:
   /bin/bash -c /usr/lib/portage/bin/ebuild.sh prerm
!!! FAILED prerm: 1

Using directly ebuild does the same:

# ebuild /var/db/pkg/media-video/nvidia-kernel-1.0.6111-r2/nvidia-kernel-1.0.6111-r2.ebuild unmerge
No package files given... Grabbing a set.
execve() arg 3 contains a non-string value:
   /bin/bash -c bzip2 -d /var/db/pkg/media-video/nvidia-kernel-1.0.6111-r2/environment.bz2
execve() arg 3 contains a non-string value:
   /bin/bash -c /usr/lib/portage/bin/ebuild.sh prerm
!!! FAILED prerm: 1
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-10 07:41:03 UTC
Sorry, we can't fix ebuilds that are no longer in portage, and we can't fix your corrupt CONTENTS file either. 

Fix your /var/db/pkg/media-video/nvidia-kernel-1.0.6111-r2/CONTENTS and it will work.
Comment 2 Fred Labrosse 2006-07-10 07:53:29 UTC
Could you please be a bit more specific about fixing my CONTENTS?  And how do you know it is corrupt?

Sorry to ask these, but your answer was a bit cryptic to me (and no doubt to others who might have a similar problem).
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-10 07:55:37 UTC
http://tinyurl.com/ljcjz
Comment 4 Fred Labrosse 2006-07-10 08:01:28 UTC
Thanks