Re: /etc/portage or /etc/portage/profile
On Sat, 10 May 2008 18:08:05 GMT, Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote:
>In alt.os.linux.gentoo AZ Nomad <aznomad.3@premoveobthisox.com> wrote:
>> put the package in /etc/portage/profile/package.provided
>Looking at my /etc directory, I notice that my package.* files are
>located in /etc/portage as follows:
>/etc/portage/package.keywords
>/etc/portage/package.mask
>/etc/portage/package.use
>There is no subdirectory /etc/portage/profile/
>Googling around, I find references to both /etc/portage and
>/etc/portage/profile.
>These files appear in different locations, depending on which
>documentation I read. Hence I am confused.
>Is it necessary to create a subdirectory "profile"?
>Should I relocate my existing files /etc/portage files to a newly
>created profile subdirectory, or is /etc/portage ok?
>Do I have to modify or update scripts to reflect a change of location?
Create a file called /etc/portage/profile/package.provided. Create the profile
directory if needed.
In the file put the package category/name-version
For example, I have a /etc/portage/profile/package.provided with
the lines:
media-libs/libdvdread-0.9.7
media-video/transcode-1.0.6_rc2
It causes gentoo to think those packages are installed even though portage
didn't do it. If at some later date a newer package is required as a dependancy
such as a transcode-1.1.0, then portage will bitch and I'll have to manually
install a newer version (probably already done) and update the package.provided
file.
|