Synaptic Package Manager error occurred

Asked by Edmond Condillac

An alert box opened when accessing Synaptic Package Manager from Dash. The following details were given.

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please repo

My uname details are:

Linux eME732 3.5.0-42-generic #65-Ubuntu SMP Tue Oct 1 21:38:59 UTC 2013 i686 i686 i686 GNU/Linux

The lsb-release details are:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"

Kindly advise , if possible, please.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Edmond Condillac
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of :

sudo dpkg --configure -a

Which is the command given in yyour own initial question?

Thanks

Revision history for this message
Edmond Condillac (econ22) said :
#3

Unexpectedly the problem has gone and Synaptic Package Manager is once again accessible on this machine
There is no output from sudo dpkg --configure -a.

Revision history for this message
Edmond Condillac (econ22) said :
#4

mond@eME732:~$ ubuntu-support-status
Support status summary of 'eME732':

You have 2659 packages (100.0%) that can not/no longer be downloaded
You have 1 packages (0.0%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
mond@eME732:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for mond:
mond@eME732:~$ grep proxy /etc/environment
mond@eME732:~$ echo $http_proxy

mond@eME732:~$ echo $ftp_proxy

mond@eME732:~$ grep proxy /etc/bash.bashrc
mond@eME732:~$ grep proxy ~/.bashrc
mond@eME732:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
mond@eME732:~$ sudo fuser -vvv /var/lib/dpkg/lock
mond@eME732:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"
mond@eME732:~$ uname -a
Linux eME732 3.5.0-43-generic #66-Ubuntu SMP Wed Oct 23 17:33:43 UTC 2013 i686 i686 i686 GNU/Linux
mond@eME732:~$ sudo rm /var/lib/apt/lists/lock
mond@eME732:~$ sudo rm /var/lib/dpkg/lock
mond@eME732:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.back
mond@eME732:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mond@eME732:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
mond@eME732:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
mond@eME732:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
mond@eME732:~$ sudo rm -rf /var/lib/dpkg/updates/*
mond@eME732:~$ sudo rm -rf /var/lib/apt/lists
mond@eME732:~$ sudo rm /var/cache/apt/*.bin
mond@eME732:~$ sudo mkdir /var/lib/apt/lists
mond@eME732:~$ sudo mkdir /var/lib/apt/lists/partial
mond@eME732:~$ LANG=C;sudo apt-get clean
mond@eME732:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
mond@eME732:~$ 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.
mond@eME732:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://archive.ubuntu.com quantal Release.gpg [933 B]
Get:2 http://extras.ubuntu.com quantal Release.gpg [72 B]
Get:3 http://dl.google.com stable Release.gpg [198 B]
Get:4 http://archive.ubuntu.com quantal-updates Release.gpg [933 B]
Get:5 http://extras.ubuntu.com quantal Release [11.9 kB]
Get:6 http://archive.canonical.com oneiric Release.gpg [198 B]
Get:7 http://archive.ubuntu.com quantal-security Release.gpg [933 B]
Get:8 http://dl.google.com stable Release.gpg [198 B]
Get:9 http://archive.ubuntu.com quantal Release [49.6 kB]
Get:10 http://archive.canonical.com oneiric Release [5922 B]
Get:11 http://dl.google.com stable Release [1349 B]
Get:12 http://extras.ubuntu.com quantal/main i386 Packages [3779 B]
Get:13 http://dl.google.com stable Release [1349 B]
Get:14 http://archive.canonical.com oneiric/partner Sources [2656 B]
Get:15 http://archive.ubuntu.com quantal-updates Release [49.6 kB]
Get:16 http://archive.canonical.com oneiric/partner i386 Packages [4537 B]
Get:17 http://www.duinsoft.nl debs Release.gpg [490 B]
Get:18 http://dl.google.com stable/main i386 Packages [1240 B]
Get:19 http://archive.ubuntu.com quantal-security Release [49.6 kB]
Get:20 http://www.duinsoft.nl debs Release [7951 B]
Get:21 http://archive.ubuntu.com quantal/main Sources [872 kB]
Ign http://extras.ubuntu.com quantal/main Translation-en
Get:22 http://www.duinsoft.nl debs/all i386 Packages [1435 B]
Ign http://archive.canonical.com oneiric/partner Translation-en
Ign http://dl.google.com stable/main Translation-en
Ign http://www.duinsoft.nl debs/all Translation-en
Get:23 http://archive.ubuntu.com quantal/multiverse Sources [166 kB]
Get:24 http://archive.ubuntu.com quantal/universe Sources [5522 kB]
Get:25 http://archive.ubuntu.com quantal/main i386 Packages [1136 kB]
Get:26 http://archive.ubuntu.com quantal/multiverse i386 Packages [133 kB]
Get:27 http://archive.ubuntu.com quantal/universe i386 Packages [5285 kB]
Get:28 http://archive.ubuntu.com quantal/main Translation-en [660 kB]
Get:29 http://archive.ubuntu.com quantal/multiverse Translation-en [100 kB]
Get:30 http://archive.ubuntu.com quantal/universe Translation-en [3648 kB]
Get:31 http://archive.ubuntu.com quantal-updates/main Sources [122 kB]
Get:32 http://archive.ubuntu.com quantal-updates/multiverse Sources [4806 B]
Get:33 http://archive.ubuntu.com quantal-updates/universe Sources [93.5 kB]
Get:34 http://archive.ubuntu.com quantal-updates/main i386 Packages [309 kB]
Get:35 http://archive.ubuntu.com quantal-updates/multiverse i386 Packages [12.1 kB]
Get:36 http://archive.ubuntu.com quantal-updates/universe i386 Packages [209 kB]
Get:37 http://archive.ubuntu.com quantal-updates/main Translation-en [153 kB]
Get:38 http://archive.ubuntu.com quantal-updates/multiverse Translation-en [6763 B]
Get:39 http://archive.ubuntu.com quantal-updates/universe Translation-en [109 kB]
Get:40 http://archive.ubuntu.com quantal-security/main Sources [64.2 kB]
Get:41 http://archive.ubuntu.com quantal-security/multiverse Sources [1171 B]
Get:42 http://archive.ubuntu.com quantal-security/universe Sources [22.1 kB]
Get:43 http://archive.ubuntu.com quantal-security/main i386 Packages [181 kB]
Get:44 http://archive.ubuntu.com quantal-security/multiverse i386 Packages [1726 B]
Get:45 http://archive.ubuntu.com quantal-security/universe i386 Packages [64.8 kB]
Get:46 http://archive.ubuntu.com quantal-security/main Translation-en [92.9 kB]
Get:47 http://archive.ubuntu.com quantal-security/multiverse Translation-en [902 B]
Get:48 http://archive.ubuntu.com quantal-security/universe Translation-en [39.3 kB]
Fetched 19.2 MB in 19s (984 kB/s)
W: Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release Unable to find expected entry 'non-free/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
mond@eME732:~$ sudo dpkg --configure -a
mond@eME732:~$ sudo dpkg --clear-avail
mond@eME732:~$ 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 3 not upgraded.
mond@eME732:~$ 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 3 not upgraded.
mond@eME732:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit http://extras.ubuntu.com quantal Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://extras.ubuntu.com quantal Release
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://archive.ubuntu.com quantal Release.gpg
Hit http://extras.ubuntu.com quantal/main i386 Packages
Hit http://archive.canonical.com oneiric Release
Hit http://dl.google.com stable Release
Hit http://archive.ubuntu.com quantal-updates Release.gpg
Hit http://dl.google.com stable Release
Hit http://archive.ubuntu.com quantal-security Release.gpg
Hit http://archive.canonical.com oneiric/partner Sources
Hit http://archive.ubuntu.com quantal Release
Hit http://dl.google.com stable/main i386 Packages
Hit http://www.duinsoft.nl debs Release.gpg
Hit http://archive.canonical.com oneiric/partner i386 Packages
Ign http://extras.ubuntu.com quantal/main Translation-en
Hit http://archive.ubuntu.com quantal-updates Release
Hit http://archive.ubuntu.com quantal-security Release
Hit http://www.duinsoft.nl debs Release
Hit http://archive.ubuntu.com quantal/main Sources
Hit http://archive.ubuntu.com quantal/multiverse Sources
Hit http://archive.ubuntu.com quantal/universe Sources
Ign http://dl.google.com stable/main Translation-en
Hit http://www.duinsoft.nl debs/all i386 Packages
Hit http://archive.ubuntu.com quantal/main i386 Packages
Hit http://archive.ubuntu.com quantal/multiverse i386 Packages
Ign http://archive.canonical.com oneiric/partner Translation-en
Hit http://archive.ubuntu.com quantal/universe i386 Packages
Hit http://archive.ubuntu.com quantal/main Translation-en
Hit http://archive.ubuntu.com quantal/multiverse Translation-en
Hit http://archive.ubuntu.com quantal/universe Translation-en
Hit http://archive.ubuntu.com quantal-updates/main Sources
Hit http://archive.ubuntu.com quantal-updates/multiverse Sources
Hit http://archive.ubuntu.com quantal-updates/universe Sources
Hit http://archive.ubuntu.com quantal-updates/main i386 Packages
Hit http://archive.ubuntu.com quantal-updates/multiverse i386 Packages
Ign http://www.duinsoft.nl debs/all Translation-en
Hit http://archive.ubuntu.com quantal-updates/universe i386 Packages
Hit http://archive.ubuntu.com quantal-updates/main Translation-en
Hit http://archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-updates/universe Translation-en
Hit http://archive.ubuntu.com quantal-security/main Sources
Hit http://archive.ubuntu.com quantal-security/multiverse Sources
Hit http://archive.ubuntu.com quantal-security/universe Sources
Hit http://archive.ubuntu.com quantal-security/main i386 Packages
Hit http://archive.ubuntu.com quantal-security/multiverse i386 Packages
Hit http://archive.ubuntu.com quantal-security/universe i386 Packages
Hit http://archive.ubuntu.com quantal-security/main Translation-en
Hit http://archive.ubuntu.com quantal-security/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-security/universe Translation-en
W: Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release Unable to find expected entry 'non-free/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

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

/etc/apt/sources.list.d/yannubuntu-boot-repair-quantal.list

     1 # deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu quantal main
     2 # deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu quantal main

/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

/etc/apt/sources.list.d/tualatrix-ppa-precise.list

     1 # deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu quantal main # disabled on upgrade to quantal
     2 # deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu quantal main # disabled on upgrade to quantal

/etc/apt/sources.list.d/ubuntu-mozilla-daily-ppa-quantal.list

     1 # deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu quantal main
     2 # deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu quantal main

/etc/apt/sources.list.d/bzr-explorer-dev-ppa-quantal.list

     1 # deb http://ppa.launchpad.net/bzr-explorer-dev/ppa/ubuntu quantal main
     2 # deb-src http://ppa.launchpad.net/bzr-explorer-dev/ppa/ubuntu quantal main

/etc/apt/sources.list.d/google-chrome.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric 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 quantal main multiverse
     6 deb-src http://archive.ubuntu.com/ubuntu quantal main multiverse
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu quantal-updates main multiverse
    11 deb-src http://archive.ubuntu.com/ubuntu quantal-updates main multiverse
    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 quantal universe
    17 deb-src http://archive.ubuntu.com/ubuntu quantal universe
    18 deb http://archive.ubuntu.com/ubuntu quantal-updates universe
    19 deb-src http://archive.ubuntu.com/ubuntu quantal-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
    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
    33 deb http://archive.ubuntu.com/ubuntu quantal-security main multiverse
    34 deb-src http://archive.ubuntu.com/ubuntu quantal-security main multiverse
    35 deb http://archive.ubuntu.com/ubuntu quantal-security universe
    36 deb-src http://archive.ubuntu.com/ubuntu quantal-security universe
    37
    38 ## Uncomment the following two lines to add software from Canonical's
    39 ## 'partner' repository.
    40 ## This software is not part of Ubuntu, but is offered by Canonical and the
    41 ## respective vendors as a service to Ubuntu users.
    42 deb http://archive.canonical.com/ubuntu oneiric partner
    43 deb-src http://archive.canonical.com/ubuntu oneiric partner
    44
    45 ## This software is not part of Ubuntu, but is offered by third-party
    46 ## developers who want to ship their latest software.
    47 deb http://extras.ubuntu.com/ubuntu quantal main
    48 # deb-src http://extras.ubuntu.com/ubuntu quantal main
    49 # Google Repository
    50 deb http://dl.google.com/linux/deb/ stable non-free main
    51 deb http://www.duinsoft.nl/pkg debs all
    52 # deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
    53 # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
mond@eME732:~$