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

Bug 173190

Summary: Document unmerging prelink to prelink howto
Product: [OLD] Docs on www.gentoo.org Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: Other documentsAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dev-portage, toolchain
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/prelink-howto.xml
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2007-04-02 19:38:45 UTC
Before you unmerge prelink you should remove prelinking from binaries or Portage will fail md5 checks and not remove the files. This message should go to the prelink pkg_postrm and the guide.
Comment 1 Zac Medico gentoo-dev 2007-04-02 19:52:09 UTC
Something like `prelink -au` should do the trick.  Also, then need to make sure that /etc/cron.daily/prelink doesn't run during or after the run `prelink -au`, so they should remove the cronjob first.
Comment 2 nm (RETIRED) gentoo-dev 2007-04-03 03:50:30 UTC
Fixed in CVS, thanks for reporting & the comments.
Comment 3 SpanKY gentoo-dev 2007-04-04 06:12:42 UTC
i dont fancy putting stuff into pkg_postrm since there's no trivial way of detecting whether you're doing an unmerge or an upgrade ... the function is called in both cases and we wouldnt want the message shown in the latter ...
Comment 4 nm (RETIRED) gentoo-dev 2007-04-04 14:25:05 UTC
Oops, reopening for the portage/toolchain team to deal with their part of it.
Comment 5 nm (RETIRED) gentoo-dev 2007-04-04 14:25:35 UTC
Reassigning.
Comment 6 Zac Medico gentoo-dev 2007-10-07 04:08:53 UTC
Since portage-2.1.3 this isn't much of an issue anymore because bug #134620 is solved via FEATURES="unmerge-orphans" which is enabled by default.