Problem with apt-get upgrade

Asked by Bista Nirooj

when i try "$ sudo apt-get upgrade" It gives following output....
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:
 hplip : Depends: hplip-data (= 3.14.3-0ubuntu3.2) but 3.14.3-0ubuntu3 is installed
 liboxideqtcore0 : Depends: oxideqt-codecs (= 1.0.0~bzr501-0ubuntu1) but 1.0.0~bzr501-0ubuntu2 is installed or
                            oxideqt-codecs-extra (= 1.0.0~bzr501-0ubuntu1) but it is not installed
E: Unmet dependencies. Try using -f.

Question information

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

What is the output of :

apt-cache policy hplip-data liboxideqtcore0 oxideqt-codecs; lsb_release -a; uname -a

Thanks

Revision history for this message
Bista Nirooj (nirooj56) said :
#2

The output are as follows:-
nirooj56@nirooj56:~$ apt-cache policy hplip-data liboxideqtcore0 oxideqt-codecs
hplip-data:
  Installed: 3.14.3-0ubuntu3
  Candidate: 3.14.3-0ubuntu3.2
  Version table:
     3.14.3-0ubuntu3.2 0
        500 http://np.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
 *** 3.14.3-0ubuntu3 0
        500 http://np.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
liboxideqtcore0:
  Installed: 1.0.0~bzr501-0ubuntu1
  Candidate: 1.0.0~bzr501-0ubuntu2
  Version table:
     1.0.0~bzr501-0ubuntu2 0
        500 http://np.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
 *** 1.0.0~bzr501-0ubuntu1 0
        500 http://np.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
oxideqt-codecs:
  Installed: 1.0.0~bzr501-0ubuntu2
  Candidate: 1.0.0~bzr501-0ubuntu2
  Version table:
 *** 1.0.0~bzr501-0ubuntu2 0
        500 http://np.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.0.0~bzr501-0ubuntu1 0
        500 http://np.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

nirooj56@nirooj56:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

nirooj56@nirooj56:~$ uname -a
Linux nirooj56 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Thanx for responding!!!!

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Try the following terminal commands:

sudo rm /var/cache/apt/archives/hplip-data_3.14.3-0ubuntu3.2_all.deb
sudo dpkg --purge hplip-data
sudo dpkg --configure -a
sudo apt-get install -f

Finally select all output and copy/paste into this question document as done before.

Revision history for this message
Bista Nirooj (nirooj56) said :
#4

Sry for taking your time guys.. I contnot find its solution anywhere so i had my ubuntu reinstalled.. In hope this problem would be gone!!!!