From: Zac Medico <zmedico@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to comletely remove some package?
Date: Fri, 05 Aug 2005 11:25:19 -0700 [thread overview]
Message-ID: <42F3AF0F.1030709@gmail.com> (raw)
In-Reply-To: <5bdc1c8b0508051007576eea23@mail.gmail.com>
Mark Knecht wrote:
> Generally speaking, something like:
>
> 1) emerge -Cp package
> 2) emerge -pv --deep --update --newuse world
> 3) emerge -pv --depclean
> 4) revdep-rebuild -p
>
> This should get rid of a package and any dependencies that are no longer needed.
>
> NOTE: There have been some discussions about needing to do one or more
> of these steps multiple times. Hopefully my answer will spur someone
> with knowledge of that to point out if and when that is required.
>
> Cheers,
> Mark
>
At build time, some packages will link against unwanted libraries. Even though the unwanted library may not be strictly required, the ebuild may not support a way to disable it with use flags. For this reason, it's a good idea to add another step to your sequence:
1.5) emerge -av depclean
Some libraries that seem to actually link against the installed version at build time. This results in broken dynamic links when the installed version is replaced with the freshly built one. In these situations, a simple workaround is to unmerge the installed version before rebuilding it.
Zac
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-05 18:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-05 9:11 [gentoo-user] How to comletely remove some package? cadaver
2005-08-05 17:07 ` Mark Knecht
2005-08-05 18:25 ` Zac Medico [this message]
2005-08-05 19:06 ` Mark Knecht
2005-08-05 19:16 ` Zac Medico
2005-08-05 17:55 ` Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42F3AF0F.1030709@gmail.com \
--to=zmedico@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox