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
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.
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).
http://tinyurl.com/ljcjz
Thanks