Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Gentoo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-23-2008, 01:08 PM
Mark Hobley
 
Posts: n/a
Installing a masked package

I am trying to install the utelnetd package, which has been masked.

emerge utelnetd
!!!All ebuilds that could satisfy 'utelnetd' have been masked.
!!!One of the following masked packages is required to complete your request:
- net-misc/utelnetd-0.1.9 (masked by: ~86 keyword)

I now create the file /etc/portage/package.keywords as follows:

net-misc/utelnetd ~86

I now try again the installation:

emerge utelnetd
!!!All ebuilds that could satisfy 'utelnetd' have been masked.
!!!One of the following masked packages is required to complete your request:
- net-misc/utelnetd-0.1.9 (masked by: ~86 keyword)

Ok, its not working. I now refer to the Gentoo handbook
3.c. Using Masked Packages

When a package has been masked by the Gentoo developers and you still
want to use it despite the reason mentioned in the package.mask file
(situated in /usr/portage/profiles by default), add the exact same line
in the /etc/portage/package.unmask file (or in a file in that directory
if it is a directory).

I examine /usr/portage/profiles/package.mask as follows:
grep utelnetd /usr/portage/profiles/package.mask

This returns no results. Why is the package showing as masked, and how
do I unmask it?

Thanks in advance to anyone who can help.

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
Reply With Quote
  #2 (permalink)  
Old 02-23-2008, 02:08 PM
Mark Hobley
 
Posts: n/a
Re: Installing a masked package

Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote:

> net-misc/utelnetd ~86


By removing the ~86 parameter from the file, I have now managed to
install the package.

Regards,

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
Reply With Quote
  #3 (permalink)  
Old 02-23-2008, 02:15 PM
pk
 
Posts: n/a
Re: Installing a masked package

Mark Hobley wrote:

> I now create the file /etc/portage/package.keywords as follows:
>
> net-misc/utelnetd ~86


It should be

net-misc/utelnetd ~x86

Regards

Reply With Quote
  #4 (permalink)  
Old 02-23-2008, 02:35 PM
pk
 
Posts: n/a
Re: Installing a masked package

Mark Hobley wrote:

> Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote:
>
>> net-misc/utelnetd ~86

>
> By removing the ~86 parameter from the file, I have now managed to
> install the package.


This relies on the fact that missing keyword implies unstable (ie, ~arch), a
feature documented but which might change in the future without notice.
It's better to explicitly specify the keyword (~x86 in your case).

Reply With Quote
  #5 (permalink)  
Old 02-24-2008, 10:25 AM
Aragorn
 
Posts: n/a
Re: Installing a masked package

pk wrote:

> Mark Hobley wrote:
>
>> I now create the file /etc/portage/package.keywords as follows:
>>
>> net-misc/utelnetd ~86

>
> It should be
>
> net-misc/utelnetd ~x86


Xen, the Xen kernel sources and the Xen tools are masked as well in Portage,
but I could install them nevertheless by adding them to
*/etc/portage/package.keywords* without the - in my case - "~amd64" and
then simply emerging them. This is with the latest version of Portage.

--
Aragorn
(registered GNU/Linux user #223157)
Reply With Quote
  #6 (permalink)  
Old 02-24-2008, 10:51 AM
pk
 
Posts: n/a
Re: Installing a masked package

Aragorn wrote:

> Xen, the Xen kernel sources and the Xen tools are masked as well in
> Portage, but I could install them nevertheless by adding them to
> */etc/portage/package.keywords* without the - in my case - "~amd64" and
> then simply emerging them. This is with the latest version of Portage.


Yes, this exploits the "missing keyword equals unstable" feature, as per man
portage:

package.keywords
Per-package KEYWORDS. Useful for mixing unstable
packages in with a normally stable system or vice
versa. This will allow ACCEPT_KEYWORDS to be augmented
for a single package.

Format:
- comment lines begin with # (no inline comments)
- one DEPEND atom per line followed by additional
KEYWORDS
- lines without any KEYWORDS imply unstable host arch

However, this was not true in the past and might change in the future as
well. Thus it's always better to explicitly specify the architecture
(~amd64 in your case).

Reply With Quote
  #7 (permalink)  
Old 02-24-2008, 11:55 AM
Aragorn
 
Posts: n/a
Re: Installing a masked package

pk wrote:

> Aragorn wrote:
>
>> Xen, the Xen kernel sources and the Xen tools are masked as well in
>> Portage, but I could install them nevertheless by adding them to
>> */etc/portage/package.keywords* without the - in my case - "~amd64" and
>> then simply emerging them. This is with the latest version of Portage.

>
> Yes, this exploits the "missing keyword equals unstable" feature, as per
> man portage:
>
> package.keywords
> Per-package KEYWORDS. Useful for mixing unstable
> packages in with a normally stable system or vice
> versa. This will allow ACCEPT_KEYWORDS to be
> augmented for a single package.
>
> Format:
> - comment lines begin with # (no inline comments)
> - one DEPEND atom per line followed by additional
> KEYWORDS
> - lines without any KEYWORDS imply unstable host arch
>
> However, this was not true in the past and might change in the future as
> well. Thus it's always better to explicitly specify the architecture
> (~amd64 in your case).


Okay, thanks for the heads up. I'll edit my package.keywords file and add
the keyword to it. ;-)

--
Aragorn
(registered GNU/Linux user #223157)
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Gentoo


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:45 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109