View previous topic :: View next topic |
Author |
Message |
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Wed Jul 09, 2014 10:53 am Post subject: Don't understand "eix -tT"/"eix-test-obsolete |
|
|
Sorry for the lengthy post but I spent a lot of timing looking through the forums and on Google but really couldn't find an answer.
I am trying to clean up my portage. Some of the output was self explanatory and I could make the required changes to the cited files but some of the output I just don't understand what it is telling me.
Particularly,
Quote: | The following installed packages are not in the database: | I assume these are packages I installed but at some point were removed from portage? If that is indeed the case is it safe to keep them? I see primarily codecs that I probably require.
Quote: | Redundant in /etc/portage/package.{,accept_}keywords: | I don't understand this syntax at all. Obviously I don't have a file by that name and all of the following packages cited are not even in my package.accept_keywords file. Same thing with Quote: | Not installed but in /etc/portage/package.{,accept_}keywords: | .
Quote: | considered as REDUNDANT_IF_WEAKER | and Quote: | ... considered as REDUNDANT_IF_NO_CHANGE | Confuses me because many of the packages aren't even installed on my system and are listed as such in the output. [N] is "new" according to emerge man page. How can a package be redundant if not on my system? And what am I cleaning?
Lastly most of what I found on the net indicated that eix-test-obsolete performs the same tests as eix -tT but gives a nicer output. If that is the case why is eix -tT returning "Found 31 matches." and eix-test-obsolete is indicating "Found 13 matches."???
Thanks everyone for your patience. I really do try to figure this stuff out on my own before posting here.
Code: | $ eix-test-obsolete -d
No non-matching entries in /etc/portage/package.keywords.
No non-matching entries in /etc/portage/package.accept_keywords.
No non-matching entries in /etc/portage/package.mask.
No non-matching entries in /etc/portage/package.unmask.
No non-matching or empty entries in /etc/portage/package.use.
No non-matching or empty entries in /etc/portage/package.env.
No non-matching or empty entries in /etc/portage/package.license.
No non-matching or empty entries in /etc/portage/package.accept_restrict.
No non-matching or empty entries in /etc/portage/package.cflags.
The following installed packages are not in the database:
media-libs/amd64codecs
media-libs/vflib
media-libs/win32codecs
sys-kernel/module-rebuild
--
Redundant in /etc/portage/package.{,accept_}keywords:
... considered as REDUNDANT_IF_WEAKER
[I] app-text/getxbook (1.0@06/19/2013): Download books from google, amazon, barnes and noble.
[N] games-fps/duke3d ((*)20040817-r2): Port of the original Duke Nukem 3D
[I] games-server/halflife-steam (2.0@03/03/2013): client for Valve Software's Steam content delivery program
Found 3 matches.
... considered as REDUNDANT_IF_NO_CHANGE
[I] app-antivirus/clamav (0.98.1@04/24/2014): Clam Anti-Virus Scanner
[N] app-laptop/easy-slow-down-manager (0.3): provides Linux users with functionality similar to Samsung Easy Speed Up Manager
[N] app-laptop/samsung-tools (2.1): Tools for Samsung laptops
[I] app-misc/fslint (2.42@04/01/2013): A utility to find various forms of lint on a filesystem.
[N] dev-python/mygpoclient ((~)1.7-r1): A gpodder.net client library
[N] games-simulation/flightgear-data (3.0.0): FlightGear data files
[I] kde-misc/kcm-grub2 (0.6.4(4){tbz2}@01/17/2014): KCModule for configuring the GRUB2 bootloader.
[I] media-fonts/fs-fonts (0.1_alpha3@04/03/2013): Japanese TrueType fonts designed for screen and print
[N] net-firewall/ufw ((~)0.34_pre805): A program used to manage a netfilter firewall
[N] sys-firmware/iwl6030-ucode ((~)18.168.6.1(1)): Intel (R) Wireless WiFi Advanced N 6030 ucode
Found 10 matches.
Not installed but in /etc/portage/package.{,accept_}keywords:
[N] app-dicts/edictionary ((~)2.6): Command line dictionary and thesaurus
[N] app-laptop/easy-slow-down-manager (0.3): provides Linux users with functionality similar to Samsung Easy Speed Up Manager
[N] app-laptop/samsung-tools (2.1): Tools for Samsung laptops
[N] dev-php/pecl-ps ((~)1.3.6-r1): PHP extension for creating PostScript files.
[N] dev-python/mygpoclient ((~)1.7-r1): A gpodder.net client library
[N] games-fps/duke3d ((*)20040817-r2): Port of the original Duke Nukem 3D
[N] games-simulation/flightgear-data (3.0.0): FlightGear data files
[N] kde-misc/kcm-ufw ((~)0.4.3-r1(4)): KCM module to control the Uncomplicated Firewall
[N] net-firewall/ufw ((~)0.34_pre805): A program used to manage a netfilter firewall
[N] sys-firmware/iwl6030-ucode ((~)18.168.6.1(1)): Intel (R) Wireless WiFi Advanced N 6030 ucode
Found 10 matches.
No redundant entries in /etc/portage/package.mask
Not installed but in /etc/portage/package.mask:
[N] sys-apps/systemd (--): System and service manager for Linux
[N] sys-fs/udev (--): Linux dynamic and persistent device naming support (aka userspace devfs)
Found 2 matches.
No redundant entries in /etc/portage/package.unmask
No uninstalled entries in /etc/portage/package.unmask
Skipping check: redundant entries in /etc/portage/package.use
Skipping check: uninstalled entries in /etc/portage/package.use
Skipping check: redundant entries in /etc/portage/package.env
Skipping check: uninstalled entries in /etc/portage/package.env
No redundant entries in /etc/portage/package.license
No uninstalled entries in /etc/portage/package.license
No redundant entries in /etc/portage/package.accept_restrict
No uninstalled entries in /etc/portage/package.accept_restrict
Skipping check: redundant entries in /etc/portage/package.cflags
Skipping check: uninstalled entries in /etc/portage/package.cflags
Installed packages with a version not in the database (or masked):
[D] app-misc/byobu (5.41-r1@06/03/2013 -> ~5.81): A set of profiles for the GNU Screen console window manager (app-misc/screen)
[D] media-libs/freetype (1.4_pre20080316-r2(1)@05/07/2013 2.4.11(2)@06/11/2014 -> 2.4.11(2)): A high-quality and portable font engine
[D] sys-kernel/gentoo-sources (3.7.10-r1(3.7.10-r1)@05/11/2013 3.8.13(3.8.13)@05/13/2013 3.10.7(3.10.7)@09/09/2013 3.10.32(3.10.32)@03/06/2014 3.12.21-r1(3.12.21-r1)@06/19/2014 -> 3.10.41-r1(3.10.41-r1)^bs 3.12.21-r1(3.12.21-r1)^bs): Full sources including the Gentoo patchset for the 3.15 kernel tree
[U] virtual/perl-Archive-Tar (1.900.0@12/22/2013 -> 1.900.0-r1): Virtual for Archive-Tar
[U] virtual/perl-CPAN-Meta (2.120.921@12/22/2013 -> 2.120.921-r1): Virtual for CPAN-Meta
[U] virtual/perl-CPAN-Meta-Requirements (2.122.0@12/22/2013 -> 2.122.0-r1): Virtual for CPAN-Meta-Requirements
[U] virtual/perl-CPAN-Meta-YAML (0.8.0@12/22/2013 -> 0.8.0-r1): Virtual for CPAN-Meta-YAML
[U] virtual/perl-ExtUtils-Command (1.170.0-r3@01/30/2013 -> 1.170.0-r4): Virtual for ExtUtils-Command
[U] virtual/perl-ExtUtils-ParseXS (3.180.0@12/22/2013 -> 3.180.0-r1): Virtual for ExtUtils-ParseXS
[U] virtual/perl-File-Temp (0.220.0-r2@01/30/2013 -> 0.220.0-r3): Virtual for File-Temp
[U] virtual/perl-IO-Zlib (1.100.0-r2@12/08/2013 -> 1.100.0-r4): Virtual for IO-Zlib
[U] virtual/perl-JSON-PP (2.272.0-r1@01/30/2013 -> 2.272.0-r2): Virtual for JSON-PP
[D] www-client/google-chrome (32.0.1700.77_p1-r1@01/20/2014 -> ~35.0.1916.153_p1^msd): The web browser from Google
Found 13 matches.
|
Code: | $ eix -tT -av
No non-matching entries in /etc/portage/package.keywords.
No non-matching entries in /etc/portage/package.accept_keywords.
No non-matching entries in /etc/portage/package.mask.
No non-matching entries in /etc/portage/package.unmask.
No non-matching or empty entries in /etc/portage/package.use.
No non-matching or empty entries in /etc/portage/package.env.
No non-matching or empty entries in /etc/portage/package.license.
No non-matching or empty entries in /etc/portage/package.accept_restrict.
No non-matching or empty entries in /etc/portage/package.cflags.
The following installed packages are not in the database:
media-libs/amd64codecs
media-libs/vflib
media-libs/win32codecs
sys-kernel/module-rebuild
--
* app-antivirus/clamav
Available versions: 0.98 0.98.1 ~0.98.1-r1 ~0.98.3 ~0.98.4
IUSE (all versions): bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc
Installed versions: Version: 0.98.1
Date: 02:27:12 AM 04/24/2014
USE: bzip2 clamdtop iconv ipv6 -milter -selinux -static-libs -uclibc
DEPEND: ${RDEPEND} virtual/pkgconfig virtual/pkgconfig
RDEPEND: app-arch/bzip2 sys-libs/ncurses virtual/libiconv dev-libs/libtommath >=sys-libs/zlib-1.2.2 sys-devel/libtool
Best versions/slot: 0.98.1
Homepage: http://www.clamav.net/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=app-antivirus%2Fclamav
Description: Clam Anti-Virus Scanner
License: GPL-2
* app-dicts/edictionary
Available versions: (~)2.6
Best versions/slot: (~)2.6
Homepage: http://edictionary.sourceforge.net/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=app-dicts%2Fedictionary
Description: Command line dictionary and thesaurus
License: GPL-2
* app-laptop/easy-slow-down-manager
Available versions: 0.3
IUSE (all versions): KERNEL="linux"
Best versions/slot: 0.3
Homepage: http://code.google.com/p/easy-slow-down-manager/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=app-laptop%2Feasy-slow-down-manager
Description: provides Linux users with functionality similar to Samsung Easy Speed Up Manager
License: GPL-1
* app-laptop/samsung-tools
Available versions: 2.1
IUSE (all versions): PYTHON_TARGETS="python2_7"
Best versions/slot: 2.1
Homepage: http://launchpad.net/samsung-tools
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=app-laptop%2Fsamsung-tools
Description: Tools for Samsung laptops
License: GPL-3
* app-misc/byobu
Available versions: ~5.73 ~5.74 ~5.76 ~5.77 ~5.78 ~5.80 ~5.81
IUSE (all versions): screen PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"
Installed versions: Version: 5.41-r1
Date: 02:49:24 AM 06/03/2013
USE: -screen PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
RDEPEND: dev-lang/python:2.7 dev-python/python-exec[python_targets_python2_7(-),python_single_target_python2_7(+)] dev-libs/newt[python_targets_python2_7(-),python_single_target_python2_7(+)] app-misc/tmux
Recommendation: Downgrade
Homepage: http://byobu.co
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=app-misc%2Fbyobu
Description: A set of profiles for the GNU Screen console window manager (app-misc/screen)
License: GPL-3
* app-misc/fslint
Available versions: 2.42 ~2.44-r2
IUSE (all versions): nls PYTHON_TARGETS="python2_7"
Installed versions: Version: 2.42
Date: 10:21:12 AM 04/01/2013
USE: nls
DEPEND: sys-devel/gettext =dev-lang/python-2*
RDEPEND: dev-python/pygtk:2 =dev-lang/python-2*
Best versions/slot: 2.42
Homepage: http://www.pixelbeat.org/fslint/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=app-misc%2Ffslint
Description: A utility to find various forms of lint on a filesystem.
License: GPL-2
* app-text/getxbook
Available versions: (~)1.0
IUSE (all versions): djvu ocr pdf tk
Installed versions: Version: 1.0
Date: 03:41:57 AM 06/19/2013
USE: pdf -djvu -ocr -tk
RDEPEND: media-gfx/imagemagick
Best versions/slot: (~)1.0
Homepage: http://njw.me.uk/software/getxbook/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=app-text%2Fgetxbook
Description: Download books from google, amazon, barnes and noble.
License: ISC
* dev-php/pecl-ps
Available versions: (~)1.3.6-r1
IUSE (all versions): examples PHP_TARGETS="php5-3"
Best versions/slot: (~)1.3.6-r1
Homepage: http://pecl.php.net/ps
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=dev-php%2Fpecl-ps
Description: PHP extension for creating PostScript files.
License: PHP-2.02
* dev-python/mygpoclient
Available versions: ~1.5 ~1.6 ~1.7 (~)1.7-r1
IUSE (all versions): test PYTHON_TARGETS="pypy python2_7"
Best versions/slot: (~)1.7-r1
Homepage: http://thp.io/2010/mygpoclient/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=dev-python%2Fmygpoclient
Description: A gpodder.net client library
License: GPL-3
* games-fps/duke3d
Available versions: (*)20040817-r2
IUSE (all versions): demo opengl perl pic
Best versions/slot: (*)20040817-r2
Homepage: http://icculus.org/projects/duke3d/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=games-fps%2Fduke3d
Description: Port of the original Duke Nukem 3D
License: GPL-2
* games-server/halflife-steam
Available versions: (*)2.0^m
Installed versions: Version: 2.0^m
Date: 12:57:35 PM 03/03/2013
RDEPEND: games-misc/games-envd
Best versions/slot: (*)2.0^m
Homepage: http://www.steampowered.com/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=games-server%2Fhalflife-steam
Description: client for Valve Software's Steam content delivery program
License: ValveServer GPL-2
* games-simulation/flightgear-data
Available versions: 2.10.0 ~2.12.1 3.0.0
Best versions/slot: 3.0.0
Homepage: http://www.flightgear.org/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=games-simulation%2Fflightgear-data
Description: FlightGear data files
License: GPL-2
* kde-misc/kcm-grub2
Available versions: (4) 0.6.4{tbz2} ~0.6.4-r1
IUSE (all versions): aqua +hwinfo imagemagick packagekit LINGUAS="ca ca@valencia cs da de el es et fi fr ga gl hu it lt nl pa pl pt pt_BR ro ru sk sl sv tr uk zh_TW"
Installed versions: Version: 0.6.4(4){tbz2}
Date: 11:06:36 PM 01/17/2014
USE: hwinfo -aqua -imagemagick -packagekit LINGUAS="-ca -ca@valencia -cs -da -de -el -es -et -fi -fr -ga -gl -hu -it -lt -nl -pa -pl -pt -pt_BR -ro -ru -sk -sl -sv -tr -uk -zh_TW"
DEPEND: sys-apps/hwinfo dev-util/automoc >=sys-apps/sed-4 sys-devel/make >=dev-util/cmake-2.8.9 >=sys-apps/findutils-4.4.0 dev-util/automoc virtual/pkgconfig >=x11-libs/libXtst-1.1.0 x11-proto/xf86vidmodeproto dev-lang/perl >=dev-qt/qt3support-4.8.0:4[accessibility] >=dev-qt/qtcore-4.8.0:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.0:4 || ( ( >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] dev-qt/designer:4[-phonon] ) <dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] ) >=dev-qt/qtscript-4.8.0:4 >=dev-qt/qtsql-4.8.0:4[qt3support] >=dev-qt/qtsvg-4.8.0:4 >=dev-qt/qttest-4.8.0:4 >=dev-qt/qtwebkit-4.8.0:4 x11-libs/libXext x11-libs/libXt x11-libs/libXxf86vm x11-libs/libXcomposite x11-libs/libxkbfile >=kde-base/kdelibs-4.4:4[-aqua]
RDEPEND: sys-apps/hwinfo >=kde-base/kcmshell-4.4:4[-aqua] >=kde-base/oxygen-icons-4.4:4[-aqua] dev-lang/perl >=dev-qt/qt3support-4.8.0:4[accessibility] >=dev-qt/qtcore-4.8.0:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.0:4 || ( ( >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] dev-qt/designer:4[-phonon] ) <dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] ) >=dev-qt/qtscript-4.8.0:4 >=dev-qt/qtsql-4.8.0:4[qt3support] >=dev-qt/qtsvg-4.8.0:4 >=dev-qt/qttest-4.8.0:4 >=dev-qt/qtwebkit-4.8.0:4 x11-libs/libXext x11-libs/libXt x11-libs/libXxf86vm x11-libs/libXcomposite x11-libs/libxkbfile >=kde-base/kdelibs-4.4:4[-aqua]
Best versions/slot: 0.6.4(4){tbz2}
Homepage: http://kde-apps.org/content/show.php?content=139643
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=kde-misc%2Fkcm-grub2
Description: KCModule for configuring the GRUB2 bootloader.
License: GPL-3
* kde-misc/kcm-ufw
Available versions: (4) (~)0.4.3-r1
IUSE (all versions): aqua debug +handbook LINGUAS="es fr lt" PYTHON_TARGETS="python2_7"
Best versions/slot: (~)0.4.3-r1(4)
Homepage: http://kde-apps.org/content/show.php?content=137789
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=kde-misc%2Fkcm-ufw
Description: KCM module to control the Uncomplicated Firewall
License: GPL-3
* media-fonts/fs-fonts
Available versions: 0.1_alpha3^bs
IUSE (all versions): X
Installed versions: Version: 0.1_alpha3^bs
Date: 11:05:25 AM 04/03/2013
USE: X
DEPEND: x11-apps/mkfontdir media-fonts/encodings >=media-libs/fontconfig-2.4.0
Best versions/slot: 0.1_alpha3^bs
Homepage: http://x-tt.sourceforge.jp/fs_fonts/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=media-fonts%2Ffs-fonts
Description: Japanese TrueType fonts designed for screen and print
License: public-domain
* media-libs/freetype
Available versions: (2) 2.4.11 ~2.5.0.1 ~2.5.3 ~2.5.3-r1
IUSE (all versions): X +adobe-cff auto-hinter bindist bzip2 debug doc fontforge harfbuzz infinality png static-libs utils ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"
Installed versions: Version: 1.4_pre20080316-r2(1)
Date: 11:54:14 PM 05/07/2013
USE: nls -doc -kpathsea
DEPEND: >=sys-devel/autoconf-2.59 || ( >=sys-devel/automake-1.12 >=sys-devel/automake-1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
RDEPEND: sys-devel/gettext
Version: 2.4.11(2)
Date: 03:23:32 PM 06/11/2014
USE: X bindist bzip2 fontforge static-libs -auto-hinter -debug -doc -infinality -utils
DEPEND: ${RDEPEND}
RDEPEND: sys-libs/zlib app-arch/bzip2 x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp
Best versions/slot: 2.4.11(2)
Recommendation: Downgrade
Homepage: http://www.freetype.org/
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=media-libs%2Ffreetype
Description: A high-quality and portable font engine
License: || ( FTL GPL-2+ )
* net-firewall/ufw
Available versions: ~0.31.1-r2^t ~0.33-r2^t (~)0.34_pre805^t
IUSE (all versions): examples ipv6
Best versions/slot: (~)0.34_pre805^t
Homepage: http://launchpad.net/ufw
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=net-firewall%2Fufw
Description: A program used to manage a netfilter firewall
License: GPL-3
* sys-apps/systemd
Available versions: [m]208-r3(0/1) [m]212-r5(0/2) [m]~213(0/2) [m]~214(0/2) [m]~214_p57(0/2) [m]~215(0/2) [m]**9999(0/2)
IUSE (all versions): acl audit cryptsetup doc elfutils +filecaps +firmware-loader gcrypt gudev http introspection kdbus +kmod lzma pam policykit python qrcode +seccomp selinux ssl tcpd test vanilla xattr ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_SINGLE_TARGET="python2_7 python3_2 python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3"
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=sys-apps%2Fsystemd
Description: System and service manager for Linux
License: GPL-2 LGPL-2.1 MIT public-domain
* sys-firmware/iwl6030-ucode
Available versions:
(0) ~17.168.5.2
(1) (~)18.168.6.1
Best versions/slot: (~)18.168.6.1(1)
Homepage: http://intellinuxwireless.org/?p=iwlwifi
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=sys-firmware%2Fiwl6030-ucode
Description: Intel (R) Wireless WiFi Advanced N 6030 ucode
License: ipw3945
* sys-fs/udev
Available versions: [m]208-r1^t [m]212-r1^t [m]~214^t [m]~215^t [m]**9999^t
IUSE (all versions): acl doc +firmware-loader gudev introspection +kmod selinux static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=sys-fs%2Fudev
Description: Linux dynamic and persistent device naming support (aka userspace devfs)
License: LGPL-2.1 MIT GPL-2
* sys-kernel/gentoo-sources
Available versions:
(3.2.60) ~3.2.60^bs
(3.4.95) ~3.4.95^bs
(3.4.96) ~3.4.96^bs
(3.4.97) ~3.4.97^bs
(3.4.9999) **3.4.9999^bs
(3.10.32) *3.10.32^bs
(3.10.41-r1) 3.10.41-r1^bs
(3.10.45) ~3.10.45^bs
(3.10.46) ~3.10.46^bs
(3.10.9999) **3.10.9999^bs
(3.12.13) *3.12.13^bs
(3.12.21-r1) 3.12.21-r1^bs
(3.12.23) ~3.12.23^bs
(3.12.24) ~3.12.24^bs
(3.12.9999) **3.12.9999^bs
(3.14.9) ~3.14.9^bs
(3.14.10) ~3.14.10^bs
(3.14.11) ~3.14.11^bs
(3.15.2) ~3.15.2^bs
(3.15.3) ~3.15.3^bs
(3.15.4) ~3.15.4^bs
IUSE (all versions): build deblob experimental symlink
Installed versions: Version: 3.7.10-r1(3.7.10-r1)^bs
Date: 09:47:47 PM 05/11/2013
USE: -build -deblob -symlink
DEPEND: sys-apps/sed >=sys-devel/binutils-2.11.90.0.31
RDEPEND: >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc
PDEPEND: virtual/dev-manager
Version: 3.8.13(3.8.13)^bs
Date: 04:41:18 AM 05/13/2013
USE: -build -deblob -symlink
DEPEND: sys-apps/sed >=sys-devel/binutils-2.11.90.0.31
RDEPEND: >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc
PDEPEND: virtual/dev-manager
Version: 3.10.7(3.10.7)^bs
Date: 09:33:54 PM 09/09/2013
USE: -build -deblob -symlink
DEPEND: sys-apps/sed >=sys-devel/binutils-2.11.90.0.31
RDEPEND: >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc
PDEPEND: virtual/dev-manager
Version: 3.10.32(3.10.32)^bs
Date: 12:39:15 PM 03/06/2014
USE: symlink -build -deblob -experimental
DEPEND: sys-apps/sed >=sys-devel/binutils-2.11.90.0.31
RDEPEND: >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc
PDEPEND: virtual/dev-manager
Version: 3.12.21-r1(3.12.21-r1)^bs
Date: 02:52:16 PM 06/19/2014
USE: -build -deblob -experimental -symlink
DEPEND: sys-apps/sed >=sys-devel/binutils-2.11.90.0.31
RDEPEND: >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc
PDEPEND: virtual/dev-manager
Best versions/slot: 3.10.41-r1(3.10.41-r1)^bs 3.12.21-r1(3.12.21-r1)^bs
Recommendation: Downgrade
Homepage: http://dev.gentoo.org/~mpagano/genpatches
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=sys-kernel%2Fgentoo-sources
Description: Full sources including the Gentoo patchset for the 3.15 kernel tree
License: GPL-2 !deblob? ( freedist )
* virtual/perl-Archive-Tar
Available versions: ~1.820.0-r1 1.900.0-r1 ~1.920.0 [M]~1.960.0
Installed versions: Version: 1.900.0
Date: 02:02:34 AM 12/22/2013
RDEPEND: ~perl-core/Archive-Tar-1.900.0
Best versions/slot: 1.900.0-r1
Recommendation: Upgrade
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=virtual%2Fperl-Archive-Tar
Description: Virtual for Archive-Tar
* virtual/perl-CPAN-Meta
Available versions: ~2.120.630-r1 2.120.921-r1 ~2.132.510 [M]~2.140.640
Installed versions: Version: 2.120.921
Date: 02:05:16 AM 12/22/2013
RDEPEND: ~perl-core/CPAN-Meta-2.120.921
Best versions/slot: 2.120.921-r1
Recommendation: Upgrade
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=virtual%2Fperl-CPAN-Meta
Description: Virtual for CPAN-Meta
* virtual/perl-CPAN-Meta-Requirements
Available versions: 2.122.0-r1 ~2.125.0
Installed versions: Version: 2.122.0
Date: 02:00:40 AM 12/22/2013
RDEPEND: ~perl-core/CPAN-Meta-Requirements-2.122.0
Best versions/slot: 2.122.0-r1
Recommendation: Upgrade
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=virtual%2Fperl-CPAN-Meta-Requirements
Description: Virtual for CPAN-Meta-Requirements
* virtual/perl-CPAN-Meta-YAML
Available versions: ~0.7.0-r1 0.8.0-r1 [M]~0.12.0
Installed versions: Version: 0.8.0
Date: 01:54:28 AM 12/22/2013
RDEPEND: ~perl-core/CPAN-Meta-YAML-0.8.0
Best versions/slot: 0.8.0-r1
Recommendation: Upgrade
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=virtual%2Fperl-CPAN-Meta-YAML
Description: Virtual for CPAN-Meta-YAML
* virtual/perl-ExtUtils-Command
Available versions: 1.170.0-r4 ~1.180.0-r1
Installed versions: Version: 1.170.0-r3
Date: 11:42:22 AM 01/30/2013
RDEPEND: || ( =dev-lang/perl-5.16* =dev-lang/perl-5.14* ~perl-core/ExtUtils-Command-1.170.0 )
Best versions/slot: 1.170.0-r4
Recommendation: Upgrade
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=virtual%2Fperl-ExtUtils-Command
Description: Virtual for ExtUtils-Command
* virtual/perl-ExtUtils-ParseXS
Available versions: 3.180.0-r1 ~3.220.0 [M]~3.240.0
Installed versions: Version: 3.180.0
Date: 02:04:03 AM 12/22/2013
RDEPEND: ~perl-core/ExtUtils-ParseXS-3.180.0
Best versions/slot: 3.180.0-r1
Recommendation: Upgrade
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=virtual%2Fperl-ExtUtils-ParseXS
Description: Virtual for ExtUtils-ParseXS
* virtual/perl-File-Temp
Available versions: 0.220.0-r3 ~0.230.0 ~0.230.100-r1 ~0.230.400-r1
Installed versions: Version: 0.220.0-r2
Date: 11:41:53 AM 01/30/2013
RDEPEND: || ( =dev-lang/perl-5.16* =dev-lang/perl-5.14* ~dev-lang/perl-5.12.4 ~dev-lang/perl-5.12.3 ~dev-lang/perl-5.12.2 ~dev-lang/perl-5.10.1 ~perl-core/File-Temp-0.220.0 )
Best versions/slot: 0.220.0-r3
Recommendation: Upgrade
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=virtual%2Fperl-File-Temp
Description: Virtual for File-Temp
* virtual/perl-IO-Zlib
Available versions: 1.100.0-r4
Installed versions: Version: 1.100.0-r2
Date: 09:40:33 PM 12/08/2013
RDEPEND: || ( =dev-lang/perl-5.16* =dev-lang/perl-5.14* ~dev-lang/perl-5.12.4 ~dev-lang/perl-5.12.3 ~dev-lang/perl-5.12.2 ~perl-core/IO-Zlib-1.100.0 )
Best versions/slot: 1.100.0-r4
Recommendation: Upgrade
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=virtual%2Fperl-IO-Zlib
Description: Virtual for IO-Zlib
* virtual/perl-JSON-PP
Available versions: 2.272.0-r2 ~2.272.20-r1 [M]~2.272.30
Installed versions: Version: 2.272.0-r1
Date: 11:41:01 AM 01/30/2013
RDEPEND: || ( =dev-lang/perl-5.16* ~perl-core/JSON-PP-2.272.0 )
Best versions/slot: 2.272.0-r2
Recommendation: Upgrade
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=virtual%2Fperl-JSON-PP
Description: Virtual for JSON-PP
* www-client/google-chrome
Available versions: ~35.0.1916.153_p1^msd
IUSE (all versions): +plugins LINGUAS="+am +ar +bg +bn +ca +cs +da +de +el +en_GB +es +es_LA +et +fa +fi +fil +fr +gu +he +hi +hr +hu +id +it +ja +kn +ko +lt +lv +ml +mr +ms +nb +nl +pl +pt_BR +pt_PT +ro +ru +sk +sl +sr +sv +sw +ta +te +th +tr +uk +vi +zh_CN +zh_TW"
Installed versions: Version: 32.0.1700.77_p1-r1^msd
Date: 10:42:02 AM 01/20/2014
USE: plugins LINGUAS="ja -am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW"
DEPEND: >=sys-apps/sed-4
RDEPEND: app-arch/bzip2 app-misc/ca-certificates dev-libs/atk dev-libs/expat dev-libs/glib:2 dev-libs/libgcrypt dev-libs/nspr dev-libs/nss gnome-base/gconf:2 media-libs/alsa-lib media-libs/fontconfig media-libs/freetype net-print/cups sys-apps/dbus >=sys-devel/gcc-4.4.0[cxx] x11-libs/cairo x11-libs/gdk-pixbuf x11-libs/gtk+:2 >=x11-libs/libX11-1.5.0 x11-libs/libXcomposite x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXi x11-libs/libXrandr x11-libs/libXrender x11-libs/libXScrnSaver x11-libs/libXtst x11-libs/pango x11-misc/xdg-utils !www-client/google-chrome:beta !www-client/google-chrome:stable !www-client/google-chrome:unstable !www-client/google-chrome-beta !www-client/google-chrome-unstable
Recommendation: Downgrade
Homepage: http://www.google.com/chrome
Find open bugs: http://bugs.gentoo.org/buglist.cgi?quicksearch=www-client%2Fgoogle-chrome
Description: The web browser from Google
License: google-chrome
Found 31 matches.
|
Last edited by Budoka on Thu Jul 17, 2014 5:19 am; edited 1 time in total |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6749
|
Posted: Wed Jul 09, 2014 12:00 pm Post subject: Re: Don't understand "eix -tT -av"/"eix-test- |
|
|
Budoka wrote: | Quote: | Redundant in /etc/portage/package.{,accept_}keywords: | I don't understand this syntax at all. Obviously I don't have a file by that name and all of the following packages cited are not even in my package.accept_keywords file. |
You should read the output as
Quote: | for the following packages there are entries in /etc/portage/package.keywords or /etc/portage/package.accept_keywords (or, if these are directories, in some file in these directories or their subdirectories) which appear unnecessary, duplicate, "too strong", ... |
It would be strange if there are packages listed here which are not matched by something in these files/directories.
Note that you can have a match even if the package name does not occur explicitly. For instance, a line like
would cause all uninstalled pcakages from overlay to be listed as REDUNDANT_IF_NO_CHANGE (because you keyword them although this keywording does not change the status of an installed version).
Quote: | Quote: | considered as REDUNDANT_IF_WEAKER | and Quote: | ... considered as REDUNDANT_IF_NO_CHANGE |
Confuses me because many of the packages aren't even installed on my system and are listed as such in the output. |
If the packages are not installed, the corresponding keywording in /etc/portage/packge.accept_keywords or /etc/portage/package.keywords is redundant (in the sense that nothing would change if you would not keyword it).
Quote: | How can a package be redundant if not on my system? |
Not the package but the entry in the configuration file is redundant.
Quote: | And what am I cleaning? |
It depends on you whether you want to keep the redundant information or not. eix cleans nothing.
You can also use /etc/portage/package.nowarn to tell eix that certain redundant information should not be reported the next time you call eix. It is wise to use this only in exceptional cases, of course. An example where this is useful in your case is e.g.
/etc/portage/package.nowarn/masks wrote: | sys-apps/systemd in_mask |
If you never want to be informed about a certain type of redundancy you can configure this in /etc/eixrc, e.g. by setting REDUNDANT_IF_NO_CHANGE=false.
Quote: | why is eix -tT returning "Found 31 matches." and eix-test-obsolete is indicating "Found 13 matches."??? |
eix-test-obsolete outputs several times "Found .. matches" - sorted by "redundancy type": Since a package can belong to several "redundancy types", it can be listed several times with eix-test-obsolete (e.g. net-firewall/iwf is such an example in your case). If you count each package only once, you should get the same number. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Wed Jul 09, 2014 1:08 pm Post subject: |
|
|
MV,
Thank you so much. That clarified quite a bit for me.
Quote: | It would be strange if there are packages listed here which are not matched by something in these files/directories. |
You were indeed correct. That was my mistake because I was only looking in package.accept_keywords and not in package.keywords as well. But since you explained the syntax to me it makes sense.
I went ahead and cleaned up some more based on your explanation but there are two points I am still foggy about.
Quote: | If the packages are not installed, the corresponding keywording in /etc/portage/packge.accept_keywords or /etc/portage/package.keywords is redundant (in the sense that nothing would change if you would not keyword it). | Understood. Thanks. But what about packages that are installed, [I], and are listed? Quote: | for the following packages there are entries in /etc/portage/package.keywords or /etc/portage/package.accept_keywords (or, if these are directories, in some file in these directories or their subdirectories) which appear unnecessary, duplicate, "too strong", ... | . Of course "unnecessary, duplicate" are clear to me but what does "too strong" refer to? When evaluating whether or not to remove them I am not clear what "weaker than..." and "no change" are referring to. No change from what? A previous version? "Weaker" than what? I am sorry if that seems like a silly question but it really isn't clear to me what it is indicating.
Quote: | Installed packages with a version not in the database (or masked): |
What do I do with these entries and how do they occur? Are they safe to remove? The only packages I have in masked in package.masked are systemd and udev.
Code: | Installed packages with a version not in the database (or masked):
[D] app-misc/byobu (5.41-r1@06/03/2013 -> ~5.81): A set of profiles for the GNU Screen console window manager (app-misc/screen)
[D] media-libs/freetype (1.4_pre20080316-r2(1)@05/07/2013 2.4.11(2)@06/11/2014 -> 2.4.11(2)): A high-quality and portable font engine
[D] sys-kernel/gentoo-sources (3.7.10-r1(3.7.10-r1)@05/11/2013 3.8.13(3.8.13)@05/13/2013 3.10.7(3.10.7)@09/09/2013 3.10.32(3.10.32)@03/06/2014 3.12.21-r1(3.12.21-r1)@06/19/2014 -> 3.10.41-r1(3.10.41-r1)^bs 3.12.21-r1(3.12.21-r1)^bs): Full sources including the Gentoo patchset for the 3.15 kernel tree
[U] virtual/perl-Archive-Tar (1.900.0@12/22/2013 -> 1.900.0-r1): Virtual for Archive-Tar
[U] virtual/perl-CPAN-Meta (2.120.921@12/22/2013 -> 2.120.921-r1): Virtual for CPAN-Meta
[U] virtual/perl-CPAN-Meta-Requirements (2.122.0@12/22/2013 -> 2.122.0-r1): Virtual for CPAN-Meta-Requirements
[U] virtual/perl-CPAN-Meta-YAML (0.8.0@12/22/2013 -> 0.8.0-r1): Virtual for CPAN-Meta-YAML
[U] virtual/perl-ExtUtils-Command (1.170.0-r3@01/30/2013 -> 1.170.0-r4): Virtual for ExtUtils-Command
[U] virtual/perl-ExtUtils-ParseXS (3.180.0@12/22/2013 -> 3.180.0-r1): Virtual for ExtUtils-ParseXS
[U] virtual/perl-File-Temp (0.220.0-r2@01/30/2013 -> 0.220.0-r3): Virtual for File-Temp
[U] virtual/perl-IO-Zlib (1.100.0-r2@12/08/2013 -> 1.100.0-r4): Virtual for IO-Zlib
[U] virtual/perl-JSON-PP (2.272.0-r1@01/30/2013 -> 2.272.0-r2): Virtual for JSON-PP
[D] www-client/google-chrome (32.0.1700.77_p1-r1@01/20/2014 -> ~35.0.1916.153_p1^msd): The web browser from Google
Found 13 matches.
|
|
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6749
|
Posted: Thu Jul 10, 2014 10:45 am Post subject: |
|
|
Budoka wrote: | ]I was only looking in package.accept_keywords and not in package.keywords as well. |
Note that although currently both names are accepted by portage, the latter is declared obsolete; you should rename it to package.accept_keywords.
Quote: | But what about packages that are installed, [I], and are listed? |
It depends on the "redundancy type". When I said that you can e.g. switch off REDUNDANT_IF_NO_CHANGE by setting it to "false", this might have given a wrong impression, since the opposite of "false" is not "true" in this case, but the values of REDUNDANT_IF_* variables are rather fine-grained. Let us take the REDUNDANT_IF_NO_CHANGE example: To find out the actual value used you can use Code: | eix --print REDUNDANT_IF_NO_CHANGE | or
The default value of this variable is "all-installed". This means that the package is output with eix -T if there are entries for the package in /etc/portage/package.accept_keywords, and these entries together have the property that the stability state of all installed versions is changed, i.e. you do not have a version installed for which the stability state is changed.
An example where this happens is when you have e.g. the entry /etc/portage/package.accept_keywords wrote: | foo/bar | but the version of foo/bar which you have installed is keyworded as stable: In a sense, the above entry is redundant (since if you cancel it, the current state of installed packages does not change).
This applies if e.g. you have the entry /etc/portage/package.accept_keywords wrote: | foo/bar ** | but all installed versions of foo/bar are KEYWORDS="~ARCH" (and not KEYWORDS=""). In this sense, the keyword ** in the above file is "too strong" and might be replaced by a weaker keyword. In this sense ~ARCH is considered as "weaker" than *, and both are considered as weaker than **.
Quote: | Quote: | Installed packages with a version not in the database (or masked): |
What do I do with these entries and how do they occur? |
Isn't it self-explanatory? You have a version installed for which there is no corresponding ebuild in the tree anymore. This is a dangerous situation. If possible, you should emerge some version of the package which is available in the tree, or if this is not possible you should unmerge the package; if the package is not in your world file, this should automatically happen when you call emerge depclean next time.
Here are two examples:
Quote: | Installed packages with a version not in the database (or masked):
[U] virtual/perl-CPAN-Meta-YAML (0.8.0@12/22/2013 -> 0.8.0-r1) |
This is a "harmless" example: Your installed version 0.8.0 was removed from the tree, but instead the stable version 0.8.0-r1 has been added. portage will probably automatically upgrade that virtual on the next call of emerge -NaDu @world; if it does not, you should probably be able to clean it with emerge depclean.
The next is a more serious example:
Quote: | [D] app-misc/byobu (5.41-r1@06/03/2013 -> ~5.81) |
Obviously you have installed version 5.41-r1 of the package, but either the corresponding ebuild was removed from the tree, or has been (re)keyworded or masked in such a way that you could not reemerge any version of that package without changing some files in /etc/portage/package.*. This might happen if you had a particular entry like
/etc/portage/package.keywords wrote: | =app-misc/byobu-5.41-r1 |
and now for some reason, this particular version was removed from the tree or has been masked. Since the above entry keywords only that particular version, portage cannot "automatically" solve this problem by upgrading/downgrading to a different version, since all other versions are keyworded ~ARCH as well. You should either modify the version numbere in the above entry correspondingly, or keyword all versions by using something like
/etc/portage/package.accept_keywords wrote: | app-misc/byobu |
instead of the above entry: Then portage will solve this problem for you. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Mon Jul 14, 2014 2:40 am Post subject: |
|
|
Quote: | Note that although currently both names are accepted by portage, the latter is declared obsolete; you should rename it to package.accept_keywords. |
Thanks for that tip. I merged both files into package.accept_keywords.
Quote: | Quote:
Quote:
Installed packages with a version not in the database (or masked):
What do I do with these entries and how do they occur?
Isn't it self-explanatory? You have a version installed for which there is no corresponding ebuild in the tree anymore. This is a dangerous situation. If possible, you should emerge some version of the package which is available in the tree, or if this is not possible you should unmerge the package; if the package is not in your world file, this should automatically happen when you call emerge depclean next time. |
No I understand that. What I don't understand is why this occurs. So for example, all of the perl entries that are marked for [U]pgrade do not upgrade during a world update. Emerge --depclean also doesn't do anything with them. I had to manually upgrade each package individually.
Same thing with all of those packages marked as [D]owngrading. Why doesn't the world update or --depclean fix these? None of these packages are in my mask file. Should I go and manually downgrade them all? That means I must explicitly tell emerge which package because a regular emerge will still bring in the higher version. Is that correct?
Still digesting the rest of your post but generally have a pretty could handle on what you are explaining. Thanks. |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6749
|
Posted: Mon Jul 14, 2014 5:58 pm Post subject: |
|
|
Sometimes portage's dependency resolution is strange: You might have a package installed which explicitly depends on an older verison of the ebuild, and then upgrading is considered impossible (though if you do it, nothing will happen). This is related with the static deps vs. dynamic deps approached currently discussed on bugzilla (there is also a Wiki somewhere).
Long story short: Portage's dependency resolution can be buggy, depending on the point of view. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Thu Jul 17, 2014 5:18 am Post subject: |
|
|
Thanks for the help. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun Jul 20, 2014 4:07 pm Post subject: |
|
|
Budoka wrote: | What I don't understand is why this occurs. So for example, all of the perl entries that are marked for [U]pgrade do not upgrade during a world update. Emerge --depclean also doesn't do anything with them. I had to manually upgrade each package individually. |
This is likely due to them being build-deps; use: emerge -pvuDN @world --with-bdeps=y to get portage to include them in its calculations. Note (man emerge) that for depclean it defaults to 'y', meaning not to remove them; for every other action (ie installing something) it defaults to 'n' meaning just to install/upgrade them as required by ebuilds.
Quote: | Same thing with all of those packages marked as [D]owngrading. Why doesn't the world update or --depclean fix these? None of these packages are in my mask file. Should I go and manually downgrade them all? That means I must explicitly tell emerge which package because a regular emerge will still bring in the higher version. Is that correct? |
AFAICT from mv's explanation those aren't downgrades in the portage sense; this is eix output, not portage. IOW portage isn't going to try and downgrade them, but there are newer versions in the tree than you have installed and unmasked, so you're running behind the tree. You definitely don't want to downgrade; but it's likely that you want a newer version unmasked. Again, if the newer version isn't explicitly required, portage doesn't have anything to complain about. But you may be missing upgrades (since you're lagging behind the tree), hence the warning from eix.
@mv: this isn't always an issue, ime: quite often I unmask a single version to get something to build, and I don't wish to upgrade to newer unmasked versions, just carry on with stable when a newer stable version arrives. Though I may be missing something; also I'm not sure the [D] output mimicking portage is very useful, since portage isn't going to downgrade them (leading to confusion as in this thread.) |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6749
|
Posted: Sun Jul 20, 2014 5:00 pm Post subject: |
|
|
steveL wrote: | also I'm not sure the [D] output mimicking portage is very useful, since portage isn't going to downgrade them (leading to confusion as in this thread.) |
The same is the case with [U] and (even more) with [N]: Portage will not upgrade all versions marked with [U] (for many reasons; in the simplest, because an upgrade would involve a new slot if the installed packages depend explicitly on the previous slot). Of course, portage is not going to install all [N] packages, either (in contrast to portage's output). Indeed, all these symbols have a different meaning than in portage, but "usually" you want the [U]/[D] packages to upgrade or downgrade. eix already introduced enough new symbols (like [<] or [>]) so that it is not necessary to introduce even further mnemonics just to avoid a collision with the meaning of portage (although the meaning is actually rather similar). I think everybody understands that portage and eix are different programs... |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Jul 21, 2014 3:32 am Post subject: |
|
|
mv wrote: | The same is the case with [U] and (even more) with [N]: Portage will not upgrade all versions marked with [U] (for many reasons... I think everybody understands that portage and eix are different programs... |
The trouble is that eix in normal usage, as well as eix-sync output, use those in the same way portage does, afaik, which is part of what makes it useful. It's confusing for the same letters to mean something different elsewhere in the same program's output. |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6749
|
Posted: Mon Jul 21, 2014 6:33 am Post subject: |
|
|
Do you have a suggestion for something better?
Let me summarize the current meanings for eix-diff (the first two also for eix):
[U] means: At least one version is installed and has the property that a larger version (in the same slot or in a different slot, depending on the configuration) is available.
[D] means: For some reason (removed, masked, non-matching keywords) at least one installed version is not available anymore, and no higher version (in the same slot or in a different slot, depending on the configuration) is available for it.
[N] means: The package is available but was not available before and is not installed.
It would need a very good reason to change it, since very likely some poorly written user scripts (of users who have not understood how to customize the format) will break if it is changed. Moreover, I think a change would break expectations of experienced users.
At the very least the colors and the "inverse" should be kept: "inverse" is for eix always the sign that an installed version is involved, and the colors are so familiar already for everybody using it (adapting various colorschemes is a nightmare anyway...).
Actually, I realize now that in the colors there is already a difference to emerge: emerge does not use "inverse"... |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Jul 21, 2014 3:11 pm Post subject: |
|
|
mv wrote: | Do you have a suggestion for something better?
Let me summarize the current meanings for eix-diff (the first two also for eix):
[ U] means: At least one version is installed and has the property that a larger version (in the same slot or in a different slot, depending on the configuration) is available.
[D] means: For some reason (removed, masked, non-matching keywords) at least one installed version is not available anymore, and no higher version (in the same slot or in a different slot, depending on the configuration) is available for it.
[N] means: The package is available but was not available before and is not installed. |
That's all good: I just don't like [D] in this context since it's about the mask/configuration, and not what would be emerged. As we've discussed, portage wouldn't downgrade that package. I'd prefer [X] or [?] indicating I need to take action with that or monitor it myself rather; and [D] to be reserved for the specific cases where portage would in fact downgrade the installed version (to the best of our knowledge.) None of the [U] outputs above trigger that reaction in me.
I guess I'd prefer [D] like that for eix-diff too, if we were discussing design from scratch, but it's used as a report on the tree post-sync, and not so important; I haven't noticed any issue with it, in all these years. I guess because we immediately go into the resolve phase (unless it's an -S sync-only run), which is usually the @world --with-bdeps y, (ie we're running: update -s) and thus I tend to look at that much more closely. The eix-diff output is still nice though, especially with portage getting slower and slower due to shoving "dynamic" deps into ebuild-space (horribly done, imo.)
Quote: | It would need a very good reason to change it, since very likely some poorly written user scripts (of users who have not understood how to customize the format) will break if it is changed. Moreover, I think a change would break expectations of experienced users. |
Eh it's your program so you must ofc do what you feel best for your users; I just like discussing it with you since I make so much use of it in update. I'm wondering about wrapping this option for a report post-update, although I'll likely just stick a note about it in --help. Same way there's no option to remove a package with update, as we don't shield users from the underlying tools (just tell them to use emerge -cq -- this is deliberate as I don't want update to turn into an idiot-box tool, although it can be used as a component for scripting eg: an installer.)
The only reason eix is not required by update is that bonsaikitten/Patrick still doesn't use it because of delays with postsync when using a cvs tree. I've been telling him for years to discuss it with you, but he's a real NIH-head underneath it all; either that or simply pig-headed. ;) In any case, it implies there are use-cases where eix won't be installed, and I can't pull it in as the postsync would bar usage of update, in that context. (and ofc without it being up to date, i can't rely on its data.)
WRT poorly-written scripts that don't know how to use the underlying tool, my feeling is that it's better for them to break and the user to learn what they're doing, and stay current with the tool. I have to do the same when emerge changes its output, for some reason or another, though I'm not suggesting you go that far. Just that anyone scripting against eix, really should know about the --format option, and if they don't already, then they'll only improve their usage vastly when they learn about it. I know I did (although admittedly I tend to cajole the correct stanza out of you on these fine forums... ;)
In this instance if I were to wrap it, I'm already sure I'd have to do something with the [D] variants, as it would definitely confuse me for one to see [D] there. Good to know there's no newer stable/unmasked versions available, which would be the first thing I'd check, as it means it's not a downgrade in tree terms. We're going to be looking per-slot from our perspective, unless the mask is non-versioned (in which case this wouldn't apply afaict, so that's filtered already as well.) Only gcc and kernel-sources have their slots treated differently; although NS does count as upgrade internally, not a new package, those two have custom handling as part of toolchain (and in depclean, so that running and symlinked sources are never removed, for example.)
Quote: | At the very least the colors and the "inverse" should be kept: "inverse" is for eix always the sign that an installed version is involved, and the colors are so familiar already for everybody using it (adapting various colorschemes is a nightmare anyway...).
Actually, I realize now that in the colors there is already a difference to emerge: emerge does not use "inverse"... |
Hehe; I agree it's a different program. And I certainly have nothing to say about colour, mainly because I'd never script to it, and as you say users tend to want to change them in any case. Inverse meaning "slot installed" is nice yeah.
Is there a simple --format to change [D] to [X] for example, without altering the others? Seems like we'd need one of those dynamic vars and to then set it conditionally, I guess. Though it may not be worth even wrapping in workflow terms, since the user can run it themselves as and when they're ready to clean up the config. It just appeals to me to have the info shown at end of a large world upgrade, depclean, (@preserved,) revdep-rebuild cycle, or perhaps only the ones which actually come across as D currently (since they're the ones I do need to be aware of) and the main output after a sync perhaps. |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6749
|
Posted: Mon Jul 21, 2014 3:46 pm Post subject: |
|
|
steveL wrote: | Is there a simple --format to change [D] to [X] for example, without altering the others? |
I am not sure whether I understand your question correctly. Perhaps you mean setting (although there is no stability guaranteed for variables used only in delayed substitution, this name is unlikely to change unless some fundamental changes need to be done.)
But this changes the symbol in both, eix-diff and eix. If you want to distinguish, you need to do something like (untested)
Code: | CHAR_DOWNGRADE=%{*CHAR_DOWNGRADE}
EIX_CHAR_DOWNGRADE='X'
DIFF_CHAR_DOWNGRADE='?' |
|
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Jul 21, 2014 5:27 pm Post subject: |
|
|
Perfect; thanks mv. I'd just use the simple: CHAR_DOWNGRADE=X eix -T .. for that part. I'll take a look once I get through current work. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|