public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Upgrade only to bigger Version
  @ 2013-07-26 22:48 99%       ` Alan McKinnon
  0 siblings, 0 replies; 1+ results
From: Alan McKinnon @ 2013-07-26 22:48 UTC (permalink / raw
  To: gentoo-user

On 27/07/2013 00:43, Alan McKinnon wrote:
> On 27/07/2013 00:16, Silvio Siefke wrote:
>> Hello,
>>
>> On Fri, 26 Jul 2013 20:43:43 +0100 Mick <michaelkintzios@gmail.com>
>> wrote:
>>
>>> You could mask any versions greater than >4.1.0.2 and lesser than
>>> <4.1.0.2 I guess, but instead you may want to give
>>> app-office/libreoffice-bin a spin which will save significant time
>>> when you need to update/downgrade this package.
>>
>> I have now masked what you say, but the result is same, portage make
>> a downgrade. 
>>
>> emerge -s libreoffice without mask:
>> *  app-office/libreoffice
>>       Latest version available: 4.1.0.4
>>       Latest version installed: 4.1.0.2
>>
>> emerge -s libreoffice with mask:
>> *  app-office/libreoffice
>>       Latest version installed: 4.1.0.2
>>
>> emerge -avuDN @world
>> [ebuild     UD ] app-office/libreoffice-l10n-4.0.4.2 [4.1.0.2]
>> [ebuild     UD ] dev-util/mdds-0.7.1:0/0 [0.8.1:0/0.8.1]
>> [ebuild     UD ] dev-libs/liborcus-0.3.0:0/0 [0.5.1:0/0.5]
>> [ebuild     UD ] app-office/libreoffice-4.0.4.2 [4.1.0.2]
>>
>> Its really crazy. I have netbook and p4 desktop, i want not run
>> 12 hours compile orgy for small upgrade which normal no one feel.
>>
>> gentoomobile siefke # cat /etc/portage/package.mask 
>>> app-office/libreoffice-4.1.0.2
>>> app-office/libreoffice-l10n-4.1.0.2
>>
>> when use the follow entry, is the same, downgrade. 
>> gentoomobile siefke # cat /etc/portage/package.mask 
>>> =app-office/libreoffice-4.1.0.2
>>> =app-office/libreoffice-l10n-4.1.0.2
>>
>> Ideas? 
>>
>> Thank you for help and nice weekend.
> 
> You want to keep 4.1.0.2 but you have masked 4.1.0.2, that is why it
> wants to downgrade.
> 
> put this is package.mask;
> 
>> app-office/libreoffice-4.1.0.2
>> app-office/libreoffice-l10n-4.1.0.2
> 
> 
> 
> If you still get an error, post the ENTIRE output, not bits of it. You
> keep snipping out the parts that describe why portage is doing what it's
> doing. We can't help you when you do that.
> 

Correction:

[I] app-office/libreoffice
     Available versions:  4.0.4.2 **4.0.9999 (~)4.1.0.4 **4.1.9999 **9999-r2

You've masked 4.1.0.2, but there is not such version in portage.
4.1.0.4 is unstable, you run stable
portage is doing the only thing it can do to give you a working
libreoffice, which is emerge 4.0.4.2


Do this:

in /var/db/pkg you will find a copy of the ebuild for the current
*installed* version - 4.1.0.2.
Copy that to a local overlay and mask all versions smaller and greater
than that in package.mask.
Portage will then keep the current version but you MUST keep a copy of
the ebuild somewhere else
When you someday want to upgrade libreoffice, undo the maskings.



-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-07-26 18:33     [gentoo-user] Upgrade only to bigger Version Silvio Siefke
2013-07-26 19:43     ` Mick
2013-07-26 22:16       ` Silvio Siefke
2013-07-26 22:43         ` Alan McKinnon
2013-07-26 22:48 99%       ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox