Help: package manager updated and now things are broken



  • I recently decided to install the mail report package, but it turns out that the package manager needed an update first, so it updated the package manager before installing the mail report package.

    Unfortunately after this was successful, going back to the packages list produces an error:

    "Unable to retrieve package information."

    and now the main dashboard can't check for updates:

    "Unable to check for updates"

    I'm running the latest release:

    2.3.1-RELEASE-p5 (amd64)
    built on Thu Jun 16 12:53:15 CDT 2016
    FreeBSD 10.3-RELEASE-p3

    Should I try rebooting the firewall? Normally I didn't have to do this in the past.



  • Also, I only had one package (RRD Summary) installed before attempting to install the mail report package.



  • A restore point was created before the package manager installed the mail report package:

    7/30/16 13:32:45 15.4 189 KiB xxx@x.x.x.x: Creating restore point before package installation.

    7/30/16 13:32:59 15.4 189 KiB (system): Intermediate config write during package install for mail report.



  • I was able to run "pkg version" from the command line (via the web portal) and here's what I've got at the moment if it helps:

    Updating pfSense-core repository catalogue…
    pfSense-core repository is up-to-date.
    Updating pfSense repository catalogue...
    Fetching meta.txz: . done
    Fetching packagesite.txz: .......... done
    Processing entries: .......... done
    pfSense repository update completed. 405 packages processed.
    ataidle-2.7.2                      =
    beep-1.0_1                        =
    bind-tools-9.10.3P4                <
    bsnmp-regex-0.6_1                  =
    bsnmp-ucd-0.4.2                    =
    bwi-firmware-kmod-3.130.20        =
    ca_root_nss-3.22.2                <
    check_reload_status-0.0.7          =
    choparp-20150613                  =
    clog-1.0.1                        =
    cpdup-1.18                        =
    cpustats-0.1_1                    =
    curl-7.48.0_1                      <
    dhcp6-20080615_7                  =
    dhcpleases-0.3_1                  =
    dhcpleases6-0.1_2                  =
    dmidecode-3.0                      =
    dnsmasq-devel-2.76.0test12        ?
    dpinger-2.0                        =
    expat-2.1.1_1                      <
    expiretable-0.6_1                  =
    filterdns-1.0_9                    =
    filterlog-0.1_2                    <
    gettext-runtime-0.19.7            <
    glib-2.46.2                        =
    gmp-5.1.3_3                        =
    gogoc-1.2_1                        =
    idnkit-1.0_5                      =
    igmpproxy-0.1_3,1                  =
    indexinfo-0.2.4                    =
    ipmitool-1.8.15_1                  <
    isc-dhcp43-client-4.3.3P1_1        <
    isc-dhcp43-relay-4.3.3P1_1        <
    isc-dhcp43-server-4.3.3P1_1        <
    ldns-1.6.17_5                      =
    libdaemon-0.14_1                  =
    libedit-3.1.20150325_2            <
    libevent2-2.0.22_1                =
    libffi-3.2.1                      =
    libiconv-1.14_9                    =
    libidn-1.31                        =
    libltdl-2.4.6                      =
    libmcrypt-2.5.8_3                  =
    libpdel-0.5.3_6                    =
    libsodium-1.0.8                    =
    libssh2-1.6.0_1,2                  <
    libucl-0.8.0                      =
    libxml2-2.9.3                      =
    libzmq4-4.1.4_1                    =
    links-2.9,1                        =
    lzo2-2.09                          =
    minicron-0.0.2                    =
    miniupnpd-1.9.20160113,1          =
    mpd4-4.4.1_1                      =
    mpd5-5.8                          =
    nettle-3.2                        =
    nginx-1.8.1,2                      <
    ntp-4.2.8p8                        =
    oniguruma5-5.9.6_1                =
    openldap-client-2.4.44            =
    openvpn-2.3.11                    =
    pcre-8.38_1                        <
    pecl-radius-1.2.7                  <
    pecl-rrd-1.1.3_2                  <
    pecl-ssh2-0.12                    =
    pecl-zmq-1.1.3_1                  =
    perl5-5.20.3_12                    <
    pfSense-2.3.1_5                    <
    pfSense-Status_Monitoring-1.4.2_1  <
    pfSense-base-2.3.1_5              <
    pfSense-default-config-2.3.1_5    <
    pfSense-kernel-pfSense-2.3.1_5    <
    pfSense-pkg-RRD_Summary-1.3.1_2    =
    pfSense-pkg-mailreport-3.0_1      =
    pfSense-rc-2.3.1_5                <
    pfSense-repo-2.3.1_5              <
    pftop-0.7_6                        =
    php-suhosin-0.9.38                =
    php-xdebug-2.2.5                  <
    php56-5.6.22                      <
    php56-bcmath-5.6.22                <
    php56-bz2-5.6.22                  <
    php56-ctype-5.6.22                <
    php56-curl-5.6.22                  <
    php56-dom-5.6.22                  <
    php56-filter-5.6.22                <
    php56-gettext-5.6.22              <
    php56-hash-5.6.22                  <
    php56-json-5.6.22                  <
    php56-ldap-5.6.22                  <
    php56-mbstring-5.6.22              <
    php56-mcrypt-5.6.22                <
    php56-opcache-5.6.22              <
    php56-openssl-5.6.22              <
    php56-pcntl-5.6.22                <
    php56-pdo-5.6.22                  <
    php56-pdo_sqlite-5.6.22            <
    php56-pfSense-module-0.12          =
    php56-posix-5.6.22                <
    php56-readline-5.6.22              <
    php56-session-5.6.22              <
    php56-shmop-5.6.22                <
    php56-simplexml-5.6.22            <
    php56-sockets-5.6.22              <
    php56-sqlite3-5.6.22              <
    php56-sysvmsg-5.6.22              <
    php56-sysvsem-5.6.22              <
    php56-sysvshm-5.6.22              <
    php56-tokenizer-5.6.22            <
    php56-xml-5.6.22                  <
    php56-xmlreader-5.6.22            <
    php56-xmlwriter-5.6.22            <
    php56-zlib-5.6.22                  <
    pkg-1.8.7                          =
    python27-2.7.11_2                  <
    qstats-0.1_1                      =
    radvd-1.9.1                        =
    rate-0.9_1                        =
    relayd-5.5.20140810_1              <
    rrdtool-1.5.5_1                    <
    scponly-4.8.20110526_2            =
    smartmontools-6.4_2                <
    sqlite3-3.11.1                    <
    ssh_tunnel_shell-0.1              =
    sshlockout_pf-0.0.2                =
    strongswan-5.4.0                  <
    uclcmd-0.1                        =
    unbound-1.5.8                      <
    voucher-0.1_2                      =
    vstr-1.0.15_1                      =
    wol-0.7.1_2                        =
    wrapalixresetbutton-0.0.7          =
    xinetd-2.3.15_1                    <



  • More details for the package manager currently installed:

    pkg-1.8.7
    Name          : pkg
    Version        : 1.8.7
    Installed on  : Sat Jul 30 13:32:56 2016 PDT
    Origin        : ports-mgmt/pkg
    Architecture  : freebsd:10:x86:64
    Prefix        : /usr/local
    Categories    : ports-mgmt
    Licenses      : BSD2CLAUSE
    Maintainer    : pkg@FreeBSD.org
    WWW            : http://wiki.freebsd.org/pkgng
    Comment        : Package manager
    Shared Libs provided:
    libpkg.so.3
    Annotations    :
    repo_type      : binary
    repository    : pfSense
    Flat size      : 10.3MiB
    Description    :
    Package management tool

    WWW: http://wiki.freebsd.org/pkgng


  • LAYER 8 Netgate

    Upgrade to 2.3.2 and it will be fixed.



  • Thanks, I'll give it a try.



  • @Derelict:

    Upgrade to 2.3.2 and it will be fixed.

    Do you have a recommended way to do this? I'm familiar with FreeBSD ports/etc. but it's not clear the best way to go about doing this when "pkg version" is currently telling me that pkg-1.8.7 IS the latest version.

    Thanks



  • I ended up using option 13 from the command line after enabling SSH temporarily.

    "Repository pfSense has a wrong packagesite, need to re-create database"

    So now it's rebooting…thanks!



  • Note: there is now an official post about 2 methods to fix the scenario, of which I used the first one to resolve my issue.

    https://forum.pfsense.org/index.php?topic=116227.0


Log in to reply