Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: don't rely on dynamic deps
Date: Fri, 25 Jul 2014 08:39:25
Message-Id: pan$52f67$de3f4c8b$a62215e7$8cccb3e0@cox.net
In Reply to: Re: [gentoo-dev] Re: don't rely on dynamic deps by Rich Freeman
1 Rich Freeman posted on Tue, 22 Jul 2014 21:15:01 -0400 as excerpted:
2
3 > On Tue, Jul 22, 2014 at 4:06 PM, Martin Vaeth <martin@×××××.de> wrote:
4 >> ...but by introducing all the additional complications Ian has
5 >> mentioned. More precisely: What happens if new dependencies are
6 >> introduced which are not satisfied?
7 >> One has to face it: Portage must not just silently "update" the
8 >> database and thus silently produce a /var/db which does not satisfy its
9 >> own dependencies...
10 >
11 > While this is problematic, I think portage actually can handle this (but
12 > I haven't tested this recently). Portage already allows you to clean a
13 > package without its reverse deps leading to a system in exactly the
14 > state you describe. I believe portage will just try to bring the
15 > package back at the next emerge @world (or any other set containing the
16 > reverse dep).
17
18 FWIW I tested this with a number of packages just the other day while
19 doing an initial test-build of qt:5 and kde:5 from the relevant
20 overlays. Various kde-workspace5/plasma5 packages can't coexist with the
21 kde:4 versions, but I didn't want to remove the kde:4 revdeps or set-
22 elements from my installed sets until I was sure the kde:5 versions
23 worked fine.
24
25 Apparently the kwin:5 version I was testing doesn't like my radeon turks
26 (hd6670 IIRC) hardware their current v3.16-pre kernel drm drivers as once
27 I had the whole setup installed and tried to startx with it, kwin ended
28 up in a segfault/respawn cycle, so my surgical unmerge of specific kde:4
29 packages was just as well, making it relatively easy to simply emerge -k
30 @world and get back to a working system from the binpkgs, automatically
31 unmerging the kde:5 blockers on the way since I hadn't actually let
32 portage put them in @world just yet.
33
34 Yes, a simple emerge --deep @world pulls everything missing but needed
35 back in, so that bit of portage at least seems to be working just fine.
36
37 --
38 Duncan - List replies preferred. No HTML msgs.
39 "Every nonfree program has a lord, a master --
40 and if you use the program, he is your master." Richard Stallman