public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] I don't want portage to update Libreoffice......
@ 2013-08-10 16:27 Andrew Lowe
  2013-08-10 16:38 ` András Csányi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andrew Lowe @ 2013-08-10 16:27 UTC (permalink / raw
  To: gentoo-user

Hi all,
	As per usual an update of Libre Office is failing and causing all sorts 
of build troubles. I have an install, the previous version,  of Libre 
Office working so how do I stop portage from trying to update to the latest.

"Emerge --search libreoffice"

	reports

"Latest version installed: 4.1.0.1".

	In turn my /etc/portage/package.mask contains the line

 >app-office/libreoffice-4.1.0.1

	or

 >=app-office/libreoffice-4.1.0.1

	This results in portage wanting to downgrade libreoffice

[ebuild     UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]

What do I have to fiddle so that portage won't want to upgrade 
libreoffice? This is stopping my "-NuD world" from completing so I need 
to suppress libreoffice for the time being and come back to it later.

	Any thoughts, greatly appreciated,

		Andrew


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] I don't want portage to update Libreoffice......
  2013-08-10 16:27 [gentoo-user] I don't want portage to update Libreoffice Andrew Lowe
@ 2013-08-10 16:38 ` András Csányi
  2013-08-10 17:15 ` Neil Bothwick
  2013-08-10 17:16 ` Daniel Frey
  2 siblings, 0 replies; 7+ messages in thread
From: András Csányi @ 2013-08-10 16:38 UTC (permalink / raw
  To: gentoo-user

On 10 August 2013 18:27, Andrew Lowe <agl@wht.com.au> wrote:
> Hi all,
>         As per usual an update of Libre Office is failing and causing all
> sorts of build troubles. I have an install, the previous version,  of Libre
> Office working so how do I stop portage from trying to update to the latest.

Hi Andrew,

put the latest version into package.mask something like this:
>=app-office/libreoffice-latest-version

On the other hand, as you described you have version 4.1.0.1, but I
cannot see it in my portage tree, find it below. You would like to
keep this, I mean 4.1.0.1 version?

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


-- 
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] I don't want portage to update Libreoffice......
  2013-08-10 16:27 [gentoo-user] I don't want portage to update Libreoffice Andrew Lowe
  2013-08-10 16:38 ` András Csányi
@ 2013-08-10 17:15 ` Neil Bothwick
  2013-08-10 17:16 ` Daniel Frey
  2 siblings, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2013-08-10 17:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 905 bytes --]

On Sun, 11 Aug 2013 00:27:56 +0800, Andrew Lowe wrote:

> 	In turn my /etc/portage/package.mask contains the line
> 
>  >app-office/libreoffice-4.1.0.1  
> 
> 	or
> 
>  >=app-office/libreoffice-4.1.0.1  
> 
> 	This results in portage wanting to downgrade libreoffice
> 
> [ebuild     UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]
> 
> What do I have to fiddle so that portage won't want to upgrade 
> libreoffice? This is stopping my "-NuD world" from completing so I need 
> to suppress libreoffice for the time being and come back to it later.

4.1.0.1 is no longer in the portage tree, so 4.0.4.2 is the highest
version that fulfils your settings. The solution is to copy the ebuild
from /var/db/pkg into your local overlay (you will have to set one up if
not already done so) which will keep portage happy.


-- 
Neil Bothwick

"Daddy, what does formatting drive 'C' mean?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] I don't want portage to update Libreoffice......
  2013-08-10 16:27 [gentoo-user] I don't want portage to update Libreoffice Andrew Lowe
  2013-08-10 16:38 ` András Csányi
  2013-08-10 17:15 ` Neil Bothwick
@ 2013-08-10 17:16 ` Daniel Frey
  2013-08-12 17:54   ` Andrew Lowe
  2 siblings, 1 reply; 7+ messages in thread
From: Daniel Frey @ 2013-08-10 17:16 UTC (permalink / raw
  To: gentoo-user

On 08/10/2013 09:27 AM, Andrew Lowe wrote:
> Hi all,
>     As per usual an update of Libre Office is failing and causing all
> sorts of build troubles. I have an install, the previous version,  of
> Libre Office working so how do I stop portage from trying to update to
> the latest.
> 
> 
> [ebuild     UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]
> 
> What do I have to fiddle so that portage won't want to upgrade
> libreoffice? This is stopping my "-NuD world" from completing so I need
> to suppress libreoffice for the time being and come back to it later.
> 
>     Any thoughts, greatly appreciated,
> 
>         Andrew
> 

You can use the --exclude parameter (I think?) and it will ignore it for
the one command, then after everything is updated you can solve it
further. Try:

emerge --exclude app-office/libreoffice -NuD world

This is not a permanent change but it will allow you to complete your
update, then you can set the masking afterwards.

Dan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] I don't want portage to update Libreoffice......
  2013-08-10 17:16 ` Daniel Frey
@ 2013-08-12 17:54   ` Andrew Lowe
  2013-08-12 18:05     ` Paul Klos
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Lowe @ 2013-08-12 17:54 UTC (permalink / raw
  To: gentoo-user

On 08/11/13 01:16, Daniel Frey wrote:
> On 08/10/2013 09:27 AM, Andrew Lowe wrote:
>> Hi all,
>>      As per usual an update of Libre Office is failing and causing all
>> sorts of build troubles. I have an install, the previous version,  of
>> Libre Office working so how do I stop portage from trying to update to
>> the latest.
>>
>>
>> [ebuild     UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]
>>
>> What do I have to fiddle so that portage won't want to upgrade
>> libreoffice? This is stopping my "-NuD world" from completing so I need
>> to suppress libreoffice for the time being and come back to it later.
>>
>>      Any thoughts, greatly appreciated,
>>
>>          Andrew
>>
>
> You can use the --exclude parameter (I think?) and it will ignore it for
> the one command, then after everything is updated you can solve it
> further. Try:
>
> emerge --exclude app-office/libreoffice -NuD world
>
> This is not a permanent change but it will allow you to complete your
> update, then you can set the masking afterwards.
>
> Dan
>
>
It worked. Thanks. Now to get this all sorted out and Libre Office to 
build at leisure.

	Andrew


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] I don't want portage to update Libreoffice......
  2013-08-12 17:54   ` Andrew Lowe
@ 2013-08-12 18:05     ` Paul Klos
  2013-08-12 19:33       ` Alan McKinnon
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Klos @ 2013-08-12 18:05 UTC (permalink / raw
  To: gentoo-user

Op dinsdag 13 augustus 2013 01:54:00 schreef Andrew Lowe:
> On 08/11/13 01:16, Daniel Frey wrote:
> > On 08/10/2013 09:27 AM, Andrew Lowe wrote:
> >> Hi all,
> >>      As per usual an update of Libre Office is failing and causing all
> >> sorts of build troubles. I have an install, the previous version,  of
> >> Libre Office working so how do I stop portage from trying to update to
> >> the latest.
> >>
> >>
> >> [ebuild     UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]
> >>
> >> What do I have to fiddle so that portage won't want to upgrade
> >> libreoffice? This is stopping my "-NuD world" from completing so I need
> >> to suppress libreoffice for the time being and come back to it later.
> >>
> >>      Any thoughts, greatly appreciated,
> >>
> >>          Andrew
> >>
> >
> > You can use the --exclude parameter (I think?) and it will ignore it for
> > the one command, then after everything is updated you can solve it
> > further. Try:
> >
> > emerge --exclude app-office/libreoffice -NuD world
> >
> > This is not a permanent change but it will allow you to complete your
> > update, then you can set the masking afterwards.
> >
> > Dan
> >
> >
> It worked. Thanks. Now to get this all sorted out and Libre Office to 
> build at leisure.
> 
> 	Andrew
> 
FWIW, I had initially unmasked a bunch of stuff (suggested by portage) to get the first 4.x version of LO to compile. Upgrading to 4.0.4.2 only worked after I had upgraded boost and boost-build from 1.52 to 1.53. Portage had nothing to say about it, the build just failed with some weird boost errors.

Cheers

Paul



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] I don't want portage to update Libreoffice......
  2013-08-12 18:05     ` Paul Klos
@ 2013-08-12 19:33       ` Alan McKinnon
  0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2013-08-12 19:33 UTC (permalink / raw
  To: gentoo-user

On 12/08/2013 20:05, Paul Klos wrote:
> Op dinsdag 13 augustus 2013 01:54:00 schreef Andrew Lowe:
>> On 08/11/13 01:16, Daniel Frey wrote:
>>> On 08/10/2013 09:27 AM, Andrew Lowe wrote:
>>>> Hi all,
>>>>      As per usual an update of Libre Office is failing and causing all
>>>> sorts of build troubles. I have an install, the previous version,  of
>>>> Libre Office working so how do I stop portage from trying to update to
>>>> the latest.
>>>>
>>>>
>>>> [ebuild     UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]
>>>>
>>>> What do I have to fiddle so that portage won't want to upgrade
>>>> libreoffice? This is stopping my "-NuD world" from completing so I need
>>>> to suppress libreoffice for the time being and come back to it later.
>>>>
>>>>      Any thoughts, greatly appreciated,
>>>>
>>>>          Andrew
>>>>
>>>
>>> You can use the --exclude parameter (I think?) and it will ignore it for
>>> the one command, then after everything is updated you can solve it
>>> further. Try:
>>>
>>> emerge --exclude app-office/libreoffice -NuD world
>>>
>>> This is not a permanent change but it will allow you to complete your
>>> update, then you can set the masking afterwards.
>>>
>>> Dan
>>>
>>>
>> It worked. Thanks. Now to get this all sorted out and Libre Office to 
>> build at leisure.
>>
>> 	Andrew
>>
> FWIW, I had initially unmasked a bunch of stuff (suggested by portage) to get the first 4.x version of LO to compile. Upgrading to 4.0.4.2 only worked after I had upgraded boost and boost-build from 1.52 to 1.53. Portage had nothing to say about it, the build just failed with some weird boost errors.


You should log that as a bug, chances are good the devs are not aware of
it. They can't test every combination and so rely on us users to report
combinations shown to not work.


-- 
Alan McKinnon
Systems Engineer^W Technician
Infrastructure Services
Internet Solutions

+27 11 575 7585


-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-12 19:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-10 16:27 [gentoo-user] I don't want portage to update Libreoffice Andrew Lowe
2013-08-10 16:38 ` András Csányi
2013-08-10 17:15 ` Neil Bothwick
2013-08-10 17:16 ` Daniel Frey
2013-08-12 17:54   ` Andrew Lowe
2013-08-12 18:05     ` Paul Klos
2013-08-12 19:33       ` Alan McKinnon

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