Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2016 01:53:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 207915] ports-mgmt/pkg: pkg upgrade <pkg-name> does not upgrade dependencies of dependencies
Message-ID:  <bug-207915-32340-qZ46tlxYkw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207915-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207915-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Simpson <schen@enbala.com> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to pkg@FreeBSD.org:
Bug 207915: ports-mgmt/pkg: pkg upgrade <pkg-name> does not upgrade
dependencies of dependencies
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207915



--- Description ---
Upgrading cmake will upgrade curl, however, it won't upgrade ca_root_nss, w=
hich
is a dependency of curl.

Example:

root# pkg -v
1.6.4
root# pkg info
ca_root_nss-3.17.2	       The root certificate bundle from the Mozilla
Project
cmake-3.0.2		       Cross-platform Makefile generator
cmake-modules-3.0.2	       Modules and Templates for CMake
curl-7.38.0_1		       Non-interactive tool to get files from FTP,
GOPHER, HTTP(S) servers
expat-2.1.0_1		       XML 1.0 parser written in C
pkg-1.6.4_1		       Package manager
root# cat FreeBSD.conf
FreeBSD1: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
root# pkg info -r ca_root_nss
ca_root_nss-3.17.2:
	curl-7.38.0_1
root# pkg upgrade curl
Updating FreeBSD1 repository catalogue...
FreeBSD1 repository is up-to-date.
All repositories are up-to-date.
The following 2 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	curl: 7.38.0_1 -> 7.47.1
	ca_root_nss: 3.17.2 -> 3.22.2

The process will require 467 KiB more space.
324 KiB to be downloaded.

Proceed with this action? [y/N]: N
root# pkg upgrade cmake
Updating FreeBSD1 repository catalogue...
FreeBSD1 repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 7 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	jsoncpp: 0.6.0.r2_2
	libarchive: 3.1.2_6,1
	lzo2: 2.09

Installed packages to be UPGRADED:
	cmake: 3.0.2 -> 3.4.2
	expat: 2.1.0_1 -> 2.1.0_3
	curl: 7.38.0_1 -> 7.47.1
	cmake-modules: 3.0.2 -> 3.4.2

The process will require 8 MiB more space.

Proceed with this action? [y/N]: y
[1/7] Upgrading expat from 2.1.0_1 to 2.1.0_3...
[1/7] Extracting expat-2.1.0_3: 100%
[2/7] Installing lzo2-2.09...
[2/7] Extracting lzo2-2.09: 100%
[3/7] Installing jsoncpp-0.6.0.r2_2...
[3/7] Extracting jsoncpp-0.6.0.r2_2: 100%
[4/7] Upgrading curl from 7.38.0_1 to 7.47.1...
[4/7] Extracting curl-7.47.1: 100%
[5/7] Installing libarchive-3.1.2_6,1...
[5/7] Extracting libarchive-3.1.2_6,1: 100%
[6/7] Upgrading cmake-modules from 3.0.2 to 3.4.2...
[6/7] Extracting cmake-modules-3.4.2: 100%
[7/7] Upgrading cmake from 3.0.2 to 3.4.2...
[7/7] Extracting cmake-3.4.2: 100%
root#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207915-32340-qZ46tlxYkw>