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

Bug 293157

Summary: emerge --depclean wants to unmerge sources related with current running kernel
Product: Portage Development Reporter: Pacho Ramos <pacho>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2009-11-14 10:41:49 UTC
This could be related with bug 198200 and bug 283587 but I think it's not exactly a dupe of them.

The problem is the following: 
I admin some systems remotely, then, I usually perform updates on them, but, when a new gentoo-sources ebuild reaches the tree, emerge --depclean always want to unmerge sources related with current running kernel (that can be checked simply running "uname -a"), causing me to have to run "emerge --noreplace `desired version`" every time.

I want to preserve sources related with running kernel as I don't want to compile and reboot to new kernel until another people is near the machine, since something could fail and it's important that these machines keep running :-/

Thanks

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2009-11-15 23:58:46 UTC
If we can assume that /usr/src/linux points to the running kernel, then this is a duplicate of bug 283587. It's more complex to parse uname and map it back to a package, so it's better avoided.
Comment 2 Pacho Ramos gentoo-dev 2009-11-17 13:15:47 UTC
OK, if it's harder to do, no problem, "link checking" would be enough for me

Thanks and sorry for the inconvenience

*** This bug has been marked as a duplicate of bug 283587 ***