public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  package.provided syntax
@ 2006-03-06 17:58 Harry Putnam
  2006-03-06 18:10 ` Dave Nebinger
  2006-03-06 18:50 ` [gentoo-user] " Zac Medico
  0 siblings, 2 replies; 11+ messages in thread
From: Harry Putnam @ 2006-03-06 17:58 UTC (permalink / raw
  To: gentoo-user

I'm currently trying to get thru an emerge -vuD world but having
various things crop up.  Some I thought were handled long ago like
this overlooking what is in package.provided:

  rsnapshot-1.2.2
  bacula-1.48.5
  cvs-emacs-24

The last two are fake versions so they would stay ahead of what ever
comes into portage for a while.  My understanding is that portage
looks here, and if the version is newer it by passes these packages.

So this should not happen:

emerge -vuDp app-editors/emacs-cvs
These are the packages that would be merged, in order:

  Calculating dependencies... done!
  [ebuild U ] app-editors/emacs-cvs-22.0.50-r1 [22.0.50] USE="X gif
  gtk jpeg nls png spell -Xaw3d -tiff" 0 kB

Oh, and why is `tiff' turned off (-tiff)?

  

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  package.provided syntax
  2006-03-06 17:58 [gentoo-user] package.provided syntax Harry Putnam
@ 2006-03-06 18:10 ` Dave Nebinger
  2006-03-06 18:47   ` [gentoo-user] " Harry Putnam
  2006-03-06 18:51   ` Harry Putnam
  2006-03-06 18:50 ` [gentoo-user] " Zac Medico
  1 sibling, 2 replies; 11+ messages in thread
From: Dave Nebinger @ 2006-03-06 18:10 UTC (permalink / raw
  To: gentoo-user

Harry Putnam wrote:
> in package.provided:
> 
>   cvs-emacs-24

[snip]

> emerge -vuDp app-editors/emacs-cvs

Don't you see that cvs-emacs is not the same as emacs-cvs, or was this 
just a typo on your part?

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: package.provided syntax
  2006-03-06 18:10 ` Dave Nebinger
@ 2006-03-06 18:47   ` Harry Putnam
  2006-03-06 18:51   ` Harry Putnam
  1 sibling, 0 replies; 11+ messages in thread
From: Harry Putnam @ 2006-03-06 18:47 UTC (permalink / raw
  To: gentoo-user

Dave Nebinger <dnebinger@joat.com> writes:

> Harry Putnam wrote:
>> in package.provided:
>>   cvs-emacs-24
>
> [snip]
>
>> emerge -vuDp app-editors/emacs-cvs
>
> Don't you see that cvs-emacs is not the same as emacs-cvs, or was this
> just a typo on your part?

Gack.. not a typo a braino

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  package.provided syntax
  2006-03-06 17:58 [gentoo-user] package.provided syntax Harry Putnam
  2006-03-06 18:10 ` Dave Nebinger
@ 2006-03-06 18:50 ` Zac Medico
  2006-03-06 18:55   ` [gentoo-user] " Harry Putnam
  2006-03-06 19:09   ` Harry Putnam
  1 sibling, 2 replies; 11+ messages in thread
From: Zac Medico @ 2006-03-06 18:50 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Harry Putnam wrote:
> I'm currently trying to get thru an emerge -vuD world but having
> various things crop up.  Some I thought were handled long ago like
> this overlooking what is in package.provided:
> 
>   rsnapshot-1.2.2
>   bacula-1.48.5
>   cvs-emacs-24

The example for package.provided syntax in `man portage` shows categories like this:

app-backup/rsnapshot-1.2.2
app-backup/bacula-1.48.5
app-editors/emacs-cvs-24


And like Dave said, you have cvs-emacs rather than emacs-cvs.

Zac

> 
> The last two are fake versions so they would stay ahead of what ever
> comes into portage for a while.  My understanding is that portage
> looks here, and if the version is newer it by passes these packages.
> 
> So this should not happen:
> 
> emerge -vuDp app-editors/emacs-cvs
> These are the packages that would be merged, in order:
> 
>   Calculating dependencies... done!
>   [ebuild U ] app-editors/emacs-cvs-22.0.50-r1 [22.0.50] USE="X gif
>   gtk jpeg nls png spell -Xaw3d -tiff" 0 kB
> 
> Oh, and why is `tiff' turned off (-tiff)?
> 
>   
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEDISR/ejvha5XGaMRAiiNAJ96sa0yTnYzsimB3MwzkgSaC5KeHQCeJaQt
/siLLdvGc77aWlmKr4s+OxU=
=7fXZ
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: package.provided syntax
  2006-03-06 18:10 ` Dave Nebinger
  2006-03-06 18:47   ` [gentoo-user] " Harry Putnam
@ 2006-03-06 18:51   ` Harry Putnam
  2006-03-07  5:00     ` Glenn Enright
  1 sibling, 1 reply; 11+ messages in thread
From: Harry Putnam @ 2006-03-06 18:51 UTC (permalink / raw
  To: gentoo-user

Dave Nebinger <dnebinger@joat.com> writes:

> Harry Putnam wrote:
>> in package.provided:
>>   cvs-emacs-24
>
> [snip]
>
>> emerge -vuDp app-editors/emacs-cvs
>
> Don't you see that cvs-emacs is not the same as emacs-cvs, or was this
> just a typo on your part?

I thought it was a brain-dead case of blindness for a moment but on
changing /etc/portage/package.provide to:

  rsnapshot-1.2.2
  bacula-1.48.5
  emacs-cvs-24

This still turns up in:  emerge -vDup world

[ebuild U ] app-editors/emacs-cvs-22.0.50-r1 [22.0.50] USE="X gif gtk
jpeg nls png spell -Xaw3d -tiff" 0 kB

So what do think it means?

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: package.provided syntax
  2006-03-06 18:50 ` [gentoo-user] " Zac Medico
@ 2006-03-06 18:55   ` Harry Putnam
  2006-03-06 19:09   ` Harry Putnam
  1 sibling, 0 replies; 11+ messages in thread
From: Harry Putnam @ 2006-03-06 18:55 UTC (permalink / raw
  To: gentoo-user

Zac Medico <zmedico@gentoo.org> writes:

> app-backup/rsnapshot-1.2.2
> app-backup/bacula-1.48.5
> app-editors/emacs-cvs-24

Haa there it is.... 
Another dopey message was sent before I saw this, and the real sorry
part is that I've been caught by this before and not too long ago.

I've recently done a full reinstall from scratch and when I redid that
part I forgot about it again...

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: package.provided syntax
  2006-03-06 18:50 ` [gentoo-user] " Zac Medico
  2006-03-06 18:55   ` [gentoo-user] " Harry Putnam
@ 2006-03-06 19:09   ` Harry Putnam
  2006-03-07  8:00     ` Rumen Yotov
  2006-03-07  8:09     ` Zac Medico
  1 sibling, 2 replies; 11+ messages in thread
From: Harry Putnam @ 2006-03-06 19:09 UTC (permalink / raw
  To: gentoo-user

Zac Medico <zmedico@gentoo.org> writes:

>>   rsnapshot-1.2.2
>>   bacula-1.48.5
>>   cvs-emacs-24
>
> The example for package.provided syntax in `man portage` shows categories like this:
>
> app-backup/rsnapshot-1.2.2
> app-backup/bacula-1.48.5
> app-editors/emacs-cvs-24

Ok, I'm a little gun shy to post this now but I'm still seeing
somethign screwy.

cat /etc/portage/package.provided
app-backup/rsnapshot-1.2.2
app-backup/bacula-1.48.5
app-editors/emacs-cvs-24

emerge -vp app-editors/emacs-cvs:
  These are the packages that would be merged, in order:
  Calculating dependencies... done!
    [ebuild U ] app-editors/emacs-cvs-22.0.50-r1 [22.0.50] USE="X gif
    gtk jpeg nls png spell -Xaw3d -tiff" 0 kB


Man portage mentions a version must be included:
                     Format:
                     - comments begin with #
                     - one DEPEND atom per line
                     - relational operators are not allowed
                     - must include a version

It also says:
  . . . . . . Portage will  not  attempt  to  update  a
  package  that  is  listed  here  unless  another  package
  explicitly requires a version that is newer than what has
  been  listed.

So I thought maybe it didn't like my fake version so changed it to:

   app-editors/emacs-cvs-22.0.50-r1
And I still get the same output.  

Removing the -r1 since its not really emacs versioning and I still get
the same output...
Something is making emerge ignore this package.provided

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: package.provided syntax
  2006-03-06 18:51   ` Harry Putnam
@ 2006-03-07  5:00     ` Glenn Enright
  0 siblings, 0 replies; 11+ messages in thread
From: Glenn Enright @ 2006-03-07  5:00 UTC (permalink / raw
  To: gentoo-user

On Tuesday 07 March 2006 07:51, Harry Putnam wrote:
> >>   cvs-emacs-24

> [ebuild U ] app-editors/emacs-cvs-22.0.50-r1 

notice anything about the versions? the dependancy is obviously version 
specific, so yuor provision will need to be also


-- 
We are upping our standards ... so up yours.
		-- Pat Paulsen for President
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: package.provided syntax
  2006-03-06 19:09   ` Harry Putnam
@ 2006-03-07  8:00     ` Rumen Yotov
  2006-03-07 13:41       ` Harry Putnam
  2006-03-07  8:09     ` Zac Medico
  1 sibling, 1 reply; 11+ messages in thread
From: Rumen Yotov @ 2006-03-07  8:00 UTC (permalink / raw
  To: gentoo-user

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

On Monday 06 March 2006 21:09, Harry Putnam wrote:
> Zac Medico <zmedico@gentoo.org> writes:
> >>   rsnapshot-1.2.2
> >>   bacula-1.48.5
> >>   cvs-emacs-24
> >
> > The example for package.provided syntax in `man portage` shows categories
> > like this:
> >
> > app-backup/rsnapshot-1.2.2
> > app-backup/bacula-1.48.5
> > app-editors/emacs-cvs-24
>
> Ok, I'm a little gun shy to post this now but I'm still seeing
> somethign screwy.
>
> cat /etc/portage/package.provided
> app-backup/rsnapshot-1.2.2
> app-backup/bacula-1.48.5
> app-editors/emacs-cvs-24
>
> emerge -vp app-editors/emacs-cvs:
>   These are the packages that would be merged, in order:
>   Calculating dependencies... done!
>     [ebuild U ] app-editors/emacs-cvs-22.0.50-r1 [22.0.50] USE="X gif
>     gtk jpeg nls png spell -Xaw3d -tiff" 0 kB
>
>
> Man portage mentions a version must be included:
>                      Format:
>                      - comments begin with #
>                      - one DEPEND atom per line
>                      - relational operators are not allowed
>                      - must include a version
>
> It also says:
>   . . . . . . Portage will  not  attempt  to  update  a
>   package  that  is  listed  here  unless  another  package
>   explicitly requires a version that is newer than what has
>   been  listed.
>
> So I thought maybe it didn't like my fake version so changed it to:
>
>    app-editors/emacs-cvs-22.0.50-r1
> And I still get the same output.
>
> Removing the -r1 since its not really emacs versioning and I still get
> the same output...
> Something is making emerge ignore this package.provided
Hi,
In my case (using it a little but think it works) the file is in other dir:
# cat /etc/portage/profile/package.provided
app-admin/fam-2.7.0-r2
Only now i see that forgot to change this (left from fam--> gamin conversion).
HTH.Rumen

[-- Attachment #2: Type: application/pgp-signature, Size: 200 bytes --]

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

* Re: [gentoo-user]  Re: package.provided syntax
  2006-03-06 19:09   ` Harry Putnam
  2006-03-07  8:00     ` Rumen Yotov
@ 2006-03-07  8:09     ` Zac Medico
  1 sibling, 0 replies; 11+ messages in thread
From: Zac Medico @ 2006-03-07  8:09 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Harry Putnam wrote:
>> The example for package.provided syntax in `man portage` shows categories like this:
>>
>> app-backup/rsnapshot-1.2.2
>> app-backup/bacula-1.48.5
>> app-editors/emacs-cvs-24
> 
> Ok, I'm a little gun shy to post this now but I'm still seeing
> somethign screwy.
> 
> cat /etc/portage/package.provided

Oops, package.provided goes in /etc/portage/profile/ (it's an override for /etc/make.profile).  That's probably a common mistake.


> app-backup/rsnapshot-1.2.2
> app-backup/bacula-1.48.5
> app-editors/emacs-cvs-24
> 
> emerge -vp app-editors/emacs-cvs:
>   These are the packages that would be merged, in order:
>   Calculating dependencies... done!
>     [ebuild U ] app-editors/emacs-cvs-22.0.50-r1 [22.0.50] USE="X gif
>     gtk jpeg nls png spell -Xaw3d -tiff" 0 kB

Hmm, the emerge output indicates that app-editors/emacs-cvs-22.0.50 is installed (managed by portage).  Normally package.provided is used for packages that aren't managed by portage.  Now I'm not sure what you want to accomplish.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEDT/V/ejvha5XGaMRAuY5AJ9zVGlkeL+bjPhaA52m4d5edJQWlwCg44l7
x4iYA2CCaPYiLxTkqp7y29g=
=otXv
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: package.provided syntax
  2006-03-07  8:00     ` Rumen Yotov
@ 2006-03-07 13:41       ` Harry Putnam
  0 siblings, 0 replies; 11+ messages in thread
From: Harry Putnam @ 2006-03-07 13:41 UTC (permalink / raw
  To: gentoo-user

Rumen Yotov <rumen@qrypto.org> writes:


[...]

> Hi,
> In my case (using it a little but think it works) the file is in other dir:
> # cat /etc/portage/profile/package.provided
> app-admin/fam-2.7.0-r2

Zac Medico <zmedico@gentoo.org> writes:
> Oops, package.provided goes in /etc/portage/profile/ (it's an
> override for /etc/make.profile).  That's probably a common mistake.

Thanks posters... yup, no wonder it was being ignored eh?
All better now.

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-03-07 13:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-06 17:58 [gentoo-user] package.provided syntax Harry Putnam
2006-03-06 18:10 ` Dave Nebinger
2006-03-06 18:47   ` [gentoo-user] " Harry Putnam
2006-03-06 18:51   ` Harry Putnam
2006-03-07  5:00     ` Glenn Enright
2006-03-06 18:50 ` [gentoo-user] " Zac Medico
2006-03-06 18:55   ` [gentoo-user] " Harry Putnam
2006-03-06 19:09   ` Harry Putnam
2006-03-07  8:00     ` Rumen Yotov
2006-03-07 13:41       ` Harry Putnam
2006-03-07  8:09     ` Zac Medico

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