From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: can fix preserved-rebuild ...
Date: Sat, 6 Jun 2009 19:23:13 +0200 [thread overview]
Message-ID: <200906061923.13739.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <h0e55v$t3h$1@ger.gmane.org>
On Saturday 06 June 2009 18:23:26 walt wrote:
> William Kenworthy wrote:
> > After each update, these appear, and for libusb, the number slowly
> > increases (up to 185 now). so far I have done the suggested "emerge
> > @preserved-rebuild", plus tried rebuilding every package mentioned but
> > after building, there is no change ...
> >
> > !!! existing preserved libs:
> >>>> package: dev-libs/libusb-0.1.12-r5
> >
> > * - /lib/libusb.so
> > * used by /lib/udev/check-mtp-device (media-libs/libgphoto2-2.4.3)
> > * used by /usr/bin/dfutool (net-wireless/bluez-utils-3.36)
> > * used by /usr/bin/evolution (mail-client/evolution-2.26.2)
> > * used by 185 other files
> >
> >>>> package: x11-libs/libXaw-1.0.5
> >
> > * - /usr/lib/libXaw.so.8
> > * - /usr/lib/libXaw8.so
> > * - /usr/lib/libXaw8.so.8
> > * - /usr/lib/libXaw8.so.8.0.0
> > * used by /usr/bin/xgpsspeed (sci-geosciences/gpsd-2.38)
> > Use emerge @preserved-rebuild to rebuild packages using these libraries
> > rattus ~ #
>
> Are you using an unstable version of gentoo, e.g. ~x86 or ~amd64? The
> only reason I know of for 'preserving' an old version is if there is also
> a newer one, i.e. libusb-1.0.1, which is a ~ version.
>
> On my ~amd64 machine I had both libusb-0.1.12-r5 and libusb-1.0.1.
> I just deleted the 0.1.12 and revdep-rebuild found and rebuilt usbutils,
> hal, and sane-backends with no problems, so there seems to be no reason
> to have the old version unless you perhaps have the new version masked
> on your machine for some reason?
Your assessment of the problem is incorrect. preserved-rebuild happens when
you upgrade a package which other packages link to and causes brokenness. When
the "used by" package is rebuilt, there is no need for the old live version to
be kept (it's only consumers no longer do so) so it is unmerged.
Think of it this way:
revdep-rebuild finds broken packages after the fact when they are already
broken.
preserved-rebuild detects those problems before they occur and takes measure
to keep the system working meanwhile.
You will notice that after running "emerge @preserved-rebuild", revdep-rebuild
almost invariably returns null results.
As for the OP, I can only guess what might be causing this. Let's start with
obvious stuff:
1. Is portage the latest version for your arch?
2. What does revdep-rebuild return?
3. What is your arch, and is it a mixture of stable and ~?
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2009-06-06 17:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-06 12:03 [gentoo-user] can fix preserved-rebuild William Kenworthy
2009-06-06 16:23 ` [gentoo-user] " walt
2009-06-06 17:23 ` Alan McKinnon [this message]
2009-06-06 21:10 ` walt
2009-06-06 21:37 ` Alan McKinnon
2009-06-06 21:50 ` Dale
2009-06-07 1:28 ` William Kenworthy
2009-06-07 15:02 ` Alan McKinnon
2009-06-07 15:21 ` walt
2009-06-07 15:38 ` Alan McKinnon
2009-06-07 16:15 ` Graham Murray
2009-06-07 16:11 ` Neil Bothwick
2009-06-08 12:25 ` William Kenworthy
2009-06-08 12:32 ` William Kenworthy
2009-06-08 12:53 ` Neil Bothwick
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=200906061923.13739.alan.mckinnon@gmail.com \
--to=alan.mckinnon@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