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 9.113-1 to 9.203-003

Hi,

i wanted to update from 9.113-1 to 9.203-003 (and after that to 9.204-020) but the up2date fails. I also tried manually downloading them and force installing them like here: (using this guide: Up2date Troubleshooting: Sophos UTM)

gateway:/var/up2date/sys # auisys.plx --rpmargs --force

Starting Up2Date Package Installer
Searching for available up2date packages for type 'sys'
gateway:/var/up2date/sys # 
Installing up2date package version 9.203003
  Verifying up2date package signature
  Unpacking installation instructions
  Unpacking up2date package container
  Running pre-installation checks
  Starting up2date package installation
    Testing install package: glibc-2.11.3-17.54.1.1078.gb706d65.rb1.i686.rpm   OK
    Testing install package: glibc-locale-2.11.3-17.54.1.1078.gb706d65.rb1.i686.rpm OK
    Testing install package: popt-1.7-37.56.1.1068.gb706d65.rb1.i686.rpm       OK
    Testing install package: rpm-4.4.2.3-37.56.1.1068.gb706d65.rb1.i686.rpm    OK
    Testing install package: AstaroPerl-5.10.1-1008.52.g068628f.i686.rpm       OK
    Testing install package: libaio-0.3.109-0.1.46.1123.g533121f.rb1.i686.rpm  OK
    Testing install package: libapr-util1-1.5.1-1.ge4e4558.i686.rpm            OK
    Testing install package: libapr1-1.4.6-7.g1971171.i686.rpm                 OK
    Testing install package: libaptp-9.20-1.g342196f.i686.rpm                  OK
    Testing install package: libaviraglue-9.10-1.g1580b9e.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.


My up2date.log:

2014:08:04-08:21:10 gateway auisys[12957]: Starting Up2Date Package Installer

2014:08:04-08:21:10 gateway auisys[12957]: Searching for available up2date packages for type 'sys'
2014:08:04-08:21:10 gateway auisys[12957]: Installing up2date package file '/var/up2date//sys/u2d-sys-9.113001-203003.tgz.gpg'
2014:08:04-08:21:10 gateway auisys[12957]: Verifying up2date package signature
2014:08:04-08:21:14 gateway auisys[12957]: Unpacking installation instructions
2014:08:04-08:21:16 gateway auisys[12957]: Unpacking up2date package container
2014:08:04-08:21:18 gateway auisys[12957]: Running pre-installation checks
2014:08:04-08:21:21 gateway auisys[12957]: Not installing optional libaugeas0
2014:08:04-08:21:25 gateway auisys[12957]: Not installing optional libzypp
2014:08:04-08:21:26 gateway auisys[12957]: Not installing optional binutils
2014:08:04-08:21:37 gateway auisys[12957]: Not installing optional satsolver-tools
2014:08:04-08:21:39 gateway auisys[12957]: Not installing optional zypper
2014:08:04-08:21:40 gateway auisys[12957]: Not installing optional ep-branding-ASG-afg
2014:08:04-08:21:40 gateway auisys[12957]: Not installing optional ep-branding-ASG-ang
2014:08:04-08:21:40 gateway auisys[12957]: Not installing optional ep-branding-ASG-atg
2014:08:04-08:21:40 gateway auisys[12957]: Not installing optional ep-branding-ASG-aug
2014:08:04-08:21:41 gateway auisys[12957]: Not installing optional ep-cloud-ec2
2014:08:04-08:21:43 gateway auisys[12957]: Not installing optional ep-localization-afg
2014:08:04-08:21:43 gateway auisys[12957]: Not installing optional ep-localization-ang
2014:08:04-08:21:43 gateway auisys[12957]: Not installing optional ep-localization-atg
2014:08:04-08:21:43 gateway auisys[12957]: Not installing optional ep-localization-aug
2014:08:04-08:21:45 gateway auisys[12957]: Package ep-saa-mac-1.0.0-0.155153976.gc764d50.i686.rpm is already installed, skipping
2014:08:04-08:21:50 gateway auisys[12957]: Not installing optional kernel-smp
2014:08:04-08:21:50 gateway auisys[12957]: Creating automatic configuration backup
2014:08:04-08:21:52 gateway auisys[12957]: Starting up2date package installation
2014:08:04-08:21:54 gateway auisys[12957]: >=========================================================================
2014:08:04-08:21:54 gateway auisys[12957]: Failed testing RPM installation (command: 'rpm --test -U --nodeps /var/up2date//sys-install/u2d-sys-9.203003/rpms/libaviraglue-9.10-1.g1580b9e.i686.rpm')
2014:08:04-08:21:54 gateway auisys[12957]: 
2014:08:04-08:21:54 gateway auisys[12957]:  1. Internal::Systemstep::real_installation:2598() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]:  2. main:[:P]erform_work:1176() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]:  3. main::auisys_prepare_and_work:555() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]:  4. main::top-level:32() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]: |=========================================================================
2014:08:04-08:21:54 gateway auisys[12957]: Error details:
2014:08:04-08:21:54 gateway auisys[12957]:  (stdout):$VAR1 = [];
2014:08:04-08:21:54 gateway auisys[12957]:  (stderr):$VAR1 = [
2014:08:04-08:21:54 gateway auisys[12957]:           ' package libaviraglue-9.10-5.g5ff1659.i686 (which is newer than libaviraglue-9.10-1.g1580b9e.i686) is already installed
2014:08:04-08:21:54 gateway auisys[12957]: '
2014:08:04-08:21:54 gateway auisys[12957]:         ];
2014:08:04-08:21:54 gateway auisys[12957]: 
2014:08:04-08:21:54 gateway auisys[12957]:  1. Internal::Systemstep::real_installation:2599() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]:  2. main:[:P]erform_work:1176() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]:  3. main::auisys_prepare_and_work:555() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]:  4. main::top-level:32() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]: |=========================================================================
2014:08:04-08:21:54 gateway auisys[12957]: 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"
2014:08:04-08:21:54 gateway auisys[12957]: 
2014:08:04-08:21:54 gateway auisys[12957]:  1. main::alf:70() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]:  2. main:[:P]erform_work:1209() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]:  3. main::auisys_prepare_and_work:555() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]:  4. main::top-level:32() auisys.pl
2014:08:04-08:21:54 gateway auisys[12957]: Firmware Up2Date installation failed
2014:08:04-08:21:54 gateway auisys[12957]: 


Recent Pattern Version: 64333

(Its not the system in my footer!)


This thread was automatically locked due to age.
  • package libaviraglue-9.10-5.g5ff1659.i686 (which is newer than libaviraglue-9.10-1.g1580b9e.i686) is already installed

    You might have to reload from ISO as no one else has reported this issue.  What version number do you see when you enter version at the command line?

    Cheers - Bob
  • Hi,

    heres the output of version
    Current software version...: 9.113001
    
    Hardware type..............: Software Appliance
    Installation image.........: 9.000-8.1
    Installation type..........: asg
    Installed pattern version..: 64333
    Downloaded pattern version.: 64450
    Up2Dates applied...........: 25 (see below)
                                 sys-9.000-9.001-8.18.1.tgz (Aug 31  2012)
                                 sys-9.001-9.002-18.12.1.tgz (Sep 10  2012)
                                 sys-9.002-9.003-12.15.1.tgz (Oct 22  2012)
                                 sys-9.003-9.003-15.16.4.tgz (Oct 22  2012)
                                 sys-9.003-9.004-15.29.1.tgz (Nov  5  2012)
                                 sys-9.004-9.004-29.33.1.tgz (Nov 21  2012)
                                 sys-9.004-9.004-33.34.1.tgz (Mar  4  2013)
                                 sys-9.004-9.005-29.15.2.tgz (Mar  4  2013)
                                 sys-9.005-9.005-15.16.1.tgz (Mar  4  2013)
                                 sys-9.005-9.006-15.5.2.tgz (Apr  5  2013)
                                 sys-9.006-9.100-5.16.1.tgz (May 19  2013)
                                 sys-9.100-9.101-16.12.1.tgz (Jun  2  2013)
                                 sys-9.101-9.102-11.8.2.tgz (Jul 18  2013)
                                 sys-9.102-9.103-8.5.2.tgz (Jul 18  2013)
                                 sys-9.103-9.104-5.17.2.tgz (Aug  9  2013)
                                 sys-9.104-9.105-17.9.1.tgz (Aug 21  2013)
                                 sys-9.105-9.106-9.17.1.tgz (Oct  2  2013)
                                 sys-9.106-9.107-17.33.2.tgz (Jan  9  2014)
                                 sys-9.107-9.108-33.23.2.tgz (Feb  8 02:37)
                                 sys-9.108-9.109-23.1.2.tgz (Apr  4 22:00)
                                 sys-9.109-9.110-1.22.1.tgz (Apr  9 22:00)
                                 sys-9.110-9.111-22.7.1.tgz (Apr  9 22:15)
                                 sys-9.111-9.111-7.11.1.tgz (Jun 20 23:00)
                                 sys-9.111-9.112-7.12.1.tgz (Jun 20 23:01)
                                 sys-9.112-9.113-12.1.2.tgz (Jun 20 23:02)
    Up2Dates available.........: 2
    Factory resets.............: 0
    Timewarps detected.........: 0


    Is it maybe possible to somehow remove this rpm or replace it and then try the up2date again? at moment i dont use any AV scanning on this machine btw.
  • Yes, it's necessary to remove the old file before you can download one with the same name.

    cd /var/up2date/sys
    ls


    That should show only a single file that you can delete with rm *

    cd /var/up2date/sys
    wget ftp.astaro.de/.../u2d-sys-9.113001-203003.tgz.gpg
    /sbin/auisys.plx --showdesc


    and install in WebAdmin.  Or, to do the install completely from the CLI, replace the last line with:

    /sbin/auisys.plx --rpmargs --force


    Cheers - Bob
  • Hi,

    i did the steps you said. deleted the 2 up2date packages from the folder, then wget the one you have written and then made --showdesc and the same error occurs.

    it again tells me: 
    package libaviraglue-9.10-5.g5ff1659.i686 (which is newer than libaviraglue-9.10-1.g1580b9e.i686) is already installed


    in the up2date.log
  • /sbin/auisys.plx --rpmargs --force


    is the last thing I know to try before installing from ISO.

    Cheers - Bob
  • I did a fresh install of asg-9.111-7 (asg-9.111-7.1.iso) in VMware and it updated without incident to 9.203-3 by way of 9.113 with WebAdmin:  "Package libaviraglue-9.10-1.g1580b9e.i686.rpm is already installed, skipping"

    I then forced (rpm -Uvh --force) the installation of libaviraglue-9.10-1.g1580b9e.i686.rpm in 9.203 and saw no problems further updating to 9.204 via the command line (I was updating my gui test client at the same time).

    A newer libaviraglue (libaviraglue-9.20-2.g88903d0) is in the 9.204 update.

    Some command hints:
    gpg->tgz->tgz->rpms
    gpg --decrypt u2d-sys-version.tgz.gpg > u2d-sys-version.tgz

    tar xzvf u2d-sys-version.tgz

    tar xzvf install-sys-version.tgz


    RPM queries:
    rpm -qi libaviraglue-9.10-5.g5ff1659

    rpm -qip libaviraglue-9.20-2.01234567.i686.rpm

    rpm -q --whatrequires libaviraglue.so

    rpm -ql libaviraglue
  • Hi,

    thanks for your help at first.
    I tried forcing the installation of the bundled rpm (unpacked it first)
    Result:
    gateway:/var/up2date/sys # rpm -Uvh --force libaviraglue-9.10-1.g1580b9e.i686.rpm 
    
    error: Failed dependencies:
    /sbin/ldconfig is needed by libaviraglue-9.10-1.g1580b9e.i686
    libc.so.6 is needed by libaviraglue-9.10-1.g1580b9e.i686
    libc.so.6(GLIBC_2.0) is needed by libaviraglue-9.10-1.g1580b9e.i686
    libc.so.6(GLIBC_2.1) is needed by libaviraglue-9.10-1.g1580b9e.i686
    libc.so.6(GLIBC_2.1.3) is needed by libaviraglue-9.10-1.g1580b9e.i686
    libc.so.6(GLIBC_2.3.4) is needed by libaviraglue-9.10-1.g1580b9e.i686
    libdl.so.2 is needed by libaviraglue-9.10-1.g1580b9e.i686
    libdl.so.2(GLIBC_2.0) is needed by libaviraglue-9.10-1.g1580b9e.i686
    libdl.so.2(GLIBC_2.1) is needed by libaviraglue-9.10-1.g1580b9e.i686
    libpthread.so.0 is needed by libaviraglue-9.10-1.g1580b9e.i686
    librt.so.1 is needed by libaviraglue-9.10-1.g1580b9e.i686


    Then i tried uninstalling the installed first:
    gateway:/var/up2date/sys # rpm -qa | grep -i avira
    
    u2d-avira3-9-7205
    libaviraglue-9.10-5.g5ff1659
    gateway:/var/up2date/sys # rpm -e libaviraglue-9.10-5.g5ff1659
    error: Failed dependencies:
    libaviraglue.so is needed by (installed) ep-cssd-9.07-15.g9a8c086.i686
    libaviraglue.so is needed by (installed) ep-httpproxy-9.10-122.g78f3998.i686


    Even forcing it with --nodeps doesnt work:
    gateway:/var/up2date/sys # rpm -e --nodeps libaviraglue-9.10-5.g5ff1659
    
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) setting "" records from Requireversion index


    and also installing it with nodeps doesnt work:
    gateway:/var/up2date/sys # rpm -Uvh --nodeps --force libaviraglue-9.10-1.g1580b9e.i686.rpm 
    
    Preparing...                ########################################### [100%]
       1:libaviraglue           ########################################### [100%]
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index
    error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30987) getting "" records from Requireversion index


    Is there still anything i can try before installing the UTM from scratch?
    I would love not to do that.

    Thank you! Martin
  • Backups and ISO/USB install images ready?  System (HD and memory) diagnostics before the reinstall?

    You could try pulling an older aviraglue from an prior update or installing the libraries the 9.2 aviraglue wanted (are those errors because of glibc/etc versions or because your RPM database looks broken).  I'm recalling a May 17thish(?) date on the aviraglue in the 9.113-9.203 bundle - so perhaps something from May or perhaps earlier if going the older package route.

    RPM db errors? Maybe  rpmdb --rebuilddb

    If you don't want to rebuild because of logs/reportingdb and you have suitable licensing and additional hardware (or maybe even a VM) available then you could try pivoting over with HA, rebuild the original system and pivot back.

    Outright rebuilding (or replacing) is probably the most expedient route - especially if you have no pre-established support (and prepaid - unless you think this would be worth new billable hours somewhere).
  • Ill try to rebuild the rpm db but if this doesnt help, i already have a recent backup and will setup the UTM from scratch with 9.2 ISO. I think this is faster and tapping in the dark.
    but a lot thanks for all the help.

    maybe your rpm commands are quite helpful for others and you should add them to the sticky post in general discussion anmed "Astaro useful shell commands."?