OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: drivera on June 30, 2021, 02:29:52 am

Title: Package version + size mismatches?!?!
Post by: drivera on June 30, 2021, 02:29:52 am
Hi!

I have 3 firewalls deployed, all fully updated (per the updater). I just reinstalled one to replace a failing hard drive, and found something interesting: even after full configuration restore and package restore, the package list still doesn't match the other two:

Code: [Select]
--- fw1 2021-06-29 18:17:06.041170626 -0600
+++ fw2 2021-06-29 18:17:09.829162384 -0600

-p5-Error   0.17029 64.0KiB OPNsense    GPLv1+, ART10   Error/exception handling in object-oriented programming style
-p5-File-Slurp  9999.27 42.2KiB OPNsense    GPLv1+, ART10   Perl module for single call read and write file routines
+p5-Error   0.17029 64.2KiB OPNsense    GPLv1+, ART10   Error/exception handling in object-oriented programming style
+p5-File-Slurp  9999.27 42.3KiB OPNsense    GPLv1+, ART10   Perl module for single call read and write file routines

-py37-openssl   20.0.1  556KiB  OPNsense    APACHE20    Python interface to the OpenSSL library
+py37-openssl   20.0.1  555KiB  OPNsense    APACHE20    Python interface to the OpenSSL library

-py37-pycodestyle   2.7.0   283KiB  OPNsense    MIT Python style guide checker
+py37-pycodestyle   2.7.0   276KiB  OPNsense    MIT Python style guide checker

-py37-six   1.16.0  90.8KiB OPNsense    MIT Python 2 and 3 compatibility utilities
+py37-six   1.16.0  90.6KiB OPNsense    MIT Python 2 and 3 compatibility utilities

-suricata   5.0.6   6.52MiB OPNsense    GPLv2   High Performance Network IDS, IPS and Security Monitoring engine
+suricata   5.0.6   6.42MiB OPNsense    GPLv2   High Performance Network IDS, IPS and Security Monitoring engine

I removed identical packages for briefer output, and added spaces for easier reading. Notice that the versions numbers do match, but not the package sizes. This seems most odd to me. Any ideas?

Before you ask: no, I haven't installed anything manually - everything has been installed using the in-system installer tools (pkg on the command-line, or the UI firmware/package manager).

Thanks!
Title: Re: Package version + size mismatches?!?!
Post by: franco on June 30, 2021, 10:05:29 am
There is subtle difference between updating 21.1 -> 21.1.7_1 vs. 21.1.x -> 21.1.7_1.

Depending on the mirror used (Cloudflare caches too extensively), the problematics with hotfixes and non-changing version numbers paired with full rebuilds for each release I assume that once you reinstall the packages on all firewalls at the same point in time they end up with the same numbers?


Cheers,
Franco