Cannot check for updates



  • Hi.  I've just updated to:

    2.3.3-DEVELOPMENT (amd64)
    built on Sat Jan 14 00:27:18 CST 2017

    and am getting the "Unable to check for updates" error on the main GUI status page and on the update page.

    When I check for package updates in System > Package Manager, instead of ticks I get exclamation marks which (when I hover over them) say "Package is configured but not installed".  The packages do appear to be installed though, and are running ok.

    I've tried the various fixes at https://forum.pfsense.org/index.php?topic=109690.0 such as

    pkg update -f
    pkg upgrade -f
    pfSense-upgrade -d
    checking the conf files are pointing at the right things etc

    but still no luck.  Does anyone have any suggestions please, or are there any known issues with this particular development snapshot please?

    Thanks

    Andrew



  • .. I've now gone through each package in the package manager and clicked the reinstall button.  That has reinstalled each package, and I now have ticks rather than the exclamation marks.  Also getting the package information seems to work there (e.g. if I go into Available Packages).

    But the update for the main pfSense version on the main page and in the System > Update tab still isn't working.



  • Does updating from the pfSense console work?



  • The various update commands go through the motions (and no error is apparent), as does selecting the option from the SSH menu, but it doesn't resolve the problem with not being able to check for updates from the GUI.


  • Rebel Alliance Developer Netgate

    Usually that means your system is missing some package record, like pfSense-base or a kernel package.

    Post the output of "pkg list" and we can look it over, or compare it with another similar box to see what's missing.



  • Thanks jimp - much appreciated.

    pkg list just said unknown command (is that expected?)

    pkg info returns:

    GeoIP-1.6.9                    Find the country that any IP address or hostname originates from
    aggregate-1.6_1                Optimise a list of route prefixes to help make nice short filters
    barnyard2-1.13_1              Interpreter for Snort unified2 binary output files
    broccoli-1.97,1                Bro Client Communications Library
    ca_root_nss-3.28.1            Root certificate bundle from the Mozilla Project
    curl-7.52.1_1                  Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
    daq-2.0.6_1                    Data Acquisition abstraction library for snort 2.9+
    expat-2.2.0_1                  XML 1.0 parser written in C
    fontconfig-2.12.1,1            XML-based font configuration API for X Windows
    freetype2-2.6.3                Free and portable TrueType font rendering engine
    gdbm-1.12                      GNU database manager
    gettext-runtime-0.19.8.1      GNU gettext runtime libraries and programs
    giflib-5.1.4                  Tools and library routines for working with GIF images
    glib-2.46.2                    Some useful routines of C programming (current stable version)
    graphviz-2.38.0_14            Graph Visualization Software from AT&T and Bell Labs
    grepcidr-2.0                  Filter IP addresses matching IPv4 CIDR/network specification
    igmpproxy-0.1_3,1              Multicast forwarding IGMP proxy
    indexinfo-0.2.6                Utility to regenerate the GNU info page index
    jbigkit-2.1_1                  Lossless compression for bi-level images such as scanned pages, faxes
    jpeg-turbo-1.5.1              SIMD-accelerated JPEG codec which replaces libjpeg
    json-c-0.12.1                  JSON (JavaScript Object Notation) implementation in C
    libdnet-1.12_1                Simple interface to low level networking routines
    libedit-3.1.20150325_2,1      Command line editor library
    libffi-3.2.1                  Foreign Function Interface
    libfontenc-1.1.3              The fontenc Library
    libgd-2.2.3_1,1                Graphics library for fast creation of images
    libiconv-1.14_9                Character set conversion library
    libltdl-2.4.6                  System independent dlopen wrapper
    libnghttp2-1.18.0              HTTP/2.0 C Library
    libpcap-1.8.1                  Ubiquitous network traffic capture library
    libsodium-1.0.11_1            Library to build higher-level cryptographic tools
    libxml2-2.9.4                  XML parser library for GNOME
    libzmq4-4.1.5                  ZeroMQ core library (Version 4)
    lighttpd-1.4.44                Secure, fast, compliant, and flexible Web Server
    luajit-2.0.4_1                Just-In-Time Compiler for Lua
    mkfontdir-1.0.7                Create an index of X font files in a directory
    mkfontscale-1.1.2              Creates an index of scalable font files for X
    mysql56-client-5.6.34          Multithreaded SQL database (client)
    ndpi-1.8.2016.07.13            NTOP-maintained superset of the popular OpenDPI library
    nmap-7.40                      Port scanning utility for large networks
    norm-1.5r6                    NACK-Oriented Reliable Multicast (NORM)
    ntopng-2.4.2016.10.14          Network monitoring tool with command line and web interfaces
    pcre-8.39                      Perl Compatible Regular Expressions library
    perl5-5.20.3_15                Practical Extraction and Report Language
    pfSense-base-2.3.3.a.20170114.0027 pfSense core files
    pfSense-pkg-Backup-0.4_2      pfSense package Backup
    pfSense-pkg-Cron-0.3.7        pfSense package Cron
    pfSense-pkg-RRD_Summary-1.3.2_2 pfSense package RRD_Summary
    pfSense-pkg-Shellcmd-1.0.2_2  pfSense package Shellcmd
    pfSense-pkg-System_Patches-1.1.5_1 pfSense package System_Patches
    pfSense-pkg-nmap-1.4.4_1      pfSense package nmap
    pfSense-pkg-ntopng-0.8.5      pfSense package ntopng
    pfSense-pkg-pfBlockerNG-2.1.1_5 pfSense package pfBlockerNG
    pfSense-pkg-snort-3.2.9.2_15  pfSense package snort
    pfSense-rc-2.3.3.a.20170114.0027 pfSense rc script
    pkg-1.9.4_1                    Package manager
    png-1.6.27                    Library for manipulating PNG images
    python27-2.7.13_1              Interpreted object-oriented programming language
    redis-3.2.6                    Persistent key-value database with built-in net interface
    rrdtool-1.6.0_1                Round Robin Database Tools
    snort-2.9.8.3                  Lightweight network intrusion detection system
    sqlite3-3.15.1_1              SQL database engine in a C library
    tiff-4.0.7_1                  Tools and library routines for working with TIFF images
    webfonts-0.30_13              TrueType core fonts for the Web
    webp-0.5.2                    Google WebP image format conversion tool
    whois-5.1.5_1                  Marco d'Itri whois client
    xproto-7.0.31                  X11 protocol headers


  • Rebel Alliance Developer Netgate

    yeah "pkg info" was right, I was posting from my phone earlier so either it autocorrected on me or I mistyped it on the tiny screen :-)

    Looks like you're missing several packages that should be there.

    Try this:

    pkg install pfSense pfSense-default-config pfSense-kernel-pfSense pfSense-repo pfSense-upgrade
    

    That is a assuming a full install with a standard kernel. If you're on NanoBSD or if you used a serial memstick you might have a different kernel.



  • Thank you - that sorted it.


Log in to reply