Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Make portage assume, that a package is installed
Date: Fri, 15 Jun 2007 07:02:06
Message-Id: 2771855.Lc05nKGiQP@kn.gn.rtr.message-center.info
1 Good morning!
2
3 On my system, I don't use a modem and don't intend to ever
4 do so. Because of this, I did not install net-dialup/ppp.
5 But I'd now like to install kde-base/kde-meta, which will
6 pull in kde-base/kdenetwork-meta, which will pull in kde-base/kppp
7 and this will finally pull in net-dialup/ppp.
8
9 Can I now make it somehow so, that I am able to install kdenetwork-meta,
10 but NOT install kppp & ppp?
11
12 In the documentation at <http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=5>
13 and in man portage at <http://gentoo-wiki.com/MAN_Portage>, I read,
14 that I might be able to use the package.provided file. But according
15 to the man page, it is located in the profile directory (/etc/make.profile).
16 I'd rather NOT fiddle with files in such a directory.
17
18 So I tried to create the file in /etc/portage. Contents:
19
20 --($:~)-- cat /etc/portage/package.provided
21 kde-base/kppp-3.5.7
22 net-dialup/ppp-2.4.4-r8
23
24 But when I run emerge, I get the following output:
25
26 [nomerge ] kde-base/kde-meta-3.5.7 USE="-accessibility nls"
27 [ebuild N ] kde-base/kdenetwork-meta-3.5.7 USE="wifi" 0 kB
28 [ebuild N ] kde-base/kppp-3.5.7 USE="-arts -debug kdeenablefinal kdehiddenvisibility xinerama" 0 kB
29 [ebuild N ] net-dialup/ppp-2.4.4-r8 USE="-activefilter -atm -dhcp -eap-tls gtk -ipv6 -mppe-mppc pam -radius" 0 kB
30 [nomerge ] net-im/ekiga-2.0.9 USE="-avahi dbus -debug doc gnome sdl"
31
32 Ie. ppp would be installed.
33
34 Obviously, I'm doing something wrong.
35
36 How do I do it right?
37
38 Thanks,
39
40 Alexander Skwar
41
42 --
43 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Make portage assume, that a package is installed Justin Findlay <justin@××××××××.us>
Re: [gentoo-user] Make portage assume, that a package is installed Peter Alfredsen <peter.alfredsen@×××××.com>
Re: [gentoo-user] Make portage assume, that a package is installed "Boyd Stephen Smith Jr." <bss03@××××××××××.net>
Re: [gentoo-user] Make portage assume, that a package is installed Jan Seeger <jan.seeger@×××××.com>