Package Manager Trouble

Asked by David

sudo apt-get update was returning an error:

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

So, I followed the instructions given at:
https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

As instructed, I unchecked ALL ppa repositories from the Package Manager, but for some reason they were still referred to during updates.

The following is the Full Terminal Output of the Diagnostic Commands.
I have placed dashes ----------------------- between each command output .

hienz1@Kickass:/$ ubuntu-support-status
Support status summary of 'Kickass':

You have 249 packages (9.8%) supported until May 2017 (3y)
You have 171 packages (6.8%) supported until February 2015 (9m)
You have 1856 packages (73.3%) supported until May 2019 (5y)
You have 52 packages (2.1%) supported until June 2017 (9m)

You have 28 packages (1.1%) that can not/no-longer be downloaded
You have 175 packages (6.9%) that are unsupported

WARNING: Security updates for your current Hardware Enablement Stack
ended on 2016-08-04:
 * http://wiki.ubuntu.com/1404_HWE_EOL

There is a graphics stack installed on this system. An upgrade to a
configuration supported for the full lifetime of the LTS will become
available on 2016-07-21 and can be installed by running 'update-manager'
in the Dash.

Run with --show-unsupported, --show-supported or --show-all to see more details

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ dpkg --print-foreign-architectures
i386

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo grep -R proxy /etc/apt/*

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ grep proxy /etc/environment

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ echo $http_proxy

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ echo $ftp_proxy

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ grep proxy /etc/bash.bashrc

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ grep proxy ~/.bashrc

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo fuser -vvv /var/lib/dpkg/lock

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo fuser -vvv /var/cache/apt/archives/lock

hienz1@Kickass:/$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ uname -a
Linux Kickass 3.19.0-69-generic #77~14.04.1-Ubuntu SMP Tue Aug 30 01:29:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo rm /var/lib/apt/lists/lock

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo rm /var/cache/apt/archives/lock

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo rm /var/lib/dpkg/lock

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkgstatus || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo rm -rf /var/lib/dpkg/updates/*

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo rm -rf /var/lib/apt/lists

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo rm /var/cache/apt/*.bin

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo mkdir /var/lib/apt/lists

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo mkdir /var/lib/apt/lists/partial

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ LANG=C;sudo apt-get clean

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ LANG=C;sudo apt-get autoclean
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo dpkg --configure -a
dpkg: error: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo dpkg --clear-avail

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ LANG=C;sudo apt-get -f install
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://www.mediahuman.com trusty InRelease [2796 B]
Get:2 http://www.mediahuman.com trusty/main Sources [20 B]
Get:3 http://www.mediahuman.com trusty/main amd64 Packages [746 B]
Get:4 http://www.mediahuman.com trusty/main i386 Packages [750 B]
Ign http://www.mediahuman.com trusty/main Translation-en
Ign http://extras.ubuntu.com trusty InRelease
Get:5 http://extras.ubuntu.com trusty Release.gpg [72 B]
Get:6 http://extras.ubuntu.com trusty Release [11.9 kB]
Get:7 http://extras.ubuntu.com trusty/main Sources [14 B]
Get:8 http://extras.ubuntu.com trusty/main amd64 Packages [14 B]
Get:9 http://extras.ubuntu.com trusty/main i386 Packages [14 B]
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://archive.canonical.com trusty InRelease
Get:10 http://archive.canonical.com trusty Release.gpg [933 B]
Get:11 http://archive.canonical.com trusty Release [9359 B]
Get:12 http://archive.canonical.com trusty/partner Sources [10.0 kB]
Get:13 http://archive.canonical.com trusty/partner amd64 Packages [5601 B]
Get:14 http://archive.canonical.com trusty/partner i386 Packages [6278 B]
Get:15 http://archive.canonical.com trusty/partner Translation-en [4593 B]
Ign http://archive.ubuntu.com trusty InRelease
Get:16 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:17 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Get:18 http://archive.ubuntu.com trusty-proposed InRelease [65.9 kB]
Get:19 http://archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Get:20 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:21 http://archive.ubuntu.com trusty-updates/main Sources [381 kB]
Get:22 http://archive.ubuntu.com trusty-updates/restricted Sources [5360 B]
Get:23 http://archive.ubuntu.com trusty-updates/universe Sources [164 kB]
Ign https://private-ppa.launchpad.net trusty InRelease
Ign https://deb.opera.com stable InRelease
Get:24 http://archive.ubuntu.com trusty-updates/multiverse Sources [7126 B]
Get:25 http://archive.ubuntu.com trusty-updates/main amd64 Packages [892 kB]
Get:26 http://deb.playonlinux.com trusty InRelease [1950 B]
Get:27 http://deb.playonlinux.com trusty/main amd64 Packages [565 B]
Get:28 http://deb.playonlinux.com trusty/main i386 Packages [565 B]
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign http://deb.playonlinux.com trusty/main Translation-en
Get:29 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:30 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [374 kB]
Get:31 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.8 kB]
Get:32 http://archive.ubuntu.com trusty-updates/main i386 Packages [855 kB]
Ign https://deb.opera.com stable/non-free Translation-en
Get:33 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:34 http://archive.ubuntu.com trusty-updates/universe i386 Packages [375 kB]
Get:35 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.2 kB]
Get:36 http://archive.ubuntu.com trusty-updates/main Translation-en [432 kB]
Get:37 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [7661 B]
Get:38 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3699 B]
Get:39 http://archive.ubuntu.com trusty-updates/universe Translation-en [198 kB]
Get:40 http://archive.ubuntu.com trusty-security/main Sources [120 kB]
Get:41 http://archive.ubuntu.com trusty-security/restricted Sources [4064 B]
Get:42 http://archive.ubuntu.com trusty-security/universe Sources [41.8 kB]
Get:43 http://archive.ubuntu.com trusty-security/multiverse Sources [2749 B]
Get:44 http://archive.ubuntu.com trusty-security/main amd64 Packages [524 kB]
Get:45 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Get:46 http://archive.ubuntu.com trusty-security/universe amd64 Packages [136 kB]
Get:47 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [4995 B]
Get:48 http://archive.ubuntu.com trusty-security/main i386 Packages [487 kB]
Get:49 http://archive.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Get:50 http://archive.ubuntu.com trusty-security/universe i386 Packages [136 kB]
Get:51 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [5159 B]
Get:52 http://archive.ubuntu.com trusty-security/main Translation-en [288 kB]
Get:53 http://archive.ubuntu.com trusty-security/multiverse Translation-en [2570 B]
Get:54 http://archive.ubuntu.com trusty-security/restricted Translation-en [3206 B]
Get:55 http://archive.ubuntu.com trusty-security/universe Translation-en [81.5 kB]
Get:56 http://archive.ubuntu.com trusty-proposed/main amd64 Packages [104 kB]
Get:57 http://archive.ubuntu.com trusty-proposed/restricted amd64 Packages [28 B]
Get:58 http://archive.ubuntu.com trusty-proposed/universe amd64 Packages [12.6 kB]
Get:59 http://archive.ubuntu.com trusty-proposed/multiverse amd64 Packages [28 B]
Get:60 http://archive.ubuntu.com trusty-proposed/main i386 Packages [100 kB]
Get:61 http://archive.ubuntu.com trusty-proposed/restricted i386 Packages [28 B]
Get:62 http://archive.ubuntu.com trusty-proposed/universe i386 Packages [12.6 kB]
Get:63 http://archive.ubuntu.com trusty-proposed/multiverse i386 Packages [28 B]
Get:64 http://archive.ubuntu.com trusty-proposed/main Translation-en [37.2 kB]
Get:65 http://archive.ubuntu.com trusty-proposed/multiverse Translation-en [28 B]
Get:66 http://archive.ubuntu.com trusty-proposed/restricted Translation-en [28 B]
Get:67 http://archive.ubuntu.com trusty-proposed/universe Translation-en [14.1 kB]
Get:68 http://archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:69 http://archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:70 http://archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:71 http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1571 B]
Get:72 http://archive.ubuntu.com trusty-backports/main i386 Packages [13.3 kB]
Get:73 http://archive.ubuntu.com trusty-backports/restricted i386 Packages [28 B]
Get:74 http://archive.ubuntu.com trusty-backports/universe i386 Packages [43.2 kB]
Get:75 http://archive.ubuntu.com trusty-backports/multiverse i386 Packages [1552 B]
Get:76 http://archive.ubuntu.com trusty-backports/main Translation-en [7493 B]
Get:77 http://archive.ubuntu.com trusty-backports/multiverse Translation-en [1215 B]
Get:78 http://archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:79 http://archive.ubuntu.com trusty-backports/universe Translation-en [36.8 kB]
Get:80 http://archive.ubuntu.com trusty Release [58.5 kB]
Ign http://ppa.launchpad.net karmic InRelease
Get:81 http://archive.ubuntu.com trusty/main Sources [1064 kB]
Get:82 http://ppa.launchpad.net karmic Release.gpg [307 B]
Get:83 http://ppa.launchpad.net karmic Release [66.0 kB]
Get:84 http://ppa.launchpad.net karmic/main Sources [1016 B]
Get:85 http://ppa.launchpad.net karmic/main amd64 Packages [3972 B]
Get:86 http://ppa.launchpad.net karmic/main i386 Packages [3967 B]
Ign http://ppa.launchpad.net karmic/main Translation-en
Get:87 http://archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:88 http://archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:89 http://archive.ubuntu.com trusty/multiverse Sources [174 kB]
Get:90 http://archive.ubuntu.com trusty/main amd64 Packages [1350 kB]
Get:91 http://archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
Get:92 http://archive.ubuntu.com trusty/universe amd64 Packages [5859 kB]
Get:93 http://archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]
Get:94 http://archive.ubuntu.com trusty/main i386 Packages [1348 kB]
Get:95 http://archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:96 http://archive.ubuntu.com trusty/universe i386 Packages [5866 kB]
Get:97 http://archive.ubuntu.com trusty/multiverse i386 Packages [134 kB]
Get:98 http://archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:99 http://archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:100 http://archive.ubuntu.com trusty/restricted Translation-en [3457 B]
Get:101 http://archive.ubuntu.com trusty/universe Translation-en [4089 kB]
Fetched 33.9 MB in 1min 6s (511 kB/s)
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit http://www.mediahuman.com trusty InRelease
Hit http://www.mediahuman.com trusty/main Sources
Hit http://www.mediahuman.com trusty/main amd64 Packages
Hit http://www.mediahuman.com trusty/main i386 Packages
Ign http://www.mediahuman.com trusty/main Translation-en
Ign http://extras.ubuntu.com trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty-proposed InRelease
Hit http://archive.ubuntu.com trusty-backports InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty-updates/main Sources
Hit http://archive.ubuntu.com trusty-updates/restricted Sources
Ign http://archive.canonical.com trusty InRelease
Hit http://archive.ubuntu.com trusty-updates/universe Sources
Hit http://archive.canonical.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://archive.canonical.com trusty Release
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://archive.canonical.com trusty/partner Sources
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://archive.canonical.com trusty/partner Translation-en
Hit http://archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/multiverse Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-security/main i386 Packages
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty-security/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-security/universe i386 Packages
Hit http://archive.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://deb.playonlinux.com trusty InRelease
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Hit http://deb.playonlinux.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty-proposed/main amd64 Packages
Hit http://deb.playonlinux.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty-proposed/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-proposed/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-proposed/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-proposed/main i386 Packages
Hit http://archive.ubuntu.com trusty-proposed/restricted i386 Packages
Ign http://deb.playonlinux.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty-proposed/universe i386 Packages
Hit http://archive.ubuntu.com trusty-proposed/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-proposed/main Translation-en
Hit http://archive.ubuntu.com trusty-proposed/multiverse Translation-en
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://archive.ubuntu.com trusty-proposed/restricted Translation-en
Hit https://private-ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-proposed/universe Translation-en
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Ign https://deb.opera.com stable/non-free Translation-en
Ign http://ppa.launchpad.net karmic InRelease
Hit http://ppa.launchpad.net karmic Release.gpg
Hit http://ppa.launchpad.net karmic Release
Hit http://ppa.launchpad.net karmic/main Sources
Hit http://ppa.launchpad.net karmic/main amd64 Packages
Hit http://ppa.launchpad.net karmic/main i386 Packages
Ign http://ppa.launchpad.net karmic/main Translation-en
Fetched 6248 B in 26s (235 B/s)
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Xubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main multiverse restricted universe
     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 trusty main restricted
     6 deb-src http://archive.ubuntu.com/ubuntu trusty main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted
    11 deb-src http://archive.ubuntu.com/ubuntu trusty-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 trusty universe
    17 deb-src http://archive.ubuntu.com/ubuntu trusty universe
    18 deb http://archive.ubuntu.com/ubuntu trusty-updates universe
    19 deb-src http://archive.ubuntu.com/ubuntu trusty-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 trusty multiverse
    27 deb-src http://archive.ubuntu.com/ubuntu trusty multiverse
    28 deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse
    29 deb-src http://archive.ubuntu.com/ubuntu trusty-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36
    37 deb http://archive.ubuntu.com/ubuntu trusty-security main restricted
    38 deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted
    39 deb http://archive.ubuntu.com/ubuntu trusty-security universe
    40 deb-src http://archive.ubuntu.com/ubuntu trusty-security universe
    41 deb http://archive.ubuntu.com/ubuntu trusty-security multiverse
    42 deb-src http://archive.ubuntu.com/ubuntu trusty-security multiverse
    43
    44 ## Uncomment the following two lines to add software from Canonical's
    45 ## 'partner' repository.
    46 ## This software is not part of Ubuntu, but is offered by Canonical and the
    47 ## respective vendors as a service to Ubuntu users.
    48 deb http://archive.canonical.com/ubuntu trusty partner
    49 deb-src http://archive.canonical.com/ubuntu trusty partner
    50
    51 ## This software is not part of Ubuntu, but is offered by third-party
    52 ## developers who want to ship their latest software.
    53 deb http://extras.ubuntu.com/ubuntu trusty main
    54 deb-src http://extras.ubuntu.com/ubuntu trusty main
    55 deb http://www.mediahuman.com/packages/ubuntu trusty main
    56 deb-src http://www.mediahuman.com/packages/ubuntu trusty main
    57 deb http://archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse
    58 deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse

/etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_youtube-to-mp3_ubuntu.list

     1 deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/youtube-to-mp3/ubuntu trusty main #Added by software-center; credentials stored in /etc/apt/auth.conf

/etc/apt/sources.list.d/steam.list

     1 # deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
     2 # deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam

/etc/apt/sources.list.d/ubuntuhandbook1-dvdstyler-trusty.list

     1 # deb http://ppa.launchpad.net/ubuntuhandbook1/dvdstyler/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/ubuntuhandbook1/dvdstyler/ubuntu trusty main

/etc/apt/sources.list.d/sunab-kdenlive-release-trusty.list

     1 # deb http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu trusty main

/etc/apt/sources.list.d/wine-wine-builds-trusty.list

     1 # deb http://ppa.launchpad.net/wine/wine-builds/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/wine/wine-builds/ubuntu trusty main

/etc/apt/sources.list.d/opera-stable.list

     1 # This file makes sure that Opera Browser is kept up-to-date
     2 # as part of regular system upgrades
     3
     4 deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)

/etc/apt/sources.list.d/abiword-stable-ppa-sources.list

     1 # AbiWord (Stable Upstream) PPA sources
     2 deb http://ppa.launchpad.net/abiword-stable/ppa/ubuntu karmic main #AbiWord Packages (Stable Upstream)
     3 deb-src http://ppa.launchpad.net/abiword-stable/ppa/ubuntu karmic main #AbiWord Packages (Stable Upstream)
     4

/etc/apt/sources.list.d/playonlinux.list

     1 deb http://deb.playonlinux.com/ trusty main

/etc/apt/sources.list.d/openshot_developers-libopenshot-daily-trusty.list

------------------------------------------------------------------------------------------------
hienz1@Kickass:/$ sudo dpkg --audit
dpkg: error: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory

hienz1@Kickass:/$

Question information

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

What is the output of:

ls /var/lib/dpkg | grep status

Thanks

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

Your Terminal output shows this issue:

hienz1@Kickass:/$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkgstatus || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status

You mistyped the original command.... There is a / missing between dpkg and status.

Please try to correct it using this command:

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status

Use COPY-PASTE to avoid typing mistakes, please.

Revision history for this message
David (hienz1) said :
#3

This solved my problem. I have since backed up all data, and wiped the drive clean, then installed Xubuntu 16.04.1 LTS. Perhaps we can just delete this question altogether

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

"Perhaps we can just delete this question altogether" -> No, we will not delete this question.

The whole point of Launchpad is to share information and to help others who might find themselves in a similar situation in the future. It is hard to help others, if any troubleshooting information is deleted on this forum.