Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139880 - bash error when unmerging nvidia-kernel-1.0.6111-r2: non-string argument
Summary: bash error when unmerging nvidia-kernel-1.0.6111-r2: non-string argument
Status: VERIFIED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-10 07:13 UTC by Fred Labrosse
Modified: 2006-07-10 08:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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