Since pkg was updated to 2.x I am experiencing the errors like in the
log below.
Instead of downloading a *.pkg file pkg complains that it can't find it
and fails.
It complains about different *.pkg files, not just the one in the log below.
This didn't happen with pkg-1.x.
This makes pkg unusable.
Does anybody know how to work around this problem?
Thanks,
Yuri
-----log------
$ sudo pkg install rust
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (1 conflicting)
- rust-1.84.0 conflicts with rust-nightly-1.84.0.20241104 on
/usr/local/bin/rust-gdbgui
Checking integrity... done (0 conflicting)
The following 4 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
rust: 1.84.0
Installed packages to be DOWNGRADED:
pkg: 2.0.3 -> 2.0.0
Installed packages to be REINSTALLED:
qt5-webchannel-5.15.16p3
Installed packages to be REMOVED:
rust-nightly: 1.84.0.20241104
Number of packages to be removed: 1
Number of packages to be installed: 1
Number of packages to be reinstalled: 1
Number of packages to be downgraded: 1
The operation will free 559 MiB.
12 MiB to be downloaded.
Proceed with this action? [y/N]: y
pkg:
archive_read_open_filename(/var/cache/pkg/pkg-2.0.0~6aabda4535.pkg):
Failed to open '/var/cache/pkg/pkg-2.0.0~6aabda4535.pkg'