My output from referral from https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
root@helloworld:/home/mcserver# ubuntu-support-status
Support status summary of 'helloworld.dyndns.org':
You have 563 packages (100.0%) that can not/no longer be downloaded
You have 0 packages (0.0%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details
root@helloworld:/home/mcserver# sudo grep -R proxy /etc/apt/*
root@helloworld:/home/mcserver# grep proxy /etc/environment
root@helloworld:/home/mcserver# echo $http_proxy
root@helloworld:/home/mcserver# echo $ftp_proxy
root@helloworld:/home/mcserver# grep proxy /etc/bash.bashrc
root@helloworld:/home/mcserver# grep proxy ~/.bashrc
root@helloworld:/home/mcserver# cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
root@helloworld:/home/mcserver# sudo fuser -vvv /var/lib/dpkg/lock
root@helloworld:/home/mcserver# sudo fuser -vvv /var/cache/apt/archives/lock
root@helloworld:/home/mcserver# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
root@helloworld:/home/mcserver# uname -a
Linux helloworld.dyndns.org 3.8.0-35-generic #50~precise1-Ubuntu SMP Wed Dec 4 17:28:45 UTC 2013 i686 i686 i386 GNU/Linux
root@helloworld:/home/mcserver# sudo rm /var/lib/apt/lists/lock
root@helloworld:/home/mcserver# sudo rm /var/cache/apt/archives/lock
root@helloworld:/home/mcserver# sudo rm /var/lib/dpkg/lock
root@helloworld:/home/mcserver# sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
^Z
[1]+ Stopped sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
root@helloworld:/home/mcserver# sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
^Z
[2]+ Stopped sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
root@helloworld:/home/mcserver# sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
root@helloworld:/home/mcserver# sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
root@helloworld:/home/mcserver# sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
root@helloworld:/home/mcserver# sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
root@helloworld:/home/mcserver# sudo rm -rf /var/lib/dpkg/updates/*
root@helloworld:/home/mcserver# sudo rm -rf /var/lib/apt/lists
root@helloworld:/home/mcserver# sudo rm /var/cache/apt/*.bin
root@helloworld:/home/mcserver# sudo mkdir /var/lib/apt/lists
root@helloworld:/home/mcserver# sudo mkdir /var/lib/apt/lists/partial
root@helloworld:/home/mcserver# LANG=C;sudo apt-get clean
root@helloworld:/home/mcserver# LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@helloworld:/home/mcserver# LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@helloworld:/home/mcserver# LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Err http://uk.archive.ubuntu.com precise Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Err http://ppa.launchpad.net precise Release.gpg
Temporary failure resolving 'ppa.launchpad.net'
Err http://uk.archive.ubuntu.com precise-security Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Err http://uk.archive.ubuntu.com precise-updates Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Err http://uk.archive.ubuntu.com precise-proposed Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise-proposed/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@helloworld:/home/mcserver# LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Err http://uk.archive.ubuntu.com precise Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Err http://ppa.launchpad.net precise Release.gpg
Temporary failure resolving 'ppa.launchpad.net'
Err http://uk.archive.ubuntu.com precise-security Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Err http://uk.archive.ubuntu.com precise-updates Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Err http://uk.archive.ubuntu.com precise-proposed Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise-proposed/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@helloworld:/home/mcserver# sudo dpkg --configure -a
root@helloworld:/home/mcserver# sudo dpkg --clear-avail
root@helloworld:/home/mcserver# LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@helloworld:/home/mcserver# LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@helloworld:/home/mcserver# LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Err http://uk.archive.ubuntu.com precise Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Err http://ppa.launchpad.net precise Release.gpg
Temporary failure resolving 'ppa.launchpad.net'
Err http://uk.archive.ubuntu.com precise-security Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Err http://uk.archive.ubuntu.com precise-updates Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Err http://uk.archive.ubuntu.com precise-proposed Release.gpg
Temporary failure resolving 'uk.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://uk.archive.ubuntu.com/ubuntu/dists/precise-proposed/Release.gpg Temporary failure resolving 'uk.archive.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@helloworld:/home/mcserver# find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/sources.list.d/webupd8team-java-precise.list
1 deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
2 deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
/etc/apt/sources.list
1 ###### Ubuntu Main Repos
2 deb http://uk.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
3 deb-src http://uk.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
4
5 ###### Ubuntu Update Repos
6 deb http://uk.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
7 deb http://uk.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
8 deb-src http://uk.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
9 deb-src http://uk.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
10 deb-src http://uk.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
11
12 ###### Ubuntu Partner Repo
13 #deb http://archive.canonical.com/ubuntu precise partner
14 #deb-src http://archive.canonical.com/ubuntu precise partner
15
16
root@helloworld:/home/mcserver#