[ Searching for packages depending on /etc/init.d/samba... ]
!!! Invalid db entry: /var/db/pkg//app-misc
!!! Invalid db entry: /var/db/pkg//dev-perl
!!! Invalid db entry: /var/db/pkg//app-crypt
!!! Invalid db entry: /var/db/pkg//virtual
!!! Invalid db entry: /var/db/pkg//dev-util
!!! Invalid db entry: /var/db/pkg//sys-devel
!!! Invalid db entry: /var/db/pkg//sys-libs
!!! Invalid db entry: /var/db/pkg//dev-libs
!!! Invalid db entry: /var/db/pkg//app-admin
Any thoughts why equery is complaining?
As an experiment I ran eix-update to try to clear up the problem, but
it didn't have any effect.
Regards,
David
--
gentoo-user@gentoo.org mailing list
11-30-2007, 04:58 AM
ezotrank
equery depends ----> Invalid db entry:
On 23:13 Thu 29 Nov , David Relson wrote:
>
>
> $$$ equery depends /etc/init.d/samba
>
> [ Searching for packages depending on /etc/init.d/samba... ]
> !!! Invalid db entry: /var/db/pkg//app-misc
> !!! Invalid db entry: /var/db/pkg//dev-perl
> !!! Invalid db entry: /var/db/pkg//app-crypt
> !!! Invalid db entry: /var/db/pkg//virtual
> !!! Invalid db entry: /var/db/pkg//dev-util
> !!! Invalid db entry: /var/db/pkg//sys-devel
> !!! Invalid db entry: /var/db/pkg//sys-libs
> !!! Invalid db entry: /var/db/pkg//dev-libs
> !!! Invalid db entry: /var/db/pkg//app-admin
>
>
> Any thoughts why equery is complaining?
>
> As an experiment I ran eix-update to try to clear up the problem, but
> it didn't have any effect.
>
> Regards,
>
> David
>
> --
> gentoo-user@gentoo.org mailing list
maybe you help revdep-rebuild
--
--
With best regards, ezotrank
kernel 2.6.23-gentoo-r2, system uptime: 07:58:21 up 8:38, 4 users, load average: 0.00, 0.02, 0.04
--
11-30-2007, 05:52 AM
Marc Joliet
equery depends ----> Invalid db entry:
Am Thu, 29 Nov 2007 23:13:10 -0500
schrieb David Relson <relson@osagesoftware.com>:
>
>
> $$$ equery depends /etc/init.d/samba
>
> [ Searching for packages depending on /etc/init.d/samba... ]
> !!! Invalid db entry: /var/db/pkg//app-misc
> !!! Invalid db entry: /var/db/pkg//dev-perl
> !!! Invalid db entry: /var/db/pkg//app-crypt
> !!! Invalid db entry: /var/db/pkg//virtual
> !!! Invalid db entry: /var/db/pkg//dev-util
> !!! Invalid db entry: /var/db/pkg//sys-devel
> !!! Invalid db entry: /var/db/pkg//sys-libs
> !!! Invalid db entry: /var/db/pkg//dev-libs
> !!! Invalid db entry: /var/db/pkg//app-admin
>
>
> Any thoughts why equery is complaining?
>
> As an experiment I ran eix-update to try to clear up the problem, but
> it didn't have any effect.
>
> Regards,
>
> David
>
Relevant snip from the manpage:
depends <local-opts> pkgspec
This command displays all dependencies matching pkgspec.
<local-opts> is either or both of:
-a, --all-packages search in all available packages (slow)
-d, --direct search direct dependencies only (default)
-D, --indirect search indirect dependencies (very slow)
--depth=n Limit depth of indirect dependency tree to n
levels. Setting --depth=0 is the same as not specifing --indirect.
So "equery depends" expects a package name, not a file name. What
exactly are you trying to do?
--
Marc Joliet
--
"People who think they know everything really annoy those of us who
know we don't" - Bjarne Stroustrup
11-30-2007, 11:29 AM
David Relson
equery depends ----> Invalid db entry:
On Fri, 30 Nov 2007 07:52:03 +0100
Marc Joliet wrote:
..[snip]..
> Relevant snip from the manpage:
>
> depends <local-opts> pkgspec
> This command displays all dependencies matching pkgspec.
> <local-opts> is either or both of:
> -a, --all-packages search in all available packages
> (slow) -d, --direct search direct dependencies only (default)
> -D, --indirect search indirect dependencies (very slow)
> --depth=n Limit depth of indirect dependency tree to n
> levels. Setting --depth=0 is the same as not specifing --indirect.
>
> So "equery depends" expects a package name, not a file name. What
> exactly are you trying to do?
>
> --
> Marc Joliet
Hello Marc,
Right you are, I was using the wrong command.
If I recall, last night I wanted to find which package _provides_ a
given file. Obviously the file in my sample, i.e. /etc/init.d/samba,
is from net-fs/samba but the general question remains: How does one
find the package from which a file came?
Regards,
David
--
gentoo-user@gentoo.org mailing list
11-30-2007, 11:40 AM
Dale
equery depends ----> Invalid db entry:
David Relson wrote:
On Fri, 30 Nov 2007 07:52:03 +0100
Marc Joliet wrote:
..[snip]..
Relevant snip from the manpage:
depends <local-opts> pkgspec
This command displays all dependencies matching pkgspec.
<local-opts> is either or both of:
-a, --all-packages search in all available packages
(slow) -d, --direct search direct dependencies only (default)
-D, --indirect search indirect dependencies (very slow)
--depth=n Limit depth of indirect dependency tree to n
levels. Setting --depth=0 is the same as not specifing --indirect.
So "equery depends" expects a package name, not a file name. What
exactly are you trying to do?
--
Marc Joliet
Hello Marc,
Right you are, I was using the wrong command.
If I recall, last night I wanted to find which package _provides_ a
given file. Obviously the file in my sample, i.e. /etc/init.d/samba,
is from net-fs/samba but the general question remains: How does one
find the package from which a file came?
Regards,
David
equery belongs <file name>
That help?
Dale
:-)* :-)* :-)*
11-30-2007, 11:50 AM
David Relson
equery depends ----> Invalid db entry:
On Fri, 30 Nov 2007 06:40:17 -0600
Dale wrote:
> David Relson wrote:
> > On Fri, 30 Nov 2007 07:52:03 +0100
> > Marc Joliet wrote:
> >
> > ..[snip]..
> >
> >
> >> Relevant snip from the manpage:
> >>
> >> depends <local-opts> pkgspec
> >> This command displays all dependencies matching
> >> pkgspec. <local-opts> is either or both of:
> >> -a, --all-packages search in all available packages
> >> (slow) -d, --direct search direct dependencies only (default)
> >> -D, --indirect search indirect dependencies (very
> >> slow) --depth=n Limit depth of indirect dependency tree to n
> >> levels. Setting --depth=0 is the same as not specifing --indirect.
> >>
> >> So "equery depends" expects a package name, not a file name. What
> >> exactly are you trying to do?
> >>
> >> --
> >> Marc Joliet
> >>
> >
> > Hello Marc,
> >
> > Right you are, I was using the wrong command.
> >
> > If I recall, last night I wanted to find which package _provides_ a
> > given file. Obviously the file in my sample,
> > i.e. /etc/init.d/samba, is from net-fs/samba but the general
> > question remains: How does one find the package from which a file
> > came?
> >
> > Regards,
> >
> > David
> >
>
> equery belongs <file name>
>
> That help?
>
> Dale
Indeed it does!
Thanks, Dale.
--
gentoo-user@gentoo.org mailing list
11-30-2007, 08:50 PM
Neil Bothwick
equery depends ----> Invalid db entry:
On Fri, 30 Nov 2007 06:40:17 -0600, Dale wrote:
> equery belongs <file name>
Or, if you want the result quickly, qfile <file name>
qfile is part of portage-utils.
--
Neil Bothwick
Illiterate? Write today for free help.
11-30-2007, 09:49 PM
Stroller
equery depends ----> Invalid db entry:
On 30 Nov 2007, at 21:50, Neil Bothwick wrote:
On Fri, 30 Nov 2007 06:40:17 -0600, Dale wrote:
equery belongs <file name>
Or, if you want the result quickly, qfile <file name>
qfile is part of portage-utils.
Installing this I find that:
* //etc/portage/postsync.d/q-reinitialize has been installed for
convenience
* If you wish for it to be automatically run at the end of every --
sync simply chmod +x //etc/portage/postsync.d/q-reinitialize
* Normally this should only take a few seconds to run but file
systems such as ext3 can take a lot longer.
* If ever you find this to be an inconvenience simply chmod -x //etc/
portage/postsync.d/q-reinitialize
I see that this "/etc/portage/postsync.d/q-reinitialize" simply calls
the core portage-utils binary with the --quiet & --reinitialize
parameters.
Am I correct in assuming that portage-utils does not work stuff out
"on the fly" but needs to rebuild its database after each `emerge --
sync`?
Stroller.
--
gentoo-user@gentoo.org mailing list
11-30-2007, 09:54 PM
David Relson
equery depends ----> Invalid db entry:
On Fri, 30 Nov 2007 21:50:55 +0000
Neil Bothwick wrote:
> On Fri, 30 Nov 2007 06:40:17 -0600, Dale wrote:
>
> > equery belongs <file name>
>
> Or, if you want the result quickly, qfile <file name>
>
> qfile is part of portage-utils.
>
>
> --
> Neil Bothwick
Indeed it is faster! Thanks.
David
--
gentoo-user@gentoo.org mailing list
11-30-2007, 10:48 PM
Neil Bothwick
equery depends ----> Invalid db entry:
On Fri, 30 Nov 2007 22:49:18 +0000, Stroller wrote:
> Am I correct in assuming that portage-utils does not work stuff out
> "on the fly" but needs to rebuild its database after each `emerge --
> sync`?
No, it works without that. I think it's simply rebuilding its cache to
save time the next time you run it.