[Bug 206563] ports-mgmt/pkg Incorrectly reads the index of installed packages.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 24 11:16:03 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206563
Bug ID: 206563
Summary: ports-mgmt/pkg Incorrectly reads the index of
installed packages.
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: pkg at FreeBSD.org
Reporter: list1 at gjunka.com
Assignee: pkg at FreeBSD.org
Flags: maintainer-feedback?(pkg at FreeBSD.org)
Created attachment 166050
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166050&action=edit
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 corrupt
data.
However, pkg info does work correctly:
root at crayon2:~ # pkg info
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 ImageMagick
(...)
where pkg version fails:
root at 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list