couldnt install LAmp after updating at 14.04

Asked by sara

I followed the help PackageManagerTroubleshootingProcedure at https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure. thanks

sara@sara-Aspire-2930:~$ ubuntu-support-status
Support status summary of 'sara-Aspire-2930':

You have 55 packages (2.5%) supported until May 2017 (3y)
You have 1902 packages (86.5%) supported until May 2019 (5y)
You have 72 packages (3.3%) supported until February 2015 (9m)

You have 119 packages (5.4%) that can not/no-longer be downloaded
You have 52 packages (2.4%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
sara@sara-Aspire-2930:~$ assiotea
assiotea: command not found
sara@sara-Aspire-2930:~$ ubuntu-support-status
Support status summary of 'sara-Aspire-2930':

You have 55 packages (2.5%) supported until May 2017 (3y)
You have 72 packages (3.3%) supported until February 2015 (9m)
You have 1902 packages (86.5%) supported until May 2019 (5y)

You have 119 packages (5.4%) that can not/no-longer be downloaded
You have 52 packages (2.4%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
sara@sara-Aspire-2930:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
sara@sara-Aspire-2930:~$ dpkg --print-foreign-architectures
sara@sara-Aspire-2930:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for sara:
sara@sara-Aspire-2930:~$ grep proxy /etc/environment
sara@sara-Aspire-2930:~$ echo $http_proxy

sara@sara-Aspire-2930:~$ echo $ftp_proxy

sara@sara-Aspire-2930:~$ grep proxy /etc/bash.bashrc
sara@sara-Aspire-2930:~$ grep proxy ~/.bashrc
sara@sara-Aspire-2930:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
sara@sara-Aspire-2930:~$ sudo fuser -vvv /var/lib/dpkg/lock
sara@sara-Aspire-2930:~$ sudo fuser -vvv /var/cache/apt/archives/lock
sara@sara-Aspire-2930:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"
sara@sara-Aspire-2930:~$ uname -a
Linux sara-Aspire-2930 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:08:16 UTC 2014 i686 i686 i686 GNU/Linux
sara@sara-Aspire-2930:~$ sudo rm /var/lib/apt/lists/lock
sara@sara-Aspire-2930:~$ sudo rm /var/cache/apt/archives/lock
sara@sara-Aspire-2930:~$ sudo rm /var/lib/dpkg/lock
sara@sara-Aspire-2930:~$ sudo touch /var/lib/dpkg/lock
sara@sara-Aspire-2930:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
sudo dpkg --configure -a
sara@sara-Aspire-2930:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
sara@sara-Aspire-2930:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
sara@sara-Aspire-2930:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
sara@sara-Aspire-2930:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sara@sara-Aspire-2930:~$ sudo rm -rf /var/lib/dpkg/updates/*
sara@sara-Aspire-2930:~$ sudo rm -rf /var/lib/apt/lists
sara@sara-Aspire-2930:~$ sudo rm /var/cache/apt/*.bin
sara@sara-Aspire-2930:~$ sudo mkdir /var/lib/apt/lists
sara@sara-Aspire-2930:~$ sudo mkdir /var/lib/apt/lists/partial
sara@sara-Aspire-2930:~$ LANG=C;sudo apt-get clean
sara@sara-Aspire-2930:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
sara@sara-Aspire-2930:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  blt* libamd2.2.0* libboost-date-time1.53.0* libboost-program-options1.53.0* libboost-system1.53.0* libcmis-0.3-3* libcolamd2.7.1*
  libdee-qt5-3* libdns99* libebackend-1.2-6* libedata-book-1.2-17* libedata-cal-1.2-20* libgweather-3-3* libhud-client2*
  libllvm3.3* libpoppler43* libppl12* libpython3.3* libpython3.3-minimal* libpython3.3-stdlib* libqpdf10* libqt53d5*
  libqt5location5* libqt5v8-5* librhythmbox-core7* libtcl8.5* libtk8.5* libumfpack5.4.0* libxcb-sync0* linux-headers-3.11.0-20*
  linux-headers-3.11.0-20-generic* linux-image-3.11.0-20-generic* linux-image-extra-3.11.0-20-generic* python-imaging-compat*
  python3.3* python3.3-minimal* tcl8.5* tk8.5* wine-gecko1.4* wine1.4* wine1.4-i386*
0 upgraded, 0 newly installed, 41 to remove and 0 not upgraded.
24 not fully installed or removed.
After this operation, 301 MB disk space will be freed.
Do you want to continue? [Y/n] Y
Abort.
sara@sara-Aspire-2930:~$ Y
Y: command not found
sara@sara-Aspire-2930:~$ Yes
No command 'Yes' found, did you mean:
 Command 'les' from package 'atm-tools' (universe)
 Command 'nes' from package 'fceux' (universe)
 Command 'nes' from package 'nestopia' (universe)
 Command 'nes' from package 'mednafen' (universe)
 Command 'nes' from package 'fceu' (universe)
 Command 'yes' from package 'coreutils' (main)
Yes: command not found
sara@sara-Aspire-2930:~$ Y
Y: command not found
sara@sara-Aspire-2930:~$ sudo dpkg --clear-avail
sara@sara-Aspire-2930:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  blt libamd2.2.0 libboost-date-time1.53.0 libboost-program-options1.53.0 libboost-system1.53.0 libcmis-0.3-3 libcolamd2.7.1
  libdee-qt5-3 libdns99 libebackend-1.2-6 libedata-book-1.2-17 libedata-cal-1.2-20 libgweather-3-3 libhud-client2 libllvm3.3
  libpoppler43 libppl12 libpython3.3 libpython3.3-minimal libpython3.3-stdlib libqpdf10 libqt53d5 libqt5location5 libqt5v8-5
  librhythmbox-core7 libtcl8.5 libtk8.5 libumfpack5.4.0 libxcb-sync0 linux-headers-3.11.0-20 linux-headers-3.11.0-20-generic
  linux-image-3.11.0-20-generic linux-image-extra-3.11.0-20-generic python-imaging-compat python3.3 python3.3-minimal tcl8.5 tk8.5
  wine-gecko1.4 wine1.4 wine1.4-i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
24 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libgstreamer1.0-0:i386 (1.2.4-0ubuntu1) ...
Setting up libgstreamer-plugins-base1.0-0:i386 (1.2.4-1~ubuntu1) ...
Setting up linux-image-3.13.0-27-generic (3.13.0-27.50) ...
Running depmod.
LANG=C;sudo apt-get --fix-missing install
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-3.13.0-27-generic
) points to /boot/initrd.img-3.13.0-27-generic
 (/boot/initrd.img-3.13.0-27-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-27-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-3.13.0-27-generic
) points to /boot/vmlinuz-3.13.0-27-generic
 (/boot/vmlinuz-3.13.0-27-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-27-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-27-generic
LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
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-27-generic
Found initrd image: /boot/initrd.img-3.13.0-27-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found linux image: /boot/vmlinuz-3.11.0-20-generic
Found initrd image: /boot/initrd.img-3.11.0-20-generic
Found linux image: /boot/vmlinuz-3.5.0-49-generic
Found initrd image: /boot/initrd.img-3.5.0-49-generic
Found linux image: /boot/vmlinuz-3.5.0-17-generic
Found initrd image: /boot/initrd.img-3.5.0-17-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Setting up gir1.2-gstreamer-1.0 (1.2.4-0ubuntu1) ...
Setting up gir1.2-gst-plugins-base-1.0 (1.2.4-1~ubuntu1) ...
Setting up gnome-settings-daemon-schemas (3.8.6.1-0ubuntu11.1) ...
Setting up gnome-settings-daemon (3.8.6.1-0ubuntu11.1) ...
Setting up gstreamer1.0-alsa:i386 (1.2.4-1~ubuntu1) ...
Setting up gstreamer1.0-plugins-base:i386 (1.2.4-1~ubuntu1) ...
Setting up gstreamer1.0-tools (1.2.4-0ubuntu1) ...
Setting up gstreamer1.0-plugins-base-apps (1.2.4-1~ubuntu1) ...
Setting up gstreamer1.0-x:i386 (1.2.4-1~ubuntu1) ...
Setting up im-config (0.24-1ubuntu4.1) ...
Setting up libnm-gtk-common (0.9.8.8-0ubuntu4.1) ...
Setting up libnm-gtk0 (0.9.8.8-0ubuntu4.1) ...
Setting up linux-image-extra-3.13.0-27-generic (3.13.0-27.50) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-3.13.0-27-generic
) points to /boot/initrd.img-3.13.0-27-generic
 (/boot/initrd.img-3.13.0-27-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-extra-3.13.0-27-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-3.13.0-27-generic
) points to /boot/vmlinuz-3.13.0-27-generic
 (/boot/vmlinuz-3.13.0-27-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-extra-3.13.0-27-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-27-generic
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-27-generic /boot/vmlinuz-3.13.0-27-generic
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-27-generic
Found initrd image: /boot/initrd.img-3.13.0-27-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found linux image: /boot/vmlinuz-3.11.0-20-generic
Found initrd image: /boot/initrd.img-3.11.0-20-generic
Found linux image: /boot/vmlinuz-3.5.0-49-generic
Found initrd image: /boot/initrd.img-3.5.0-49-generic
Found linux image: /boot/vmlinuz-3.5.0-17-generic
Found initrd image: /boot/initrd.img-3.5.0-17-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Setting up linux-image-generic (3.13.0.27.33) ...
Setting up linux-headers-3.13.0-27 (3.13.0-27.50) ...
Setting up linux-headers-3.13.0-27-generic (3.13.0-27.50) ...
Setting up linux-headers-generic (3.13.0.27.33) ...
Setting up linux-generic (3.13.0.27.33) ...
Setting up linux-headers-generic-pae (3.13.0.27.33) ...
Setting up linux-libc-dev:i386 (3.13.0-27.50) ...
Setting up network-manager-gnome (0.9.8.8-0ubuntu4.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
sara@sara-Aspire-2930:~$ ^C
sara@sara-Aspire-2930:~$ wDvKQw

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

sudo apt-get install lamp-server^

The carat character is intentional. Source :
https://help.ubuntu.com/community/ApacheMySQLPHP

Can you help with this problem?

Provide an answer of your own, or ask sara for more information if necessary.

To post a message you must log in.