Discussion:
pkg/48561: pkgin fug: packages at same version get removed without being reinstalled
p***@nordu.net
2014-01-30 16:05:00 UTC
Permalink
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/S
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...
a***@NetBSD.org
2014-01-30 16:14:13 UTC
Permalink
Synopsis: pkgin fug: packages at same version get removed without being reinstalled

Responsible-Changed-From-To: pkg-manager->imil
Responsible-Changed-By: ***@NetBSD.org
Responsible-Changed-When: Thu, 30 Jan 2014 16:14:13 +0000
Responsible-Changed-Why:
Assign to pkgin developer.
Havard Eidnes
2014-10-09 09:50:00 UTC
Permalink
The following reply was made to PR pkg/48561; it has been noted by GNATS.

From: Havard Eidnes <***@NetBSD.org>
To: gnats-***@NetBSD.org
Cc:
Subject: Re: pkg/48561: pkgin fug: packages at same version get removed
without being reinstalled
Date: Thu, 09 Oct 2014 11:46:45 +0200 (CEST)
I noticed that pkgin sometimes removes packages, but never (re)instal=
l them =
during a "pkgin fug" run.
I'm seeing the same, with pkgin-0.6.4nb7:

hugin# pkgin fug
calculating dependencies... done.
postgresql93-client-9.3.5 (to be installed) conflicts with installed pa=
ckage postgresql93-client-9.3.4.
proceed ? [y/N] y

(As noted in PR#48975)

110 packages to be upgraded: ...

1 packages to be removed: apache-2.2.29

114 packages to be installed: ...

and apache doesn't exist in those two other lists of packages.

"That's not what I asked for!"

The apache package exists (as noted, in the same version) in the
pkgsrc repository I'm upgrading from:

hugin# pkgin se apache
...
apache-2.4.10 < Apache HTTP (Web) server, version 2.4
apache-2.2.29 =3D Apache HTTP (Web) server, version 2.2
...

Regards,

- H=E5vard

Loading...