Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > use of package.mask file
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 1st September 00:36
peter
External User
 
Posts: 1
Default use of package.mask file


Today, Mozilla 1.7.8 came through emerge. I really don't use it so much
(except for programs such as Evolution needing it) and compiling takes
around 30-40 minutes. I would like to limit updates to major version
revisions. If I put the line

<www-client/mozilla-1.8.0

in the /etc/portage/package.mask file, would this prevent 1.7.8* and
1.7.9* from emerging and wait until 1.8.0?

Then, when 1.8.0 comes through, I would update package.mask to 1.8.5 or so.

Would this scheme work? Any better ideas? Thx
  Reply With Quote


  sponsored links


2 1st September 00:36
peter
External User
 
Posts: 1
Default use of package.mask file


Turns out if I did just this, I received errors about mozilla being
masked. So, I added

=www.client/mozilla-1.7.8

to the package.unmask file. Is there a simpler or better way?

Thx
  Reply With Quote
3 1st September 00:36
andyfraser31
External User
 
Posts: 1
Default use of package.mask file


Should do. Try it and see. ;-) Use the -p flag with emerge of course.

The only flaw I can think of in your plan is with regards to security.
If a version of Mozilla 1.7.x has a serious security flaw you could end
up being vulnerable for months. If you're aware of it then you can make
your own arrangments of course.

I usually leave packages with llong build times until evenings and
weekends when I can use my Mac in the living room so this sort of thing
doesn't bother me. :-)

--
Andy.
  Reply With Quote
4 1st September 00:36
andyfraser31
External User
 
Posts: 1
Default use of package.mask file


Doh! Of course it will.

One option is to mask all >www-client/mozilla-1.7.8 and watch out for
Mozilla 1.8 going stable but I doubt you'll want that.

If it doesn't already Portage could do with an ability to do something
like mask ">www-client/mozilla-1.7.8 && <www-client/mozilla-1.8". It
might be worth reading the Gentoo docs.

--
Andy.
  Reply With Quote
5 1st September 00:36
mikeyd
External User
 
Posts: 1
Default use of package.mask file


Yes, but it will cause problems with dependencies. Maybe you could add your current version to package.unmask?


There isn't going to be a 1.8, is there?
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666