[Bug 207915] ports-mgmt/pkg: pkg upgrade <pkg-name> does not upgrade dependencies of dependencies
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 12 01:53:38 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207915
Bug ID: 207915
Summary: ports-mgmt/pkg: pkg upgrade <pkg-name> does not
upgrade dependencies of dependencies
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: pkg at FreeBSD.org
Reporter: schen at enbala.com
Assignee: pkg at FreeBSD.org
Flags: maintainer-feedback?(pkg at FreeBSD.org)
Upgrading cmake will upgrade curl, however, it won't upgrade ca_root_nss, which
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#
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list