[SOLVED] Unable to update for 2.3.4 version



  • Hello guys,

    As I had commented in another topic, my pfsense is not showing the update. This pfsense is only for use of the captive portal as an authentication method for our wi-fi users.

    • This behind the edge firewall (pfsense)
    • This is in a vlan and has public IP
    • Functional DNS
    • I can install packages

    I tried edit directly to the file /usr/local/etc/pkg/repos/pfSense.conf and upgrade via shell with option 13, but without success.

    In the logs the only entry that seems to be related to the problem is,

    May 6 08:28:32	kernel		pid 97292 (pkg), uid 0: exited on signal 11 (core dumped)
    May 6 08:28:23	kernel		pid 85018 (pkg), uid 0: exited on signal 11 (core dumped)
    

    Maybe the pkg is broken? The strange thing is that I have to update pkg via pkg upgrade pkg and no error occurs.

    Is there any other way I can force this update?



  • Okay. After many attempts and a lot of research I believe I got it.  ;D

    I executed the following commands in shell prompt:

    Re-create the pfsense repo;

    pkg-static update -f
    

    (Re)Install pfsense-base;

    pkg install pfSense-base
    

    After that webGui shows the update for me and I execute the last command in shell.

    pfSense-upgrade -d
    

    If it still does not work after the above steps. Try the commands below and retry the commands above.

    pkg-static install -f pkg
    

    and

    pkg shell
    CREATE VIRTUAL TABLE pkg_search USING fts4(id, name, origin);
    pragma user_version=33;
    .exit
    

    after

    pfSense-upgrade -d
    


  • For that last command, I think you mean:

    
    pfSense-upgrade -d
    
    


  • @phil.davis:

    For that last command, I think you mean:

    
    pfSense-upgrade -d
    
    

    Yes phil. Thanks!  ;D



  • Hi All,

    I have issues with update from 2.3.3-RELEASE-p1 to 2.3.4.

    Web GUI says: Unable to check for updates.

    From command line, I got the following:

    pfSense-upgrade -4

    Updating repositories metadata…
    Updating pfSense-core repository catalogue...
    pkg: https://pkg.pfsense.org/pfSense_v2_3_4_amd64-core/meta.txz: Not Found
    repository pfSense-core has no meta file, using default settings
    pkg: https://pkg.pfsense.org/pfSense_v2_3_4_amd64-core/packagesite.txz: Not Found
    Unable to update repository pfSense-core
    Updating pfSense repository catalogue…
    pkg: https://pkg.pfsense.org/pfSense_v2_3_4_amd64-pfSense_v2_3_4/meta.txz: Not Found
    repository pfSense has no meta file, using default settings
    pkg: https://pkg.pfsense.org/pfSense_v2_3_4_amd64-pfSense_v2_3_4/packagesite.txz: Not Found
    Unable to update repository pfSense

    DNS resolution and internet connection are working fine.
    I have copied and tried to get the file via browser, but it seems update site has issue:
    404 Not Found
    nginx/1.10.3

    Can you please help me?



  • @empbilly:

    Yes phil. Thanks!  ;D

    And you get a thanks for having the same issue and fix as just one of my boxes. (so I didn't have to chase down and sit too long trying to fix it..)  ;) ;D



  • @empbilly:

    Okay. After many attempts and a lot of research I believe I got it.  ;D

    I executed the following commands in shell prompt:

    Re-create the pfsense repo;

    pkg-static update -f
    

    (Re)Install pfsense-base;

    pkg install pfSense-base
    

    After that webGui shows the update for me and I execute the last command in shell.

    pfSense-upgrade -d
    

    Now, everything works!

    Did not help me! Here my result:

    pkg: No package(s) matching pfSense-kernel-*

    Updating repositories metadata…
    Updating pfSense-core repository catalogue...
    pfSense-core repository is up-to-date.
    Updating pfSense repository catalogue...
    pfSense repository is up-to-date.
    All repositories are up-to-date.
    ERROR: Unable to compare version of pfSense-repo

    Locking package pfSense-base... done.
    Locking package pkg... done.

    Any idea?