Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to emerge MASKED PACKAGES?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
xdanx
n00b
n00b


Joined: 20 Jun 2005
Posts: 14

PostPosted: Tue Jun 21, 2005 11:27 pm    Post subject: How to emerge MASKED PACKAGES? Reply with quote

Can someone show me plz??
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3343

PostPosted: Wed Jun 22, 2005 12:14 am    Post subject: Reply with quote

from "man portage":
Quote:
MASKED PACKAGES
NOTE: Please use caution when using development packages. Problems and
bugs resulting from misusing masked packages drains Gentoo developer
time. Please be sure you are capable of handling any problems that may
ensue.

Masks in portage provide three primary functions: they allow a testing
period where the packages can be used in live machines; they prevent
the use of a package when it will fail; and they mask existing packages
that are broken or could pose a security risk. Masking can be done by
two methods: package.mask and KEYWORDS. Read below to find out how to
unmask in either case. Also note that if you give emerge an ebuild,
then all forms of masking will be ignored and emerge will attempt to
emerge the package.

package.mask
The package.mask file primarily blocks the use of packages that
cause problems or are known to have issues on different systems.
It resides in /usr/portage/profiles.

KEYWORDS
The KEYWORDS variable in an ebuild file is also used for masking
a package still in testing. There are architecture-specific
keywords for each package that let portage know which systems
are compatible with the package. Packages which compile on an
architecture, but have not been proven to be "stable", are
masked with a tilde (~) in front of the architecture name.
emerge examines the ACCEPT_KEYWORDS environment variable to
allow or disallow the emerging of a package masked by KEYWORDS.
To inform emerge that it should build these 'testing' versions
of packages, you should update your /etc/portage/package.key-
words file to list the packages you want the 'testing' version.
See portage(5) for more information.

also see http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1#doc_chap4 for more info
_________________
"Sex: breakfast of champions" - James Hunt
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3343

PostPosted: Wed Jun 22, 2005 12:16 am    Post subject: Reply with quote

basically add it to package.unmask in /etc

use =<packagename><packageversion> to unmask a particular version
use >=<packagename><packageversion> to unmask a version and versions above that
_________________
"Sex: breakfast of champions" - James Hunt
Back to top
View user's profile Send private message
xdanx
n00b
n00b


Joined: 20 Jun 2005
Posts: 14

PostPosted: Wed Jun 22, 2005 7:57 am    Post subject: Reply with quote

cokehabit wrote:
basically add it to package.unmask in /etc

use =<packagename><packageversion> to unmask a particular version
use >=<packagename><packageversion> to unmask a version and versions above that


It doesn't work.

Xbox root # cat /etc/package.unmask
app-misc/gpsdrive-2.09
gpsdrive-2.09

=============================================

Xbox root # emerge =app-misc/gpsdrive-2.09
Calculating dependencies
!!! All ebuilds that could satisfy "=app-misc/gpsdrive-2.09" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-misc/gpsdrive-2.09 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
Back to top
View user's profile Send private message
kenyon
Apprentice
Apprentice


Joined: 23 Dec 2004
Posts: 155
Location: Southern California

PostPosted: Wed Jun 22, 2005 7:59 am    Post subject: Reply with quote

Put =app-misc/gpsdrive-2.09 into package.unmask. Note the equal sign.
Back to top
View user's profile Send private message
ps2
Guru
Guru


Joined: 29 Nov 2003
Posts: 317
Location: Barcelona

PostPosted: Wed Jun 22, 2005 8:37 am    Post subject: Reply with quote

I have mysql 4.0 but I want to use my gentoo as a client for another machine running mysql41. my gentoo is unable to login because it seems mysql41 authentication breacks compatibility with previus mysql40.
I have done this:

more /etc/package.unmask
=dev-db/mysql-4.1.12

But it doesnt work :oops:
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Wed Jun 22, 2005 9:04 am    Post subject: Reply with quote

@ps2: It's /etc/portage/package.unmask, and you've got to put it into /etc/portage/package.keywords as well (if you're not running ~x86 globally).

Moved from Portage & Programming to Duplicate Threads in favour of GF5: What are masked packages?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum