1 |
Hi, |
2 |
|
3 |
some of you maybe know or already have noticed that the |
4 |
net-firewall/shorewall* ebuilds were re-integrated into a new all-in-one |
5 |
ebuild for easier maintenance. |
6 |
|
7 |
The package is proxy-maintained. |
8 |
|
9 |
While preparing the new ebuild I discussed with the proxy-maint team and |
10 |
shorewall users if we should create a news item for that change. |
11 |
Most people participating in the discussion thought that emerge's error |
12 |
message like |
13 |
|
14 |
> # emerge -p --update net-firewall/shorewall::gentoo |
15 |
> |
16 |
> These are the packages that would be merged, in order: |
17 |
> |
18 |
> Calculating dependencies... done! |
19 |
> [ebuild U ] net-firewall/shorewall-4.6.6.2::gentoo [4.5.21.10-r1::gentoo] USE="doc init%* ipv4%* ipv6%* lite4%* -lite6%" 0 KiB |
20 |
> [blocks B ] net-firewall/shorewall-init ("net-firewall/shorewall-init" is blocking net-firewall/shorewall-4.6.6.2) |
21 |
> [blocks B ] net-firewall/shorewall-core ("net-firewall/shorewall-core" is blocking net-firewall/shorewall-4.6.6.2) |
22 |
> |
23 |
> Total: 1 package (1 upgrade), Size of downloads: 0 KiB |
24 |
> Conflict: 2 blocks (2 unsatisfied) |
25 |
> |
26 |
> !!! Multiple package instances within a single package slot have been pulled |
27 |
> !!! into the dependency graph, resulting in a slot conflict: |
28 |
> |
29 |
> net-firewall/shorewall:0 |
30 |
> |
31 |
> (net-firewall/shorewall-4.6.6.2:0/0::gentoo, ebuild scheduled for merge) pulled in by |
32 |
> net-firewall/shorewall::gentoo (Argument) |
33 |
> |
34 |
> (net-firewall/shorewall-4.5.21.10-r1:0/0::gentoo, installed) pulled in by |
35 |
> =net-firewall/shorewall-4.5.21.10-r1 required by (net-firewall/shorewall-init-4.5.21.10-r1:0/0::gentoo, installed) |
36 |
> ^ ^^^^^^^^^^^^ |
37 |
> |
38 |
> |
39 |
> It may be possible to solve this problem by using package.mask to |
40 |
> prevent one of those packages from being selected. However, it is also |
41 |
> possible that conflicting dependencies exist such that they are |
42 |
> impossible to satisfy simultaneously. If such a conflict exists in |
43 |
> the dependencies of two different packages, then those packages can |
44 |
> not be installed simultaneously. You may want to try a larger value of |
45 |
> the --backtrack option, such as --backtrack=30, in order to see if |
46 |
> that will solve this conflict automatically. |
47 |
> |
48 |
> For more information, see MASKED PACKAGES section in the emerge man |
49 |
> page or refer to the Gentoo Handbook. |
50 |
> |
51 |
> |
52 |
> * Error: The above package list contains packages which cannot be |
53 |
> * installed at the same time on the same system. |
54 |
> |
55 |
> (net-firewall/shorewall-init-4.5.21.10-r1:0/0::gentoo, installed) pulled in by |
56 |
> net-firewall/shorewall-init required by @selected |
57 |
> |
58 |
> (net-firewall/shorewall-core-4.5.21.10-r1:0/0::gentoo, installed) pulled in by |
59 |
> =net-firewall/shorewall-core-4.5.21.10-r1 required by (net-firewall/shorewall-4.5.21.10-r1:0/0::gentoo, installed) |
60 |
> |
61 |
> |
62 |
> For more information about Blocked Packages, please refer to the following |
63 |
> section of the Gentoo Linux x86 Handbook (architecture is irrelevant): |
64 |
> |
65 |
> https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages |
66 |
|
67 |
should be clear enough for everyone. |
68 |
|
69 |
|
70 |
Well, it turns out that not everyone understands the merge conflict and |
71 |
knows what to do. Multiple users filled bugs and requested a news item, |
72 |
two recent examples: |
73 |
|
74 |
- https://bugs.gentoo.org/show_bug.cgi?id=544216#c2 |
75 |
- https://bugs.gentoo.org/show_bug.cgi?id=539664#c2 |
76 |
|
77 |
|
78 |
As proxy-maintainer I changed my mind today and created a news item. |
79 |
Mostly because it doesn't hurt anyone (no negative impact). It only |
80 |
helps people who don't know what to do... and why shouldn't we help if |
81 |
we can? |
82 |
|
83 |
Please review my proposal below: |
84 |
|
85 |
Just a few notes to explain my choice of words: |
86 |
|
87 |
1) The news item will tell the user what has changed and why this change |
88 |
was made. Interested users can read the bug report for further |
89 |
information. |
90 |
|
91 |
2) The given emerge command should work on all systems for every user. |
92 |
No need to check which package in detail they need to remove. |
93 |
No error messages like |
94 |
"--- Couldn't find 'net-firewall/shorewall-lite' to unmerge." |
95 |
because they didn't have shorewall-lite installed. |
96 |
|
97 |
3) The last paragraph should indicate that the new shorewall ebuild is |
98 |
"stable" and that they don't have to react immediately but within the |
99 |
next 30-60 days if they don't want to upgrade now. |
100 |
|
101 |
|
102 |
=========================================================================== |
103 |
Title: New net-firewall/shorewall all-in-one package |
104 |
Author: Thomas D. <whissi@××××××.de> |
105 |
Content-Type: text/plain |
106 |
Posted: 2015-04-<to-be-set> |
107 |
Revision: 1 |
108 |
News-Item-Format: 1.0 |
109 |
Display-If-Installed: net-firewall/shorewall-core |
110 |
Display-If-Installed: net-firewall/shorewall6 |
111 |
Display-If-Installed: net-firewall/shorewall-lite |
112 |
Display-If-Installed: net-firewall/shorewall6-lite |
113 |
Display-If-Installed: net-firewall/shorewall-init |
114 |
|
115 |
Starting with net-firewall/shorewall-4.6 we have re-integrated |
116 |
|
117 |
- net-firewall/shorewall-core |
118 |
- net-firewall/shorewall6 |
119 |
- net-firewall/shorewall-lite |
120 |
- net-firewall/shorewall6-lite |
121 |
- net-firewall/shorewall-init |
122 |
|
123 |
into a new all-in-one net-firewall/shorewall ebuild (see bug 522278). |
124 |
|
125 |
The new all-in-one ebuild makes maintenance a lot more easier because |
126 |
the package is proxy-maintained and finding someone who is willing to |
127 |
help you bumping 6 packages each time you provide an update was not easy |
128 |
in the past. |
129 |
|
130 |
Because net-firewall/shorewall{-core,6,-lite,6-lite,init} is now |
131 |
integrated in net-firewall/shorewall, we have to hard mask these old |
132 |
ebuilds in the new monolithic ebuild to prevent file collisions. |
133 |
|
134 |
Due to this block we cannot migrate to the new version without user |
135 |
interaction. Please remove the previous split ebuilds from your system |
136 |
if you want to upgrade: |
137 |
|
138 |
$ emerge --ask --unmerge 'net-firewall/shorewall-*' \ |
139 |
'net-firewall/shorewall6*' |
140 |
|
141 |
|
142 |
Please note: |
143 |
Since the second shorewall-4.6 ebuild is now stabilized and |
144 |
shorewall-4.5 is not compatible with the perl-5.20 (see bug 524558) we |
145 |
will start the removal process for shorewall-4.5 ebuilds within the next |
146 |
30 days. |
147 |
=========================================================================== |
148 |
|
149 |
|
150 |
-Thomas |