p***@nordu.net
2014-01-30 16:05:00 UTC
Number: 48561
Category: pkg
Synopsis: pkgin fug: packages at same version get removed without being reinstalled
Confidential: no
Severity: serious
Priority: medium
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Thu Jan 30 16:05:00 +0000 2014
Originator: Fredrik Pettai
Release: pkgsrc-2013Q3 -> pkgsrc-2013Q4
NORDUnet A/SCategory: pkg
Synopsis: pkgin fug: packages at same version get removed without being reinstalled
Confidential: no
Severity: serious
Priority: medium
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Thu Jan 30 16:05:00 +0000 2014
Originator: Fredrik Pettai
Release: pkgsrc-2013Q3 -> pkgsrc-2013Q4
NetBSD morran.pettai.se 6.1.2 NetBSD 6.1.2 (GENERIC) i386
From pkgsrc-users@
http://mail-index.netbsd.org/pkgsrc-users/2014/01/19/msg019202.html
I noticed that pkgin sometimes removes packages, but never (re)install them
during a "pkgin fug" run.
Example from a recent pkgin-0.6.4nb1 run:
bash-4.2# pkgin up
pkg_summary.bz2 100% 2019KB 504.8KB/s 361.6KB/s 00:04
processing remote summary
(ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.1/All)...
updating database: 100%
bash-4.2# pkgin fug
calculating dependencies... done.
mysql-client-5.5.35 (to be installed) conflicts with installed package
mysql-client-5.5.33nb1.
proceed ? [y/N] y
83 packages to be upgraded: x11-links-0.79 [ ]
3 packages to be removed: dnscheck-1.4.1 p5-Test-Warn-0.24nb2 apache-2.2.25nb1
86 packages to be installed: p5-Test-Fatal-0.013 [ ]
proceed ? [Y/n] y
It seems like pkgin doesn't reinstall the packages, which are the same versions
as earlier?
(dnscheck-1.4.1, p5-Test-Warn-0.24nb2 and apache-2.2.25nb1 where all the same
version installed, as in the latest pkgsrc binary distribution )
Simply update from a older stable branch of binary build packages
You need to have some old stable packages installed, that aren't a dependency to other packages nor should they change version between the stable branches...