public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
@ 2009-12-07 18:10 Jarry
  2009-12-07 18:46 ` Alan McKinnon
  2009-12-07 21:17 ` Mark Knecht
  0 siblings, 2 replies; 9+ messages in thread
From: Jarry @ 2009-12-07 18:10 UTC (permalink / raw
  To: gentoo-user

Hi,
I update my server quite frequently without any problem, but
today after running "emerge -uDN world" I got these messages:

-----
!!! existing preserved libs:
 >>> package: sys-libs/e2fsprogs-libs-1.41.9
  *  - /lib64/libuuid.so
  *      used by /bin/mount (sys-apps/util-linux-2.16.1)
  *      used by /bin/umount (sys-apps/util-linux-2.16.1)
  *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
  *      used by 16 other files
  *  - /lib64/libblkid.so
  *      used by /bin/mount (sys-apps/util-linux-2.16.1)
  *      used by /bin/umount (sys-apps/util-linux-2.16.1)
  *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
  *      used by 8 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
-----

So I did run "emerge @preserved-rebuild", but at the end
of it I got the very same messages. How can I solve this?

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
  2009-12-07 18:10 [gentoo-user] How can I solve "emerge @preserved-rebuild" loop? Jarry
@ 2009-12-07 18:46 ` Alan McKinnon
  2009-12-08 11:06   ` dhk
  2009-12-07 21:17 ` Mark Knecht
  1 sibling, 1 reply; 9+ messages in thread
From: Alan McKinnon @ 2009-12-07 18:46 UTC (permalink / raw
  To: gentoo-user; +Cc: Jarry

On Monday 07 December 2009 20:10:31 Jarry wrote:
> Hi,
> I update my server quite frequently without any problem, but
> today after running "emerge -uDN world" I got these messages:
> 
> -----
> 
> !!! existing preserved libs:
>  >>> package: sys-libs/e2fsprogs-libs-1.41.9
> 
>   *  - /lib64/libuuid.so
>   *      used by /bin/mount (sys-apps/util-linux-2.16.1)
>   *      used by /bin/umount (sys-apps/util-linux-2.16.1)
>   *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
>   *      used by 16 other files
>   *  - /lib64/libblkid.so
>   *      used by /bin/mount (sys-apps/util-linux-2.16.1)
>   *      used by /bin/umount (sys-apps/util-linux-2.16.1)
>   *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
>   *      used by 8 other files
> Use emerge @preserved-rebuild to rebuild packages using these libraries
> -----
> 
> So I did run "emerge @preserved-rebuild", but at the end
> of it I got the very same messages. How can I solve this?


An old version of e2fsprogs-libs provided some libs that the programs in util-
linux linked to. Portage realised after updating e2fsprogs-libs that these 
libs are still in use so have not deleted them until everything using them no 
longer does. Sometimes it gets itself confused. Others report that running 
emerge @preserved-rebuild multiple times fixes it, but I'm not so sure. It 
think it's more a case of the various ld* utils don't do the right thing at 
the right time - just yesterday I had b0rked @preserved-rebuild output fix 
itself after a reboot with no extra emerging done.

Try this:

Run ldd on a few of the listed binaries using old libs, eyeball the output and 
apply brainpower, followed by:

emerge -av1 util-linux
emerge -avC e2fsprogs-libs ; emerge -av1 e2fsprogs-libs

revdep-rebuild won't help you here, as the binaries are not broken. It will 
only confirm internal consistency once preserved-rebuild appears to have 
sorted itself out.


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
  2009-12-07 18:10 [gentoo-user] How can I solve "emerge @preserved-rebuild" loop? Jarry
  2009-12-07 18:46 ` Alan McKinnon
@ 2009-12-07 21:17 ` Mark Knecht
  1 sibling, 0 replies; 9+ messages in thread
From: Mark Knecht @ 2009-12-07 21:17 UTC (permalink / raw
  To: gentoo-user

On Mon, Dec 7, 2009 at 10:10 AM, Jarry <mr.jarry@gmail.com> wrote:
> Hi,
> I update my server quite frequently without any problem, but
> today after running "emerge -uDN world" I got these messages:
>
> -----
> !!! existing preserved libs:
>>>> package: sys-libs/e2fsprogs-libs-1.41.9
>  *  - /lib64/libuuid.so
>  *      used by /bin/mount (sys-apps/util-linux-2.16.1)
>  *      used by /bin/umount (sys-apps/util-linux-2.16.1)
>  *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
>  *      used by 16 other files
>  *  - /lib64/libblkid.so
>  *      used by /bin/mount (sys-apps/util-linux-2.16.1)
>  *      used by /bin/umount (sys-apps/util-linux-2.16.1)
>  *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
>  *      used by 8 other files
> Use emerge @preserved-rebuild to rebuild packages using these libraries
> -----
>
> So I did run "emerge @preserved-rebuild", but at the end
> of it I got the very same messages. How can I solve this?
>
> Jarry

I saw this on every machine I updated recently. I did

emerge -C e2fsprogs-libs

and then

emerge -DuN world
revdep-rebuild -i

HTH,
Mark



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
  2009-12-07 18:46 ` Alan McKinnon
@ 2009-12-08 11:06   ` dhk
  2009-12-08 11:18     ` Alan McKinnon
  0 siblings, 1 reply; 9+ messages in thread
From: dhk @ 2009-12-08 11:06 UTC (permalink / raw
  To: gentoo-user; +Cc: Jarry

Alan McKinnon wrote:
> On Monday 07 December 2009 20:10:31 Jarry wrote:
>> Hi,
>> I update my server quite frequently without any problem, but
>> today after running "emerge -uDN world" I got these messages:
>>
>> -----
>>
>> !!! existing preserved libs:
>>  >>> package: sys-libs/e2fsprogs-libs-1.41.9
>>
>>   *  - /lib64/libuuid.so
>>   *      used by /bin/mount (sys-apps/util-linux-2.16.1)
>>   *      used by /bin/umount (sys-apps/util-linux-2.16.1)
>>   *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
>>   *      used by 16 other files
>>   *  - /lib64/libblkid.so
>>   *      used by /bin/mount (sys-apps/util-linux-2.16.1)
>>   *      used by /bin/umount (sys-apps/util-linux-2.16.1)
>>   *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
>>   *      used by 8 other files
>> Use emerge @preserved-rebuild to rebuild packages using these libraries
>> -----
>>
>> So I did run "emerge @preserved-rebuild", but at the end
>> of it I got the very same messages. How can I solve this?
> 
> 
> An old version of e2fsprogs-libs provided some libs that the programs in util-
> linux linked to. Portage realised after updating e2fsprogs-libs that these 
> libs are still in use so have not deleted them until everything using them no 
> longer does. Sometimes it gets itself confused. Others report that running 
> emerge @preserved-rebuild multiple times fixes it, but I'm not so sure. It 
> think it's more a case of the various ld* utils don't do the right thing at 
> the right time - just yesterday I had b0rked @preserved-rebuild output fix 
> itself after a reboot with no extra emerging done.
> 
> Try this:
> 
> Run ldd on a few of the listed binaries using old libs, eyeball the output and 
> apply brainpower, followed by:
> 
> emerge -av1 util-linux
> emerge -avC e2fsprogs-libs ; emerge -av1 e2fsprogs-libs
> 
> revdep-rebuild won't help you here, as the binaries are not broken. It will 
> only confirm internal consistency once preserved-rebuild appears to have 
> sorted itself out.
> 
> 
I have the same problem, but the "emerge -av1 util-linux" has blocking
issues with sys-fs/e2fsprogs.  Whenever I remove sys-fs stuff I usually
regret it.

dhk



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
  2009-12-08 11:06   ` dhk
@ 2009-12-08 11:18     ` Alan McKinnon
  2009-12-08 12:08       ` Dale
  0 siblings, 1 reply; 9+ messages in thread
From: Alan McKinnon @ 2009-12-08 11:18 UTC (permalink / raw
  To: gentoo-user

On Tuesday 08 December 2009 13:06:28 dhk wrote:
> Alan McKinnon wrote:
> > On Monday 07 December 2009 20:10:31 Jarry wrote:
> >> Hi,
> >> I update my server quite frequently without any problem, but
> >> today after running "emerge -uDN world" I got these messages:
> >>
> >> -----
> >>
> >> !!! existing preserved libs:
> >>  >>> package: sys-libs/e2fsprogs-libs-1.41.9
> >>
> >>   *  - /lib64/libuuid.so
> >>   *      used by /bin/mount (sys-apps/util-linux-2.16.1)
> >>   *      used by /bin/umount (sys-apps/util-linux-2.16.1)
> >>   *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
> >>   *      used by 16 other files
> >>   *  - /lib64/libblkid.so
> >>   *      used by /bin/mount (sys-apps/util-linux-2.16.1)
> >>   *      used by /bin/umount (sys-apps/util-linux-2.16.1)
> >>   *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
> >>   *      used by 8 other files
> >> Use emerge @preserved-rebuild to rebuild packages using these libraries
> >> -----
> >>
> >> So I did run "emerge @preserved-rebuild", but at the end
> >> of it I got the very same messages. How can I solve this?
> >
> > An old version of e2fsprogs-libs provided some libs that the programs in
> > util- linux linked to. Portage realised after updating e2fsprogs-libs
> > that these libs are still in use so have not deleted them until
> > everything using them no longer does. Sometimes it gets itself confused.
> > Others report that running emerge @preserved-rebuild multiple times fixes
> > it, but I'm not so sure. It think it's more a case of the various ld*
> > utils don't do the right thing at the right time - just yesterday I had
> > b0rked @preserved-rebuild output fix itself after a reboot with no extra
> > emerging done.
> >
> > Try this:
> >
> > Run ldd on a few of the listed binaries using old libs, eyeball the
> > output and apply brainpower, followed by:
> >
> > emerge -av1 util-linux
> > emerge -avC e2fsprogs-libs ; emerge -av1 e2fsprogs-libs
> >
> > revdep-rebuild won't help you here, as the binaries are not broken. It
> > will only confirm internal consistency once preserved-rebuild appears to
> > have sorted itself out.
> 
> I have the same problem, but the "emerge -av1 util-linux" has blocking
> issues with sys-fs/e2fsprogs.  Whenever I remove sys-fs stuff I usually
> regret it.

You must remove the e2fsprogs* packages, emerge util-linux and re-emerge 
e2fsprogs*

This is safe as long as you don't log out, reboot, kill bash or do other weird 
and wonderful things that require a working e2fsprogs.
 
Think of it this way:

delete your kernel image in /boot, do all kinds of stuff and put back a 
different kernel image named the same as the original. Nothing will go wrong 
*unless* you reboot|restart. Same with e2fprogs.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
  2009-12-08 11:18     ` Alan McKinnon
@ 2009-12-08 12:08       ` Dale
  2009-12-08 12:15         ` Alan McKinnon
  0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2009-12-08 12:08 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On Tuesday 08 December 2009 13:06:28 dhk wrote:
>   
>> Alan McKinnon wrote:
>>     
>>> On Monday 07 December 2009 20:10:31 Jarry wrote:
>>>       
>>>> Hi,
>>>> I update my server quite frequently without any problem, but
>>>> today after running "emerge -uDN world" I got these messages:
>>>>
>>>> -----
>>>>
>>>> !!! existing preserved libs:
>>>>  >>> package: sys-libs/e2fsprogs-libs-1.41.9
>>>>
>>>>   *  - /lib64/libuuid.so
>>>>   *      used by /bin/mount (sys-apps/util-linux-2.16.1)
>>>>   *      used by /bin/umount (sys-apps/util-linux-2.16.1)
>>>>   *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
>>>>   *      used by 16 other files
>>>>   *  - /lib64/libblkid.so
>>>>   *      used by /bin/mount (sys-apps/util-linux-2.16.1)
>>>>   *      used by /bin/umount (sys-apps/util-linux-2.16.1)
>>>>   *      used by /sbin/blkid (sys-apps/util-linux-2.16.1)
>>>>   *      used by 8 other files
>>>> Use emerge @preserved-rebuild to rebuild packages using these libraries
>>>> -----
>>>>
>>>> So I did run "emerge @preserved-rebuild", but at the end
>>>> of it I got the very same messages. How can I solve this?
>>>>         
>>> An old version of e2fsprogs-libs provided some libs that the programs in
>>> util- linux linked to. Portage realised after updating e2fsprogs-libs
>>> that these libs are still in use so have not deleted them until
>>> everything using them no longer does. Sometimes it gets itself confused.
>>> Others report that running emerge @preserved-rebuild multiple times fixes
>>> it, but I'm not so sure. It think it's more a case of the various ld*
>>> utils don't do the right thing at the right time - just yesterday I had
>>> b0rked @preserved-rebuild output fix itself after a reboot with no extra
>>> emerging done.
>>>
>>> Try this:
>>>
>>> Run ldd on a few of the listed binaries using old libs, eyeball the
>>> output and apply brainpower, followed by:
>>>
>>> emerge -av1 util-linux
>>> emerge -avC e2fsprogs-libs ; emerge -av1 e2fsprogs-libs
>>>
>>> revdep-rebuild won't help you here, as the binaries are not broken. It
>>> will only confirm internal consistency once preserved-rebuild appears to
>>> have sorted itself out.
>>>       
>> I have the same problem, but the "emerge -av1 util-linux" has blocking
>> issues with sys-fs/e2fsprogs.  Whenever I remove sys-fs stuff I usually
>> regret it.
>>     
>
> You must remove the e2fsprogs* packages, emerge util-linux and re-emerge 
> e2fsprogs*
>
> This is safe as long as you don't log out, reboot, kill bash or do other weird 
> and wonderful things that require a working e2fsprogs.
>  
> Think of it this way:
>
> delete your kernel image in /boot, do all kinds of stuff and put back a 
> different kernel image named the same as the original. Nothing will go wrong 
> *unless* you reboot|restart. Same with e2fprogs.
>   

Is this the one where you need to fetch the files first, then un-emerge 
and emerge?  I recall one being that way but not sure if it is this one.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
  2009-12-08 12:08       ` Dale
@ 2009-12-08 12:15         ` Alan McKinnon
  2009-12-08 12:43           ` Dale
  2009-12-08 13:39           ` Arttu V.
  0 siblings, 2 replies; 9+ messages in thread
From: Alan McKinnon @ 2009-12-08 12:15 UTC (permalink / raw
  To: gentoo-user

On Tuesday 08 December 2009 14:08:47 Dale wrote:
> >> I have the same problem, but the "emerge -av1 util-linux" has blocking
> >> issues with sys-fs/e2fsprogs.  Whenever I remove sys-fs stuff I usually
> >> regret it.
> >>     
> >
> > You must remove the e2fsprogs* packages, emerge util-linux and re-emerge 
> > e2fsprogs*
> >
> > This is safe as long as you don't log out, reboot, kill bash or do other
> > weird  and wonderful things that require a working e2fsprogs.
> >  
> > Think of it this way:
> >
> > delete your kernel image in /boot, do all kinds of stuff and put back a 
> > different kernel image named the same as the original. Nothing will go
> > wrong  unless you reboot|restart. Same with e2fprogs.
> >   
> 
> Is this the one where you need to fetch the files first, then un-emerge 
> and emerge?  I recall one being that way but not sure if it is this one.

No, that was a while ago. This is simply a conflict involving e2fsprogs-libs

Doesn't remove wget

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
  2009-12-08 12:15         ` Alan McKinnon
@ 2009-12-08 12:43           ` Dale
  2009-12-08 13:39           ` Arttu V.
  1 sibling, 0 replies; 9+ messages in thread
From: Dale @ 2009-12-08 12:43 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On Tuesday 08 December 2009 14:08:47 Dale wrote:
>   
>>>> I have the same problem, but the "emerge -av1 util-linux" has blocking
>>>> issues with sys-fs/e2fsprogs.  Whenever I remove sys-fs stuff I usually
>>>> regret it.
>>>>     
>>>>         
>>> You must remove the e2fsprogs* packages, emerge util-linux and re-emerge 
>>> e2fsprogs*
>>>
>>> This is safe as long as you don't log out, reboot, kill bash or do other
>>> weird  and wonderful things that require a working e2fsprogs.
>>>  
>>> Think of it this way:
>>>
>>> delete your kernel image in /boot, do all kinds of stuff and put back a 
>>> different kernel image named the same as the original. Nothing will go
>>> wrong  unless you reboot|restart. Same with e2fprogs.
>>>   
>>>       
>> Is this the one where you need to fetch the files first, then un-emerge 
>> and emerge?  I recall one being that way but not sure if it is this one.
>>     
>
> No, that was a while ago. This is simply a conflict involving e2fsprogs-libs
>
> Doesn't remove wget
>   

Ah, that was it.  I was wondering why a file system package would 
interfere with portage downloading.

Thanks.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
  2009-12-08 12:15         ` Alan McKinnon
  2009-12-08 12:43           ` Dale
@ 2009-12-08 13:39           ` Arttu V.
  1 sibling, 0 replies; 9+ messages in thread
From: Arttu V. @ 2009-12-08 13:39 UTC (permalink / raw
  To: gentoo-user

On 12/8/09, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Tuesday 08 December 2009 14:08:47 Dale wrote:
>> Is this the one where you need to fetch the files first, then un-emerge
>> and emerge?  I recall one being that way but not sure if it is this one.
>
> No, that was a while ago. This is simply a conflict involving e2fsprogs-libs
>
> Doesn't remove wget

Well, I think Mr. Dalek is entirely correct, this is the same problem.
e2fsprogs-libs nowadays contains the com_err library, missing of which
was (IIRC) causing problems with, e.g., wget in the olden days.

Anyone know how the problem was actually fixed? Did they start linking
wget statically? Or are we relying on portage's new tricks, like
background downloading, which hides 99% of the problem under the rug,
as you will very likely have the sources already downloaded during
previous compiles?

-- 
Arttu V.



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-12-08 13:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-07 18:10 [gentoo-user] How can I solve "emerge @preserved-rebuild" loop? Jarry
2009-12-07 18:46 ` Alan McKinnon
2009-12-08 11:06   ` dhk
2009-12-08 11:18     ` Alan McKinnon
2009-12-08 12:08       ` Dale
2009-12-08 12:15         ` Alan McKinnon
2009-12-08 12:43           ` Dale
2009-12-08 13:39           ` Arttu V.
2009-12-07 21:17 ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox