public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
@ 2013-05-08 11:05 Thomas Mueller
  2013-05-08 11:37 ` Michael Hampicke
  2013-05-08 12:28 ` Neil Bothwick
  0 siblings, 2 replies; 13+ messages in thread
From: Thomas Mueller @ 2013-05-08 11:05 UTC (permalink / raw
  To: gentoo-user

Having package data in /var/db/pkg/<category>/<package-name> carries the nuisance factor that finding a package involves a fishing expedition through many possible categories.

I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc and FreeBSD ports, though FreeBSD is wsitching to a different structure nkwon as pkgng.

Is there any way to configure so as to avoid this annoyance in Gentoo?  Like maybe making /var/db/pkg/<package-name>?

One can do
ls /var/db/pkg/*/<package-name> but this is still an annoyance.

I have some limited experience with Gentoo Linux on my older computer.  Compiling the kernel took 130 minutes, and then the kernel failed to boot.

Tom



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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-08 11:05 Thomas Mueller
@ 2013-05-08 11:37 ` Michael Hampicke
  2013-05-08 11:41   ` Randolph Maaßen
  2013-05-08 12:28 ` Neil Bothwick
  1 sibling, 1 reply; 13+ messages in thread
From: Michael Hampicke @ 2013-05-08 11:37 UTC (permalink / raw
  To: gentoo-user

Am 08.05.2013 13:05, schrieb Thomas Mueller:
> Having package data in /var/db/pkg/<category>/<package-name> carries the nuisance factor that finding a package involves a fishing expedition through many possible categories.
> 
> I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc and FreeBSD ports, though FreeBSD is wsitching to a different structure nkwon as pkgng.
> 
> Is there any way to configure so as to avoid this annoyance in Gentoo?  Like maybe making /var/db/pkg/<package-name>?
> 
> One can do
> ls /var/db/pkg/*/<package-name> but this is still an annoyance.
> 
> I have some limited experience with Gentoo Linux on my older computer.  Compiling the kernel took 130 minutes, and then the kernel failed to boot.

What are you trying to accomplish? I mean, why do you need to navigate
around /var/db/pkg? I'm pretty sure there's a better alternative for
your needs.



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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-08 11:37 ` Michael Hampicke
@ 2013-05-08 11:41   ` Randolph Maaßen
  0 siblings, 0 replies; 13+ messages in thread
From: Randolph Maaßen @ 2013-05-08 11:41 UTC (permalink / raw
  To: gentoo-user

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

2013/5/8 Michael Hampicke <mh@hadt.biz>

> Am 08.05.2013 13:05, schrieb Thomas Mueller:
> > Having package data in /var/db/pkg/<category>/<package-name> carries the
> nuisance factor that finding a package involves a fishing expedition
> through many possible categories.
> >
> > I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc and
> FreeBSD ports, though FreeBSD is wsitching to a different structure nkwon
> as pkgng.
> >
> > Is there any way to configure so as to avoid this annoyance in Gentoo?
>  Like maybe making /var/db/pkg/<package-name>?
> >
> > One can do
> > ls /var/db/pkg/*/<package-name> but this is still an annoyance.
> >
> > I have some limited experience with Gentoo Linux on my older computer.
>  Compiling the kernel took 130 minutes, and then the kernel failed to boot.
>
> What are you trying to accomplish? I mean, why do you need to navigate
> around /var/db/pkg? I'm pretty sure there's a better alternative for
> your needs.
>
>
>
Have a look at eix or equery, just match them for your needs

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen

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

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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-08 11:05 Thomas Mueller
  2013-05-08 11:37 ` Michael Hampicke
@ 2013-05-08 12:28 ` Neil Bothwick
  1 sibling, 0 replies; 13+ messages in thread
From: Neil Bothwick @ 2013-05-08 12:28 UTC (permalink / raw
  To: gentoo-user

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

On Wed, 8 May 2013 04:05:38 -0700 (PDT), Thomas Mueller wrote:

> I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc and
> FreeBSD ports, though FreeBSD is wsitching to a different structure
> nkwon as pkgng.
> 
> Is there any way to configure so as to avoid this annoyance in Gentoo?
> Like maybe making /var/db/pkg/<package-name>?

No, because there are packages with the same name but in different
categories. Just use eix or qlist to determine the correct category and
go from there.


-- 
Neil Bothwick

If at first you don't succeed, well...darn.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
@ 2013-05-10  2:59 Thomas Mueller
  2013-05-10  3:07 ` staticsafe
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Thomas Mueller @ 2013-05-10  2:59 UTC (permalink / raw
  To: gentoo-user

Having package data in /var/db/pkg/<category>/<package-name> carries the nuisance factor that finding a package involves a fishing expedition through many possible categories.

I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc and FreeBSD ports, though FreeBSD is wsitching to a different structure nkwon as pkgng.

Is there any way to configure so as to avoid this annoyance in Gentoo?  Like maybe making /var/db/pkg/<package-name>?

One can do
ls /var/db/pkg/*/<package-name> but this is still an annoyance.

I have some limited experience with Gentoo Linux on my older computer.  Compiling the kernel took 130 minutes, and then the kernel failed to boot.

Tom



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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-10  2:59 [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database Thomas Mueller
@ 2013-05-10  3:07 ` staticsafe
  2013-05-10  7:18 ` Marc Joliet
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 13+ messages in thread
From: staticsafe @ 2013-05-10  3:07 UTC (permalink / raw
  To: gentoo-user

On 5/9/2013 22:59, Thomas Mueller wrote:
> Having package data in /var/db/pkg/<category>/<package-name> carries the nuisance factor that finding a package involves a fishing expedition through many possible categories.
> 
> I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc and FreeBSD ports, though FreeBSD is wsitching to a different structure nkwon as pkgng.
> 
> Is there any way to configure so as to avoid this annoyance in Gentoo?  Like maybe making /var/db/pkg/<package-name>?
> 
> One can do
> ls /var/db/pkg/*/<package-name> but this is still an annoyance.
> 
> I have some limited experience with Gentoo Linux on my older computer.  Compiling the kernel took 130 minutes, and then the kernel failed to boot.
> 
> Tom
> 
> 

Use equery?

$ man equery
Equery is a collection of modules for querying the state of Gentoo
packages, files and USE flags.

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-10  2:59 [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database Thomas Mueller
  2013-05-10  3:07 ` staticsafe
@ 2013-05-10  7:18 ` Marc Joliet
  2013-05-10  8:15   ` Dale
  2013-05-10  8:54 ` Neil Bothwick
  2013-05-10 15:46 ` Volker Armin Hemmann
  3 siblings, 1 reply; 13+ messages in thread
From: Marc Joliet @ 2013-05-10  7:18 UTC (permalink / raw
  To: gentoo-user

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

Am Fri, 10 May 2013 02:59:55 +0000 (UTC)
schrieb "Thomas Mueller" <mueller6726@bellsouth.net>:

> Having package data in /var/db/pkg/<category>/<package-name> carries the nuisance factor that finding a package involves a fishing expedition through many possible categories.
> 
> I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc and FreeBSD ports, though FreeBSD is wsitching to a different structure nkwon as pkgng.
> 
> Is there any way to configure so as to avoid this annoyance in Gentoo?  Like maybe making /var/db/pkg/<package-name>?
> 
> One can do
> ls /var/db/pkg/*/<package-name> but this is still an annoyance.
> 
> I have some limited experience with Gentoo Linux on my older computer.  Compiling the kernel took 130 minutes, and then the kernel failed to boot.
> 
> Tom

Um... this is the exact same message you posted on the 8th of May and to which
you got three replies.

-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-10  7:18 ` Marc Joliet
@ 2013-05-10  8:15   ` Dale
  2013-05-10 13:41     ` Marc Joliet
  0 siblings, 1 reply; 13+ messages in thread
From: Dale @ 2013-05-10  8:15 UTC (permalink / raw
  To: gentoo-user

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

Marc Joliet wrote:
> Am Fri, 10 May 2013 02:59:55 +0000 (UTC)
> schrieb "Thomas Mueller" <mueller6726@bellsouth.net>:
>
>> Having package data in /var/db/pkg/<category>/<package-name> carries
the nuisance factor that finding a package involves a fishing expedition
through many possible categories.
>>
>> I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc
and FreeBSD ports, though FreeBSD is wsitching to a different structure
nkwon as pkgng.
>>
>> Is there any way to configure so as to avoid this annoyance in
Gentoo?  Like maybe making /var/db/pkg/<package-name>?
>>
>> One can do
>> ls /var/db/pkg/*/<package-name> but this is still an annoyance.
>>
>> I have some limited experience with Gentoo Linux on my older
computer.  Compiling the kernel took 130 minutes, and then the kernel
failed to boot.
>>
>> Tom
>
> Um... this is the exact same message you posted on the 8th of May and
to which
> you got three replies.
>


I'm glad you posted this.  I thought maybe I had hit a time warp or
something.  Since he posted it twice, I guess he still doesn't like it.  :/

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!


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

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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-10  2:59 [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database Thomas Mueller
  2013-05-10  3:07 ` staticsafe
  2013-05-10  7:18 ` Marc Joliet
@ 2013-05-10  8:54 ` Neil Bothwick
  2013-05-10 15:46 ` Volker Armin Hemmann
  3 siblings, 0 replies; 13+ messages in thread
From: Neil Bothwick @ 2013-05-10  8:54 UTC (permalink / raw
  To: gentoo-user

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

On Fri, 10 May 2013 02:59:55 +0000 (UTC), Thomas Mueller wrote:

I'm not sure why I'm posting this as you don't appear to bother with
reading replies - or do you expect us to CC them to you personally?

> Having package data in /var/db/pkg/<category>/<package-name> carries
> the nuisance factor that finding a package involves a fishing
> expedition through many possible categories.

You are using the wrong tool for the job. This is not how you find a
package in portage, you don't access the database directly. Portage
already provides tools for finding packages, such as the --search option
to emerge or eix (which is faster and more comprehensive).

> I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc and
> FreeBSD ports, though FreeBSD is wsitching to a different structure
> nkwon as pkgng.

So they admit your suggested layout is not the best too?
> 
> Is there any way to configure so as to avoid this annoyance in Gentoo?
> Like maybe making /var/db/pkg/<package-name>?

You have already been told why this is not possible.


-- 
Neil Bothwick

(A)bort (R)etry (S)ell it

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-10  8:15   ` Dale
@ 2013-05-10 13:41     ` Marc Joliet
  2013-05-10 16:35       ` Mark David Dumlao
  2013-05-10 19:16       ` Dale
  0 siblings, 2 replies; 13+ messages in thread
From: Marc Joliet @ 2013-05-10 13:41 UTC (permalink / raw
  To: gentoo-user

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

Am Fri, 10 May 2013 03:15:25 -0500
schrieb Dale <rdalek1967@gmail.com>:

[...]
> I'm glad you posted this.  I thought maybe I had hit a time warp or
> something.  Since he posted it twice, I guess he still doesn't like it.  :/
> 
> Dale
> 
> :-)  :-)

Hey now, let's give him a chance :) . He's trying something new and is
attempting to get used to it and understand it.

-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-10  2:59 [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database Thomas Mueller
                   ` (2 preceding siblings ...)
  2013-05-10  8:54 ` Neil Bothwick
@ 2013-05-10 15:46 ` Volker Armin Hemmann
  3 siblings, 0 replies; 13+ messages in thread
From: Volker Armin Hemmann @ 2013-05-10 15:46 UTC (permalink / raw
  To: gentoo-user

Am 10.05.2013 04:59, schrieb Thomas Mueller:
> Having package data in /var/db/pkg/<category>/<package-name> carries the nuisance factor that finding a package involves a fishing expedition through many possible categories.
>
> I am spoiled by having /var/db/pkg/<package-name> in NetBSD pkgsrc and FreeBSD ports, though FreeBSD is wsitching to a different structure nkwon as pkgng.
>
> Is there any way to configure so as to avoid this annoyance in Gentoo?  Like maybe making /var/db/pkg/<package-name>?
>
> One can do
> ls /var/db/pkg/*/<package-name> but this is still an annoyance.
>
> I have some limited experience with Gentoo Linux on my older computer.  Compiling the kernel took 130 minutes, and then the kernel failed to boot.
>
> Tom
>
>
> .
>
and how do you deal with the problem of several packages having the same
name?

Or.. you don't look at that stuff, besides some cases of severe damage
control, you never have to go there?


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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-10 13:41     ` Marc Joliet
@ 2013-05-10 16:35       ` Mark David Dumlao
  2013-05-10 19:16       ` Dale
  1 sibling, 0 replies; 13+ messages in thread
From: Mark David Dumlao @ 2013-05-10 16:35 UTC (permalink / raw
  To: gentoo-user

On Fri, May 10, 2013 at 9:41 PM, Marc Joliet <marcec@gmx.de> wrote:
> Am Fri, 10 May 2013 03:15:25 -0500
> schrieb Dale <rdalek1967@gmail.com>:
>
> [...]
>> I'm glad you posted this.  I thought maybe I had hit a time warp or
>> something.  Since he posted it twice, I guess he still doesn't like it.  :/
>>
>> Dale
>>
>> :-)  :-)
>
> Hey now, let's give him a chance :) . He's trying something new and is
> attempting to get used to it and understand it.
>

Trying something new? On the gentoo mailing list? He's a witch, I say,
burn him! ;)

--
This email is:    [ ] actionable   [ ] fyi        [x] social
Response needed:  [ ] yes          [x] up to you  [ ] no
Time-sensitive:   [ ] immediate    [ ] soon       [x] none


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

* Re: [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database
  2013-05-10 13:41     ` Marc Joliet
  2013-05-10 16:35       ` Mark David Dumlao
@ 2013-05-10 19:16       ` Dale
  1 sibling, 0 replies; 13+ messages in thread
From: Dale @ 2013-05-10 19:16 UTC (permalink / raw
  To: gentoo-user

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

Marc Joliet wrote:
> Am Fri, 10 May 2013 03:15:25 -0500
> schrieb Dale <rdalek1967@gmail.com>:
>
> [...]
>> I'm glad you posted this.  I thought maybe I had hit a time warp or
>> something.  Since he posted it twice, I guess he still doesn't like
it.  :/
>>
>> Dale
>>
>> :-)  :-)
>
> Hey now, let's give him a chance :) . He's trying something new and is
> attempting to get used to it and understand it.
>


Given how this list has put up with me this long, I certainly do the
same for someone else.  lol  I still don't think he likes having to type
all that stuff in tho.  Honestly, me either.

I hope he knows about tab completion.  If he didn't, he should now. 
;-)  If my tab key breaks, I'm getting another keyboard, SOON.

Dale

:-)  :-)

P.S.  Y'all be careful talking about putting up with me.  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!


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

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

end of thread, other threads:[~2013-05-10 19:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10  2:59 [gentoo-user] Annoying structure of /var/db/pkg/<category>/<package-name> database Thomas Mueller
2013-05-10  3:07 ` staticsafe
2013-05-10  7:18 ` Marc Joliet
2013-05-10  8:15   ` Dale
2013-05-10 13:41     ` Marc Joliet
2013-05-10 16:35       ` Mark David Dumlao
2013-05-10 19:16       ` Dale
2013-05-10  8:54 ` Neil Bothwick
2013-05-10 15:46 ` Volker Armin Hemmann
  -- strict thread matches above, loose matches on Subject: below --
2013-05-08 11:05 Thomas Mueller
2013-05-08 11:37 ` Michael Hampicke
2013-05-08 11:41   ` Randolph Maaßen
2013-05-08 12:28 ` Neil Bothwick

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