[Bug 216805] pkg will break itself on a pre 10.3 system

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 5 03:21:09 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216805

            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 at FreeBSD.org
          Reporter: jim at jimkeener.com
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

pkg will break itself if on a pre-10.3 system when upgrading. Desired behavior
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    
Fetching packagesite.txz: 100%    6 MiB   5.9MB/s    00:01    
Processing entries: 100%
FreeBSD repository update completed. 26006 packages processed.
% sudo pkg upgrade 
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    
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"

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


More information about the freebsd-amd64 mailing list