NetBSD Problem Report #48561
From www@NetBSD.org Thu Jan 30 16:00:05 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id BC73AA6482
for <gnats-bugs@gnats.NetBSD.org>; Thu, 30 Jan 2014 16:00:05 +0000 (UTC)
Message-Id: <20140130160004.3FAD9A64A5@mollari.NetBSD.org>
Date: Thu, 30 Jan 2014 16:00:04 +0000 (UTC)
From: pettai@nordu.net
Reply-To: pettai@nordu.net
To: gnats-bugs@NetBSD.org
Subject: pkgin fug: packages at same version get removed without being reinstalled
X-Send-Pr-Version: www-1.0
>Number: 48561
>Category: pkg
>Synopsis: pkgin fug: packages at same version get removed without being reinstalled
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: imil
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 30 16:05:00 +0000 2014
>Closed-Date: Tue Mar 22 13:04:54 +0000 2016
>Last-Modified: Tue Mar 22 13:04:54 +0000 2016
>Originator: Fredrik Pettai
>Release: pkgsrc-2013Q3 -> pkgsrc-2013Q4
>Organization:
NORDUnet A/S
>Environment:
NetBSD morran.pettai.se 6.1.2 NetBSD 6.1.2 (GENERIC) i386
>Description:
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…)
>How-To-Repeat:
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...
>Fix:
pkgin 0.7.0, available in pkgsrc wip, should fix that issue.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->imil
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Thu, 30 Jan 2014 16:14:13 +0000
Responsible-Changed-Why:
Assign to pkgin developer.
From: Havard Eidnes <he@NetBSD.org>
To: gnats-bugs@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
State-Changed-From-To: open->feedback
State-Changed-By: imil@NetBSD.org
State-Changed-When: Fri, 02 Jan 2015 10:46:11 +0000
State-Changed-Why:
Latest pkgin commit should fix that issue
From: "Emile iMil Heitor" <imil@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48561 CVS commit: pkgsrc/pkgtools/pkgin
Date: Sun, 25 Jan 2015 10:09:34 +0000
Module Name: pkgsrc
Committed By: imil
Date: Sun Jan 25 10:09:34 UTC 2015
Modified Files:
pkgsrc/pkgtools/pkgin: Makefile distinfo
Log Message:
Updated to pkgin 0.7.0
Changes:
20150124
When -n is provided to pkgin ar, rm, in, fug, packages list is shown
as one package per line so it is easier to read (feature proposed
by gdt@ in GitHub issue #41)
20150122
Fixed GitHub issue #33: clean database when repository removed
20150121
Fixed some resource leakage pointed out by coverity scan
20150119
+PRESERVE packages now correctly upgraded without pkg_add -f
20150106
Dropped percentage printout if stdout is not a tty (patch by Havard
Eidnes)
Changed pkg_add -f flag with -D as suggested by Greg Troxel
20150105
Fixed an issue with meta-packages not updating pkgdb, check for
PKG_DBDIR mtime instead
20150102
Avoid deepness > 1 when checking for dependency upgrades, should fix
PR #48561
20141229
Avoid `preserved' packages to be `autoremoved'
20141228
Fixed GH issue #1, NULL PKG_PATH (which is wrong btw) makes pkgin
segfault, strcmp() secured with safe_strcmp()
Added --with-pkginstall to configure
20141223
0.7.0
Fixed GH issue #36, automatic flag no more set when a package is
installed via pkg_add(1)
Added -p (parsable) flag for 3rd party frontends
Added statistics (patch by Youri Mouton)
Package-names-containing-a-dot fix (patch by Yamamoto Takashi)
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/pkgtools/pkgin/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/pkgtools/pkgin/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Fredrik Pettai <pettai@nordu.net>
To: gnats-bugs@NetBSD.org
Cc: imil@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: PR/48561 CVS commit: pkgsrc/pkgtools/pkgin
Date: Tue, 22 Mar 2016 13:56:47 +0100
I haven=E2=80=99t had the issue since I=E2=80=99ve upgraded to a later =
version of pkgin, and have done some "pkgin fug=E2=80=9D upgrades since =
then, so this issue seems fixed as proposed by the maintainer=E2=80=A6
Thx,
/P
State-Changed-From-To: feedback->closed
State-Changed-By: pettai@NetBSD.org
State-Changed-When: Tue, 22 Mar 2016 13:04:54 +0000
State-Changed-Why:
fixed by maintainer
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.