evince-common update error

Bug #785762 reported by waspbloke
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ugr-ebuild
Fix Released
Medium
JC Hulce
ugr-seeds
Won't Fix
Low
Unassigned

Bug Description

New versions of evince and evince-common by the GNOME 3 team will not upgrade correctly from certain versions. We cannot easily fix this bug.

Workaround:
sudo apt-get install evince

I had the 'partial upgrade' bug and got round it with apt-get -f dist-upgrade. However, during the upgrade and now after a reboot I have this remaining package which fails to install.

(Reading database ... 148416 files and directories currently installed.)
Preparing to replace evince-common 3.0.0-0ubuntu1~build1 (using .../evince-common_3.0.0-4ubuntu1~natty1_all.deb) ...
Unpacking replacement evince-common ...
dpkg: error processing /var/cache/apt/archives/evince-common_3.0.0-4ubuntu1~natty1_all.deb (--unpack):
 trying to overwrite '/usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml', which is also in package evince 3.0.0-0ubuntu1~build1
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Processing triggers for libglib2.0-0 ...
Errors were encountered while processing:
 /var/cache/apt/archives/evince-common_3.0.0-4ubuntu1~natty1_all.deb
Setting up libbrasero-media3-1 (3.0.0-1ubuntu1~natty1) ...
Setting up evolution-data-server-common (3.0.0-1ubuntu1~natty1) ...
Setting up libgweather-3-0 (3.0.0-0ubuntu1~natty1) ...
Setting up libgtkhtml-4.0-common (4.0.0-1~build1) ...
Setting up libtracker-client-0.8-0 (0.8.17-1ubuntu2) ...
Setting up libebackend-1.2-1 (3.0.0-1ubuntu1~natty1) ...
Setting up brasero-cdrkit (3.0.0-1ubuntu1~natty1) ...
Setting up libgtkhtml-4.0-0 (4.0.0-1~build1) ...
Setting up libgtkhtml-editor-4.0-0 (4.0.0-1~build1) ...
Setting up liblqr-1-0 (0.4.1-1ubuntu2) ...
Setting up libcamel-1.2-23 (3.0.0-1ubuntu1~natty1) ...
Setting up evolution-common (3.0.0-2ubuntu1~natty1) ...
Setting up libmagickcore3 (7:6.6.2.6-1ubuntu4) ...
Setting up libebook1.2-10 (3.0.0-1ubuntu1~natty1) ...
Setting up brasero (3.0.0-1ubuntu1~natty1) ...
Setting up libedata-cal-1.2-11 (3.0.0-1ubuntu1~natty1) ...
Setting up libedataserverui-3.0-0 (3.0.0-1ubuntu1~natty1) ...
Setting up dvdauthor (0.7.0-1) ...
Setting up libedata-book-1.2-9 (3.0.0-1ubuntu1~natty1) ...
Setting up libevolution (3.0.0-2ubuntu1~natty1) ...
Setting up evolution-data-server (3.0.0-1ubuntu1~natty1) ...
Setting up evolution (3.0.0-2ubuntu1~natty1) ...
Installing new version of config file /etc/xdg/autostart/evolution-alarm-notify.desktop ...
Setting up evolution-plugins (3.0.0-2ubuntu1~natty1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Related branches

Revision history for this message
JC Hulce (soaringsky) wrote :

A new version of evince was uploaded about 6 hours ago by the GNOME 3 team - please check to see if this fixes the issue.

Changed in ugr-meta:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Christopher Reimer (c-reimer1993-deactivatedaccount) wrote :

The problem is fixed for me. Everything works fine now.

Revision history for this message
waspbloke (david-emmo) wrote :

Nope, still getting exact same error message here. :(

Revision history for this message
Erick Brunzell (lbsolost) wrote :

What I had to do to resolve this was open Synaptic and first purge both 'evince' and 'evince-common' which removes the 'ugr-desktop-g3' meta-package:

Commit Log for Sat May 21 09:19:58 2011

Completely removed the following packages:
evince
evince-common

Removed the following packages:
ugr-desktop-g3

After that I reinstalled the 'ugr-desktop-g3' meta-package which resolved the issue:

Commit Log for Sat May 21 09:21:44 2011

Removed the following packages:
libevdocument3
libevview3

Installed the following packages:
evince (3.0.0-4ubuntu2~natty1)
evince-common (3.0.0-4ubuntu2~natty1)
libevince3-3 (3.0.0-4ubuntu2~natty1)
ugr-desktop-g3 (25~natty1)

If you look at both 'libevdocument3' and 'libevview3' you'll see the version is 2.32.0-0ubuntu12.1 which is apparently a conflict.

Revision history for this message
waspbloke (david-emmo) wrote :

Erick's solution above did not immediately work but did set me on the path that eventually identified the source of the problem: having the medibuntu repos activated. Disabled the medibuntu repos and did "apt-get install -f" fixed the broken packages and allowed further updates to install without a hitch.

Revision history for this message
23dornot23d (keithaerospace92) wrote :

You can just go into synaptic and click install evince ......

and that worked for me too ....

Revision history for this message
walkerstreet (dbonner) wrote :

This worked for me:

STEPS TO REPRODUCE ERROR:

apt-get update
apt-get -s upgrade (i.e. simulated upgrade: unfortunately this did not flag any errors)
apt-get upgrade (resulted in the following error)

Preparing to replace evince-common 3.0.0-0ubuntu1~build1 (using .../evince-common_3.0.2-0ubuntu1~natty1_all.deb) ...
Unpacking replacement evince-common ...
dpkg: error processing /var/cache/apt/archives/evince-common_3.0.2-0ubuntu1~natty1_all.deb (--unpack):
trying to overwrite '/usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml', which is also in package evince 3.0.0-0ubuntu1~build1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

STEPS TO SOLVE ERROR:

(BACKUP THE XML FILE MENTIONED IN THE ABOVE ERROR):
mv /usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml /usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml.backup

(REMOVE THE XML FILE MENTIONED IN THE ABOVE ERROR):
rm -rf /usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml

(INSTALL evince):
apt-get install evince

(RESTORE THE XML FILE MENTIONED IN THE ABOVE ERROR):
mv /usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml /usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml.backup
apt-get update (re-run this if you get an error downloading index files)
apt-get upgrade (no more errors)

Revision history for this message
walkerstreet (dbonner) wrote :

Sorry, I spoke too soon. Now I can't get back to Gnome Shell after rebooting. I can only use fallback mode :(

Revision history for this message
walkerstreet (dbonner) wrote :

OK ... I needed to:

Go To “System Settings” - “System Info” - “Graphics”: Turn “Forced Fallback Mode” to “OFF”

REBOOT → LOG IN TO ‘GNOME’ (Nb: The “Gnome-shell desktop” option no longer exists)

Now I'm back in Gnome Shell graphical mode :)

Revision history for this message
JC Hulce (soaringsky) wrote :

On a side note, update manager suggested removing ugr-desktop-g3 and reinstalling ubuntu-desktop as a solution in my case. apt-get and aptitude tried to fix it with no avail. The steps above work.

Issues like this sometimes happen with the GNOME 3 team's packages, as they might update package versions at different times. If they don't update ones that depend on each other at the same time, they might have clashes. I hope that they will work this out.

Revision history for this message
Lealcy B. Junior (lealcy) wrote :

Right now, I got this error:

root@lealcy:/home/lealcy# apt-get dist-upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Calculando atualização... Falhou
Os pacotes a seguir têm dependências desencontradas:
 evince-common : Quebra: evince (< 3.0.0-0ubuntu1) mas 3.0.0-0ubuntu1~build1 está para ser instalado
E: Erro, pkgProblemResolver::Resolve gerou falhas, isto pode ser causado por pacotes mantidos (hold).
root@lealcy:/home/lealcy#

Trying to remove evince ask me to remove ubuntu-desktop (!!!).

Revision history for this message
Lealcy B. Junior (lealcy) wrote :

The option --ignore-hold didn't work.

Revision history for this message
JC Hulce (soaringsky) wrote :

For me, i just ran
sudo apt-get install evince
And the dependency issues were resolved automatically, no need for removing stuff or backing up files.

Revision history for this message
Lealcy B. Junior (lealcy) wrote :

The JC Hulce #13 solution solved the issue.

Revision history for this message
JC Hulce (soaringsky) wrote :

I have added this to the known issues page on our wiki. This issue does not occur in new installs in my testing, and I can't see a way to fix it. Marking as wontfix.

https://wiki.ubuntu.com/UGR/KnownIssues

Changed in ugr-meta:
status: Incomplete → Won't Fix
description: updated
Revision history for this message
JC Hulce (soaringsky) wrote :

This issue is messing with ebuild's image building. Using my workaround from above.

Changed in ugr-ebuild:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → JC Hulce (soaringsky)
JC Hulce (soaringsky)
Changed in ugr-ebuild:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.