OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: fightingmasta on March 12, 2019, 07:13:09 pm

Title: [SOLVED] Update packages list
Post by: fightingmasta on March 12, 2019, 07:13:09 pm
Hi,

When I try to upgrade in the web GUI, I only see a few packages in de update list. I don't know exactly since which release this problem exists.

Regards,
Stefan
Title: Re: Update packages list
Post by: newsense on March 13, 2019, 06:34:09 am
Do you have any browser extensions that might play a role interfering ?
Title: Re: Update packages list
Post by: fightingmasta on March 13, 2019, 07:28:39 am
No, not at all. I tried it with different browser, but it's always the same behaviour.
Title: Re: Update packages list
Post by: franco on March 13, 2019, 09:16:07 am
Did you maybe install Sensei or install something from FreeBSD repo?


Cheers,
Franco
Title: Re: Update packages list
Post by: hbc on March 13, 2019, 09:25:05 am
@franco: Could this be a problem with sensei repo?

I actually did not care about this issue since all packages got installed, but now where I  read this, I can confirm it.

OPNsense updater reported 34 packages to update, but only about 6 got displayed. Finally the updater itself updated 34 packages.

I have sensei repo activated.
Title: Re: Update packages list
Post by: franco on March 13, 2019, 09:26:26 am
Can you paste your

# pkg upgrade -n

output for me?

I think there is a bug in the output parsing due to having multiple repositories active that the firmware scripts don't know how to deal with yet.


Thanks,
Franco
Title: Re: Update packages list
Post by: fightingmasta on March 13, 2019, 09:42:44 am
Yes, sensei is installed here aswell.  :)

here's the output:
# pkg upgrade -n
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
Checking for upgrades (10 candidates): 100%
Processing candidates (10 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
#

Regards,
Stefan
Title: Re: Update packages list
Post by: franco on March 13, 2019, 10:44:04 am
Err, thanks, wasn't very specific: the output is needed from when there are updates to apply. ;)


Cheers,
Franco
Title: Re: Update packages list
Post by: fightingmasta on March 13, 2019, 11:08:35 am
Ah ok. So I made a Firmware Flavour change and here is the output  ;)

# pkg upgrade -n
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
Checking for upgrades (34 candidates): 100%
Processing candidates (34 candidates): 100%
The following 25 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        openssl: 1.0.2r,1 [OPNsense]

Installed packages to be REINSTALLED:
        wpa_supplicant-2.7 [OPNsense] (direct dependency changed: openssl)
        unbound-1.9.0_1 [OPNsense] (direct dependency changed: openssl)
        strongswan-5.7.2_2 [OPNsense] (direct dependency changed: openssl)
        squid3-3.5.28_1 [OPNsense] (direct dependency changed: openssl)
        python27-2.7.15 [OPNsense] (direct dependency changed: openssl)
        py27-cryptography-2.3 [OPNsense] (direct dependency changed: openssl)
        php71-openssl-7.1.27 [OPNsense] (direct dependency changed: openssl)
        opnsense-update-19.1.4 [OPNsense] (direct dependency changed: openssl)
        openvpn-2.4.7 [OPNsense] (direct dependency changed: openssl)
        openssh-portable-7.9.p1_1,1 [OPNsense] (direct dependency changed: openssl)
        openldap-sasl-client-2.4.47 [OPNsense] (direct dependency changed: openssl)
        ntp-4.2.8p13 [OPNsense] (direct dependency changed: openssl)
        mpd5-5.8_10 [OPNsense] (direct dependency changed: openssl)
        monit-5.25.3 [OPNsense] (direct dependency changed: openssl)
        lighttpd-1.4.53 [OPNsense] (direct dependency changed: openssl)
        libevent-2.1.8_2 [OPNsense] (direct dependency changed: openssl)
        ldns-1.7.0_1 [OPNsense] (direct dependency changed: openssl)
        krb5-1.17_1 [OPNsense] (direct dependency changed: openssl)
        isc-dhcp44-server-4.4.1_3 [OPNsense] (direct dependency changed: openssl)
        hostapd-2.7_1 [OPNsense] (direct dependency changed: openssl)
        cyrus-sasl-2.1.27 [OPNsense] (direct dependency changed: openssl)
        curl-7.64.0_1 [OPNsense] (direct dependency changed: openssl)
        clamav-0.101.1,1 [OPNsense] (direct dependency changed: openssl)
        bind912-9.12.4 [OPNsense] (direct dependency changed: openssl)

Number of packages to be installed: 1
Number of packages to be reinstalled: 24

The process will require 12 MiB more space.
35 MiB to be downloaded.
#
Title: Re: Update packages list
Post by: franco on March 13, 2019, 11:41:57 am
How does that differ from the GUI? Just for reference...
Title: Re: Update packages list
Post by: fightingmasta on March 13, 2019, 11:44:02 am
The output from the GUI is in my first post.

Title: Re: Update packages list
Post by: franco on March 13, 2019, 01:34:00 pm
Okay, thanks, thought it was a different upgrade. I'll take a closer look.


Cheers,
Franco
Title: Re: Update packages list
Post by: fightingmasta on March 13, 2019, 02:12:56 pm
No problem, thank you.  :)

Best Regards,
Stefan
Title: Re: Update packages list
Post by: franco on March 13, 2019, 09:05:57 pm
Hi Stefan et al,

Try this then: https://github.com/opnsense/core/commit/33496e9

# opnsense-patch 33496e9


Cheers,
Franco
Title: Re: Update packages list
Post by: fightingmasta on March 13, 2019, 09:19:54 pm
Hi Franco

Thank you for the patch.
The output in the web GUI seems to be fine now.  :)

Regards,
Stefan
Title: Re: [SOLVED] Update packages list
Post by: franco on March 14, 2019, 08:13:04 am
Okay, great. Thanks for confirming. :)


Cheers,
Franco