Re: [gentoo-user] "emerge -uDN world" minus one package

2007-05-02 Thread Alan McKinnon
On Tuesday 01 May 2007, Jesse Adelman wrote:
> Any suggestions? When faced with a similar problem in the distant
> past, I've grabbed the old ebuild from CVS for mythtv (and plugins)
> and put it in an overlay, but that seems so inelegant... I'm not
> without a remedy, I just hope to find out a less invasive/cumbersome
> way to accomplish this.

But overlays are ideal for this. Think of it as overriding something 
while coding :-)

Grab the overlay you want to have installed, reversion it to 
$APCKAGE- and put it in the local overlay. It will then always be 
merged instead of the current one in portage.

You can even KEYWORDS="" the ebuild so you can quickly and easily change 
to the latest version in portage with a single entry 
in /etc/portage/package.


alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] "emerge -uDN world" minus one package

2007-05-01 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jesse Adelman wrote:
> Hi, all. I want to do an "emerge -uDN world", mostly to update Xorg to the 
> newest
> stable version. However, I have one package that I don't want to update, that
> being media-tv/mythtv. Now, the version of mythtv (and associated mythtv 
> plugins)
> that I have installed currently has been removed from Portage, so the normal
> package.mask changes don't appear to work and only offer a downgrade. I know I
> could just do each update individually (and get around this), but I'd like to 
> stay
> lazy and let "emerge -uDN world" just work. ;)
> 
> The nitty gritty:
> 
> I have installed:
> 
> media-tv/mythtv-0.20_p13288
> 
> Portage has an update:
> 
> media-tv/mythtv-0.20.1_p13344
> 
> But when I put this into package.mask
> 
>> =media-tv/mythtv-0.20.1_p13344
> 
> It then wants to downgrade to:
> 
> media-tv/mythtv-0.20_p13110
> 
> which I don't want.

You have to mask all versions both higher and lower than the version
that you want to be locked at:

echo ">media-tv/mythtv-0.20_p13288" >> /etc/portage/package.mask
echo "> /etc/portage/package.mask

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (GNU/Linux)

iD8DBQFGN4RK/ejvha5XGaMRAoVOAKCZNTiR3v2m28qvZXdOWfuKDS44WwCfbM7W
W7zDR2L5aL5lnwkKlYLHTkQ=
=GRvP
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] "emerge -uDN world" minus one package

2007-05-01 Thread Neil Bothwick
Hello Jesse Adelman,

> Any suggestions? When faced with a similar problem in the distant past,
> I've grabbed the old ebuild from CVS for mythtv (and plugins) and put
> it in an overlay, but that seems so inelegant...

Why? Overlays are for ebuilds not in the portage tree, and this ebuild is
no longer in the portage tree. You'll also need
">media-tv/mythtv-0.20_p13288" in /etc/portage/package.mask to prevent
portage trying to upgrade.

Or you could let the current version of mythtv be installed, it's working
fine here :)


-- 
Neil Bothwick

We are sorry, but the number you have dialed is imaginary.


signature.asc
Description: PGP signature


Re: [gentoo-user] "emerge -uDN world" minus one package

2007-05-01 Thread Daniel Vrcic
* Jesse Adelman <[EMAIL PROTECTED]> [07-05-01 14:08]:
[...]
> Any suggestions? When faced with a similar problem in the distant past,
> I've grabbed the old ebuild from CVS for mythtv (and plugins) and put it
> in an overlay, but that seems so inelegant...

You've grabbed the .ebuild for the version that is currently installed
but whose .ebuild disappeared from the portage tree? If so, you already
have it in the /var/db/pkg/ so you don't need to contact CVS. I wouldn't
say that's inelegant because you actually have the track of packet's
version installed on the system.
 
Anyway, I would temporarily remove media-tv/mythtv from the
/var/lib/portage/world and revert it back after portage's update world.

[...]

-- 
Daniel Vrcic

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] "emerge -uDN world" minus one package

2007-04-30 Thread Vikas Kumar
On 17:43 Mon 30 Apr , Jesse Adelman wrote:
> 
> The nitty gritty:
> 
> I have installed:
> 
> media-tv/mythtv-0.20_p13288
> 
> Portage has an update:
> 
> media-tv/mythtv-0.20.1_p13344
> 
> But when I put this into package.mask
> 
> >=media-tv/mythtv-0.20.1_p13344
> 
> It then wants to downgrade to:
> 
> media-tv/mythtv-0.20_p13110
> 
> which I don't want.
> 
> Any suggestions? When faced with a similar problem in the distant past, I've
> grabbed the old ebuild from CVS for mythtv (and plugins) and put it in an 
> overlay,
> but that seems so inelegant... I'm not without a remedy, I just hope to find 
> out a
> less invasive/cumbersome way to accomplish this.
> 
> Thanks in advance,
> 

Adding media-tv/mythtv-0.20.1_p13344 to /etc/portage/package.provided
sholud work.

-- 
* * * * * THIS TERMINAL IS IN USE * * * * *

-- 
[EMAIL PROTECTED] mailing list