I have tried installing xfce4 but a dependency cannot be resolved. I also tried the sudo apt-get upgrade -f, should I use the sudo apt-get dist-upgrade?
here is the output of apt-get upgrade -f:
user@trisquel:~$ sudo apt-get upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb autopoint cifs-utils docbook-to-man dpkg-repack
  gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 gnome-common gtk-doc-tools
  gtk2-engines intltool libdebian-installer4 libgadu3 libgtkmm-2.4-1c2a
  libmate-desktop-2-17 libntdb1 libtimezonemap1 python-ntdb python3-icu
  python3-pam sbsigntool xsltproc
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  xfce4-session
The following packages have been kept back:
  apt electrum grub-common grub-pc grub-pc-bin grub2-common
  linux-headers-lowlatency linux-image-lowlatency linux-lowlatency
  python-electrum trisquel-desktop-common
The following packages will be upgraded:
  abrowser abrowser-locale-ar abrowser-locale-ast abrowser-locale-bg
  abrowser-locale-ca abrowser-locale-cs abrowser-locale-da abrowser-locale-de
  abrowser-locale-el abrowser-locale-en abrowser-locale-eo abrowser-locale-es
  abrowser-locale-et abrowser-locale-eu abrowser-locale-fi abrowser-locale-fr
  abrowser-locale-ga abrowser-locale-gl abrowser-locale-he abrowser-locale-hi
  abrowser-locale-hr abrowser-locale-hu abrowser-locale-id abrowser-locale-it
  abrowser-locale-ja abrowser-locale-km abrowser-locale-ko abrowser-locale-lt
  abrowser-locale-lv abrowser-locale-nb abrowser-locale-nl abrowser-locale-nn
  abrowser-locale-oc abrowser-locale-pa abrowser-locale-pl abrowser-locale-pt
  abrowser-locale-ro abrowser-locale-ru abrowser-locale-sk abrowser-locale-sl
  abrowser-locale-sq abrowser-locale-sr abrowser-locale-sv abrowser-locale-ta
  abrowser-locale-th abrowser-locale-tr abrowser-locale-uk abrowser-locale-vi
  abrowser-locale-zh-hans abrowser-locale-zh-hant accountsservice
  app-install-data apparmor apparmor-utils apt-cacher-ng apt-utils aptdaemon
  aptdaemon-data aptitude aptitude-common avahi-autoipd avahi-daemon
avahi-utils bash-completion bind9-host bluez-alsa bluez-cups bluez-gstreamer
  bsdutils btrfs-tools ca-certificates deja-dup dh-python dnsmasq-base
  dnsutils dosfstools e2fslibs e2fsprogs ecryptfs-utils eject evince
  evince-common evolution-data-server evolution-data-server-common file
  file-roller fonts-droid fonts-lyx fuse gcalctool gimp gimp-data
  gir1.2-appindicator3-0.1 gir1.2-gdkpixbuf-2.0 gir1.2-gnomebluetooth-1.0
  gir1.2-gnomedesktop-3.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0
  gir1.2-gtk-3.0 gir1.2-gtkclutter-1.0 gir1.2-gudev-1.0 gir1.2-ibus-1.0
  gir1.2-javascriptcoregtk-3.0 gir1.2-soup-2.4 gir1.2-udisks-2.0
  gir1.2-unity-5.0 gir1.2-vte-2.90 gir1.2-webkit-3.0 gir1.2-wnck-3.0
  gnome-app-install gnome-bluetooth gnome-brave-icon-theme gnome-calculator
  gnome-colors-common gnome-desktop3-data gnome-keyring gnome-session-bin
  gnome-session-common gnome-system-tools gnupg gpgv
  gstreamer0.10-plugins-base-apps gstreamer0.10-x gstreamer1.0-alsa
  gstreamer1.0-plugins-bad gstreamer1.0-plugins-bad-faad
  gstreamer1.0-plugins-bad-videoparsers gstreamer1.0-plugins-base
  gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gstreamer1.0-tools
  gstreamer1.0-x gthumb gthumb-data gvfs gvfs-backends gvfs-bin gvfs-common
  gvfs-daemons gvfs-fuse gvfs-libs hplip hplip-data ibus ibus-gtk
  icecat-locale-en ifupdown im-config indicator-datetime indicator-session
  init-system-helpers iproute iproute2 kpartx kpartx-boot language-pack-en
  language-pack-en-base language-pack-gnome-en language-pack-gnome-en-base
  libaccountsservice0 libapparmor-perl libappindicator3-1 libapt-inst1.5
  libapt-pkg4.12 libarchive13 libavahi-core7 libavahi-glib1 libavahi-gobject0
  libavahi-ui-gtk3-0 libavcodec54 libavformat54 libavresample1 libavutil52
  libbind9-90 libbluetooth3 libcamel-1.2-45 libclutter-gtk-1.0-0
  libdebian-installer4 libdns100 libebackend-1.2-7 libebook-1.2-14
  libebook-contacts-1.2-0 libecal-1.2-16 libecryptfs0 libedata-book-1.2-20
  libedata-cal-1.2-23 libedataserver-1.2-18 libevdocument3-4 libevent-2.0-5
  libevview3-3 libfuse2 libgc1c2 libgd3 libgimp2.0 libgnome-bluetooth11
  libgnome-desktop-3-7 libgstreamer-plugins-bad1.0-0
  libgstreamer-plugins-good1.0-0 libgtk-3-bin libgtk-vnc-2.0-0
  libgtk2.0-common libgvnc-1.0-0 libgweather-3-6 libgweather-common libhpmud0
  libibus-1.0-5 libido3-0.1-0 libimobiledevice4 libisc95 libisccc90
  libisccfg90 libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-3.0-0 libldb1
  liblightdm-gobject-1-0 liblwres90 libmagic1 libmbim-glib0
  libmetacity-private0a libminiupnpc8 libmm-glib0 libmount1 libmtp-common
  libmtp9 libnautilus-extension1a libnettle4 libnl-3-200 libnl-genl-3-200
  libnl-route-3-200 libnm-glib-vpn1 libnm-glib4 libnm-gtk-common libnm-gtk0
  libnm-util2 liboobs-1-5 libpam-gnome-keyring libparted0debian1 libpci3
  libpcsclite1 libplymouth2 libpolkit-agent-1-0 libpolkit-backend-1-0
  libpulsedsp libpurple0 libpwquality-common libpwquality1 libqt4-dbus
  libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-opengl
  libqt4-script libqt4-scripttools libqt4-sql libqt4-svg libqt4-test
  libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4
  libreoffice-help-en-us libreoffice-l10n-ar libreoffice-l10n-ast
  libreoffice-l10n-bg libreoffice-l10n-ca libreoffice-l10n-cs
  libreoffice-l10n-da libreoffice-l10n-de libreoffice-l10n-el
  libreoffice-l10n-eo libreoffice-l10n-es libreoffice-l10n-et
  libreoffice-l10n-eu libreoffice-l10n-fi libreoffice-l10n-fr
  libreoffice-l10n-ga libreoffice-l10n-gl libreoffice-l10n-he
  libreoffice-l10n-hi libreoffice-l10n-hr libreoffice-l10n-hu
  libreoffice-l10n-id libreoffice-l10n-it libreoffice-l10n-ja
  libreoffice-l10n-km libreoffice-l10n-ko libreoffice-l10n-lt
  libreoffice-l10n-lv libreoffice-l10n-nb libreoffice-l10n-nl
  libreoffice-l10n-nn libreoffice-l10n-oc libreoffice-l10n-pl
  libreoffice-l10n-pt libreoffice-l10n-ro libreoffice-l10n-ru
  libreoffice-l10n-sk libreoffice-l10n-sl libreoffice-l10n-sr
  libreoffice-l10n-sv libreoffice-l10n-ta libreoffice-l10n-th
  libreoffice-l10n-tr libreoffice-l10n-uk libreoffice-l10n-vi libsane
  libsane-common libsane-hpaio libsepol1 libsmbclient libsnmp-base libsnmp30
  libspectre1 libspice-server1 libss2 libswscale2 libsystemd-journal0
  libtalloc2 libtevent0 libudisks2-0 libunity-control-center1
  libunity-protocol-private0 libunity-scopes-json-def-desktop libunity9
libwbclient0 libwebkit2gtk-3.0-25 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common
  libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwmf0.2-7 libwnck-3-0
  libwnck-3-common libxatracker2 libxpm4 libzeitgeist-2.0-0 lightdm login
  lsb-release lshw makedev metacity metacity-common modemmanager
  multiarch-support nautilus nautilus-data network-manager
  network-manager-gnome ntpdate openssh-client openssl openvpn os-prober
  parted patch pciutils pidgin pidgin-data plymouth plymouth-label
  plymouth-theme-trisquel-logo plymouth-theme-trisquel-text pm-utils
  policykit-1 ppp printer-driver-hpcups printer-driver-hpijs
pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-gconf
  pulseaudio-module-x11 pulseaudio-utils python-crypto python-imaging
  python-ldb python-libxml2 python-pil python-samba python-six python-talloc
  python-tz python3-apparmor python3-aptdaemon python3-aptdaemon.gtk3widgets
  python3-chardet python3-distupgrade python3-libapparmor
  python3-pkg-resources python3-six python3-software-properties
  python3-update-manager qdbus qtcore4-l10n rsyslog samba-common
  samba-common-bin samba-libs sbsigntool simple-scan
  software-properties-common software-properties-gtk ssh-askpass-gnome sudo
  system-tools-backends tar tasksel tasksel-data trisquel trisquel-base
  trisquel-base-data trisquel-base-recommended trisquel-codecs
  trisquel-desktop-common-data trisquel-desktop-common-recommended
  trisquel-gnome-base-recommended trisquel-keyring trisquel-minimal
  trisquel-recommended trisquel-release-upgrader-core
  trisquel-release-upgrader-gtk udisks2 unace unattended-upgrades
  unity-greeter unzip update-manager update-manager-core usb-creator-common
  usb-creator-gtk usbutils uuid-runtime vim vim-common vim-runtime vim-tiny
  wget wpasupplicant xnest
441 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
291 not fully installed or removed.
Need to get 0 B/256 MB of archives.
After this operation, 88.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up perl-base (5.18.2-2ubuntu1.1) ...
(Reading database ... 192526 files and directories currently installed.)
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
Preparing to unpack .../init-system-helpers_1.14ubuntu1_all.deb ...
Unpacking init-system-helpers (1.14ubuntu1) over (1.14) ...
Preparing to unpack .../e2fslibs_1.42.9-3ubuntu1.3_amd64.deb ...
Unpacking e2fslibs:amd64 (1.42.9-3ubuntu1.3) over (1.42.9-3ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...

(gtk-update-icon-cache-3.0:32093): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Processing triggers for desktop-file-utils (0.22-1ubuntu1+7.0trisquel1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2+7.0trisquel8) ...
Errors were encountered while processing:
 /var/cache/apt/archives/xfce4-session_4.10.1-3ubuntu5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@trisquel:~$


repeated to apt-get -f install but the same dpkg error occurs , now there is another error the 'gdk-pixbuf-query-loaders'

Reply via email to