Installing package: vsftpd failed
-
@TThax in the directory you cloned the fog trunk repo into, look in
bin/error_log
there will be some files there with version numbers in the name. This is all the redirected output from the installer. We need the last 30 or so lines from that file, it’ll lead us to what needs done. -
Here is the info from fog_error_1.3.0-RC-7.log (last big section of it)
Reading package lists... Building dependency tree... Reading state information... vsftpd is already the newest version. The following packages were automatically installed and are no longer required: apache2-mpm-itk checkbox compiz-plugins-main-default compizconfig-backend-gconf consolekit espeak firefox-locale-es firefox-locale-it firefox-locale-zh-hans foomatic-db-engine g++-4.6 gir1.2-dbusmenu-gtk-0.4 gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10 gir1.2-gtk-2.0 gir1.2-indicate-0.7 gir1.2-launchpad-integration-3.0 gksu gnome-games-data gnome-online-accounts gtk2-engines guile-1.8-libs gwibber-service gwibber-service-facebook gwibber-service-identica gwibber-service-twitter ibus-pinyin-db-android launchpad-integration libappindicator1 libarchive12 libatk-adaptor-schemas libavahi-ui-gtk3-0 libbind9-80 libboost-serialization1.46.1 libbrlapi0.5 libcamel-1.2-29 libclass-isa-perl libcmis-0.2-0 libcupsdriver1 libcurl3-nss libdconf-dbus-1-0 libdconf-qt0 libdconf0 libdiscid0 libdns81 libdotconf1.0 libebackend-1.2-1 libecal-1.2-10 libedata-cal-1.2-13 libedataserver-1.2-15 libexiv2-11 libgconf2-4 libgcr-3-1 libgd2-xpm libgdu-gtk0 libgdu0 libgexiv2-1 libgksu2-0 libgl1-mesa-dri-lts-raring libgl1-mesa-glx-lts-raring libglapi-mesa-lts-raring libglew1.6 libglewmx1.6 libgnome-bluetooth8 libgnome-menu2 libgnome2-common libgnomekbd7 libgphoto2-2 libgphoto2-port0 libgrail5 libgtkspell-3-0 libgweather-3-0 libgwibber-gtk2 libgwibber2 libibus-1.0-0 libical0 libimobiledevice2 libindicate-gtk3 libindicate5 libindicator7 libisc83 libisccc80 libisccfg82 libjpeg-progs libjpeg-turbo-progs libjpeg62 libjs-jquery libkpathsea5 liblaunchpad-integration-3.0-1 liblaunchpad-integration-common liblcms1 libllvm3.2 liblua5.1-0 liblwres80 libmng1 libmpc2 libmusicbrainz3-6 libnux-2.0-0 libnux-2.0-common libpam-ck-connector libpoppler19 libprotobuf7 libprotoc7 libpth20 libqtbamf1 libqtdee2 libqtgconf1 libquvi-scripts libquvi7 libraw5 libreoffice-emailmerge librhythmbox-core5 libslp1 libstdc++6-4.6-dev libswitch-perl libsysfs2 libtasn1-3 libtelepathy-farstream2 libtelepathy-logger2 libtotem-plparser17 libunique-3.0-0 libunity-2d-private0 libusbmuxd1 libxatracker1-lts-raring libxfce4util4 libxrandr-ltsr2 libyajl1 printer-driver-hpijs protobuf-compiler python-appindicator python-apport python-brlapi python-configglue python-dateutil python-egenix-mxdatetime python-egenix-mxtools python-gnupginterface python-gst0.10 python-keyring python-launchpadlib python-lazr.restfulclient python-lazr.uri python-libproxy python-louis python-mako python-markupsafe python-oauth python-packagekit python-problem-report python-protobuf python-pyatspi2 python-pyinotify python-simplejson python-twisted-names python-virtkey python-wadllib python-xkit rhythmbox-ubuntuone ttf-dejavu-core ttf-freefont unity-2d-common unity-2d-panel unity-2d-shell unity-2d-spread x11-xserver-utils-lts-raring xfce-keyboard-shortcuts xscreensaver-data xserver-common-lts-raring xserver-xorg-core-lts-raring xserver-xorg-input-all-lts-raring xserver-xorg-input-evdev-lts-raring xserver-xorg-input-mouse-lts-raring xserver-xorg-input-synaptics-lts-raring xserver-xorg-input-vmmouse-lts-raring xserver-xorg-input-wacom-lts-raring xserver-xorg-video-all-lts-raring xserver-xorg-video-ati-lts-raring xserver-xorg-video-cirrus-lts-raring xserver-xorg-video-fbdev-lts-raring xserver-xorg-video-intel-lts-raring xserver-xorg-video-mach64-lts-raring xserver-xorg-video-mga-lts-raring xserver-xorg-video-modesetting-lts-raring xserver-xorg-video-neomagic-lts-raring xserver-xorg-video-nouveau-lts-raring xserver-xorg-video-openchrome-lts-raring xserver-xorg-video-r128-lts-raring xserver-xorg-video-radeon-lts-raring xserver-xorg-video-s3-lts-raring xserver-xorg-video-savage-lts-raring xserver-xorg-video-siliconmotion-lts-raring xserver-xorg-video-sis-lts-raring xserver-xorg-video-sisusb-lts-raring xserver-xorg-video-tdfx-lts-raring xserver-xorg-video-trident-lts-raring xserver-xorg-video-vesa-lts-raring xserver-xorg-video-vmware-lts-raring Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up vsftpd (3.0.2-1ubuntu2.14.04.1) ... vsftpd user (ftp) already exists, doing nothing. vsftpd directory (/srv/ftp) already exists, doing nothing. invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd dpkg: error processing package vsftpd (--configure): subprocess installed post-installation script returned error exit status 102 Errors were encountered while processing: vsftpd E: Sub-process /usr/bin/dpkg returned an error code (1)
-
Any advice?
-
@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.