'Error Broken Count > 0' | Installed packages have unmet dependencies
This is in a fresh ubuntu install. dist-upgraded (No PPAs are used). Yesterday I tried to install ubuntu-
I've followed the PackageManagerT
Log started: 2014-09-13 21:34:12
(Reading database ... ^M(Reading database ... 100%^M(Reading database .. . 199432 files and directories currently installed.)^M
Preparing to unpack .../php5-
Unpacking php5-common (5.5.9+
dpkg: error processing archive /var/cache/
unable to make backup symlink for `./usr/
Preparing to unpack .../php5-
Unpacking php5-cli (5.5.9+
dpkg: error processing archive /var/cache/
unable to make backup symlink for `./usr/
Preparing to unpack .../php5-
Unpacking php5-gd (5.5.9+
dpkg: error processing archive /var/cache/
unable to make backup symlink for `./usr/
Preparing to unpack .../php5-
Unpacking php5-readline (5.5.9+
dpkg: error processing archive /var/cache/
unable to make backup symlink for `./usr/
Processing triggers for man-db (2.6.7.1-1) ...^M
Errors were encountered while processing:^M
/var/cache/
/var/cache/
/var/cache/
/var/cache/
Log ended: 2014-09-13 21:34:18
#################
$ ubuntu-
Support status summary of 'ubuntu':
You have 4 packages (0.2%) supported until June 2015 (9m)
You have 21 packages (1.1%) supported until February 2015 (9m)
You have 1741 packages (95.3%) supported until May 2019 (5y)
You have 35 packages (1.9%) supported until May 2017 (3y)
You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 26 packages (1.4%) that are unsupported
No longer downloadable:
Unsupported:
flashplugin-
gstreamer0.
gstreamer1.
gstreamer1.
iotop libgme0 libgstreamer-
libgstreamer-
libwildmidi-config libwildmidi1 libzbar0 lm-sensors
phoronix-test-suite python3-checkbox smem sysbench
ubuntu-
################# NO OUTPUT
$ cat: /etc/dpkg/
$ dpkg --print-
$ 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: No such file or directory
$ sudo fuser -vvv /var/lib/dpkg/lock
$ sudo fuser -vvv /var/cache/
#################
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
#################
$ uname -a
Linux ubuntu 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:01 UTC 2014 i686 i686 i686 GNU/Linux
################# EMPTY FILES
/var/lib/
/var/cache/
/var/lib/dpkg/lock
################# DONE
sudo cp -arf /var/lib/dpkg /var/lib/
sudo mv /var/lib/
sudo cp /var/lib/
sudo mv /var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
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
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
phoronix-
php5-json : Depends: phpapi-20121212+lfs but it is not installable
E: Unmet dependencies. Try using -f.
#################
$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
Ign http://
...
Reading package lists... Done
#################
$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of php5-json:
php5-json depends on phpapi-
Package phpapi-20121212+lfs is not installed.
dpkg: error processing package php5-json (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of phoronix-
phoronix-
Package php5-cli is not installed.
phoronix-
Package php5-gd is not installed.
dpkg: error processing package phoronix-test-suite (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
php5-json
phoronix-
#################
$ sudo dpkg --clear-avail
#################
$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
php5-cli php5-common php5-gd php5-readline
Suggested packages:
php-pear php5-user-cache
The following NEW packages will be installed:
php5-cli php5-common php5-gd php5-readline
0 upgraded, 4 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
Need to get 2,634 kB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 2,634 kB in 46s (56.6 kB/s)
(Reading database ... 199429 files and directories currently installed.)
Preparing to unpack .../php5-
Unpacking php5-common (5.5.9+
dpkg: error processing archive /var/cache/
unable to make backup symlink for `./usr/
No apport report written because the error message indicates an issue on the local system
Unpacking php5-cli (5.5.9+
dpkg: error processing archive /var/cache/
unable to make backup symlink for `./usr/
No apport report written because the error message indicates an issue on the local system
Unpacking php5-gd (5.5.9+
dpkg: error processing archive /var/cache/
unable to make backup symlink for `./usr/
No apport report written because the error message indicates an issue on the local system
Unpacking php5-readline (5.5.9+
dpkg: error processing archive /var/cache/
unable to make backup symlink for `./usr/
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/
/var/cache/
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
#################
$ LANG=C;sudo apt-get --fix-missing install
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:
phoronix-
php5-json : Depends: phpapi-20121212+lfs
E: Unmet dependencies. Try using -f.
#################
$ LANG=C;sudo apt-get update -o APT::Cache-
...
Fetched 59.7 kB in 29s (2,013 B/s)
Reading package lists... Done
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:
phoronix-
php5-json : Depends: phpapi-20121212+lfs
E: Unmet dependencies. Try using -f.
#################
$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 # deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release i386 (20140417)]/ trusty main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
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://
17 deb-src http://
18 deb http://
19 deb-src http://
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://
27 deb-src http://
28 deb http://
29 deb-src http://
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 deb http://
37 deb-src http://
38
39 deb http://
40 deb-src http://
41 deb http://
42 deb-src http://
43 deb http://
44 deb-src http://
45
46 ## Uncomment the following two lines to add software from Canonical's
47 ## 'partner' repository.
48 ## This software is not part of Ubuntu, but is offered by Canonical and the
49 ## respective vendors as a service to Ubuntu users.
50 deb http://
51 deb-src http://
52
53 ## Uncomment the following two lines to add software from Ubuntu's
54 ## 'extras' repository.
55 ## This software is not part of Ubuntu, but is offered by third-party
56 ## developers who want to ship their latest software.
57 # deb http://
58 # deb-src http://
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Gayan Weerakutti
- Solved:
- Last query:
- Last reply: