From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 979C61381F3 for ; Fri, 26 Jul 2013 22:51:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F09DBE0AD7; Fri, 26 Jul 2013 22:51:07 +0000 (UTC) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CFBFAE0ABE for ; Fri, 26 Jul 2013 22:51:06 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id c10so1422939wiw.2 for ; Fri, 26 Jul 2013 15:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=akZzytncxMdo0I49tkY0Jy42OABFRXuolv7caQzKgH8=; b=T19qvc/9R0wA3AjigdR03o9nqNCBm+/ctAiPzJf2QSc+LqIas7arcsfmAfY5g/YtNS Qh6h5qb1KVGck9Na99kEp+SoDvMGYO7Z14x46afgVBCT3+ZZ/FGFZKs0xbFp51o5v9Sv dlS/RQcep3rGRQBX87lkfD+m1Tx65Pa32zIhIkQyYhV0/qZyqYHZqETAk7mQoHZU+E17 U2s50vyUYpIdOwlT21vjr+Elbb0+P+h03t2qFjCJjxOBjEhRXHqSLusF3MYu15lbYl9d 6NTR6vc9f/2RwUVb+xdObOTobswKc/v6uQfG3kMoeGYpLlmm4BM9B6mh6hvLozWIopA7 ERkQ== X-Received: by 10.194.157.198 with SMTP id wo6mr36371605wjb.60.1374879065504; Fri, 26 Jul 2013 15:51:05 -0700 (PDT) Received: from [172.20.0.41] (196-210-102-70.dynamic.isadsl.co.za. [196.210.102.70]) by mx.google.com with ESMTPSA id r8sm7619761wiz.5.2013.07.26.15.51.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 15:51:05 -0700 (PDT) Message-ID: <51F2FCC1.5010904@gmail.com> Date: Sat, 27 Jul 2013 00:48:33 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130709 Thunderbird/17.0.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Upgrade only to bigger Version References: <20130726203352.b6be8e91d16cd241542484f8@web.de> <201307262043.53619.michaelkintzios@gmail.com> <20130727001657.ac533a04be0955000aeae05d@web.de> <51F2FBAD.5030005@gmail.com> In-Reply-To: <51F2FBAD.5030005@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: ec871e30-b3a5-4b4f-8caf-1d8a789d98c0 X-Archives-Hash: 04b9dcdc00b8fbb6b99cacfb1c46a998 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 >> 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