22.7.5 check update always show same 2 updated package

Started by shproto, October 08, 2022, 10:10:18 AM

Previous topic - Next topic
hello,

in version 22.7.5, mirror https://pkg.opnsense.org/FreeBSD:13:amd64/22.7

the update check systematically puts the same 2 updated packages in the process, even after a reboot



***GOT REQUEST TO UPDATE***
Currently running OPNsense 22.7.5 (amd64/OpenSSL) at Sat Oct  8 10:01:17 CEST 2022
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (100 candidates): .......... done
Processing candidates (100 candidates): .......... done
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
libssh2: 1.10.0,3 [FreeBSD]
libunwind: 20211201_1 [FreeBSD]

Number of packages to be installed: 2

The process will require 1 MiB more space.
376 KiB to be downloaded.
[1/2] Fetching libunwind-20211201_1.pkg: .......... done
[2/2] Fetching libssh2-1.10.0,3.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/2] Installing libunwind-20211201_1...
[1/2] Extracting libunwind-20211201_1: .......... done
[2/2] Installing libssh2-1.10.0,3...
[2/2] Extracting libssh2-1.10.0,3: .......... done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 2 packages:

Installed packages to be REMOVED:
libssh2: 1.10.0,3
libunwind: 20211201_1

Number of packages to be removed: 2

The operation will free 1 MiB.
[1/2] Deinstalling libunwind-20211201_1...
[1/2] Deleting files for libunwind-20211201_1: .......... done
[2/2] Deinstalling libssh2-1.10.0,3...
[2/2] Deleting files for libssh2-1.10.0,3: .......... done
Checking all packages: .......... done
The following package files will be deleted:
/var/cache/pkg/libunwind-20211201_1~bc7bd23b75.pkg
/var/cache/pkg/libssh2-1.10.0,3~af9e8f1d75.pkg
/var/cache/pkg/libunwind-20211201_1.pkg
/var/cache/pkg/libssh2-1.10.0,3.pkg
The cleanup will free 376 KiB
Deleting files: .... done
All done
Nothing to do.
Starting web GUI...done.
Generating RRD graphs...done.
***DONE***


ps: 22.7.5 Commit   5d65a72c6

thx for your great job team !

I suggest disabling the FreeBSD repository and doing a health audio to see which packages are out of sync.


Cheers,
Franco

hi,

audit health launched with no altered pkg, and repository sync seem to be ok


i  did not do anything, i "waited" :);

now check update is fine

thx for your response

Best regards

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 22.7.5 (amd64/OpenSSL) at Mon Oct 10 08:56:11 CEST 2022
>>> Check installed kernel version
Version 22.7.5 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 22.7.5 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
FreeBSD
OPNsense
>>> Check installed plugins
os-acme-client 3.13
os-bind 1.24
os-c-icap 1.7_2
os-clamav 1.7_1
os-crowdsec 1.0.1
os-dnscrypt-proxy 1.12
os-firewall 1.2
os-ftp-proxy 1.0_3
os-google-cloud-sdk 1.0_1
os-haproxy 3.11
os-intrusion-detection-content-et-open 1.0.1
os-intrusion-detection-content-pt-open 1.0_1
os-intrusion-detection-content-snort-vrt 1.1_1
os-maltrail 1.9
os-mdns-repeater 1.1
os-nginx 1.30
os-nrpe 1.0_2
os-postfix 1.23_2
os-tayga 1.2
os-telegraf 1.12.5
os-wireguard 1.12
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" has 63 dependencies to check.
Checking packages: ...............................................
pkg-1.18.4 repository mismatch: FreeBSD
pkg-1.18.4 version mismatch, expected 1.17.5_1
Checking packages: .................. done
***DONE***


however repo FreeBSD say

Check for core packages consistency
Core package "opnsense" has 63 dependencies to check.
Checking packages: ...............................................
pkg-1.18.4 repository mismatch: FreeBSD
pkg-1.18.4 version mismatch, expected 1.17.5_1

I want to emphasise in CAPSLOCK: PLEASE DISABLE THE FREEBSD REPOSITORY

You already have a fudged pkg version there...


Cheers,
Franco