Below is the log from the steps provided in packagemanagertrouble shooting page
$ ubuntu-support-status
Traceback (most recent call last):
File "/usr/bin/ubuntu-support-status", line 132, in <module>
(still_supported, support_str) = get_maintenance_status(cache, pkg.name, support_tag)
File "/usr/bin/ubuntu-support-status", line 49, in get_maintenance_status
raise Exception("No date tag found")
Exception: No date tag found
$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
$ dpkg --print-foreign-architectures
$ sudo grep -R proxy /etc/apt/*
$ grep proxy /etc/environment
$ echo $http_proxy
$ echo $ftp_proxy
$ grep proxy /etc/bash.bashrc
$ grep proxy ~/.bashrc
$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
$ sudo fuser -vvv /var/lib/dpkg/lock
$ sudo fuser -vvv /var/cache/apt/archives/lock
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"
$ uname -a
Linux hy-4061cq1 3.8.0-32-generic #47-Ubuntu SMP Tue Oct 1 21:36:40 UTC 2013 i686 i686 i686 GNU/Linux
$ sudo rm /var/lib/apt/lists/lock
$ sudo rm /var/cache/apt/archives/lock
$ sudo rm /var/lib/dpkg/lock
$ 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
Reading package lists... Done
Building dependency tree
Reading state information... Done
$ 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.
$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Ign http://archive.ubuntu.com raring Release.gpg
Ign http://archive.ubuntu.com raring-updates Release.gpg
Ign http://archive.ubuntu.com raring Release
Ign http://archive.ubuntu.com raring-updates Release
Err http://archive.ubuntu.com raring/main Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/restricted Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/universe Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/multiverse Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/main i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/restricted i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/universe i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/multiverse i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Ign http://archive.ubuntu.com raring/main Translation-en
Ign http://archive.ubuntu.com raring/multiverse Translation-en
Ign http://archive.ubuntu.com raring/restricted Translation-en
Ign http://archive.ubuntu.com raring/universe Translation-en
Err http://archive.ubuntu.com raring-updates/main Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring-updates/restricted Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring-updates/universe Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring-updates/multiverse Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring-updates/main i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring-updates/restricted i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring-updates/universe i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring-updates/multiverse i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Ign http://archive.ubuntu.com raring-updates/main Translation-en
Ign http://archive.ubuntu.com raring-updates/multiverse Translation-en
Ign http://archive.ubuntu.com raring-updates/restricted Translation-en
Ign http://archive.ubuntu.com raring-updates/universe Translation-en
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/main/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/universe/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
$ sudo dpkg --configure -a
$ sudo dpkg --clear-avail
$ 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.
$ 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.
$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://archive.ubuntu.com raring Release.gpg
Ign http://archive.ubuntu.com raring-updates Release.gpg
Ign http://archive.ubuntu.com raring Release
Ign http://archive.ubuntu.com raring-updates Release
Err http://archive.ubuntu.com raring/main Sources
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring/restricted Sources
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring/universe Sources
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring/multiverse Sources
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring/main i386 Packages
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring/restricted i386 Packages
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring/universe i386 Packages
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring/multiverse i386 Packages
404 Not Found [IP: 91.189.91.14 80]
Ign http://archive.ubuntu.com raring/main Translation-en
Ign http://archive.ubuntu.com raring/multiverse Translation-en
Ign http://archive.ubuntu.com raring/restricted Translation-en
Ign http://archive.ubuntu.com raring/universe Translation-en
Err http://archive.ubuntu.com raring-updates/main Sources
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring-updates/restricted Sources
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring-updates/universe Sources
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring-updates/multiverse Sources
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring-updates/main i386 Packages
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring-updates/restricted i386 Packages
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring-updates/universe i386 Packages
404 Not Found [IP: 91.189.91.14 80]
Err http://archive.ubuntu.com raring-updates/multiverse i386 Packages
404 Not Found [IP: 91.189.91.14 80]
Ign http://archive.ubuntu.com raring-updates/main Translation-en
Ign http://archive.ubuntu.com raring-updates/multiverse Translation-en
Ign http://archive.ubuntu.com raring-updates/restricted Translation-en
Ign http://archive.ubuntu.com raring-updates/universe Translation-en
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/source/Sources 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/source/Sources 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/source/Sources 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/source/Sources 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/main/source/Sources 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/source/Sources 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/universe/source/Sources 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/source/Sources 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213)]/ precise main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://archive.ubuntu.com/ubuntu/ raring main restricted
6 deb-src http://archive.ubuntu.com/ubuntu/ raring main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://archive.ubuntu.com/ubuntu/ raring-updates main restricted
11 deb-src http://archive.ubuntu.com/ubuntu/ raring-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://archive.ubuntu.com/ubuntu/ raring universe
17 deb-src http://archive.ubuntu.com/ubuntu/ raring universe
18 deb http://archive.ubuntu.com/ubuntu/ raring-updates universe
19 deb-src http://archive.ubuntu.com/ubuntu/ raring-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://archive.ubuntu.com/ubuntu/ raring multiverse
27 deb-src http://archive.ubuntu.com/ubuntu/ raring multiverse
28 deb http://archive.ubuntu.com/ubuntu/ raring-updates multiverse
29 deb-src http://archive.ubuntu.com/ubuntu/ raring-updates multiverse
/etc/apt/sources.list.d/ubuntu-toolchain-r-test-raring.list
1 # deb [\ufffd] http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ raring mai n
2 # deb-src http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ raring main
3
/etc/apt/sources.list.d/scootersoftware.list
1 #disabled on upgrade to quantal
2 # deb http://www.scootersoftware.com/ stable non-free
3