Projekt: | Trisquel |
Version: | 7.0 |
Komponente: | Packages |
Kategorie: | Fehlerbericht |
Priorität: | critical |
Zugewiesen: | nicht zugewiesen |
Status: | patch (ready) |
Installed image trisquel_6.0-20130203_i686.iso and updated.
Removal of package trisquel-desktop-common-data fails.
Might be useful:
Removing 'diversion of /usr/bin/gnome-panel to /usr/bin/gnome-panel.real by trisquel-desktop-common-data'
dpkg-divert: error: rename involves overwriting `/usr/bin/gnome-panel' with
different file `/usr/bin/gnome-panel.real', not allowed
dpkg: error processing trisquel-desktop-common-data (--purge):
subprocess installed post-removal script returned error exit status 2
Changed debian/postrm so that diversion removal works.
Package should be removable now.
Added a git patch, for easier applying, in hope it would be applied sooner this way.
This patch works for me.
Why does it take so long to apply?
It really bothers me when I want to install a new version of xfce4 on a clean system from a ppa which contains /etc/xdg/autostart/xscreensaver.desktop file in a package. This file is also included in trisquel-desktop-common-data package which would I therefore like to remove, but removing fails, and it brakes my apt-get.
EDIT: The package was updated to version, but the issue wasn't resolved.
I made a simple edit to original postrm script to just ignore errors.
I have this same issue, also without GNOME (I too use Xfce). It seems that the package assumes gnome-panel is pressent on the system, but doesn't actually depend on gnome-panel. It seems this could be fixed in one of three ways:
0. Depend on gnome-panel
1. Don't assume gnome-panel is installed
2. Check to see if gnome-panel is installed before trying to interact with it
Bug is still present in Trisquel 7.
I am uploading a patch for trisquel-desktop-common-data package in version 7 (for debian/postrm) that makes the script ignore errors.