Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293157 - emerge --depclean wants to unmerge sources related with current running kernel
Summary: emerge --depclean wants to unmerge sources related with current running kernel
Status: RESOLVED DUPLICATE of bug 283587
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-14 10:41 UTC by Pacho Ramos
Modified: 2009-11-17 13:15 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 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 ***