pkg update -f fails
Xavier Humbert <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Tried to reinstall py311-setuptools :
> root@numenor ~ ]# pkg install devel/py-setuptools
> Updating FreeBSD repository catalogue...
> Fetching data.pkg: 100% 11 MiB 11.2MB/s 00:01
> Processing entries: 0%
> pkg: wrong architecture: FreeBSD:13:amd64 instead of FreeBSD:14:amd64
> pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:13:amd64
> Processing entries: 0%
> Unable to update repository FreeBSD
> Updating FreeBSD-kmods repository catalogue...
> FreeBSD-kmods repository is up to date.
> Error updating repositories!
> The following 8 package(s) will be affected (of 0 checked):
>
> New packages to be INSTALLED:
> py310-setuptools: 63.1.0_3 [FreeBSD]
> py311-setuptools: 63.1.0_3 [FreeBSD]
> py311-wheel: 0.45.1 [FreeBSD]
> py312-setuptools: 63.1.0_3 [FreeBSD]
> py39-setuptools: 63.1.0_3 [FreeBSD]
> python310: 3.10.17_1 [FreeBSD]
> python312: 3.12.10_1 [FreeBSD]
> python39: 3.9.22_1 [FreeBSD]
>
> Number of packages to be installed: 8
>
> The process will require 503 MiB more space.
> 75 MiB to be downloaded.
>
> Proceed with this action? [y/N]: y
> [1/8] Fetching py311-setuptools-63.1.0_3.pkg: 100% 1 MiB 1.4MB/s
> 00:01
> pkg: cached package py311-setuptools-63.1.0_3: missing or size
> mismatch, fetching from remote
> [2/8] Fetching py311-setuptools-63.1.0_3.pkg: 100% 1 MiB 1.4MB/s
> 00:01
> pkg: cached package py311-setuptools-63.1.0_3: missing or size
> mismatch, cannot continue
> Consider running 'pkg update -f'
> [3/8] Fetching py311-setuptools-63.1.0_3.pkg: 100% 1 MiB 1.4MB/s
> 00:01
> pkg: cached package py311-setuptools-63.1.0_3: missing or size
> mismatch, fetching from remote
> [4/8] Fetching py311-setuptools-63.1.0_3.pkg: 100% 1 MiB 1.4MB/s
> 00:01
> pkg: cached package py311-setuptools-63.1.0_3: missing or size
> mismatch, cannot continue
> Consider running 'pkg update -f'
Followed the advice :
> [root@numenor ~ ]# pkg update -f
> Updating FreeBSD repository catalogue...
> Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
> Fetching data.pkg: 100% 11 MiB 11.2MB/s 00:01
> Processing entries: 0%
> pkg: wrong architecture: FreeBSD:13:amd64 instead of FreeBSD:14:amd64
> pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:13:amd64
> Processing entries: 0%
> Unable to update repository FreeBSD
> Updating FreeBSD-kmods repository catalogue...
> Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
> Fetching data.pkg: 100% 34 KiB 34.9kB/s 00:01
> Processing entries: 100%
> FreeBSD-kmods repository update completed. 227 packages processed.
> Error updating repositories!
>
My pkg.repos.conf :
> FreeBSD: {
> url: "pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
This is FreeBSD 14.3-STABLE
What happens ?
Ragrds,
Xavier
--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr