can't reinstall evince - unmet dependencies (Ubuntu 14.04)

Asked by Iwan Iwanov

Please help!

I have some PDF files, which I created in gscan2pdf from multiple .jpg files. The files' names were in Cyrillic. I deleted the folder with those files by mistake and then recovered the folder using photorec. Could not open the files after the recovery. Checked the Ubuntu forums where someone advised to reinstall the evince (PDF Document Viewer and Print Preview). I deleted the packages but cannot anymore install them back - unmet dependencies error.

Below is the Terminal output when I tried to install Evince:

XXX: sudo apt-get install evince
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 evince : Depends: libevdocument3-4 (= 3.10.3-0ubuntu10) but 3.10.3-0ubuntu10.2 is to be installed
          Depends: libevview3-3 (= 3.10.3-0ubuntu10) but 3.10.3-0ubuntu10.2 is to be installed
E: Unable to correct problems, you have held broken packages.

I have 2 questions:

1) how to install the Evince back?
2) how to be able to view the recovered pdf's?

Thanks in advance!

Looking forward to your reply!

Question information

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

What is the output of:

lsb_release -a; uname -a; apt-cache policy evince

Thanks

You could use one of the many PDF readers available in Ubuntu. There is more than one option....

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#2

Thanks for a prompt reply!

This is the output you were asking about:

~$ lsb_release -a; apt-cache policy evince
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
evince:
  Installed: (none)
  Candidate: 3.10.3-0ubuntu10
  Version table:
     3.10.3-0ubuntu10.2 0
        100 /var/lib/dpkg/status
     3.10.3-0ubuntu10 0
        500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

I've already installed another package - MuPDF. But I am not happy with it. I would still prefer to get evince back. Plus I am not an advanced user - I cannot compile packages myself, just execute a command line in Terminal (which someone else wrote :)), so I prefer a full functioning GUI app.

Looking forward to your reply.

Thanks in advance!

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

OK and what is the output of:

apt-cache policy libevdocument3-4 libevview3-3

Thanks

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#4

Just ran this command:

sudo apt-get install lsb-core

The Terminal output:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 evince : Depends: libevdocument3-4 (= 3.10.3-0ubuntu10) but 3.10.3-0ubuntu10.2 is to be installed
          Depends: libevview3-3 (= 3.10.3-0ubuntu10) but 3.10.3-0ubuntu10.2 is to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#5

~$ apt-cache policy libevdocument3-4 libevview3-3
libevdocument3-4:
  Installed: 3.10.3-0ubuntu10.2
  Candidate: 3.10.3-0ubuntu10.2
  Version table:
 *** 3.10.3-0ubuntu10.2 0
        100 /var/lib/dpkg/status
     3.10.3-0ubuntu10 0
        500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libevview3-3:
  Installed: 3.10.3-0ubuntu10.2
  Candidate: 3.10.3-0ubuntu10.2
  Version table:
 *** 3.10.3-0ubuntu10.2 0
        100 /var/lib/dpkg/status
     3.10.3-0ubuntu10 0
        500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

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

OK, if you run:

sudo apt-get install libevview3-3

Does it install OK?

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#7

~$ sudo apt-get install libevview3-3
Reading package lists... Done
Building dependency tree
Reading state information... Done
libevview3-3 is already the newest version.
The following packages were automatically installed and are no longer required:
  firefox-locale-nl libatk1.0-0:i386 libcairo2:i386 libgcroots0:i386
  libgdk-pixbuf2.0-0:i386 libgraphite2-3:i386 libgtk2.0-0:i386
  libharfbuzz0b:i386 libhdb9-heimdal libjasper1:i386 libkdc2-heimdal
  libllvm3.4:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386
  libpangoft2-1.0-0:i386 libpixman-1-0:i386 libxcb-render0:i386
  libxcb-shm0:i386 linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic
  linux-headers-3.13.0-58 linux-headers-3.13.0-58-generic
  linux-image-3.13.0-32-generic linux-image-3.13.0-58-generic
  linux-image-extra-3.13.0-32-generic linux-image-extra-3.13.0-58-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

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

OK, run:

sudo apt-get --purge autoremove

To clear that lot up.

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

If you run:

sudo apt-get clean
sudo apt-get update
sudo apt-get install libevdocument3-4

Does it install OK

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#10

Cleaned up, updated.

~$ sudo apt-get install libevdocument3-4
Reading package lists... Done
Building dependency tree
Reading state information... Done
libevdocument3-4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

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

If you run:

sudo apt-get install evince

Does it install now?

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#12

~$ sudo apt-get install evince
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 evince : Depends: libevdocument3-4 (= 3.10.3-0ubuntu10) but 3.10.3-0ubuntu10.2 is to be installed
          Depends: libevview3-3 (= 3.10.3-0ubuntu10) but 3.10.3-0ubuntu10.2 is to be installed
E: Unable to correct problems, you have held broken packages.

:((

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

I suggest you report a bug. There is a dependency issue

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#14

OK, I will. Thanks for help!

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#15

Thanks actionparsnip, that solved my question.

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

Do you have the trusty-updates and/or trusty-security repositories enabled, or even more, did you have them enabled once, and disabled them later?

I assume that (re-)enabling trusty-updates and reloading the repository inventory (sudo apt-get update) will allow installing evince.

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#17

Manfred, thanks a lot!

Indeed the trusty-updates were disabled. No everything is OK.

Many thanks once again!

Revision history for this message
Iwan Iwanov (iwan0000iwanov) said :
#18

Manfred, thanks a lot!

Indeed the trusty-updates were disabled. No everything is OK.

Many thanks once again!