Discussion:
pkg(1) wants to downgrade?
Sergey A. Osokin
2018-05-25 17:19:25 UTC
Permalink
Hi there,

I've just upgraded to 11.2-BETA2 and found pkg(1) wants to downgrade
my packages:

x1% sudo pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (329 candidates): 100%
Processing candidates (329 candidates): 100%
The following 11 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
xorg-server: 1.18.4_6,1 -> 1.18.4_7,1
xorg-nestserver: 1.19.1_6,2 -> 1.19.1_7,2
firefox: 60.0.1,1 -> 60.0.1_1,1

Installed packages to be DOWNGRADED:
sqlite3: 3.23.1 -> 3.22.0_2
python27: 2.7.15 -> 2.7.14_1
mesa-libs: 18.0.4 -> 17.3.9
libxcb: 1.13 -> 1.12_2
libdrm: 2.4.92,1 -> 2.4.89,1
glib: 2.50.3_3,1 -> 2.50.3_2,1
freetype2: 2.9.1 -> 2.8_2
fontconfig: 2.12.6,1 -> 2.12.1_3,1

Number of packages to be upgraded: 3
Number of packages to be downgraded: 8
...


% pkg -vvv
Version : 1.10.5
PKG_DBDIR = "/var/db/pkg";
PKG_CACHEDIR = "/var/cache/pkg";
PORTSDIR = "/usr/ports";
INDEXDIR = "";
INDEXFILE = "INDEX-11";
HANDLE_RC_SCRIPTS = false;
DEFAULT_ALWAYS_YES = false;
ASSUME_ALWAYS_YES = false;
REPOS_DIR [
"/etc/pkg/",
"/usr/local/etc/pkg/repos/",
]
PLIST_KEYWORDS_DIR = "";
SYSLOG = true;
ABI = "FreeBSD:11:amd64";
ALTABI = "freebsd:11:x86:64";
DEVELOPER_MODE = false;
VULNXML_SITE = "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2";
FETCH_RETRY = 3;
PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;

Is there any idea what's going on here?
Thanks.
--
Sergey A. Osokin
Ruben
2018-05-25 19:13:06 UTC
Permalink
Were the packages installed from a more recent ports-tree perhaps?


Regards,


Ruben
Post by Sergey A. Osokin
Hi there,
I've just upgraded to 11.2-BETA2 and found pkg(1) wants to downgrade
x1% sudo pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (329 candidates): 100%
Processing candidates (329 candidates): 100%
xorg-server: 1.18.4_6,1 -> 1.18.4_7,1
xorg-nestserver: 1.19.1_6,2 -> 1.19.1_7,2
firefox: 60.0.1,1 -> 60.0.1_1,1
sqlite3: 3.23.1 -> 3.22.0_2
python27: 2.7.15 -> 2.7.14_1
mesa-libs: 18.0.4 -> 17.3.9
libxcb: 1.13 -> 1.12_2
libdrm: 2.4.92,1 -> 2.4.89,1
glib: 2.50.3_3,1 -> 2.50.3_2,1
freetype2: 2.9.1 -> 2.8_2
fontconfig: 2.12.6,1 -> 2.12.1_3,1
Number of packages to be upgraded: 3
Number of packages to be downgraded: 8
...
% pkg -vvv
Version : 1.10.5
PKG_DBDIR = "/var/db/pkg";
PKG_CACHEDIR = "/var/cache/pkg";
PORTSDIR = "/usr/ports";
INDEXDIR = "";
INDEXFILE = "INDEX-11";
HANDLE_RC_SCRIPTS = false;
DEFAULT_ALWAYS_YES = false;
ASSUME_ALWAYS_YES = false;
REPOS_DIR [
"/etc/pkg/",
"/usr/local/etc/pkg/repos/",
]
PLIST_KEYWORDS_DIR = "";
SYSLOG = true;
ABI = "FreeBSD:11:amd64";
ALTABI = "freebsd:11:x86:64";
DEVELOPER_MODE = false;
VULNXML_SITE = "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2";
FETCH_RETRY = 3;
PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
Is there any idea what's going on here?
Thanks.
Loading...