equery: List content of a not installed package only

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
User avatar
linuxfluesterer
Old Dear Hen
Posts: 873
Joined: Thu Sep 20, 2012 19:47
Location: Germany

equery: List content of a not installed package only

Post by linuxfluesterer » Sat Jan 16, 2016 13:48

Hallo guys, especially specialists of the equery command.
Though I have found a great equo howto, I don't see a solution for me. I have a notebook with Sabayon 15.08 and the latest KDE 4.14.11, never upgraded since Magneto wants to install and replace KDE by Plasma. To prevent such an upgrade to Plasma 5, I have masked all kde-plasma, kde-base, kde-apps, kde-misc & kde-framwork packages in /etc/entropy/packages/package.mask.
So far, I am rather content with that solution. But sometimes I need to install a new program, and if I have luck, then I can do that with:

Code: Select all

equo i <package> --nodeps --ask
but sometimes, there are missing other depending packages, which again want to install all the upgrades, including Plasma 5, but can not because they are masked. My question is: How can I list/display all the files included in a given package, which is NOT installed, and also the depending packages of it, no matter masked or not, similar to:

Code: Select all

equery files <package>

which fails, because this package is NOT installed on my system.
Example, I want to install remmina on my KDE 4 system without upgrading all the other, unneeded packages.
Thank you in advance.

-Linuxfluesterer (I love KDE ...)
Take away Facebook from me and let there be real people again...

svantoviit
Old Dear Hen
Posts: 765
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: equery: List content of a not installed package only

Post by svantoviit » Sun Jan 17, 2016 9:45

linuxfluesterer wrote:How can I list/display all the files included in a given package, which is NOT installed, and also the depending packages of it, no matter masked or not
Look what's at packages.sabayon.org: package content, dependencies, reverse dependencies.

You can get the list list of dependencies with equo search --verbose:

Code: Select all

# equo s -v remmina
╠  @@ Searching...
╠      @@ Package: net-misc/remmina-1.2.0_rc3 branch: 5, [sabayon-weekly] 
╠          Category:        net-misc
╠          Name:            remmina
╠          Masked:          False
╠          Available:       version: 1.2.0_rc3 ~ tag: NoTag ~ revision: 2
╠          Installed:       version: Not installed ~ tag: n/a ~ revision: n/a
╠          Slot:            0
╠          Size:            538.1kB
╠          Download:        packages/amd64/5/net-misc/net-misc:remmina-1.2.0_rc3.01e19e0b3fe4e9b74d6ae938da8942c2c329bf74~0.tbz2
╠          Checksum:        01760d8bd650064f3923569f784d109d
╠          SHA1:            01e19e0b3fe4e9b74d6ae938da8942c2c329bf74
╠          SHA256:          72768437e04f199b3d963b06dcecbd3f73151ae2e23960503818e6f8a3b8358a
╠          GPG:             Yes
╠          ## Dependencies:
╠          ##               [0] >=dev-libs/glib-2.31.18:2
╠          ##               [0] >=dev-libs/glib-2.31.18:2
╠          ##               [0] dev-libs/libgcrypt:0
╠          ##               [0] dev-libs/libgcrypt:0
╠          ##               [3] >=dev-util/cmake-2.8.12
╠          ##               [3] dev-util/intltool
╠          ##               [0] net-dns/avahi-gtk3
╠          ##               [0] net-libs/libssh[sftp]
╠          ##               [0] net-libs/libssh[sftp]
╠          ##               [0] >=net-libs/libvncserver-0.9.8.2
╠          ##               [0] >=net-libs/libvncserver-0.9.8.2
╠          ##               [0] >=net-misc/freerdp-1.2
╠          ##               [0] >=net-misc/freerdp-1.2
╠          ##               [3] >=sys-apps/findutils-4.4.0
╠          ##               [3] >=sys-apps/sed-4
╠          ##               [3] sys-devel/gettext
╠          ##               [3] sys-devel/make
╠          ##               [3] virtual/pkgconfig
╠          ##               [3] x11-libs/gdk-pixbuf
╠          ##               [3] x11-libs/gdk-pixbuf
╠          ##               [3] x11-libs/gtk+:3
╠          ##               [3] x11-libs/gtk+:3
╠          ##               [3] x11-libs/libX11
╠          ##               [3] x11-libs/libX11
╠          ##               [3] x11-libs/libxkbfile
╠          ##               [3] x11-libs/libxkbfile
╠          ##               [3] x11-libs/vte:2.90
╠          ##               [3] x11-libs/vte:2.90
╠          ##               [0] x11-libs/vte:2.91
╠          ##               [0] x11-themes/gnome-icon-theme
╠          ##               [0] x11-themes/gnome-icon-theme
╠          ##               Legend:
╠          ##               {0} Runtime dependency
╠          ##               {1} Post dependency
╠          ##               {2} Manually added (by staff) dependency
╠          ##               {3} Build dependency
╠          ## Conflicts:
╠          ##               net-misc/remmina-plugins
╠          Homepage:        http://freerdp.github.io/Remmina/ 
╠          Description:     A GTK+ RDP, VNC, XDMCP and SSH client 
╠          USE flags:       -ayatana -debug -gnome-keyring 
╠                           -telepathy abi_x86_64 amd64 avahi 
╠                           crypt elibc_glibc freerdp kernel_linux 
╠                           nls ssh userland_GNU vte 
╠          CHOST:           x86_64-pc-linux-gnu
╠          CFLAGS:          -O2 -march=x86-64 -pipe
╠          CXXFLAGS:        -O2 -march=x86-64 -pipe
╠          Sources:
╠                           https://github.com/FreeRDP/Remmina/archive/v1.2.0-rcgit.3.tar.gz
╠          Entry API:       3
╠          Compiled with:   -O2 -march=x86-64 -pipe
╠          Keywords:        amd64 ~x86 
╠          Created:         2015-05-29 20:50:21.890000
╠          License:         GPL-2
╠   Keywords:  remmina
╠   Found:     1 entry
And you can list reverse dependencies even for not installed packages with equo query revdeps:

Code: Select all

# equo q revdeps remmina
╠  @@ Reverse Dependencies Search
╠   Keyword:  remmina
╠   Matched:  net-misc/remmina-1.2.0_rc3
╠   Masked:   False
╠   Found:    0 entries from repository sabayon-weekly

linuxfluesterer wrote:Example, I want to install remmina on my KDE 4 system without upgrading all the other, unneeded packages.
I would use portage. But you won't be able to maintain the system this way in long term. Remember that Sabayon is actually a binary distro. I suggest you get used to Plasma ;)

User avatar
linuxfluesterer
Old Dear Hen
Posts: 873
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: equery: List content of a not installed package only

Post by linuxfluesterer » Mon Jan 18, 2016 0:23

First of all, thank you for replying, Svantoviit.
I was not conscious about that the -v (verbose) option or that the details in packages of the Sabayon website would be the answer to my question. I will use this from now.
But to your suggestion to use Plasma 5, this is my situation:
I have a KDE 4 system, which I rather see as productive os with all those features I appreciate and which I miss in some details on Plasma 5. But (I wrote in older threads) I have a second notebook with an actual Plasma 5, where I check all the features and possibilities by every upgrade of Sabayon Weekly there. I also use portage on this system for special needs. But at this moment, I am not content enough to make it my productive system now. Maybe in future (Plasma 6 ???).

-Linuxfluesterer (I love KDE ...)
Take away Facebook from me and let there be real people again...

Post Reply