gerrit@gerrit-Ubuntu:~$ 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

Asked by Gerrit

gerrit@gerrit-Ubuntu:~$ 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
gerrit@gerrit-Ubuntu:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for gerrit:
gerrit@gerrit-Ubuntu:~$ grep proxy /etc/environment
gerrit@gerrit-Ubuntu:~$ echo $http_proxy

gerrit@gerrit-Ubuntu:~$ echo $ftp_proxy

gerrit@gerrit-Ubuntu:~$ grep proxy /etc/bash.bashrc
gerrit@gerrit-Ubuntu:~$ grep proxy ~/.bashrc
gerrit@gerrit-Ubuntu:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
gerrit@gerrit-Ubuntu:~$ sudo fuser -vvv /var/lib/dpkg/lock
gerrit@gerrit-Ubuntu:~$ echo $http_proxy

gerrit@gerrit-Ubuntu:~$ sudo rm /var/lib/apt/lists/lock
gerrit@gerrit-Ubuntu:~$ echo $http_proxy

gerrit@gerrit-Ubuntu:~$ echo $http_proxyecho $http_proxy

gerrit@gerrit-Ubuntu:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
gerrit@gerrit-Ubuntu:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
gerrit@gerrit-Ubuntu:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
gerrit@gerrit-Ubuntu:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
gerrit@gerrit-Ubuntu:~$ sudo rm -rf /var/lib/dpkg/updates/*
gerrit@gerrit-Ubuntu:~$ sudo rm -rf /var/lib/apt/lists
gerrit@gerrit-Ubuntu:~$ sudo rm /var/cache/apt/*.bin
gerrit@gerrit-Ubuntu:~$ sudo mkdir /var/lib/apt/lists
gerrit@gerrit-Ubuntu:~$ sudo mkdir /var/lib/apt/lists/partial
gerrit@gerrit-Ubuntu:~$ LANG=C;sudo apt-get clean
gerrit@gerrit-Ubuntu:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
gerrit@gerrit-Ubuntu:~$ 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.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up gparted (0.12.1-1) ...
gerrit@gerrit-Ubuntu:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://ppa.launchpad.net quantal Release.gpg [316 B]
Get:2 http://archive.canonical.com precise Release.gpg [198 B]
Get:3 http://nl.archive.ubuntu.com precise Release.gpg [198 B]
Get:4 http://ppa.launchpad.net quantal Release [11.9 kB]
Get:5 http://archive.canonical.com precise Release [7078 B]
Get:6 http://nl.archive.ubuntu.com precise-security Release.gpg [198 B]
Get:7 http://nl.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:8 http://nl.archive.ubuntu.com precise Release [49.6 kB]
Get:9 http://nl.archive.ubuntu.com precise-security Release [49.6 kB]
Get:10 http://nl.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:11 http://archive.canonical.com precise/partner Sources [4864 B]
Get:12 http://nl.archive.ubuntu.com precise/main Sources [934 kB]
Get:13 http://ppa.launchpad.net quantal/main Sources [1201 B]
Get:14 http://archive.canonical.com precise/partner i386 Packages [8928 B]
Get:15 http://ppa.launchpad.net quantal/main i386 Packages [2813 B]
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://archive.canonical.com precise/partner Translation-en
Get:16 http://nl.archive.ubuntu.com precise/restricted Sources [5470 B]
Get:17 http://nl.archive.ubuntu.com precise/universe Sources [5019 kB]
Get:18 http://nl.archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:19 http://nl.archive.ubuntu.com precise/main i386 Packages [1274 kB]
Get:20 http://nl.archive.ubuntu.com precise/restricted i386 Packages [8431 B]
Get:21 http://nl.archive.ubuntu.com precise/universe i386 Packages [4796 kB]
Get:22 http://nl.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:23 http://nl.archive.ubuntu.com precise/main Translation-en [726 kB]
Get:24 http://nl.archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:25 http://nl.archive.ubuntu.com precise/restricted Translation-en [2395 B]
Get:26 http://nl.archive.ubuntu.com precise/universe Translation-en [3341 kB]
Get:27 http://nl.archive.ubuntu.com precise-security/main Sources [91.8 kB]
Get:28 http://nl.archive.ubuntu.com precise-security/restricted Sources [2494 B]
Get:29 http://nl.archive.ubuntu.com precise-security/universe Sources [28.4 kB]
Get:30 http://nl.archive.ubuntu.com precise-security/multiverse Sources [1804 B]
Get:31 http://nl.archive.ubuntu.com precise-security/main i386 Packages [348 kB]
Get:32 http://nl.archive.ubuntu.com precise-security/restricted i386 Packages [4620 B]
Get:33 http://nl.archive.ubuntu.com precise-security/universe i386 Packages [86.7 kB]
Get:34 http://nl.archive.ubuntu.com precise-security/multiverse i386 Packages [2640 B]
Get:35 http://nl.archive.ubuntu.com precise-security/main Translation-en [158 kB]
Get:36 http://nl.archive.ubuntu.com precise-security/multiverse Translation-en [1299 B]
Get:37 http://nl.archive.ubuntu.com precise-security/restricted Translation-en [1253 B]
Get:38 http://nl.archive.ubuntu.com precise-security/universe Translation-en [52.8 kB]
Get:39 http://nl.archive.ubuntu.com precise-updates/main Sources [422 kB]
Get:40 http://nl.archive.ubuntu.com precise-updates/restricted Sources [7006 B]
Get:41 http://nl.archive.ubuntu.com precise-updates/universe Sources [98.0 kB]
Get:42 http://nl.archive.ubuntu.com precise-updates/multiverse Sources [8343 B]
Get:43 http://nl.archive.ubuntu.com precise-updates/main i386 Packages [716 kB]
Get:44 http://nl.archive.ubuntu.com precise-updates/restricted i386 Packages [11.4 kB]
Get:45 http://nl.archive.ubuntu.com precise-updates/universe i386 Packages [224 kB]
Get:46 http://nl.archive.ubuntu.com precise-updates/multiverse i386 Packages [14.0 kB]
Get:47 http://nl.archive.ubuntu.com precise-updates/main Translation-en [314 kB]
Get:48 http://nl.archive.ubuntu.com precise-updates/multiverse Translation-en [8064 B]
Get:49 http://nl.archive.ubuntu.com precise-updates/restricted Translation-en [2637 B]
Get:50 http://nl.archive.ubuntu.com precise-updates/universe Translation-en [129 kB]
Fetched 19.4 MB in 18s (1022 kB/s)
Reading package lists... Done
gerrit@gerrit-Ubuntu:~$ sudo dpkg --configure -a
gerrit@gerrit-Ubuntu:~$ sudo dpkg --clear-avail
gerrit@gerrit-Ubuntu:~$ 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.
gerrit@gerrit-Ubuntu:~$
gerrit@gerrit-Ubuntu:~$ 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.
gerrit@gerrit-Ubuntu:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit http://nl.archive.ubuntu.com precise Release.gpg
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://archive.canonical.com precise Release.gpg
Hit http://nl.archive.ubuntu.com precise-security Release.gpg
Hit http://ppa.launchpad.net quantal Release
Hit http://nl.archive.ubuntu.com precise-updates Release.gpg
Hit http://archive.canonical.com precise Release
Hit http://nl.archive.ubuntu.com precise Release
Hit http://nl.archive.ubuntu.com precise-security Release
Hit http://ppa.launchpad.net quantal/main Sources
Hit http://nl.archive.ubuntu.com precise-updates Release
Hit http://ppa.launchpad.net quantal/main i386 Packages
Hit http://archive.canonical.com precise/partner Sources
Hit http://nl.archive.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://nl.archive.ubuntu.com precise/restricted Sources
Hit http://nl.archive.ubuntu.com precise/universe Sources
Hit http://nl.archive.ubuntu.com precise/multiverse Sources
Hit http://nl.archive.ubuntu.com precise/main i386 Packages
Hit http://nl.archive.ubuntu.com precise/restricted i386 Packages
Hit http://nl.archive.ubuntu.com precise/universe i386 Packages
Ign http://ppa.launchpad.net quantal/main Translation-en
Hit http://nl.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com precise/main Translation-en
Ign http://archive.canonical.com precise/partner Translation-en
Hit http://nl.archive.ubuntu.com precise/multiverse Translation-en
Hit http://nl.archive.ubuntu.com precise/restricted Translation-en
Hit http://nl.archive.ubuntu.com precise/universe Translation-en
Hit http://nl.archive.ubuntu.com precise-security/main Sources
Hit http://nl.archive.ubuntu.com precise-security/restricted Sources
Hit http://nl.archive.ubuntu.com precise-security/universe Sources
Hit http://nl.archive.ubuntu.com precise-security/multiverse Sources
Hit http://nl.archive.ubuntu.com precise-security/main i386 Packages
Hit http://nl.archive.ubuntu.com precise-security/restricted i386 Packages
Hit http://nl.archive.ubuntu.com precise-security/universe i386 Packages
Hit http://nl.archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com precise-security/main Translation-en
Hit http://nl.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://nl.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://nl.archive.ubuntu.com precise-security/universe Translation-en
Hit http://nl.archive.ubuntu.com precise-updates/main Sources
Hit http://nl.archive.ubuntu.com precise-updates/restricted Sources
Hit http://nl.archive.ubuntu.com precise-updates/universe Sources
Hit http://nl.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://nl.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://nl.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://nl.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://nl.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com precise-updates/main Translation-en
Hit http://nl.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://nl.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://nl.archive.ubuntu.com precise-updates/universe Translation-en
Reading package lists... Done
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.
gerrit@gerrit-Ubuntu:~$
gerrit@gerrit-Ubuntu:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 #############################################################
     2 ################### OFFICIAL UBUNTU REPOS ###################
     3 #############################################################
     4
     5 ###### Ubuntu Main Repos
     6 deb http://nl.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
     7 deb-src http://nl.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
     8
     9 ###### Ubuntu Update Repos
    10 deb http://nl.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
    11 deb http://nl.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
    12 deb-src http://nl.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
    13 deb-src http://nl.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
    14
    15 ###### Ubuntu Partner Repo
    16 deb http://archive.canonical.com/ubuntu precise partner
    17 deb-src http://archive.canonical.com/ubuntu precise partner
    18
    19

/etc/apt/sources.list.d/webupd8team-java-quantal.list

     1 deb http://ppa.launchpad.net/webupd8team/java/ubuntu quantal main
     2 deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu quantal main
gerrit@gerrit-Ubuntu:~$

Question information

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

Why are you using the Quantal source in the webupd8 when you are using Precise?

Packages look in order otherwise. What issue are you seeing?

Thanks

Revision history for this message
Gerrit (heijting) said :
#2

Thanks for responding
I am for first time looking in to Ubuntu and linux.
So my problem with apt-get update is already solved.
Found it is working after all commands done.
Thanks and close this issue please

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Please don't forget to delete the /etc/apt/sources.list.d/webupd8team-java-quantal.list file if you are using Ubuntu 12.04 LTS (precise).

Mixing precise and quantal repositories can and will break your apt-get package manager.

The following command will show you which version of Ubuntu you are running:

cat /etc/lsb-release