1 |
On Wed, Sep 25 2013, walt wrote: |
2 |
|
3 |
> On 09/25/2013 03:24 PM, gottlieb@×××.edu wrote: |
4 |
>> I want to downgrade systemd from 207-r2 to 204 (highest stable). |
5 |
>> |
6 |
>> I currently have virtual/udev-206-r2 installed, which prevents |
7 |
>> systemd-204. |
8 |
>> |
9 |
>> OK. So I need to downgrade virtual/udev to 200. |
10 |
>> |
11 |
>> I thought |
12 |
>> emerge -1 =virtual/udev-200 =sys-apps/systemd-204 |
13 |
>> would do it. But this failed (see below) and suggested masking |
14 |
>> might help. |
15 |
>> |
16 |
>> So I added package.mask/systemd, which contains |
17 |
>> >=virtual/udev-201 |
18 |
>> >=sys-apps/systemd-205 |
19 |
>> and then issued the same emerge as above. |
20 |
>> But this also failed (see below). |
21 |
>> What incantation do I need? |
22 |
>> |
23 |
>> thanks, |
24 |
>> allan |
25 |
> |
26 |
>> [blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking |
27 |
>> sys-fs/udev-207) |
28 |
>> [blocks B ] sys-fs/udev ("sys-fs/udev" is blocking |
29 |
>> sys-apps/systemd-207-r2, sys-apps/systemd-204) |
30 |
> |
31 |
> These conflicts are often so confusing that I emerge -C both of the |
32 |
> blocking packages and then re-run the emerge that I really want. |
33 |
> |
34 |
> In your particular case, if you actually remove both of those packages |
35 |
> your machine will not be bootable until you successfully emerge the |
36 |
> older versions (obviously) so I strongly recommend using quickpkg to |
37 |
> save both packages before removing them. |
38 |
> |
39 |
> Then, if the worst happens and you can't install the older versions |
40 |
> you can re-install the saved binary packages with emerge -K. |
41 |
|
42 |
Right, thanks. Note that sys-fs/udev is not on my system, the conflict |
43 |
occurs because portage wants to emerge it. I am trying to downgrade the |
44 |
virtual udev. |
45 |
|
46 |
I tried your suggestion as follows |
47 |
|
48 |
* quickpkg'ed |
49 |
sys-app/systemd virtual/udev sys-app/gentoo-system-integration |
50 |
|
51 |
* unmerged all three |
52 |
|
53 |
* merged the desired virtual/udev version with --nodeps |
54 |
(it wouldn't work without --nodeps) |
55 |
|
56 |
* tried to emerge the desired versions of the other two |
57 |
(without using --nodeps) |
58 |
|
59 |
This last step fails because it seems (assuming I am reading the emerge |
60 |
tree output correctly, see below) that dev-libs/lubusbx-1.0.17:1 requires |
61 |
virtual/udev-206. |
62 |
|
63 |
But I don't see that version dependence in the ebuild. Moreover this is |
64 |
the only version of libusbx in the tree so (again assuming I am reading |
65 |
the tree correctly) this says that gnome 3.6 requires |
66 |
virtual/udev-206-r2, which seems strange. Indeed, canek has said that |
67 |
gnome has trouble with systemd-206 (which virtual/udev-206 would bring |
68 |
it). |
69 |
|
70 |
So I did the emerge -K you suggested and am back where I started. |
71 |
|
72 |
Any help would be appreciated. |
73 |
|
74 |
> Another officially unapproved workaround I use when really frustrated |
75 |
> is to bypass "emerge" completely and do this instead: |
76 |
> |
77 |
> #ebuild /usr/portage/sys-apps/systemd/systemd-204.ebuild merge |
78 |
> |
79 |
> Sometimes it works :) |
80 |
|
81 |
I am hoping not to have to do that (or emerge --nodeps). |
82 |
|
83 |
allan |
84 |
|
85 |
================================================================ |
86 |
|
87 |
livecd package.mask # emerge -1 --ask =sys-apps/gentoo-systemd-integration-1 =sys-apps/systemd-204 |
88 |
|
89 |
These are the packages that would be merged, in reverse order: |
90 |
|
91 |
Calculating dependencies... done! |
92 |
[ebuild N ] sys-apps/gentoo-systemd-integration-1 0 kB |
93 |
[ebuild N #] sys-apps/systemd-207-r2 USE="acl filecaps firmware-loader gudev introspection kmod pam policykit tcpd -audit -cryptsetup -doc -gcrypt -http -lzma -openrc -python -qrcode (-selinux) {-test} -vanilla -xattr" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB |
94 |
[ebuild N ] sys-apps/systemd-204 USE="acl firmware-loader gudev introspection keymap kmod pam policykit tcpd -audit -cryptsetup -doc -gcrypt -http -lzma -openrc -python -qrcode (-selinux) -static-libs {-test} -vanilla -xattr" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 2,136 kB |
95 |
[nomerge ] gnome-base/gnome-3.6.2:2.0 USE="bluetooth cdr cups extras fallback -accessibility" |
96 |
[nomerge ] gnome-base/gnome-shell-3.6.3.1 USE="bluetooth i18n networkmanager systemd" PYTHON_TARGETS="python2_7 -python2_6" |
97 |
[nomerge ] net-wireless/gnome-bluetooth-3.6.1:2/11 USE="introspection -debug -sendto" |
98 |
[nomerge ] app-mobilephone/obexd-0.46 USE="eds usb -nokia -server" |
99 |
[nomerge ] dev-libs/openobex-1.5 USE="bluetooth usb -debug -irda -syslog" |
100 |
[nomerge ] virtual/libusb-0-r1 ABI_X86="(64) -32 (-x32)" |
101 |
[nomerge ] dev-libs/libusb-compat-0.1.5-r2 USE="-debug -examples -static-libs" ABI_X86="(64) -32 (-x32)" |
102 |
[nomerge ] virtual/libusb-1-r1:1 ABI_X86="(64) -32 (-x32)" |
103 |
[nomerge ] dev-libs/libusbx-1.0.17:1 USE="udev -debug -doc -examples -static-libs {-test}" ABI_X86="(64) -32 (-x32)" |
104 |
[ebuild U #] virtual/udev-206-r2 [200] USE="gudev introspection kmod (-selinux) -static-libs (-hwdb%*) (-keymap%*)" ABI_X86="(64%*) -32% (-x32)" 0 kB |
105 |
[nomerge ] virtual/udev-206-r2 [200] USE="gudev introspection kmod (-selinux) -static-libs (-hwdb%*) (-keymap%*)" ABI_X86="(64%*) -32% (-x32)" |
106 |
[nomerge ] sys-fs/udev-207 USE="acl firmware-loader gudev introspection kmod openrc -doc (-selinux) -static-libs" ABI_X86="(64) -32 (-x32)" |
107 |
[ebuild N ] sys-fs/udev-init-scripts-26 5 kB |
108 |
[ebuild N ] sys-fs/udev-207 USE="acl firmware-loader gudev introspection kmod openrc -doc (-selinux) -static-libs" ABI_X86="(64) -32 (-x32)" 2 kB |
109 |
[blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-207) |
110 |
[blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/systemd-204) |
111 |
|
112 |
Total: 6 packages (1 upgrade, 5 new), Size of downloads: 2,142 kB |
113 |
Conflict: 2 blocks (2 unsatisfied) |
114 |
|
115 |
!!! Multiple package instances within a single package slot have been pulled |
116 |
!!! into the dependency graph, resulting in a slot conflict: |
117 |
|
118 |
sys-apps/systemd:0 |
119 |
|
120 |
(sys-apps/systemd-207-r2::gentoo, ebuild scheduled for merge) pulled in by |
121 |
>=sys-apps/systemd-206-r4 required by (sys-apps/gentoo-systemd-integration-1::gentoo, ebuild scheduled for merge) |
122 |
|
123 |
(sys-apps/systemd-204::gentoo, ebuild scheduled for merge) pulled in by |
124 |
=sys-apps/systemd-204 |
125 |
|
126 |
virtual/udev:0 |
127 |
|
128 |
(virtual/udev-200::gentoo, installed) pulled in by |
129 |
=virtual/udev-200 required by (net-misc/dhcpcd-6.1.0::gentoo, installed) |
130 |
(and 26 more with the same problem) |
131 |
|
132 |
(virtual/udev-206-r2::gentoo, ebuild scheduled for merge) pulled in by |
133 |
>=virtual/udev-200[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_x86_32(-)?,abi_x86_64(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] required by (dev-libs/libusbx-1.0.17::gentoo, installed) |
134 |
>=virtual/udev-206-r2 required by (sys-fs/udev-207::gentoo, ebuild scheduled for merge) |
135 |
|
136 |
|
137 |
It may be possible to solve this problem by using package.mask to |
138 |
prevent one of those packages from being selected. However, it is also |
139 |
possible that conflicting dependencies exist such that they are |
140 |
impossible to satisfy simultaneously. If such a conflict exists in |
141 |
the dependencies of two different packages, then those packages can |
142 |
not be installed simultaneously. You may want to try a larger value of |
143 |
the --backtrack option, such as --backtrack=30, in order to see if |
144 |
that will solve this conflict automatically. |
145 |
|
146 |
For more information, see MASKED PACKAGES section in the emerge man |
147 |
page or refer to the Gentoo Handbook. |
148 |
|
149 |
|
150 |
* Error: The above package list contains packages which cannot be |
151 |
* installed at the same time on the same system. |
152 |
|
153 |
(sys-fs/udev-207::gentoo, ebuild scheduled for merge) pulled in by |
154 |
>=sys-fs/udev-206-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_x86_32(-)?,abi_x86_64(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,gudev?,introspection?,kmod?,selinux?,static-libs?] (>=sys-fs/udev-206-r2[abi_x86_64(-),abi_x86_64(-),gudev,introspection,kmod]) required by (virtual/udev-206-r2::gentoo, ebuild scheduled for merge) |
155 |
|
156 |
|
157 |
For more information about Blocked Packages, please refer to the following |
158 |
section of the Gentoo Linux x86 Handbook (architecture is irrelevant): |
159 |
|
160 |
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked |
161 |
|
162 |
|
163 |
The following mask changes are necessary to proceed: |
164 |
(see "package.unmask" in the portage(5) man page for more details) |
165 |
# required by sys-apps/gentoo-systemd-integration-1 |
166 |
# required by =sys-apps/gentoo-systemd-integration-1 (argument) |
167 |
# /etc/portage/package.mask/systemd: |
168 |
=sys-apps/systemd-207-r2 |
169 |
# required by x11-misc/colord-1.0.3[udev] |
170 |
# required by gnome-base/gnome-control-center-3.6.3-r1[colord] |
171 |
# required by gnome-base/gnome-shell-3.6.3.1 |
172 |
# required by app-admin/eselect-gnome-shell-extensions-20120911 |
173 |
# required by gnome-extra/gnome-shell-extensions-3.6.2 |
174 |
# required by @selected |
175 |
# required by @world (argument) |
176 |
# /etc/portage/package.mask/systemd: |
177 |
=virtual/udev-206-r2 |
178 |
|
179 |
NOTE: The --autounmask-keep-masks option will prevent emerge |
180 |
from creating package.unmask or ** keyword changes. |
181 |
|
182 |
Use --autounmask-write to write changes to config files (honoring |
183 |
CONFIG_PROTECT). Carefully examine the list of proposed changes, |
184 |
paying special attention to mask or keyword changes that may expose |
185 |
experimental or unstable packages. |
186 |
livecd package.mask # |