Projet: | Trisquel |
Version: | 7.0 |
Composant: | Packages |
Catégorie: | Rapporter un bogue |
Priorité: | critical |
Attribué: | Non assigné |
Statut: | patch (needs review) |
Packages xfce4-session and trisquel-desktop-common-data can't be installed together because both contain file /etc/xdg/autostart/xscreensaver.desktop . This means xfce4 can't be installed, since it depends on xfce4-session, if trisquel-desktop-common-data is installed (and it is by default).
Further, if installed, trisquel-desktop-common-data can't be removed. See issue #7610: Can not remove package trisquel-desktop-common-data.
Here is a script I made as a quick fix for users who want to use xfce4 before the issue is resolved: xfce-fix-7.txt
You can execute this in a terminal to download the script and run it:
Edit: If the script fails, remove xfce4 and xfce4-session and try again.
Thank you very much for this fix. I can now use XFCE desktop in Trisquel 7.
However your command line didn't work at first time, though I had removed xfce4 and xfce4-session packages.
Indeed, I had to install the fakeroot package first.
Since in Trisquel 7 package trisquel (also recursively) doesn't depend on or recommend xscreensaver, to fix this bug, just remove /etc/xdg/autostart/xscreensaver.desktop from trisquel-desktop-common-data.
Fixed in Trisquel 7.0.
This is not (completely) fixed in 7.0. From a fresh install, I just found:
Preparing to unpack .../xfce4-session_4.10.1-3ubuntu5_amd64.deb ...
Unpacking xfce4-session (4.10.1-3ubuntu5) ...
dpkg: error processing archive /var/cache/apt/archives/xfce4-session_4.10.1-3ubuntu5_amd64.deb (--unpack):
trying to overwrite '/etc/xdg/autostart/xscreensaver.desktop', which is also in package trisquel-desktop-common-data 7.0-15
EDIT - nevermind, it is fixed but not in the download media.
I just needed an "aptitude update" and "aptitude full-upgrade" to get the install to work correctly. xfce4-session version is still the exactly same, but I'm guessing trisquel-desktop-common-data was fixed in the upgrade.
(It seems I can't re-close the issue now sorry.)
Hi, when you install Trisquel first, you will have this issue, when you install xfce before full system/packages update. Worked fine for me, first update all packages and then install xfce4.