This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

up2date failing

I'm having an issue applying up2date packages to my Sophos UTM v9 at home.

Yesterday, I kicked off several updates with some of them completing successfully.  However, the 3 latest updates are failing and it's now reporting Current firmware version: 9.102-8.

When I try to apply more recent updates, I get a failure during the pre-installation checks.

Here's a session from the up2date log:
2013:10:28-20:21:54 mika auisys[8188]: Starting Up2Date Package Installer

2013:10:28-20:21:54 mika auisys[8188]: Searching for available up2date packages for type 'sys'
2013:10:28-20:21:54 mika auisys[8188]: Installing up2date package file '/var/up2date//sys/u2d-sys-9.102008-103005.tgz.gpg'
2013:10:28-20:21:54 mika auisys[8188]: Verifying up2date package signature
2013:10:28-20:21:56 mika auisys[8188]: Unpacking installation instructions
2013:10:28-20:21:57 mika auisys[8188]: Unpacking up2date package container
2013:10:28-20:21:58 mika auisys[8188]: Running pre-installation checks
2013:10:28-20:22:01 mika auisys[8188]: Not installing optional ep-branding-ASG-afg
2013:10:28-20:22:01 mika auisys[8188]: Not installing optional ep-branding-ASG-ang
2013:10:28-20:22:02 mika auisys[8188]: Not installing optional ep-branding-ASG-atg
2013:10:28-20:22:02 mika auisys[8188]: Not installing optional ep-branding-ASG-aug
2013:10:28-20:22:04 mika auisys[8188]: Not installing optional ep-localization-afg
2013:10:28-20:22:04 mika auisys[8188]: Not installing optional ep-localization-ang
2013:10:28-20:22:05 mika auisys[8188]: Not installing optional ep-localization-atg
2013:10:28-20:22:05 mika auisys[8188]: Not installing optional ep-localization-aug
2013:10:28-20:22:08 mika auisys[8188]: Not installing optional kernel-smp
2013:10:28-20:22:09 mika auisys[8188]: Creating automatic configuration backup
2013:10:28-20:22:10 mika auisys[8188]: Starting up2date package installation
2013:10:28-20:22:12 mika auisys[8188]: >=========================================================================
2013:10:28-20:22:12 mika auisys[8188]: Failed testing RPM installation (command: 'rpm --test -U --nodeps /var/up2date//sys-install/u2d-sys-9.103005/rpms/ep-reporting-c-9.10-16.g34a1220.i686.rpm')
2013:10:28-20:22:12 mika auisys[8188]:
2013:10:28-20:22:12 mika auisys[8188]: 1. Internal::Systemstep::real_installation:2555() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: 2. main:[:P]erform_work:1153() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: 3. main::auisys_prepare_and_work:555() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: 4. main::top-level:32() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: |=========================================================================
2013:10:28-20:22:12 mika auisys[8188]: Error details:
2013:10:28-20:22:12 mika auisys[8188]: (stdout):$VAR1 = [];
2013:10:28-20:22:12 mika auisys[8188]: (stderr):$VAR1 = [
2013:10:28-20:22:12 mika auisys[8188]: '        file /usr/local/bin/reporter/websec-reporter.pl from install of ep-reporting-c-9.10-16.g34a1220.i686 conflicts with file from package ep-reporting-9.00-4.gf1bdf9a.i686
2013:10:28-20:22:12 mika auisys[8188]: ',
2013:10:28-20:22:12 mika auisys[8188]: '        file /usr/local/bin/reporter/websec-reporter.pl from install of ep-reporting-c-9.10-16.g34a1220.i686 conflicts with file from package ep-reporting-9.00-4.gf1bdf9a.rb1.i686
2013:10:28-20:22:12 mika auisys[8188]: ',
2013:10:28-20:22:12 mika auisys[8188]: '        file /usr/local/bin/reporter/websec-reporter.pl from install of ep-reporting-c-9.10-16.g34a1220.i686 conflicts with file from package ep-reporting-9.00-16.gba2c2a7.i686
2013:10:28-20:22:12 mika auisys[8188]: '
2013:10:28-20:22:12 mika auisys[8188]: ];
2013:10:28-20:22:12 mika auisys[8188]:
2013:10:28-20:22:12 mika auisys[8188]: 1. Internal::Systemstep::real_installation:2556() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: 2. main:[:P]erform_work:1153() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: 3. main::auisys_prepare_and_work:555() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: 4. main::top-level:32() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: |=========================================================================
2013:10:28-20:22:12 mika auisys[8188]: id="371O" severity="error" sys="system" sub="up2date" name="Fatal: Up2Date package installation failed: An error occured during the RPM pre-installation test (1)" status="failed" action="install" code="1" package="sys"
2013:10:28-20:22:12 mika auisys[8188]:
2013:10:28-20:22:12 mika auisys[8188]: 1. main::alf:70() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: 2. main:[:P]erform_work:1186() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: 3. main::auisys_prepare_and_work:555() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: 4. main::top-level:32() auisys.pl
2013:10:28-20:22:12 mika auisys[8188]: Firmware Up2Date installation failed
2013:10:28-20:22:12 mika auisys[8188]: 


Can anyone tell what's happening and how to work around it?  I'm happy to provide more information if requested.

Thanks in advance for any help.

Cheers,

Mika


This thread was automatically locked due to age.
  • Hi, it's preferred to paste logs and/or images directly into these forums, as (security-oriented) people here are often mistrustful of unknown sites (I known pastebin is popular)...

    Mika's up2date log:
    2013:10:28-20:21:54 mika auisys[8188]: Starting Up2Date Package Installer
    2013:10:28-20:21:54 mika auisys[8188]: Searching for available up2date packages for type 'sys'
    2013:10:28-20:21:54 mika auisys[8188]: Installing up2date package file '/var/up2date//sys/u2d-sys-9.102008-103005.tgz.gpg'
    2013:10:28-20:21:54 mika auisys[8188]: Verifying up2date package signature
    2013:10:28-20:21:56 mika auisys[8188]: Unpacking installation instructions
    2013:10:28-20:21:57 mika auisys[8188]: Unpacking up2date package container
    2013:10:28-20:21:58 mika auisys[8188]: Running pre-installation checks
    2013:10:28-20:22:01 mika auisys[8188]: Not installing optional ep-branding-ASG-afg
    2013:10:28-20:22:01 mika auisys[8188]: Not installing optional ep-branding-ASG-ang
    2013:10:28-20:22:02 mika auisys[8188]: Not installing optional ep-branding-ASG-atg
    2013:10:28-20:22:02 mika auisys[8188]: Not installing optional ep-branding-ASG-aug
    2013:10:28-20:22:04 mika auisys[8188]: Not installing optional ep-localization-afg
    2013:10:28-20:22:04 mika auisys[8188]: Not installing optional ep-localization-ang
    2013:10:28-20:22:05 mika auisys[8188]: Not installing optional ep-localization-atg
    2013:10:28-20:22:05 mika auisys[8188]: Not installing optional ep-localization-aug
    2013:10:28-20:22:08 mika auisys[8188]: Not installing optional kernel-smp
    2013:10:28-20:22:09 mika auisys[8188]: Creating automatic configuration backup
    2013:10:28-20:22:10 mika auisys[8188]: Starting up2date package installation
    2013:10:28-20:22:12 mika auisys[8188]: >=========================================================================
    2013:10:28-20:22:12 mika auisys[8188]: Failed testing RPM installation (command: 'rpm --test -U --nodeps /var/up2date//sys-install/u2d-sys-9.103005/rpms/ep-reporting-c-9.10-16.g34a1220.i686.rpm')
    2013:10:28-20:22:12 mika auisys[8188]:
    2013:10:28-20:22:12 mika auisys[8188]: 1. Internal::Systemstep::real_installation:2555() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: 2. main:[:P]erform_work:1153() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: 3. main::auisys_prepare_and_work:555() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: 4. main::top-level:32() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: |=========================================================================
    2013:10:28-20:22:12 mika auisys[8188]: Error details:
    2013:10:28-20:22:12 mika auisys[8188]: (stdout):$VAR1 = [];
    2013:10:28-20:22:12 mika auisys[8188]: (stderr):$VAR1 = [
    2013:10:28-20:22:12 mika auisys[8188]: ' file /usr/local/bin/reporter/websec-reporter.pl from install of ep-reporting-c-9.10-16.g34a1220.i686 conflicts with file from package ep-reporting-9.00-4.gf1bdf9a.i686
    2013:10:28-20:22:12 mika auisys[8188]: ',
    2013:10:28-20:22:12 mika auisys[8188]: ' file /usr/local/bin/reporter/websec-reporter.pl from install of ep-reporting-c-9.10-16.g34a1220.i686 conflicts with file from package ep-reporting-9.00-4.gf1bdf9a.rb1.i686
    2013:10:28-20:22:12 mika auisys[8188]: ',
    2013:10:28-20:22:12 mika auisys[8188]: ' file /usr/local/bin/reporter/websec-reporter.pl from install of ep-reporting-c-9.10-16.g34a1220.i686 conflicts with file from package ep-reporting-9.00-16.gba2c2a7.i686
    2013:10:28-20:22:12 mika auisys[8188]: '
    2013:10:28-20:22:12 mika auisys[8188]: ];
    2013:10:28-20:22:12 mika auisys[8188]:
    2013:10:28-20:22:12 mika auisys[8188]: 1. Internal::Systemstep::real_installation:2556() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: 2. main:[:P]erform_work:1153() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: 3. main::auisys_prepare_and_work:555() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: 4. main::top-level:32() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: |=========================================================================
    2013:10:28-20:22:12 mika auisys[8188]: id="371O" severity="error" sys="system" sub="up2date" name="Fatal: Up2Date package installation failed: An error occured during the RPM pre-installation test (1)" status="failed" action="install" code="1" package="sys"
    2013:10:28-20:22:12 mika auisys[8188]:
    2013:10:28-20:22:12 mika auisys[8188]: 1. main::alf:70() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: 2. main:[:P]erform_work:1186() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: 3. main::auisys_prepare_and_work:555() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: 4. main::top-level:32() auisys.pl
    2013:10:28-20:22:12 mika auisys[8188]: Firmware Up2Date installation failed
    2013:10:28-20:22:12 mika auisys[8188]: 


    Barry
  • Hi, Mika, and welcome to the User BB!

    It looks like your Up2Date file didn't come through correctly.  You'll need to delete it from the command line before you can continue.  It's only a guess, but I'd also delete the rpm that's broken:
    cd /var/up2date
    rm sys-install/u2d-sys-9.103005/rpms/ep-reporting-c-9.10-16.g34a1220.i686.rpm
    cd sys
    rm u2d-sys-9.102008-103005.tgz.gpg
    wget ftp.astaro.de/.../u2d-sys-9.102008-103005.tgz.gpg
    /sbin/auisys.plx --showdesc

    After that, you can restart the Up2Date in WebAdmin.  Let us know how things work out.

    Cheers - Bob
    PS We can't know that any external link is safe, so most folks won't click on them.  Apparently, Barry had a sandbox handy so he felt safe browsing to the URL from inside it.  Please edit your post, [Go Advanced] and replace the link with what BarryG showed.  Thanks!
  • My apologies for not including the content of the log on my earlier post.

    And thank you for the suggestion.  Here is the output from this session:
    login as: loginuser
    
    loginuser@192.168.14.1's password:

    Sophos UTM
    (C) Copyrights by Astaro and by others 2000-2013.
    For more copyright information look at /doc/astaro-license.txt
    or www.astaro.com/.../astaro-license.txt

    NOTE: Any modifications done by root will void your support.
          Please use WebAdmin for any configuration changes.

    loginuser@mika:/home/login > su
    Password:
    mika:/home/login # cd ~
    mika:/root # cd /var/up2date
    mika:/var/up2date # cd sys-install/
    mika:/var/up2date/sys-install # ls
    u2d-sys-9.104017  u2d-sys-9.105009  u2d-sys-9.106017
    mika:/var/up2date/sys-install # cd ..
    mika:/var/up2date # cd sys
    mika:/var/up2date/sys # ls
    u2d-sys-9.102008-103005.tgz.gpg  u2d-sys-9.104017-105009.tgz.gpg
    u2d-sys-9.103005-104017.tgz.gpg  u2d-sys-9.105009-106017.tgz.gpg
    mika:/var/up2date/sys # rm u2d-sys-9.102008-103005.tgz.gpg
    mika:/var/up2date/sys # wget ftp.astaro.de/.../u2d-sys-9.102008-103005.tgz.gpg
    --2013-10-29 20:08:15--  ftp.astaro.de/.../u2d-sys-9.102008-103005.tgz.gpg
    Resolving ftp.astaro.de... failed: Name or service not known.
    wget: unable to resolve host address `ftp.astaro.de'
    mika:/var/up2date/sys # ping yahoo.com
    ping: unknown host yahoo.com
    mika:/var/up2date/sys # ping google.com
    ping: unknown host google.com
    mika:/var/up2date/sys # wget 79.125.108.166/.../u2d-sys-9.102008-103005.tgz.gpg
    --2013-10-29 20:08:57--  79.125.108.166/.../u2d-sys-9.102008-103005.tgz.gpg
    Connecting to 79.125.108.166:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 85014348 (81M) [application/octet-stream]
    Saving to: `u2d-sys-9.102008-103005.tgz.gpg'

    100%[======================================>] 85,014,348   113K/s   in 8m 45s

    2013-10-29 20:17:43 (158 KB/s) - `u2d-sys-9.102008-103005.tgz.gpg' saved [85014348/85014348]

    mika:/var/up2date/sys # /sbin/auisys.plx --showdesc
    Starting Up2Date Package Installer
    Searching for available up2date packages for type 'sys'
    mika:/var/up2date/sys #
    Installing up2date package version 9.103005
      Verifying up2date package signature
      Unpacking installation instructions
      Unpacking up2date package container
      Running pre-installation checks
      Starting up2date package installation
        Testing install package: libnetfilter_conntrack-1.0.2-3.g257dcce.i686.rpm  OK
        Testing install package: libnetfilter_queue1-1.0.2-3.g37e5537.i686.rpm     OK
        Testing install package: libopenssl1_0_0-1.0.1e-1.1.1038.gd2ef759.i686.rpm OK
        Testing install package: libopenssl1_0_0_httpproxy-1.0.1e-1.1.1038.gd2ef759.i686.rpm OK
        Testing install package: libsaviglue-9.10-5.g05a36fb.i686.rpm              OK
        Testing install package: client-openvpn-9.10-2.g93d4092.noarch.rpm         OK
        Testing install package: modsecurity2-2.5.12-623.g1e82387.rb1.i686.rpm     OK
        Testing install package: openssl-1.0.1e-1.1.1038.gd2ef759.i686.rpm         OK
        Testing install package: perf-tools-3.8.6-15.g16fa7cb.i686.rpm             OK
        Testing install package: perl-Perl-Tidy-20121207-1.269.g03566e8.rb2.noarch.rpm OK
        Testing install package: tcpdump-3.9.8-1.21.1594.g4fd8310.rb1.i686.rpm     OK
        Testing install package: ep-reporting-9.10-8.g7e2bb6e.i686.rpm             OK
        Testing install package: ep-reporting-c-9.10-16.g34a1220.i686.rpm          Failed!
    Up2Date package installation failed: An error occured during the RPM pre-installation test (1)
    Please review the log file for further information.


    So it appears that the update still did not apply correctly.

    Also during this session, I realized there's another problem.  Possibly related or a symptom of a larger problem.  It seems like DNS is not resolving in Astaro.  I've tried rebooting the host but it still does not resolve.  Again, I'm not sure where to start troubleshooting.

    Thanks again for your help.

    Cheers,

    Mika
  • Thank you for your response Barry.  

    This is set up in a home environment, no Active Directory or other DNS servers except for Astaro.  DNS is currently set up as follows:

    Under DNS on the Global tab I have my 2 internal networks allowed.

    In the DNS forwarders tab, I have entered Google's DNS servers (8.8.8.8 and 8.8.4.4) and also have "Use forwarders assigned by ISP" selected.

    The DHCP server is assigning clients 2 DNS servers:  Astaro's and Google's.

    In the firewall, I have a rule to allow DNS from internal networks to any destination.

    So right now, clients behind the firewall are able to resolve DNS from Google's server.  But the Astaro box itself still cannot resolve names.

    Any thoughts on this?  If it comes down to it, I may just rebuild the server and restore from backup.
  • But the Astaro box itself still cannot resolve names.
    ...
    If it comes down to it, I may just rebuild the server and restore from backup. 

    Given the earlier issue, that's what I'd do... maybe after running memory and disk tests out of healthy paranoia. [;)]

    Cheers - Bob

  • In the DNS forwarders tab, I have entered Google's DNS servers (8.8.8.8 and 8.8.4.4) and also have "Use forwarders assigned by ISP" selected.


    Fwiw, if you want it to use Google, you should uncheck that option.

    Barry