pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51496: pkgin removes packages even though package exists in repository



>Number:         51496
>Category:       pkg
>Synopsis:       pkgin removes packages even though package exists in repository
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 23 10:15:00 +0000 2016
>Originator:     he%uninett.no@localhost
>Release:        NetBSD 7.0
>Organization:
	UNINETT AS
>Environment:
System: NetBSD smistad.uninett.no 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
Architecture: x86_64
Machine: amd64
>Description:
	While doing a "pkgin full-upgrade", I get this:	

smistad# pkgin fug
calculating dependencies... done.

1 packages to be upgraded:

fontconfig-2.12.0

2 packages to be removed: 

libreoffice-5.1.4.2

1 packages to be installed (975K to download, 1322B to install):

fontconfig-2.12.1

proceed ? [Y/n] n
smistad# pkgin se libreoffice
libreoffice5-bin-5.1.0  Integrated office productivity suite (binary pkg)
libreoffice43-4.3.7.2nb10  Office productivity suite, 4.x branch
libreoffice4-bin-4.4.7  Integrated office productivity suite (binary pkg)
libreoffice4-4.4.7.2nb6  Office productivity suite, 4.x branch
libreoffice-5.1.4.2 = Office productivity suite from The Document Foundation

=: package is installed and up-to-date
<: package is installed but newer version is available
>: installed package has a greater version than available package
smistad# 

	I went ahead and did the "pkgin fug" anyway, and patched it up
	afterwards by installing it, after having done "pkg_admin
	rebuild" and "pkg_admin rebuild-tree", but it still insisted
	on the same set of packages to be removed and not reinstalled.

	This behaviour violates (at best) the principle of least
	surprise.

	Why did pkgin insist on removing libreoffice?

	Why wasn't it reinstalled?  It *does* exist in the repository,
	and reinstalling it manually afterwards isn't a problem:

smistad# pkgin in libreoffice
calculating dependencies... done.

nothing to upgrade.
1 packages to be installed (257M to download, 943M to install):

libreoffice-5.1.4.2

proceed ? [Y/n] 
downloading packages...
libreoffice-5.1.4.2.tgz             100%  257MB   3.6MB/s   0.9KB/s   01:11    
installing packages...
installing libreoffice-5.1.4.2...
===========================================================================
$NetBSD: MESSAGE,v 1.1 2015/08/12 00:57:20 ryoon Exp $

To enable Java support, please set JDK path in Tools->Options->Advanced.
===========================================================================
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
marking libreoffice-5.1.4.2 as non auto-removable
smistad# 

>How-To-Repeat:
	Don't exactly know...

>Fix:
	Sorry, none provided.



Home | Main Index | Thread Index | Old Index