public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Upgrade only to bigger Version
Date: Sat, 27 Jul 2013 00:48:33 +0200	[thread overview]
Message-ID: <51F2FCC1.5010904@gmail.com> (raw)
In-Reply-To: <51F2FBAD.5030005@gmail.com>

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



  reply	other threads:[~2013-07-26 22:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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       ` Alan McKinnon [this message]
2013-07-27  0:58         ` Silvio Siefke
2013-07-26 22:51     ` Bruce Hill
2013-07-26 21:01 ` Volker Armin Hemmann
2013-07-26 22:19   ` Silvio Siefke
2013-07-26 22:36     ` William Kenworthy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F2FCC1.5010904@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox