Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Feb 2017 03:21:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 216805] pkg will break itself on a pre 10.3 system
Message-ID:  <bug-216805-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216805

            Bug ID: 216805
           Summary: pkg will break itself on a pre 10.3 system
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Package Infrastructure
          Assignee: portmgr@FreeBSD.org
          Reporter: jim@jimkeener.com
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

pkg will break itself if on a pre-10.3 system when upgrading. Desired behav=
ior
would be to fail on update or upgrade with a message saying the current pkg
package is incompatible with the current version of the operating system.

% sudo pkg update
Password:
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01=20=20=20=20
Fetching packagesite.txz: 100%    6 MiB   5.9MB/s    00:01=20=20=20=20
Processing entries: 100%
FreeBSD repository update completed. 26006 packages processed.
% sudo pkg upgrade=20
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        pkg: 1.8.7_3 -> 1.9.4_1

Number of packages to be upgraded: 1

2 MiB to be downloaded.

Proceed with this action? [y/N]: y
Fetching pkg-1.9.4_1.txz: 100%    2 MiB   2.6MB/s    00:01=20=20=20=20
Checking integrity... done (0 conflicting)
[1/1] Upgrading pkg from 1.8.7_3 to 1.9.4_1...
[1/1] Extracting pkg-1.9.4_1: 100%
/usr/local/lib/libpkg.so.3: Undefined symbol "openat"

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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