public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Listing the files of an un-/installed package...?
@ 2012-05-17  3:19 meino.cramer
  2012-05-17  3:58 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: meino.cramer @ 2012-05-17  3:19 UTC (permalink / raw
  To: Gentoo

Hi,

how can I list all files of packages which is

    installed

and which is

    not installed

which uninstalling / installing the package in beforehand?


Thankl you very much in advance for any help!

Best regards,
mcc





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

* Re: [gentoo-user] Listing the files of an un-/installed package...?
  2012-05-17  3:19 [gentoo-user] Listing the files of an un-/installed package...? meino.cramer
@ 2012-05-17  3:58 ` Dale
  2012-05-17  4:28 ` Stroller
  2012-05-19  3:13 ` Volker Armin Hemmann
  2 siblings, 0 replies; 8+ messages in thread
From: Dale @ 2012-05-17  3:58 UTC (permalink / raw
  To: gentoo-user

meino.cramer@gmx.de wrote:
> Hi,
> 
> how can I list all files of packages which is
> 
>     installed
> 
> and which is
> 
>     not installed
> 
> which uninstalling / installing the package in beforehand?
> 
> 
> Thankl you very much in advance for any help!
> 
> Best regards,
> mcc
> 
> 
> 
> 



For installed packages, these two should work:

equery f <package name>

qlist <package name>

Not installed, not sure how to do that.  You might could look it up on
this site:

http://www.portagefilelist.de/site/query/listPackageFiles

Depending on USE flags and such, that could vary a bit I guess.

Hope that helps.

Dale

:-)  :-)

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

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



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

* Re: [gentoo-user] Listing the files of an un-/installed package...?
  2012-05-17  3:19 [gentoo-user] Listing the files of an un-/installed package...? meino.cramer
  2012-05-17  3:58 ` Dale
@ 2012-05-17  4:28 ` Stroller
  2012-05-19  3:13 ` Volker Armin Hemmann
  2 siblings, 0 replies; 8+ messages in thread
From: Stroller @ 2012-05-17  4:28 UTC (permalink / raw
  To: gentoo-user


On 17 May 2012, at 04:19, meino.cramer@gmx.de wrote:
> how can I list all files of packages which is
> 
>    installed

eix -I --only-names > installed.txt

> and which is
> 
>    not installed

eix --only-names > all_packages.txt

diff installed.txt all_packages.txt | grep --exercise --left --to --the --reader

Stroller.




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

* Re: [gentoo-user] Listing the files of an un-/installed package...?
  2012-05-17  3:19 [gentoo-user] Listing the files of an un-/installed package...? meino.cramer
  2012-05-17  3:58 ` Dale
  2012-05-17  4:28 ` Stroller
@ 2012-05-19  3:13 ` Volker Armin Hemmann
  2012-05-19 15:11   ` Matthias Hanft
  2 siblings, 1 reply; 8+ messages in thread
From: Volker Armin Hemmann @ 2012-05-19  3:13 UTC (permalink / raw
  To: gentoo-user; +Cc: meino.cramer

Am Donnerstag, 17. Mai 2012, 05:19:21 schrieb meino.cramer@gmx.de:
> Hi,
> 
> how can I list all files of packages which is
> 
>     installed

cat /var/db/pkg/[CATEGORY]/[PACKAGE]/CONTENTS
> 
> and which is
> 
>     not installed

not possible. How can anybody know beforehand? with useflags and all?
maybe somebody listed it somewhere. If you are lucky.

-- 
#163933



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

* Re: [gentoo-user] Listing the files of an un-/installed package...?
  2012-05-19  3:13 ` Volker Armin Hemmann
@ 2012-05-19 15:11   ` Matthias Hanft
  2012-05-19 16:41     ` Alan McKinnon
  2012-05-19 16:45     ` Volker Armin Hemmann
  0 siblings, 2 replies; 8+ messages in thread
From: Matthias Hanft @ 2012-05-19 15:11 UTC (permalink / raw
  To: gentoo-user

Volker Armin Hemmann wrote:
>
> not possible. How can anybody know beforehand? with useflags and all?

At least, "equery uses <package>" *does* work with uninstalled packages.
(However, "equery files <package>" does not.)

-Matt



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

* Re: [gentoo-user] Listing the files of an un-/installed package...?
  2012-05-19 15:11   ` Matthias Hanft
@ 2012-05-19 16:41     ` Alan McKinnon
  2012-05-19 16:45     ` Volker Armin Hemmann
  1 sibling, 0 replies; 8+ messages in thread
From: Alan McKinnon @ 2012-05-19 16:41 UTC (permalink / raw
  To: gentoo-user

On Sat, 19 May 2012 17:11:20 +0200
Matthias Hanft <mh@hanft.de> wrote:

> Volker Armin Hemmann wrote:
> >
> > not possible. How can anybody know beforehand? with useflags and
> > all?
> 
> At least, "equery uses <package>" *does* work with uninstalled
> packages. (However, "equery files <package>" does not.)


You've answered a different question to that asked.

"equery uses" lists the USE flags of an ebuild and that info is in the
ebuild".

"equery files" lists the file installed after the ebuild is merged. that
info is not in the ebuild.

These two things are very different.



-- 
Alan McKinnnon
alan.mckinnon@gmail.com




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

* Re: [gentoo-user] Listing the files of an un-/installed package...?
  2012-05-19 15:11   ` Matthias Hanft
  2012-05-19 16:41     ` Alan McKinnon
@ 2012-05-19 16:45     ` Volker Armin Hemmann
  2012-05-20  9:58       ` Jesús J. Guerrero Botella
  1 sibling, 1 reply; 8+ messages in thread
From: Volker Armin Hemmann @ 2012-05-19 16:45 UTC (permalink / raw
  To: gentoo-user; +Cc: Matthias Hanft

Am Samstag, 19. Mai 2012, 17:11:20 schrieb Matthias Hanft:
> Volker Armin Hemmann wrote:
> > not possible. How can anybody know beforehand? with useflags and all?
> 
> At least, "equery uses <package>" *does* work with uninstalled packages.

because you just need to look at the useflags and ?DEPEND to figure that out. 

> (However, "equery files <package>" does not.)

obviously.

-- 
#163933



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

* Re: [gentoo-user] Listing the files of an un-/installed package...?
  2012-05-19 16:45     ` Volker Armin Hemmann
@ 2012-05-20  9:58       ` Jesús J. Guerrero Botella
  0 siblings, 0 replies; 8+ messages in thread
From: Jesús J. Guerrero Botella @ 2012-05-20  9:58 UTC (permalink / raw
  To: gentoo-user

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

There's no way to know the files for a non-installed package. Ebuilds are
NOT packages. The files are generated at build time, and vary dependind on
the package, version, config options, arch, deps, and a large etc,
including missalignment of the planets and othes essoteric variables.

---
Jesús Guerrero Botella
El 19/05/2012 18:48, "Volker Armin Hemmann" <volkerarmin@googlemail.com>
escribió:

> Am Samstag, 19. Mai 2012, 17:11:20 schrieb Matthias Hanft:
> > Volker Armin Hemmann wrote:
> > > not possible. How can anybody know beforehand? with useflags and all?
> >
> > At least, "equery uses <package>" *does* work with uninstalled packages.
>
> because you just need to look at the useflags and ?DEPEND to figure that
> out.
>
> > (However, "equery files <package>" does not.)
>
> obviously.
>
> --
> #163933
>
>

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

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

end of thread, other threads:[~2012-05-20 10:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17  3:19 [gentoo-user] Listing the files of an un-/installed package...? meino.cramer
2012-05-17  3:58 ` Dale
2012-05-17  4:28 ` Stroller
2012-05-19  3:13 ` Volker Armin Hemmann
2012-05-19 15:11   ` Matthias Hanft
2012-05-19 16:41     ` Alan McKinnon
2012-05-19 16:45     ` Volker Armin Hemmann
2012-05-20  9:58       ` Jesús J. Guerrero Botella

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