* [gentoo-user] depclean confusion
@ 2017-12-19 21:18 Walter Dnes
2017-12-19 21:43 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 1 reply; 4+ messages in thread
From: Walter Dnes @ 2017-12-19 21:18 UTC (permalink / raw
To: Gentoo Users List
Finishing off an install, and running "emerge --depclean"
=====================================================================
>>> Assigning files to packages...
* In order to avoid breakage of link level dependencies, one or more
* packages will not be removed. This can be solved by rebuilding the
* packages that pulled them in.
*
* sys-libs/db-5.3.28-r2 pulled in by:
* sys-apps/iproute2-4.14.1-r1 needs libdb-5.3.so
*
>>> Adding lib providers to graph...
=====================================================================
1) I've rebuilt iproute2
[ebuild R ] sys-apps/iproute2-4.14.1-r1::gentoo USE="-atm -berkdb -iptables -ipv6 -minimal (-selinux)" 0 KiB
2) I've done "emerge --update --newuse --deep @world"
Total: 0 packages, Size of downloads: 0 KiB
3) I've done revdep-rebuild
Your system is consistent
And "emerge --depclean" stills gives the same message. I'm near the
end of the portion inside the chroot of the install process. Will it
break the system if I unmerge iproute2, and then depclean, and then
revdep-rebuild?
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: depclean confusion
2017-12-19 21:18 [gentoo-user] depclean confusion Walter Dnes
@ 2017-12-19 21:43 ` Nikos Chantziaras
2017-12-20 0:55 ` Walter Dnes
2017-12-29 23:52 ` Kai Krakow
0 siblings, 2 replies; 4+ messages in thread
From: Nikos Chantziaras @ 2017-12-19 21:43 UTC (permalink / raw
To: gentoo-user
On 19/12/17 23:18, Walter Dnes wrote:
> Finishing off an install, and running "emerge --depclean"
>
> =====================================================================
>>>> Assigning files to packages...
> * In order to avoid breakage of link level dependencies, one or more
> * packages will not be removed. This can be solved by rebuilding the
> * packages that pulled them in.
> *
> * sys-libs/db-5.3.28-r2 pulled in by:
> * sys-apps/iproute2-4.14.1-r1 needs libdb-5.3.so
> *
>>>> Adding lib providers to graph...
> =====================================================================
>
> 1) I've rebuilt iproute2
>
> [ebuild R ] sys-apps/iproute2-4.14.1-r1::gentoo USE="-atm -berkdb -iptables -ipv6 -minimal (-selinux)" 0 KiB
Unmerge it anyway and then rebuild iproute2. It seems like an automagic
dep. It should not be using db when the berkdb USE flag is not set.
Since it does, it's a bug.
However, rebuilding it after unmerging db should fix it.
With that being said, do a "quickpkg sys-libs/db" first to get a tarball
backup, just to be safe if you need to restore it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Re: depclean confusion
2017-12-19 21:43 ` [gentoo-user] " Nikos Chantziaras
@ 2017-12-20 0:55 ` Walter Dnes
2017-12-29 23:52 ` Kai Krakow
1 sibling, 0 replies; 4+ messages in thread
From: Walter Dnes @ 2017-12-20 0:55 UTC (permalink / raw
To: gentoo-user
On Tue, Dec 19, 2017 at 11:43:35PM +0200, Nikos Chantziaras wrote
> Unmerge it anyway and then rebuild iproute2. It seems like an automagic
> dep. It should not be using db when the berkdb USE flag is not set.
> Since it does, it's a bug.
>
> However, rebuilding it after unmerging db should fix it.
>
> With that being said, do a "quickpkg sys-libs/db" first to get a tarball
> backup, just to be safe if you need to restore it.
Thanks. I unmerged iproute2 (notwithstanding the dire warning),
depcleaned, then "emerge -1 iproute2", followed by revdep-rebuild which
shows all-clear. I've successfully rebooted stand-alone, and am now
finishing off the install.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: depclean confusion
2017-12-19 21:43 ` [gentoo-user] " Nikos Chantziaras
2017-12-20 0:55 ` Walter Dnes
@ 2017-12-29 23:52 ` Kai Krakow
1 sibling, 0 replies; 4+ messages in thread
From: Kai Krakow @ 2017-12-29 23:52 UTC (permalink / raw
To: gentoo-user
Am Tue, 19 Dec 2017 23:43:35 +0200 schrieb Nikos Chantziaras:
> On 19/12/17 23:18, Walter Dnes wrote:
>> Finishing off an install, and running "emerge --depclean"
>>
>> =====================================================================
>>>>> Assigning files to packages...
>> * In order to avoid breakage of link level dependencies, one or more
>> * packages will not be removed. This can be solved by rebuilding the
>> * packages that pulled them in.
>> *
>> * sys-libs/db-5.3.28-r2 pulled in by:
>> * sys-apps/iproute2-4.14.1-r1 needs libdb-5.3.so *
>>>>> Adding lib providers to graph...
>> =====================================================================
>>
>> 1) I've rebuilt iproute2
>>
>> [ebuild R ] sys-apps/iproute2-4.14.1-r1::gentoo USE="-atm -berkdb
>> -iptables -ipv6 -minimal (-selinux)" 0 KiB
>
> Unmerge it anyway and then rebuild iproute2. It seems like an automagic
> dep. It should not be using db when the berkdb USE flag is not set.
> Since it does, it's a bug.
This is most of the times caused by configure scripts auto-detecting the
presence of certain libs. Such behavior should be disabled and indicates
a missing explicit disable/enable in the ebuild. You should report it.
> However, rebuilding it after unmerging db should fix it.
>
> With that being said, do a "quickpkg sys-libs/db" first to get a tarball
> backup, just to be safe if you need to restore it.
--
Regards,
Kai
Replies to list-only preferred.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-12-29 23:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-19 21:18 [gentoo-user] depclean confusion Walter Dnes
2017-12-19 21:43 ` [gentoo-user] " Nikos Chantziaras
2017-12-20 0:55 ` Walter Dnes
2017-12-29 23:52 ` Kai Krakow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox