broken packages

Asked by Syam Nadh E G

root@g03-desktop:~# ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 105, in <module>
    (still_supported, support_str) = get_maintenance_status(cache, pkg.name, support_tag)
  File "/usr/bin/ubuntu-support-status", line 37, in get_maintenance_status
    raise Exception("No date tag found")
Exception: No date tag found
root@g03-desktop:~# cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
root@g03-desktop:~# dpkg --print-foreign-architectures
dpkg: unknown option --print-foreign-architectures

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
root@g03-desktop:~# sudo grep -R proxy /etc/apt/*
root@g03-desktop:~# grep proxy /etc/environment
root@g03-desktop:~# echo $http_proxy

root@g03-desktop:~# echo $ftp_proxy

root@g03-desktop:~# grep proxy /etc/bash.bashrc
root@g03-desktop:~# grep proxy ~/.bashrc
root@g03-desktop:~# cat /etc/apt/apt.conf
root@g03-desktop:~# sudo fuser -vvv /var/lib/dpkg/lock
root@g03-desktop:~# sudo fuser -vvv /var/cache/apt/archives/lock
root@g03-desktop:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
root@g03-desktop:~# uname -a
Linux g03-desktop 2.6.32-61-generic #124-Ubuntu SMP Wed Jun 4 23:03:27 UTC 2014 x86_64 GNU/Linux
root@g03-desktop:~# sudo rm /var/lib/apt/lists/lock
root@g03-desktop:~# sudo rm /var/cache/apt/archives/lock
root@g03-desktop:~# sudo rm /var/lib/dpkg/lock
root@g03-desktop:~# sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
root@g03-desktop:~# sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
root@g03-desktop:~# sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
root@g03-desktop:~# sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
root@g03-desktop:~# sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
root@g03-desktop:~# sudo rm -rf /var/lib/dpkg/updates/*
root@g03-desktop:~# sudo rm -rf /var/lib/apt/lists
root@g03-desktop:~# sudo rm /var/cache/apt/*.bin
root@g03-desktop:~# sudo mkdir /var/lib/apt/lists
root@g03-desktop:~# sudo mkdir /var/lib/apt/lists/partial
root@g03-desktop:~# LANG=C;sudo apt-get clean
root@g03-desktop:~# LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@g03-desktop:~# LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  libxine1-misc-plugins: Depends: libmodplug0c2 (>= 1:0.7-4.1) but it is not installable
                         Depends: libmpcdec3 but it is not installable
E: Unmet dependencies. Try using -f.
root@g03-desktop:~# LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://archive.ubuntu.com lucid Release.gpg [189B]
Get:2 http://in.archive.ubuntu.com precise Release.gpg [198B]
Ign http://ppa.launchpad.net lucid Release.gpg
Get:3 http://in.archive.ubuntu.com precise-updates Release.gpg [198B]
Ign http://ppa.launchpad.net lucid Release
Get:4 http://in.archive.ubuntu.com precise-security Release.gpg [198B]
Ign http://ppa.launchpad.net lucid/main Packages
Ign http://ppa.launchpad.net lucid/main Packages
Get:5 http://archive.ubuntu.com lucid Release [57.2kB]
Err http://ppa.launchpad.net lucid/main Packages
  404 Not Found
Get:6 http://in.archive.ubuntu.com precise Release [49.6kB]
Get:7 http://in.archive.ubuntu.com precise-updates Release [49.6kB]
Get:8 http://in.archive.ubuntu.com precise-security Release [49.6kB]
Get:9 http://archive.ubuntu.com lucid/main Packages [1383kB]
Get:10 http://in.archive.ubuntu.com precise/main Packages [1273kB]
Get:11 http://in.archive.ubuntu.com precise/restricted Packages [8452B]
Get:12 http://in.archive.ubuntu.com precise/universe Packages [4786kB]
Get:13 http://archive.ubuntu.com lucid/universe Packages [5430kB]
Get:14 http://archive.ubuntu.com lucid/restricted Packages [6193B]
Get:15 http://in.archive.ubuntu.com precise/multiverse Packages [119kB]
Get:16 http://archive.ubuntu.com lucid/multiverse Packages [176kB]
Get:17 http://in.archive.ubuntu.com precise-updates/main Packages [789kB]
Get:18 http://in.archive.ubuntu.com precise-updates/restricted Packages [13.7kB]
Get:19 http://in.archive.ubuntu.com precise-updates/universe Packages [241kB]
Get:20 http://in.archive.ubuntu.com precise-updates/multiverse Packages [15.3kB]
Get:21 http://in.archive.ubuntu.com precise-security/main Packages [400kB]
Get:22 http://archive.ubuntu.com lucid/universe Sources [3165kB]
Get:23 http://in.archive.ubuntu.com precise-security/restricted Packages [4627B]
Get:24 http://in.archive.ubuntu.com precise-security/universe Packages [93.5kB]
Get:25 http://in.archive.ubuntu.com precise-security/multiverse Packages [2434B]
Get:26 http://archive.ubuntu.com lucid/main Sources [659kB]
Get:27 http://archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:28 http://archive.ubuntu.com lucid/restricted Sources [3775B]
Fetched 18.9MB in 40s (468kB/s)
W: Failed to fetch http://ppa.launchpad.net/videolan/stable-daily/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
root@g03-desktop:~# sudo dpkg --configure -a
root@g03-desktop:~# sudo dpkg --clear-avail
root@g03-desktop:~# LANG=C;sudo apt-get -f install
Reading package lists... Error!
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing kscreensaver (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_universe_binary-amd64_Packages
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
root@g03-desktop:~# LANG=C;sudo apt-get --fix-missing install
Reading package lists... Error!
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing kscreensaver (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_universe_binary-amd64_Packages
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
root@g03-desktop:~# LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://ppa.launchpad.net lucid Release.gpg
Hit http://archive.ubuntu.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid Release
Hit http://archive.ubuntu.com lucid/main Packages
Ign http://ppa.launchpad.net lucid Release
Hit http://archive.ubuntu.com lucid/universe Packages
Get:1 http://in.archive.ubuntu.com precise Release.gpg [198B]
Hit http://archive.ubuntu.com lucid/restricted Packages
Get:2 http://in.archive.ubuntu.com precise-updates Release.gpg [198B]
Hit http://archive.ubuntu.com lucid/multiverse Packages
Get:3 http://in.archive.ubuntu.com precise-security Release.gpg [198B]
Hit http://archive.ubuntu.com lucid/universe Sources
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://in.archive.ubuntu.com precise Release
Hit http://archive.ubuntu.com lucid/main Sources
Hit http://in.archive.ubuntu.com precise-updates Release
Hit http://archive.ubuntu.com lucid/multiverse Sources
Hit http://in.archive.ubuntu.com precise-security Release
Hit http://archive.ubuntu.com lucid/restricted Sources
Hit http://in.archive.ubuntu.com precise/main Packages
Hit http://in.archive.ubuntu.com precise/restricted Packages
Hit http://in.archive.ubuntu.com precise/universe Packages
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://in.archive.ubuntu.com precise/multiverse Packages
Hit http://in.archive.ubuntu.com precise-updates/main Packages
Hit http://in.archive.ubuntu.com precise-updates/restricted Packages
Hit http://in.archive.ubuntu.com precise-updates/universe Packages
Hit http://in.archive.ubuntu.com precise-updates/multiverse Packages
Hit http://in.archive.ubuntu.com precise-security/main Packages
Hit http://in.archive.ubuntu.com precise-security/restricted Packages
Hit http://in.archive.ubuntu.com precise-security/universe Packages
Hit http://in.archive.ubuntu.com precise-security/multiverse Packages
Err http://ppa.launchpad.net lucid/main Packages
  404 Not Found
Fetched 594B in 7s (80B/s)
W: Failed to fetch http://ppa.launchpad.net/videolan/stable-daily/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
root@g03-desktop:~# find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100429)]/ lucid main restricted
     2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3 # newer versions of the distribution.
     4
     5 deb http://in.archive.ubuntu.com/ubuntu/ precise main restricted
     6
     7 ## Major bug fix updates produced after the final release of the
     8 ## distribution.
     9 deb http://in.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    10
    11 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    12 ## team. Also, please note that software in universe WILL NOT receive any
    13 ## review or updates from the Ubuntu security team.
    14 deb http://in.archive.ubuntu.com/ubuntu/ precise universe
    15 deb http://in.archive.ubuntu.com/ubuntu/ precise-updates universe
    16
    17 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    18 ## team, and may not be under a free licence. Please satisfy yourself as to
    19 ## your rights to use the software. Also, please note that software in
    20 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    21 ## security team.
    22 deb http://in.archive.ubuntu.com/ubuntu/ precise multiverse
    23 deb http://in.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    24
    25 ## Uncomment the following two lines to add software from the 'backports'
    26 ## repository.
    27 ## N.B. software from this repository may not have been tested as
    28 ## extensively as that contained in the main release, although it includes
    29 ## newer versions of some applications which may provide useful features.
    30 ## Also, please note that software in backports WILL NOT receive any review
    31 ## or updates from the Ubuntu security team.
    32 # deb http://in.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    33 # deb-src http://in.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    34
    35 ## Uncomment the following two lines to add software from Canonical's
    36 ## 'partner' repository.
    37 ## This software is not part of Ubuntu, but is offered by Canonical and the
    38 ## respective vendors as a service to Ubuntu users.
    39
    40 deb http://in.archive.ubuntu.com/ubuntu/ precise-security main restricted
    41 deb http://in.archive.ubuntu.com/ubuntu/ precise-security universe
    42 deb http://in.archive.ubuntu.com/ubuntu/ precise-security multiverse
    43 deb http://archive.ubuntu.com/ubuntu lucid main universe restricted multiverse
    44 deb-src http://archive.ubuntu.com/ubuntu lucid universe main multiverse restricted #Added by software-properties

/etc/apt/sources.list.d/virtualbox.list

/etc/apt/sources.list.d/kubuntu-ppa-backports-lucid.list

/etc/apt/sources.list.d/videolan-stable-daily-lucid.list

     1 deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu lucid main
root@g03-desktop:~#

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Please read this:

https://wiki.ubuntu.com/Releases

Lucid (Ubuntu 10.04) is end-of-life and not supported anymore on the desktop version.

And mixing precise and lucid repositories like that can and will break your package manager.

I suggest testing Ubuntu 14.04 LTS in a LiveUSB session.

If all the hardware works during the LiveUSB session, I recommend performing a clean install of Ubuntu 14.04 LTS.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

You are using Lucid which is no longer supported on the desktop. I suggest a clean install of Trusty. Trusty is LTS and supported til April 2019

Can you help with this problem?

Provide an answer of your own, or ask Syam Nadh E G for more information if necessary.

To post a message you must log in.