Update failed do to wget



  • Hey guys,

    I am attempting to update to 1.5.4 from 1.5.2 and I am unable to do so. The installer attempts to install a new wget which fails causing the whole update to fail at Installing now everything is updated. Below is the log.

    
    
       +------------------------------------------+
       |     ..#######:.    ..,#,..     .::##::.  |
       |.:######          .:;####:......;#;..     |
       |...##...        ...##;,;##::::.##...      |
       |   ,#          ...##.....##:::##     ..:: |
       |   ##    .::###,,##.   . ##.::#.:######::.|
       |...##:::###::....#. ..  .#...#. #...#:::. |
       |..:####:..    ..##......##::##  ..  #     |
       |    #  .      ...##:,;##;:::#: ... ##..   |
       |   .#  .       .:;####;::::.##:::;#:..    |
       |    #                     ..:;###..       |
       |                                          |
       +------------------------------------------+
       |      Free Computer Imaging Solution      |
       +------------------------------------------+
       |  Credits: http://fogproject.org/Credits  |
       |       http://fogproject.org/Credits      |
       |       Released under GPL Version 3       |
       +------------------------------------------+
    
    
       Version: 1.5.4 Installer/Updater
    
    
     * Found FOG Settings from previous install at: /opt/fog/.fogsettings
    
     * Performing upgrade using these settings
    
    
      Starting Debian based Installation
    
    
    
       ######################################################################
       #     FOG now has everything it needs for this setup, but please     #
       #   understand that this script will overwrite any setting you may   #
       #   have setup for services like DHCP, apache, pxe, tftp, and NFS.   #
       ######################################################################
       # It is not recommended that you install this on a production system #
       #        as this script modifies many of your system settings.       #
       ######################################################################
       #             This script should be run by the root user.            #
       #      It will prepend the running with sudo if root is not set      #
       ######################################################################
       #           ** Notice ** FOG is difficult to setup securely          #
       #        SELinux and IPTables are usually asked to be disabled       #
       #           There have been strides in adding capabilities           #
       #          The recommendations would now be more appropriate         #
       #    to set SELinux to permissive and to disable firewall for now.   #
       #  You can find some methods to enable SELinux and maintain firewall #
       #   settings and ports. If you feel comfortable doing so please do   #
       ######################################################################
       #            Please see our wiki for more information at:            #
       ######################################################################
       #             https://wiki.fogproject.org/wiki/index.php             #
       ######################################################################
    
     * Here are the settings FOG will use:
     * Base Linux: Debian
     * Detected Linux Distribution: Ubuntu
     * Server IP Address: XXXXXXXXXXXXXX
     * Server Subnet Mask :XXXXXXXXXXXXX
     * Interface: ens192
     * Installation Type: Normal Server
     * Internationalization: 0
     * Image Storage Location: /images
     * Using FOG DHCP: No
     * DHCP will NOT be setup but you must setup your
     | current DHCP server to use FOG for PXE services.
    
     * On a Linux DHCP server you must set: next-server and filename
    
     * On a Windows DHCP server you must set options 066 and 067
    
     * Option 066/next-server is the IP of the FOG Server: (e.g. xxxxxxxxxxxxxx)
     * Option 067/filename is the bootfile: (e.g. undionly.kpxe)
    
    
     * Are you sure you wish to continue (Y/N) Y
    
     * Installation Started
    
     * Installing required packages, if this fails
     | make sure you have an active internet connection.
    
     * Adding needed repository....................................OK
     * Preparing Package Manager...................................OK
     * Packages to be installed:
    
            apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php7.1 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt php7.1-mysql php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g
    
    
     * Skipping package:   apache2.................................(Already Installed)
     * Skipping package:   bc......................................(Already Installed)
     * Skipping package:   build-essential.........................(Already Installed)
     * Skipping package:   cpp.....................................(Already Installed)
     * Skipping package:   curl....................................(Already Installed)
     * Skipping package:   g++.....................................(Already Installed)
     * Skipping package:   gawk....................................(Already Installed)
     * Skipping package:   gcc.....................................(Already Installed)
     * Skipping package:   gzip....................................(Already Installed)
     * Skipping package:   htmldoc.................................(Already Installed)
     * Skipping package:   lftp....................................(Already Installed)
     * Skipping package:   libapache2-mod-php7.1...................(Already Installed)
     * Skipping package:   libc6...................................(Already Installed)
     * Skipping package:   libcurl3................................(Already Installed)
     * Skipping package:   m4......................................(Already Installed)
     * Skipping package:   mysql-client............................(Already Installed)
     * Skipping package:   mysql-server............................(Already Installed)
     * Skipping package:   net-tools...............................(Already Installed)
     * Skipping package:   nfs-kernel-server.......................(Already Installed)
     * Skipping package:   openssh-server..........................(Already Installed)
     * Skipping package:   php7.1..................................(Already Installed)
     * Skipping package:   php7.1-bcmath...........................(Already Installed)
     * Skipping package:   php7.1-cli..............................(Already Installed)
     * Skipping package:   php7.1-curl.............................(Already Installed)
     * Skipping package:   php7.1-fpm..............................(Already Installed)
     * Skipping package:   php7.1-gd...............................(Already Installed)
     * Skipping package:   php7.1-json.............................(Already Installed)
     * Skipping package:   php7.1-ldap.............................(Already Installed)
     * Skipping package:   php7.1-mbstring.........................(Already Installed)
     * Skipping package:   php7.1-mcrypt...........................(Already Installed)
     * Skipping package:   php7.1-mysql............................(Already Installed)
     * Skipping package:   php-gettext.............................(Already Installed)
     * Skipping package:   sysv-rc-conf............................(Already Installed)
     * Skipping package:   tar.....................................(Already Installed)
     * Skipping package:   tftpd-hpa...............................(Already Installed)
     * Skipping package:   tftp-hpa................................(Already Installed)
     * Skipping package:   unzip...................................(Already Installed)
     * Skipping package:   vsftpd..................................(Already Installed)
     * Installing package: wget....................................Failed! (Will try later)
     * Skipping package:   xinetd..................................(Already Installed)
     * Skipping package:   zlib1g..................................(Already Installed)
     * Updating packages as needed.................................OK
     * Installing now everything is updated........................Failed!
    


  • I had to go in and manually delete each unused version. After that if fixed my issue. I was able to successfully update fog.

    Thanks for your help.


  • Senior Developer



  • 
    Filesystem                     Size  Used Avail Use% Mounted on
    /dev/mapper/FOG--IP1--vg-root  835G  205G  595G  26% /
    

    /boot is showing 100% when I do a regular df. I don’t think I’ve ever maxed out boot before but I’m not 100% sure.


  • Senior Developer

    What’s output of df -h /



  • apt-get update

    Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
    Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
    Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
    Hit:4 http://ppa.launchpad.net/ondrej/apache2/ubuntu xenial InRelease
    Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
    Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
    Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [793 kB]
    Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [725 kB]
    Fetched 1,841 kB in 0s (1,939 kB/s)
    Reading package lists... Done
    

    apt-get update -f (Got an error code 1 with apt-get update)

    Unpacking grub-pc-bin (2.02~beta2-36ubuntu3.18) over (2.02~beta2-36ubuntu3.17) ...
    Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.18_amd64.deb ...
    Unpacking grub2-common (2.02~beta2-36ubuntu3.18) over (2.02~beta2-36ubuntu3.17) ...
    Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.18_amd64.deb ...
    Unpacking grub-common (2.02~beta2-36ubuntu3.18) over (2.02~beta2-36ubuntu3.17) ...
    Preparing to unpack .../gpgv_1.4.20-1ubuntu3.2_amd64.deb ...
    Unpacking gpgv (1.4.20-1ubuntu3.2) over (1.4.20-1ubuntu3.1) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for install-info (6.1.0.dfsg.1-5) ...
    Processing triggers for systemd (229-4ubuntu21.2) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    Errors were encountered while processing:
     /var/cache/apt/archives/linux-image-4.4.0-128-generic_4.4.0-128.154_amd64.deb
     /var/cache/apt/archives/linux-image-4.4.0-124-generic_4.4.0-124.148_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    

  • Developer

    @BREIT Please run apt-get update ; apt-get upgrade and post what you see on screen. Probably there is an issue with updating some system packages…


 

459
Online

41.9k
Users

12.5k
Topics

117.6k
Posts