Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] re: resolving blocked packages [media-video/ffmpeg-1.2:0]
Date: Sat, 02 Nov 2013 11:08:05
Message-Id: 5274DCFA.9010107@gmail.com
In Reply to: Re: [gentoo-user] re: resolving blocked packages [media-video/ffmpeg-1.2:0] by Daniel Campbell
1 On 02/11/2013 12:49, Daniel Campbell wrote:
2 > On 10/27/2013 12:08 PM, Alexander Kapshuk wrote:
3 >> As I ran 'emerge --ask --update --deep --with-bdeps=y --newuse world', I
4 >> got the message below.
5 >>
6 >> These are the packages that would be merged, in order:
7 >>
8 >> Calculating dependencies... done!
9 >> [ebuild N ] dev-scheme/guile-1.8.8-r1 USE="deprecated nls regex
10 >> threads -debug -debug-freelist -debug-malloc -discouraged -emacs
11 >> -networking"
12 >> [ebuild N ] sys-devel/autogen-5.15
13 >> [ebuild U ~] net-libs/gnutls-3.2.5 [2.12.23-r1] USE="-dane%"
14 >> LINGUAS="-cs% -de% -en% -fi% -fr% -it% -ms% -nl% -pl% -sv% -uk% -vi%
15 >> -zh_CN%"
16 >> [ebuild N ] media-libs/libpostproc-0.8.0.20121125 USE="-3dnow
17 >> (-altivec) -mmx -mmxext -pic -static-libs"
18 >> [ebuild U ~] media-video/vlc-2.1.0 [2.0.9] USE="-chromaprint% -fdk%
19 >> -opencv% (-qt5) -rdp% {-test%} -vdpau%"
20 >> [blocks B ] <media-video/ffmpeg-1.2:0 ("<media-video/ffmpeg-1.2:0"
21 >> is blocking media-video/vlc-2.1.0)
22 >> [blocks B ] media-video/ffmpeg:0 ("media-video/ffmpeg:0" is
23 >> blocking media-libs/libpostproc-0.8.0.20121125)
24 >> [blocks B ] media-libs/libpostproc ("media-libs/libpostproc" is
25 >> blocking media-video/ffmpeg-1.0.7)
26 >>
27 >> !!! Multiple package instances within a single package slot have been pulled
28 >> !!! into the dependency graph, resulting in a slot conflict:
29 >>
30 >> net-libs/gnutls:0
31 >>
32 >> (net-libs/gnutls-3.2.5::gentoo, ebuild scheduled for merge) pulled in by
33 >> >=net-libs/gnutls-3.0.20:0 required by
34 >> (media-video/vlc-2.1.0::gentoo, ebuild scheduled for merge)
35 >>
36 >> (net-libs/gnutls-2.12.23-r1::gentoo, installed) pulled in by
37 >> (no parents that aren't satisfied by other packages in this slot)
38 >>
39 >>
40 >> It may be possible to solve this problem by using package.mask to
41 >> prevent one of those packages from being selected. However, it is also
42 >> possible that conflicting dependencies exist such that they are
43 >> impossible to satisfy simultaneously. If such a conflict exists in
44 >> the dependencies of two different packages, then those packages can
45 >> not be installed simultaneously. You may want to try a larger value of
46 >> the --backtrack option, such as --backtrack=30, in order to see if
47 >> that will solve this conflict automatically.
48 >>
49 >> For more information, see MASKED PACKAGES section in the emerge man
50 >> page or refer to the Gentoo Handbook.
51 >>
52 >>
53 >> * Error: The above package list contains packages which cannot be
54 >> * installed at the same time on the same system.
55 >>
56 >> (media-video/vlc-2.1.0::gentoo, ebuild scheduled for merge) pulled in by
57 >> media-video/vlc required by @selected
58 >>
59 >> (media-video/ffmpeg-1.0.7::gentoo, installed) pulled in by
60 >>
61 >>> =media-video/ffmpeg-0.10.3:0[X?,encode?,gsm?,jpeg2k?,mp3?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?]
62 >> (>=media-video/ffmpeg-0.10.3:0[X,encode,mp3,sdl,truetype,x264]) required
63 >> by (virtual/ffmpeg-0.10.3::gentoo, installed)
64 >>
65 >>
66 >> For more information about Blocked Packages, please refer to the following
67 >> section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
68 >>
69 >> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
70 >>
71 >>
72 >> The following keyword changes are necessary to proceed:
73 >> (see "package.accept_keywords" in the portage(5) man page for more details)
74 >> # required by media-video/vlc-2.1.0[gnutls]
75 >> # required by @selected
76 >> # required by @world (argument)
77 >> =net-libs/gnutls-3.2.5 ~x86
78 >>
79 >> Use --autounmask-write to write changes to config files (honoring
80 >> CONFIG_PROTECT). Carefully examine the list of proposed changes,
81 >> paying special attention to mask or keyword changes that may expose
82 >> experimental or unstable packages.
83 >> ----------------------------------------------
84 >> After reading the 'Blocked Packages' found here,
85 >> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked,
86 >> would updating media-video/ffmpeg to version 1.2 [the current version of
87 >> ffmpeg is 1.0.7], fix the blockage?
88 >>
89 >> Any input would be much appreciated.
90 >>
91 >>
92 >
93 > It looks like you just need to add `net-libs/gnutls` to
94 > /etc/portage/package.accept_keywords, which will fetch the testing
95 > version of gnutls. Is your version of vlc also from testing? That may be
96 > why emerge is complaining. I also noticed a lot of -USE% flags, which
97 > tells me they were removed. Did you change USE flags at the same time
98 > you attempted this update? There's no problem with that, of course, but
99 > it can complicate upgrades sometimes. :)
100 >
101 > Hope that helps.
102 >
103
104
105 The basic problem is a stable system with a bunch of unstable packages
106 installed.
107
108 The requested vlc version is ~arch, which wants a ~arch version of
109 gnutls. This conflicts with other stable packages that want a stable
110 version of gnutls.
111
112 Mixing and matching arch and ~arch like this often causes unsolveable
113 problems, especially with basic libs like gnutls used by lots of
114 packages. In this specific case, I doubt very much that the problem is
115 solveable. Either make the entire system ~arch or downgrade vlc to
116 stable. Mixing is not recommended, not that it won't work (it often
117 does), but because users so often run into these problems and devs
118 usually will not help fix it. The user is thus totally on tehir own with
119 this one.
120
121
122 --
123 Alan McKinnon
124 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] re: resolving blocked packages [media-video/ffmpeg-1.2:0] Daniel Campbell <lists@××××××××.us>