Gentoo Archives: gentoo-user

From: John covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how do I keep package from being updated?
Date: Thu, 11 Jan 2007 16:49:36
Message-Id: 17830.26638.385853.215203@ccs.covici.com
In Reply to: Re: [gentoo-user] how do I keep package from being updated? by Hans-Werner Hilse
1 OK, I did put my php version in the /etc/portage/package.mask, but it
2 still wants to install a new major version -- curiously it says ebuild
3 -ns rather than just -n or -u. I put the following line in there
4 =dev-lang/php-4.4.4-r8
5
6 which is my current version of php and emerge said
7 [ebuild NS ] dev-lang/php-5.1.6-r6 USE="berkdb cli crypt gdbm
8 iconv ipv6 ldap ncurses nls pcre readline reflection session spell spl
9 ssl truetype unicode xml zlib -adabas -apache -apache2 -bcmath
10 -birdstep -bzip2 -calendar -cdb -cgi -cjk -concurrentmodphp -ctype
11 -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc
12 -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filepro
13 -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd
14 -gd-external -gmp -hardenedphp -hash -hyperwave-api -imap -informix
15 -inifile -interbase -iodbc -java-external -kerberos -libedit -mcve
16 -memlimit -mhash -ming -msql -mssql -mysql -mysqli -oci8
17 -oci8-instant-client -odbc -pcntl -pdo -pdo-external -pic -posix
18 -postgres -qdbm -recode -sapdb -sasl -sharedext -sharedmem -simplexml
19 -snmp -soap -sockets -solid -sqlite -sybase -sybase-ct -sysvipc
20 -threads -tidy -tokenizer -vm-goto -vm-switch -wddx -xmlreader -xmlrpc
21 -xmlwriter -xpm -xsl -yaz -zip"
22
23 on Thursday 01/11/2007 Hans-Werner Hilse(hilse@×××.de) wrote
24 > Hi,
25 >
26 > On Thu, 11 Jan 2007 09:50:31 -0500 John Covici <covici@××××××××××.com>
27 > wrote:
28 >
29 > > Hi. I just did emerge --pretend --update --deep world, but there is a
30 > > package which I don't want to have emerge update automatically -- how
31 > > do I accomplish this?
32 >
33 > You can mask it in /etc/portage/package.mask, for the syntax have a
34 > look at "man 5 portage". For your case, it's basically a line like
35 >
36 > >pkg-category/package-0.0.1
37 >
38 > assuming you want to keep 0.0.1.
39 >
40 >
41 > -hwh
42 > --
43 > gentoo-user@g.o mailing list
44
45 --
46 Your life is like a penny. You're going to lose it. The question is:
47 How do
48 you spend it?
49
50 John Covici
51 covici@××××××××××.com
52 --
53 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] how do I keep package from being updated? Hans-Werner Hilse <hilse@×××.de>