Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173190 - Document unmerging prelink to prelink howto
Summary: Document unmerging prelink to prelink howto
Status: RESOLVED WORKSFORME
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://www.gentoo.org/doc/en/prelink-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-02 19:38 UTC by Petteri Räty (RETIRED)
Modified: 2007-10-07 04:08 UTC (History)
2 users (show)

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 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.