Hi,
I moved continents back in October/November and I just put back my FreeBSD 14.1-RELEASE-p8 hard disk into another computer. I wanted to upgrade it but cannot perform
But when it reaches bigger packages like libreoffice, I get this :
I did follow the instructions from SirDice, but to no avail.
Then I downloaded another version of the catalog, but to be frank I have no idea if it is the right version :
(by the way, is there a list somewhere of all versions like 1401000 matched with FreeBSD versions or do we just use
I then followed the instructions again and thus installed another version of pkg I believe.
I also wonder if the rm command in the instructions should not be targeted at this path :
Since the paths seem to have changed slightly since then? Could this be why the fix didn't work? I didn't delete the erroneous DB?
Any help would be much appreciated
I'll attach a tmux log of what I did for whoever is curious enough to go through it.
I moved continents back in October/November and I just put back my FreeBSD 14.1-RELEASE-p8 hard disk into another computer. I wanted to upgrade it but cannot perform
pkg upgrade
(although freebsd-update fetch install
did work)I suspect it may be partially caused by my slow connection, because I was able to upgraderoot@fb33:~ # freebsd-version
14.1-RELEASE-p8
root@fb33:~ # uname -r
14.1-RELEASE-p7
xxd
before and lsof
after following the usual instructions for fixing this (Thread pkg-1-3-0-size-mismatch-cannot-continue.47444/post-265056)But when it reaches bigger packages like libreoffice, I get this :
Code:
[1/253] Fetching libreoffice-24.8.4.2.pkg: 20% 29 MiB 32.8kB/s 01:26:38 ETA
pkg: cached package libreoffice-24.8.4.2: missing or size mismatch, fetching from remote
[2/253] Fetching libreoffice-24.8.4.2.pkg: 20% 29 MiB 32.8kB/s 01:30:45 ETA
pkg: cached package libreoffice-24.8.4.2: missing or size mismatch, cannot continue
Then I downloaded another version of the catalog, but to be frank I have no idea if it is the right version :
Code:
root@fb33:~ # pkg -o OSVERSION=1401000 update -f
uname -r
as a target or something?)I then followed the instructions again and thus installed another version of pkg I believe.
I also wonder if the rm command in the instructions should not be targeted at this path :
Code:
/var/db/pkg/repos/FreeBSD/db: SQLite 3.x database, user version 2014, last written using SQLite version 3045002, file counter
Any help would be much appreciated

I'll attach a tmux log of what I did for whoever is curious enough to go through it.