public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  how to hold a package at a specific version (so emerge -uD world doesn't change it)?
@ 2009-01-28 15:33 Miernik
  2009-01-28 16:08 ` Stroller
  2009-01-28 16:48 ` Joshua Murphy
  0 siblings, 2 replies; 10+ messages in thread
From: Miernik @ 2009-01-28 15:33 UTC (permalink / raw
  To: gentoo-user

I am doing a 'emerge -uD' but one of the packages the version currently
in portage doesn't compile, so I want to keep my current version, and
prevent emerge from trying to update it. How can I put a package on hold
(like in Debian)?

I tried inserting:

=x11-wm/awesome-3.1-r1 ~amd64

in /etc/portage/package.keywords

but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
which fails, so the whole process is stopped.







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

* Re: [gentoo-user]  how to hold a package at a specific version (so emerge -uD world doesn't change it)?
  2009-01-28 15:33 [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)? Miernik
@ 2009-01-28 16:08 ` Stroller
  2009-01-28 16:48 ` Joshua Murphy
  1 sibling, 0 replies; 10+ messages in thread
From: Stroller @ 2009-01-28 16:08 UTC (permalink / raw
  To: gentoo-user, Miernik


On 28 Jan 2009, at 15:33, Miernik wrote:

> I am doing a 'emerge -uD' but one of the packages the version  
> currently
> in portage doesn't compile, so I want to keep my current version, and
> prevent emerge from trying to update it. How can I put a package on  
> hold
> (like in Debian)?
>
> I tried inserting:
>
> =x11-wm/awesome-3.1-r1 ~amd64
>
> in /etc/portage/package.keywords
>
> but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
> which fails, so the whole process is stopped.

I think you need to use /etc/portage/package.mask instead.

Stroller.




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

* Re: [gentoo-user] how to hold a package at a specific version (so  emerge -uD world doesn't change it)?
  2009-01-28 15:33 [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)? Miernik
  2009-01-28 16:08 ` Stroller
@ 2009-01-28 16:48 ` Joshua Murphy
  2009-01-28 20:10   ` Neil Bothwick
  1 sibling, 1 reply; 10+ messages in thread
From: Joshua Murphy @ 2009-01-28 16:48 UTC (permalink / raw
  To: gentoo-user

On Wed, Jan 28, 2009 at 10:33 AM, Miernik <public@public.miernik.name> wrote:
> I am doing a 'emerge -uD' but one of the packages the version currently
> in portage doesn't compile, so I want to keep my current version, and
> prevent emerge from trying to update it. How can I put a package on hold
> (like in Debian)?
>
> I tried inserting:
>
> =x11-wm/awesome-3.1-r1 ~amd64
>
> in /etc/portage/package.keywords
>
> but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
> which fails, so the whole process is stopped.

echo \>x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask
# and to prevent downgrades
echo \<x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask


-- 
Poison [BLX]
Joshua M. Murphy



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

* Re: [gentoo-user] how to hold a package at a specific version (so  emerge -uD world doesn't change it)?
  2009-01-28 16:48 ` Joshua Murphy
@ 2009-01-28 20:10   ` Neil Bothwick
  2009-01-28 20:41     ` momesso.andrea
  2009-01-28 23:51     ` [gentoo-user] " Joshua Murphy
  0 siblings, 2 replies; 10+ messages in thread
From: Neil Bothwick @ 2009-01-28 20:10 UTC (permalink / raw
  To: gentoo-user

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

On Wed, 28 Jan 2009 11:48:37 -0500, Joshua Murphy wrote:

> > =x11-wm/awesome-3.1-r1 ~amd64
> >
> > in /etc/portage/package.keywords
> >
> > but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
> > which fails, so the whole process is stopped.  
> 
> echo \>x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask
> # and to prevent downgrades

That blocks all future updates, not just the broken one.


-- 
Neil Bothwick

If there is light at the end of the tunnel...order more tunnel.

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

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

* Re: [gentoo-user] how to hold a package at a specific version (so  emerge -uD world doesn't change it)?
  2009-01-28 20:10   ` Neil Bothwick
@ 2009-01-28 20:41     ` momesso.andrea
  2009-01-28 21:22       ` Man Shankar
  2009-01-28 23:51     ` [gentoo-user] " Joshua Murphy
  1 sibling, 1 reply; 10+ messages in thread
From: momesso.andrea @ 2009-01-28 20:41 UTC (permalink / raw
  To: gentoo-user

Sorry for topposting (BlackBerry behavior).

I think that if emerge =x11-wm/awesome-3.1.1 fails, you should file a bug before masking it. 

================
Momesso Andrea
================

-----Original Message-----
From: Neil Bothwick <neil@digimed.co.uk>

Date: Wed, 28 Jan 2009 20:10:05 
To: <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] how to hold a package at a specific version (so 
  emerge -uD world doesn't change it)?


On Wed, 28 Jan 2009 11:48:37 -0500, Joshua Murphy wrote:

> > =x11-wm/awesome-3.1-r1 ~amd64
> >
> > in /etc/portage/package.keywords
> >
> > but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
> > which fails, so the whole process is stopped.  
> 
> echo \>x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask
> # and to prevent downgrades

That blocks all future updates, not just the broken one.


-- 
Neil Bothwick

If there is light at the end of the tunnel...order more tunnel.





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

* Re: [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)?
  2009-01-28 20:41     ` momesso.andrea
@ 2009-01-28 21:22       ` Man Shankar
  2009-01-29  9:13         ` [gentoo-user] " Miernik
  0 siblings, 1 reply; 10+ messages in thread
From: Man Shankar @ 2009-01-28 21:22 UTC (permalink / raw
  To: gentoo-user

On 20:41 Wed 28 Jan     , momesso.andrea@gmail.com wrote:
> Sorry for topposting (BlackBerry behavior).
> 
> I think that if emerge =x11-wm/awesome-3.1.1 fails, you should file a bug before masking it. 
> 
> ================
> Momesso Andrea
> ================
> 

+1

FWIW, have been using that version for about 10 days. Works great here.
What is the error you get?

> > > =x11-wm/awesome-3.1-r1 ~amd64
> > >
> > > in /etc/portage/package.keywords
> > >
> > > but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
> > > which fails, so the whole process is stopped.  
 
Normally, that works unless the greater version is stable or you have
accepted keyword for the greater version in some other place.

-- 

Thanks & Regards,
Man Shankar <man.ee.gen(at)gmail.com>



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

* Re: [gentoo-user] how to hold a package at a specific version (so  emerge -uD world doesn't change it)?
  2009-01-28 20:10   ` Neil Bothwick
  2009-01-28 20:41     ` momesso.andrea
@ 2009-01-28 23:51     ` Joshua Murphy
  1 sibling, 0 replies; 10+ messages in thread
From: Joshua Murphy @ 2009-01-28 23:51 UTC (permalink / raw
  To: gentoo-user

On Wed, Jan 28, 2009 at 3:10 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 28 Jan 2009 11:48:37 -0500, Joshua Murphy wrote:
>
>> > =x11-wm/awesome-3.1-r1 ~amd64
>> >
>> > in /etc/portage/package.keywords
>> >
>> > but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
>> > which fails, so the whole process is stopped.
>>
>> echo \>x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask
>> # and to prevent downgrades
>
> That blocks all future updates, not just the broken one.
>
>
> --
> Neil Bothwick
>
> If there is light at the end of the tunnel...order more tunnel.
>

Ah... I didn't read closely what the reason for wanting to hold at the
current version was, in the little time I had at that moment I just
threw an answer to the exact question in the title of the mail...
"hold a package at a specific version" ... you're right, though, for
the given reasons they're likely far better off only blocking the
problematic one.

-- 
Poison [BLX]
Joshua M. Murphy



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

* [gentoo-user]  Re: how to hold a package at a specific version (so   emerge -uD world doesn't change it)?
  2009-01-28 21:22       ` Man Shankar
@ 2009-01-29  9:13         ` Miernik
  2009-01-29 13:19           ` Sebastian Günther
  0 siblings, 1 reply; 10+ messages in thread
From: Miernik @ 2009-01-29  9:13 UTC (permalink / raw
  To: gentoo-user

Man Shankar <man.ee.gen@gmail.com> wrote:
> On 20:41 Wed 28 Jan     , momesso.andrea@gmail.com wrote:
>> 
>> I think that if emerge =x11-wm/awesome-3.1.1 fails, you should file a
>> bug before masking it. 

Well, it could take days, weeks, or more before the bug report is taken
care of, and I don't want to wait with my upgrade of the rest of the
system.

> +1
> 
> FWIW, have been using that version for about 10 days. Works great here.
> What is the error you get?

I did, read here:
http://bugs.gentoo.org/show_bug.cgi?id=256641

Thanks for anwsers, masking worked.




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

* Re: [gentoo-user]  Re: how to hold a package at a specific version (so   emerge -uD world doesn't change it)?
  2009-01-29  9:13         ` [gentoo-user] " Miernik
@ 2009-01-29 13:19           ` Sebastian Günther
  2009-01-29 13:53             ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Sebastian Günther @ 2009-01-29 13:19 UTC (permalink / raw
  To: gentoo-user

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

* Miernik (public@public.miernik.name) [29.01.09 11:09]:
> 
> Well, it could take days, weeks, or more before the bug report is taken
> care of, and I don't want to wait with my upgrade of the rest of the
> system.
> 
doesn't

emerge --skipfirst

ring any bell?

HTH
Sebastian

-- 
 " Religion ist das Opium des Volkes. "      Karl Marx

 SEB@STI@N GÜNTHER         mailto:samson@guenther-roetgen.de

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [gentoo-user]  Re: how to hold a package at a specific version (so   emerge -uD world doesn't change it)?
  2009-01-29 13:19           ` Sebastian Günther
@ 2009-01-29 13:53             ` Neil Bothwick
  0 siblings, 0 replies; 10+ messages in thread
From: Neil Bothwick @ 2009-01-29 13:53 UTC (permalink / raw
  To: gentoo-user

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

On Thu, 29 Jan 2009 14:19:45 +0100, Sebastian Günther wrote:

> doesn't
> 
> emerge --skipfirst
> 
> ring any bell?

Or even emerge --keep-going if you want to take that route.


-- 
Neil Bothwick

CPU: (n.) acronym for Central Purging Unit. A device which discards or
distorts data sent to it, sometimes returning more data and sometimes
merely over-heating.

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

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

end of thread, other threads:[~2009-01-29 13:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 15:33 [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)? Miernik
2009-01-28 16:08 ` Stroller
2009-01-28 16:48 ` Joshua Murphy
2009-01-28 20:10   ` Neil Bothwick
2009-01-28 20:41     ` momesso.andrea
2009-01-28 21:22       ` Man Shankar
2009-01-29  9:13         ` [gentoo-user] " Miernik
2009-01-29 13:19           ` Sebastian Günther
2009-01-29 13:53             ` Neil Bothwick
2009-01-28 23:51     ` [gentoo-user] " Joshua Murphy

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