These are the steps I use to reinstall all packages after an OS update :
After running
Then I ran
Also, running
So I'm not sure what to do now. Any suggestions?
Code:
cd /var/synth/live_packages/All
rm -rf *.txz
portsnap fetch update
synth just-build `cat /home/build.list`
synth rebuild-repository
pkg delete -af
/usr/sbin/pkg bootstrap (or /usr/sbin/pkg bootstrap -f)
pkg install `cat /home/build.list`
synth rebuild-repository
, it deleted everything it just finished building and error'd out.
Code:
$ synth rebuild-repository
pkg-1.10.3_1.txz failed option check.
Stand by, building pkg(8) first ... done!
Removed: pkg-1.10.3_1.txz
Removed: indexinfo-0.3.1.txz
Removed: pkgconf-1.3.10,1.txz
Removed: rsync-3.1.2_7.txz
Removed: powerdxx-0.2.5_1.txz
Removed: dialog4ports-0.1.6.txz
Removed: gettext-runtime-0.19.8.1_1.txz
Removed: gettext-tools-0.19.8.1.txz
Removed: ncurses-6.0.0s20171007_1.txz
Removed: perl5-5.24.3.txz
Removed: gmake-4.2.1_1.txz
Removed: p5-Locale-gettext-1.07.txz
Removed: nano-2.9.1.txz
Removed: help2man-1.47.5.txz
Removed: sudo-1.8.21p2_1.txz
Removed: screen-4.6.2.txz
Removed: smartmontools-6.6.txz
Removed: m4-1.4.18,1.txz
Removed: libunistring-0.9.7.txz
Removed: texinfo-6.5,1.txz
Removed: libidn2-2.0.4.txz
Removed: mpfr-3.1.6.txz
Removed: gmp-6.1.2.txz
Removed: wget-1.19.2.txz
Removed: bison-3.0.4,1.txz
Removed: binutils-2.28,1.txz
Removed: gcc6-aux-20170802.txz
Removed: bash-4.4.12_3.txz
Removed: mpc-1.0.3.txz
Removed: synth-2.02.txz
Removed: adacurses-20150808_4.txz
Removed: ini_file_manager-03_2.txz
Stand by, recursively scanning 0 ports serially.
Failed to install pkg(8) scanner (Synth must exit)
pkg version -v
Code:
pkg: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended
...
...
$ pkg-static install -f pkg
pkg-static: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended
Updating Synth repository catalogue...
Synth repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be REINSTALLED:
pkg-1.10.3_1
Number of packages to be reinstalled: 1
3 MiB to be downloaded.
Proceed with this action? [y/N]: y
Checking integrity... done (0 conflicting)
pkg-static: archive_read_open_filename(//var/synth/live_packages/All/pkg-1.10.3_1.txz): Failed to open '//var/synth/live_packages/All/pkg-1.10.3_1.txz'
pkg update -f
shows :
Code:
pkg: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended
Updating Synth repository catalogue...
Fetching meta.txz: 100% 260 B 0.3kB/s 00:01
Fetching packagesite.txz: 100% 11 KiB 11.2kB/s 00:01
Processing entries: 0%
pkg: wrong architecture: FreeBSD:10:amd64 instead of FreeBSD:11:amd64
pkg: repository Synth contains packages with wrong ABI: FreeBSD:10:amd64
Processing entries: 100%
Unable to update repository Synth
Error updating repositories!