[Bug 239498] Upgrade instructions from 11.3 to 12.0 result in break of pkg utility

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 4 00:51:27 UTC 2019


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

Cory Albrecht <freebsd at cory.albrecht.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd at cory.albrecht.name

--- Comment #1 from Cory Albrecht <freebsd at cory.albrecht.name> ---
I have the same problem on a DigitalOcean VPS that was originall 11.2, upgraded
to 11.3 then to 12.0, the could not do 'pkg update'. Having to run pkg-static
shoul dnot be necessary as that should be one of the tasks done by running
freebsd-update.

root at db1:/etc # pkg update
ld-elf.so.1: Shared object "libarchive.so.6" not found, required by "pkg"
root at db1:/etc # pkg-static install -f pkg
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static
install -f pkg" recommended
Updating poudriere repository catalogue...
pkg-static: Repository poudriere has a wrong packagesite, need to re-create
database
Fetching meta.txz: 100%    1 KiB   1.3kB/s    00:01    
Fetching packagesite.txz: 100%   82 KiB  84.4kB/s    00:01    
Processing entries: 100%
poudriere repository update completed. 278 packages processed.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
        pkg-1.11.1 [poudriere] (ABI changed: 'freebsd:11:x86:64' ->
'freebsd:12:x86:64')

Number of packages to be reinstalled: 1

3 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching pkg-1.11.1.txz: 100%    3 MiB   3.4MB/s    00:01    
Checking integrity... done (0 conflicting)
[1/1] Reinstalling pkg-1.11.1...
[1/1] Extracting pkg-1.11.1: 100%
root at db1:/etc # pkg update
Updating poudriere repository catalogue...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-doc mailing list