Date: Sun, 24 Jan 2016 11:16:02 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 206563] ports-mgmt/pkg Incorrectly reads the index of installed packages. Message-ID: <bug-206563-32340-Hk2bLQrZ1e@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-206563-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-206563-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Grzegorz Junka <list1@gjunka.com> has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to pkg@FreeBSD.org: Bug 206563: ports-mgmt/pkg Incorrectly reads the index of installed package= s. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206563 --- Description --- Created attachment 166050 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166050&action= =3Dedit Output of pkg -vv According to pkg help: info Displays information about installed packages version Displays the versions of installed packages So they both produce information about installed packages. Please note that info outputs more information than version, so should be more prone to corr= upt data. However, pkg info does work correctly: root@crayon2:~ # pkg info=20 CharisSIL-4.114_1 Charis SIL TrueType font collection CoinMP-1.8.3 Optimization library with support for COIN-OR CLP, CBC, and CGL DoulosSIL-4.112_1 Doulos SIL TrueType font collection GentiumBasic-110_3 Gentium Basic and Gentium Book Basic TrueType fonts GeoIP-1.6.9 Find the country that any IP address or hostname originates from GraphicsMagick-1.3.23_2,1 Fast image processing tools based on ImageMa= gick (...) where pkg version fails: root@crayon2:~ # pkg version pkg: No valid entries found in '/usr/ports/INDEX-10' It looks like they are reading the information about installed packages from different places and pkg version fails when the port index is corrupted.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206563-32340-Hk2bLQrZ1e>