public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] package.provided messes up emerging of package slots?
@ 2011-09-12 15:41 Nikos Chantziaras
  2011-09-12 16:31 ` Pandu Poluan
  2011-09-12 16:42 ` [gentoo-user] " Michael Schreckenbauer
  0 siblings, 2 replies; 17+ messages in thread
From: Nikos Chantziaras @ 2011-09-12 15:41 UTC (permalink / raw
  To: gentoo-user

In my /etc/portage/profile/package.provided, I have this:

   media-libs/freetype-1.4_pre20080316-r2

When I try to emerge freetype however, instead of emerging the newer 
version, I get:

   $ emerge freetype

   WARNING: A requested package will not be merged because it is listed
   in package.provided:

     freetype pulled in by 'args'

   Nothing to merge; would you like to auto-clean packages? [Yes/No]

Trying "emerge freetype:2" also won't work.  The only only to emerge it 
seems is by using the whole version ("emerge =freetype-2.4.6").  Is this 
a bug?




^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: package.provided messes up emerging of package slots?
@ 2011-09-12 20:49 Pandu Poluan
  0 siblings, 0 replies; 17+ messages in thread
From: Pandu Poluan @ 2011-09-12 20:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2065 bytes --]

On Sep 13, 2011 2:10 AM, "Nikos Chantziaras" <realnc@arcor.de> wrote:
>
> On 09/12/2011 08:17 PM, Michael Schreckenbauer wrote:
>>
>> On Monday, 12. September 2011 20:04:47 Nikos Chantziaras wrote:
>>>
>>> On 09/12/2011 07:42 PM, Michael Schreckenbauer wrote:
>>>>
>>>> On Monday, 12. September 2011 18:41:37 Nikos Chantziaras wrote:
>>>>>
>>>>> In my /etc/portage/profile/package.provided, I have this:
>>>>>     media-libs/freetype-1.4_pre20080316-r2
>>>>>
>>>>> When I try to emerge freetype however, instead of emerging the newer
>>>>>
>>>>> version, I get:
>>>>>     $ emerge freetype
>>>>>
>>>>>     WARNING: A requested package will not be merged because it is
>>>>>     listed
>>>>>
>>>>>     in package.provided:
>>>>>       freetype pulled in by 'args'
>>>>>
>>>>>     Nothing to merge; would you like to auto-clean packages?
>>>>>     [Yes/No]
>>>>>
>>>>> Trying "emerge freetype:2" also won't work.  The only only to emerge
>>>>> it
>>>>> seems is by using the whole version ("emerge =freetype-2.4.6").  Is
>>>>> this
>>>>> a bug?
>>>>
>>>>
>>>> At least it's inconsistent. I would expect that the emerge with
complete
>>>> version also fails.
>>>
>>>
>>> It's slotted, so it shouldn't fail.  Freetype 1 and 2 can be installed
>>> at the same time.
>>
>>
>> Yes, that's true for the packages provided by portage. portage does not
know
>> anything about the freetype you provide, so it shouldn't install any
freetype
>> from any slot by any command.
>
>
> I don't see how it doesn't know anything about it, given that it requires
me to list a full package atom in package.provided.  So it always knows
which version should be considered as being provided.
>

Well, Portage in your case only knows 'which' version is provided so
packages that depend on that version can be emerged.

But, Portage has no knowledge of the 'provided' package's files (e.g., no
data about the package in /var/db) since listing a package in
package.provided implies the package is not managed by Portage. This means,
Portage can't do anything to the 'provided' package.

Rgds,

[-- Attachment #2: Type: text/html, Size: 3045 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-09-12 23:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-12 15:41 [gentoo-user] package.provided messes up emerging of package slots? Nikos Chantziaras
2011-09-12 16:31 ` Pandu Poluan
2011-09-12 16:49   ` [gentoo-user] " Nikos Chantziaras
2011-09-12 20:31     ` Alan McKinnon
2011-09-12 20:48       ` Nikos Chantziaras
2011-09-12 21:18         ` Alan McKinnon
2011-09-12 16:42 ` [gentoo-user] " Michael Schreckenbauer
2011-09-12 17:04   ` [gentoo-user] " Nikos Chantziaras
2011-09-12 17:17     ` Michael Schreckenbauer
2011-09-12 18:31       ` Nikos Chantziaras
2011-09-12 19:02         ` Michael Schreckenbauer
2011-09-12 20:42           ` Nikos Chantziaras
2011-09-12 21:18             ` Michael Schreckenbauer
2011-09-12 22:11               ` Nikos Chantziaras
2011-09-12 22:26                 ` Michael Schreckenbauer
2011-09-12 23:17                   ` Nikos Chantziaras
  -- strict thread matches above, loose matches on Subject: below --
2011-09-12 20:49 Pandu Poluan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox