1 |
On 27/07/2013 00:43, Alan McKinnon wrote: |
2 |
> On 27/07/2013 00:16, Silvio Siefke wrote: |
3 |
>> Hello, |
4 |
>> |
5 |
>> On Fri, 26 Jul 2013 20:43:43 +0100 Mick <michaelkintzios@×××××.com> |
6 |
>> wrote: |
7 |
>> |
8 |
>>> You could mask any versions greater than >4.1.0.2 and lesser than |
9 |
>>> <4.1.0.2 I guess, but instead you may want to give |
10 |
>>> app-office/libreoffice-bin a spin which will save significant time |
11 |
>>> when you need to update/downgrade this package. |
12 |
>> |
13 |
>> I have now masked what you say, but the result is same, portage make |
14 |
>> a downgrade. |
15 |
>> |
16 |
>> emerge -s libreoffice without mask: |
17 |
>> * app-office/libreoffice |
18 |
>> Latest version available: 4.1.0.4 |
19 |
>> Latest version installed: 4.1.0.2 |
20 |
>> |
21 |
>> emerge -s libreoffice with mask: |
22 |
>> * app-office/libreoffice |
23 |
>> Latest version installed: 4.1.0.2 |
24 |
>> |
25 |
>> emerge -avuDN @world |
26 |
>> [ebuild UD ] app-office/libreoffice-l10n-4.0.4.2 [4.1.0.2] |
27 |
>> [ebuild UD ] dev-util/mdds-0.7.1:0/0 [0.8.1:0/0.8.1] |
28 |
>> [ebuild UD ] dev-libs/liborcus-0.3.0:0/0 [0.5.1:0/0.5] |
29 |
>> [ebuild UD ] app-office/libreoffice-4.0.4.2 [4.1.0.2] |
30 |
>> |
31 |
>> Its really crazy. I have netbook and p4 desktop, i want not run |
32 |
>> 12 hours compile orgy for small upgrade which normal no one feel. |
33 |
>> |
34 |
>> gentoomobile siefke # cat /etc/portage/package.mask |
35 |
>>> app-office/libreoffice-4.1.0.2 |
36 |
>>> app-office/libreoffice-l10n-4.1.0.2 |
37 |
>> |
38 |
>> when use the follow entry, is the same, downgrade. |
39 |
>> gentoomobile siefke # cat /etc/portage/package.mask |
40 |
>>> =app-office/libreoffice-4.1.0.2 |
41 |
>>> =app-office/libreoffice-l10n-4.1.0.2 |
42 |
>> |
43 |
>> Ideas? |
44 |
>> |
45 |
>> Thank you for help and nice weekend. |
46 |
> |
47 |
> You want to keep 4.1.0.2 but you have masked 4.1.0.2, that is why it |
48 |
> wants to downgrade. |
49 |
> |
50 |
> put this is package.mask; |
51 |
> |
52 |
>> app-office/libreoffice-4.1.0.2 |
53 |
>> app-office/libreoffice-l10n-4.1.0.2 |
54 |
> |
55 |
> |
56 |
> |
57 |
> If you still get an error, post the ENTIRE output, not bits of it. You |
58 |
> keep snipping out the parts that describe why portage is doing what it's |
59 |
> doing. We can't help you when you do that. |
60 |
> |
61 |
|
62 |
Correction: |
63 |
|
64 |
[I] app-office/libreoffice |
65 |
Available versions: 4.0.4.2 **4.0.9999 (~)4.1.0.4 **4.1.9999 **9999-r2 |
66 |
|
67 |
You've masked 4.1.0.2, but there is not such version in portage. |
68 |
4.1.0.4 is unstable, you run stable |
69 |
portage is doing the only thing it can do to give you a working |
70 |
libreoffice, which is emerge 4.0.4.2 |
71 |
|
72 |
|
73 |
Do this: |
74 |
|
75 |
in /var/db/pkg you will find a copy of the ebuild for the current |
76 |
*installed* version - 4.1.0.2. |
77 |
Copy that to a local overlay and mask all versions smaller and greater |
78 |
than that in package.mask. |
79 |
Portage will then keep the current version but you MUST keep a copy of |
80 |
the ebuild somewhere else |
81 |
When you someday want to upgrade libreoffice, undo the maskings. |
82 |
|
83 |
|
84 |
|
85 |
-- |
86 |
Alan McKinnon |
87 |
alan.mckinnon@×××××.com |