Installing package: vsftpd failed
-
@TThax Uninstall vsftpd and then try to run the installer again.
Tonight I can spin up a Ubuntu 14 VM and see if I encounter the same issue.
I know, and others know, FOG Trunk installs perfectly on fresh clean Ubuntu 14.04 - so I’m going to blame your upgrade from 12 to 14. They never go perfectly.
-
It may come to installing a clean 14.04… I tried uninstalling vsftpd and it gave the same last 5 lines of error as trying to install it. Any other suggestions before I go through a new install?
-
@TThax Maybe try:
sudo -i rm /etc/rc2.d/S20vsftpd apt-get -f install
-
Ok, that got me further along, but then hit this:
* Skipping package: apache2...................................(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: gcc.......................................(Already Installed) * Skipping package: gzip......................................(Already Installed) * Skipping package: htmldoc...................................(Already Installed) * Skipping package: lftp......................................(Already Installed) * Skipping package: libapache2-mod-php5.......................(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: php5......................................(Already Installed) * Skipping package: php5-bcmath...............................(Does not exist) * Skipping package: php5-cli..................................(Already Installed) * Skipping package: php5-curl.................................(Already Installed) * Skipping package: php5-fpm..................................(Already Installed) * Skipping package: php5-gd...................................(Already Installed) * Skipping package: php5-json.................................(Already Installed) * Skipping package: php5-mcrypt...............................(Already Installed) * Skipping package: php5-mysqlnd..............................(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) * Installing package: vsftpd..................................OK * Skipping package: wget......................................(Already Installed) * Skipping package: xinetd....................................(Already Installed) * Skipping package: zlib1g....................................(Already Installed) * Updating packages as needed.................................OK * Confirming package installation * Checking package: apache2...................................OK * Checking package: build-essential...........................OK * Checking package: cpp.......................................OK * Checking package: curl......................................OK * Checking package: g++.......................................OK * Checking package: gcc.......................................OK * Checking package: gzip......................................OK * Checking package: htmldoc...................................OK * Checking package: lftp......................................OK * Checking package: libapache2-mod-php5.......................OK * Checking package: libc6.....................................OK * Checking package: libcurl3..................................OK * Checking package: m4........................................OK * Checking package: mysql-client..............................OK * Checking package: mysql-server..............................OK * Checking package: net-tools.................................OK * Checking package: nfs-kernel-server.........................OK * Checking package: openssh-server............................OK * Checking package: php5......................................OK * Checking package: php5-cli..................................OK * Checking package: php5-curl.................................OK * Checking package: php5-fpm..................................OK * Checking package: php5-gd...................................OK * Checking package: php5-json.................................OK * Checking package: php5-mcrypt...............................OK * Checking package: php5-mysqlnd..............................OK * Checking package: php-gettext...............................OK * Checking package: sysv-rc-conf..............................OK * Checking package: tar.......................................OK * Checking package: tftpd-hpa.................................OK * Checking package: tftp-hpa..................................OK * Checking package: vsftpd....................................Failed!
-
@TThax Give us the last few lines in that error log again, please.
-
Setting up language-pack-gnome-en (1:14.04+20160720) ... Setting up language-pack-gnome-en-base (1:14.04+20160720) ... Processing triggers for libc-bin (2.19-0ubuntu6.9) ... Processing triggers for initramfs-tools (0.103ubuntu4.4) ... update-initramfs: Generating /boot/initrd.img-3.13.0-92-generic Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... ii apache2 2.4.7-1ubuntu4.13 amd64 Apache HTTP Server ii build-essential 11.6ubuntu6 amd64 Informational list of build-essential packages ii cpp 4:4.8.2-1ubuntu6 amd64 GNU C preprocessor (cpp) ii curl 7.35.0-1ubuntu2.8 amd64 command line tool for transferring data with URL syntax ii g++ 4:4.8.2-1ubuntu6 amd64 GNU C++ compiler ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler ii gzip 1.6-3ubuntu1 amd64 GNU compression utilities ii htmldoc 1.8.27-8ubuntu1 amd64 HTML processor that generates indexed HTML, PS, and PDF ii lftp 4.4.13-1 amd64 Sophisticated command-line FTP/HTTP client programs ii libapache2-mod-php5 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libc6:amd64 2.19-0ubuntu6.9 amd64 Embedded GNU C Library: Shared libraries ii libcurl3:amd64 7.35.0-1ubuntu2.8 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour) ii m4 1.4.17-2ubuntu1 amd64 a macro processing language ii mysql-client 5.5.50-0ubuntu0.14.04.1 all MySQL database client (metapackage depending on the latest version) ii mysql-server 5.5.50-0ubuntu0.14.04.1 all MySQL database server (metapackage depending on the latest version) ii mysql-server 5.5.50-0ubuntu0.14.04.1 all MySQL database server (metapackage depending on the latest version) ii net-tools 1.60-25ubuntu2.1 amd64 The NET-3 networking toolkit ii nfs-kernel-server 1:1.2.8-6ubuntu1.2 amd64 support for NFS kernel server ii openssh-server 1:6.6p1-2ubuntu2.7 amd64 secure shell (SSH) server, for secure access from remote machines ii php5 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1 all server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1 amd64 command-line interpreter for the php5 scripting language ii php5-curl 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1 amd64 CURL module for php5 ii php5-fpm 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php5-gd 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1 amd64 GD module for php5 ii php5-json 1.3.9-1+deb.sury.org~trusty+4 amd64 JSON module for php5 ii php5-json 1.3.9-1+deb.sury.org~trusty+4 amd64 JSON module for php5 ii php5-mcrypt 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1 amd64 MCrypt module for php5 ii php5-mysqlnd 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1 amd64 MySQL module for php5 (Native Driver) ii php5-mysqlnd 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1 amd64 MySQL module for php5 (Native Driver) ii php-gettext 1.0.11-1 all read gettext MO files directly, without requiring anything other than PHP ii sysv-rc-conf 0.99-7 all SysV init runlevel configuration tool for the terminal ii tar 1.27.1-1 amd64 GNU version of the tar archiving utility ii tftpd-hpa 5.2-7ubuntu3 amd64 HPA's tftp server ii tftp-hpa 5.2-7ubuntu3 amd64 HPA's tftp client
-
@TThax Are you sure that’s the last few lines? Maybe give us the whole file if you can? Upload it as a file instead of copy/pasting.
-
That was the last bit of the file. It won’t let me upload because the root folder (where the fogproject folder is) says I don’t have permission using a gui. I can only seem to access it via terminal. Here is the bit before that last bit.
Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-3.13.0-92-generic Found initrd image: /boot/initrd.img-3.13.0-92-generic Found linux image: /boot/vmlinuz-3.8.0-44-generic Found initrd image: /boot/initrd.img-3.8.0-44-generic Found linux image: /boot/vmlinuz-3.8.0-38-generic Found initrd image: /boot/initrd.img-3.8.0-38-generic Found linux image: /boot/vmlinuz-3.8.0-37-generic Found initrd image: /boot/initrd.img-3.8.0-37-generic Found linux image: /boot/vmlinuz-3.8.0-35-generic Found initrd image: /boot/initrd.img-3.8.0-35-generic Found linux image: /boot/vmlinuz-3.8.0-29-generic Found initrd image: /boot/initrd.img-3.8.0-29-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin done Setting up linux-generic-lts-raring (3.13.0.93.100) ... Setting up linux-headers-generic-lts-raring (3.13.0.93.100) ... Setting up linux-image-generic-lts-raring (3.13.0.93.100) ... Setting up linux-libc-dev:amd64 (3.13.0-93.140) ... Setting up openssl (1.0.2h-1+deb.sury.org~trusty+1) ... Setting up php5 (5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1) ... Setting up php5-json (1.3.9-1+deb.sury.org~trusty+4) ... Setting up libjson0:amd64 (0.11-4+deb.sury.org~trusty+2) ... Setting up oxideqt-codecs:amd64 (1.16.5-0ubuntu0.14.04.1) ... Setting up liboxideqtcore0:amd64 (1.16.5-0ubuntu0.14.04.1) ... Setting up liboxideqtquick0:amd64 (1.16.5-0ubuntu0.14.04.1) ... Setting up liboxideqt-qmlplugin:amd64 (1.16.5-0ubuntu0.14.04.1) ... Setting up language-pack-it (1:14.04+20160720) ... Setting up language-pack-it-base (1:14.04+20160720) ... Generating locales... it_CH.UTF-8... done it_IT.UTF-8... done Generation complete. Setting up language-pack-zh-hans (1:14.04+20160720) ... Setting up language-pack-zh-hans-base (1:14.04+20160720) ... Generating locales... zh_CN.UTF-8... done zh_SG.UTF-8... done Generation complete. Setting up language-pack-en (1:14.04+20160720) ... Setting up language-pack-en-base (1:14.04+20160720) ... Generating locales... en_AG.UTF-8... done en_AU.UTF-8... done en_BW.UTF-8... done en_CA.UTF-8... done en_DK.UTF-8... done en_GB.UTF-8... done en_HK.UTF-8... done en_IE.UTF-8... done en_IN.UTF-8... done en_NG.UTF-8... done en_NZ.UTF-8... done en_PH.UTF-8... done en_SG.UTF-8... done en_US.UTF-8... done en_ZA.UTF-8... done en_ZM.UTF-8... done en_ZW.UTF-8... done Generation complete. Setting up language-pack-es (1:14.04+20160720) ... Setting up language-pack-es-base (1:14.04+20160720) ... Generating locales... es_AR.UTF-8... done es_BO.UTF-8... done es_CL.UTF-8... done es_CO.UTF-8... done es_CR.UTF-8... done es_CU.UTF-8... done es_DO.UTF-8... done es_EC.UTF-8... done es_ES.UTF-8... done es_GT.UTF-8... done es_HN.UTF-8... done es_MX.UTF-8... done es_NI.UTF-8... done es_PA.UTF-8... done es_PE.UTF-8... done es_PR.UTF-8... done es_PY.UTF-8... done es_SV.UTF-8... done es_US.UTF-8... done es_UY.UTF-8... done es_VE.UTF-8... done Generation complete.```
-
@TThax Do you need any help with moving your old images and hosts off of this broke box onto a brand-new freshly built Ubuntu 14 fog trunk server?
-
@TThax We need to see the error messages otherwise we won’t be able to help ;-(
-
Sorry for the delayed response, I have been busy at other locations. I think that moving to a freshly installed server is probably the best solution. I don’t have time to do it today, but it will be a separate machine (a better machine). What will be the best way to get those images and hosts transferred? I greatly appreciate the help. Also, be aware that due to the failed upgrading process, the web gui is no longer working.