Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] update problems
Date: Sat, 19 Sep 2015 20:13:10
Message-Id: 201509192112.51677.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] update problems by Neil Bothwick
1 On Saturday 19 Sep 2015 21:05:27 Neil Bothwick wrote:
2 > On Sat, 19 Sep 2015 21:36:06 +0200, lee wrote:
3 > > emerge -j 8 -a --update --newuse --deep --with-bdeps=y
4 > > @world
5 > >
6 > > * IMPORTANT: 4 news items need reading for repository 'gentoo'.
7 > > * Use eselect news read to view new items.
8 > >
9 > > These are the packages that would be merged, in order:
10 > >
11 > > Calculating dependencies... done!
12 > >
13 > > !!! Multiple package instances within a single package slot have been
14 > > pulled !!! into the dependency graph, resulting in a slot conflict:
15 > >
16 > > dev-libs/boost:0
17 > >
18 > > (dev-libs/boost-1.56.0-r1:0/1.56.0::gentoo, ebuild scheduled for
19 > >
20 > > merge) pulled in by (no parents that aren't satisfied by other packages
21 > > in this slot)
22 > >
23 > > (dev-libs/boost-1.55.0-r2:0/1.55.0::gentoo, ebuild scheduled for
24 > >
25 > > merge) pulled in by dev-libs/boost:0/1.55.0= required by
26 > > (dev-libs/librevenge-0.0.2:0/0::gentoo, installed)
27 > > ^^^^^^^^^^ (and 2 more with the same problem)
28 > >
29 > > dev-util/boost-build:0
30 > >
31 > > (dev-util/boost-build-1.55.0:0/0::gentoo, installed) pulled in by
32 > >
33 > > =dev-util/boost-build-1.55* required by
34 > >
35 > > (dev-libs/boost-1.55.0-r2:0/1.55.0::gentoo, ebuild scheduled for merge)
36 > > ^
37 > > ^^^^^
38 > >
39 > > (dev-util/boost-build-1.56.0:0/0::gentoo, ebuild scheduled for merge)
40 > >
41 > > pulled in by =dev-util/boost-build-1.56* required by
42 > > (dev-libs/boost-1.56.0-r1:0/1.56.0::gentoo, ebuild scheduled for merge)
43 > > ^
44 > > ^^^^^
45 > >
46 > > media-video/ffmpeg:0
47 > >
48 > > (media-video/ffmpeg-2.6.3:0/54.56.56::gentoo, ebuild scheduled for
49 > >
50 > > merge) pulled in by (no parents that aren't satisfied by other packages
51 > > in this slot)
52 > >
53 > > (media-video/ffmpeg-2.2.14:0/52.55.55::gentoo, installed) pulled in by
54 > >
55 > > media-video/ffmpeg:0/52.55.55=[vdpau] required by
56 > >
57 > > (media-libs/mlt-0.9.0:0/0::gentoo, installed)
58 > > ^^^^^^^^^^^
59 >
60 > These are unimportant, it is simply portage telling you it is not
61 > updating some packages to the latest available and why. Personally, I
62 > believe this sort of output should only be shown when using --verbose.
63 >
64 > > It may be possible to solve this problem by using package.mask to
65 > > prevent one of those packages from being selected. However, it is also
66 > > possible that conflicting dependencies exist such that they are
67 > > impossible to satisfy simultaneously. If such a conflict exists in
68 > > the dependencies of two different packages, then those packages can
69 > > not be installed simultaneously.
70 > >
71 > > For more information, see MASKED PACKAGES section in the emerge man
72 > > page or refer to the Gentoo Handbook.
73 > >
74 > >
75 > > !!! The ebuild selected to satisfy "sci-libs/hdf5" has unmet
76 > > requirements.
77 > > - sci-libs/hdf5-1.8.14-r1::gentoo USE="cxx fortran threads zlib -debug
78 > > -examples -fortran2003 -mpi -static-libs -szip"
79 > >
80 > > The following REQUIRED_USE flag constraints are unsatisfied:
81 > > threads? ( !cxx !fortran )
82 >
83 > This is blocking you and the reason is given, if you have the threads
84 > flag on, cxx and fortran must be off. You have both threads and cxx on
85 > which won't work.
86 >
87 > > Why can't we just update like we can with any other distribution but
88 > > have to run into dependency problems all the time instead?
89 >
90 > These aren't dependency problems, they are conflicting USE flags, a
91 > situation that cannot arise with a binary distro. If you want the
92 > flexibility that USE flags offer, you have to accept that not all
93 > combinations will work together.
94 >
95 > > What do I do when I need to update /right now/ and find myself being
96 > > blocked with cryptic messages like the above that leave me stranded?
97 >
98 > That's the real problem, that the messages are so cryptic. The solution
99 > is simple, working out what needs to be done from the messages is not.
100 >
101 > > Once I used 'emerge --sync', there is no way to turn it back to continue
102 > > to be able to install software if needed when the update cannot be
103 > > performed. Updates simply need to work, there's no way around that.
104 >
105 > You can always roll back by masking the updates if necessary, and the
106 > old ebuilds are always available. Now that the tree is using git, it is
107 > probably possibly to sync back to yesterday if you need to.
108
109 As Alan said quickpkg boost, remove boost-1.55.0-r2, install boost-1.56.0-r1,
110 emerge -1aDv dev-libs/librevenge and which-ever other package complains and
111 you should be OK. Apply a similar approach with ffmpeg.
112
113 Neil's comments on sci-libs/hdf5 stand.
114
115 --
116 Regards,
117 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature