Can't install KDE stuff on a newly installed/upgraded lmde

Archived topics about LMDE 1 and LMDE 2
Locked
devicerandom

Can't install KDE stuff on a newly installed/upgraded lmde

Post by devicerandom »

Hi,

After the fiasco of http://forums.linuxmint.com/viewtopic.p ... 8&t=102058 I have reinstalled from scratch, and after a bit of apt-get upgrade, apt-get dist-upgrade etc. it seems I have a well working system, quite up to date. I have been pleasantly surprised by how well the Nouveau drivers seem to work in the latest 3.2 kernel.

However I am having trouble when wanting to install KDE. It seems that, looking in the dependency tree, (one of) the culprit(s) is fontconfig. Critical dependencies want the new fontconfig.

Code: Select all

root@metropolis:/home/massimo# apt-get install libqtgui4
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:
 libqtgui4 : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-2.1ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.
Now, fontconfig (and libfontconfig, and fontconfig-config) 2.9 is available indeed from testing...

Code: Select all

root@metropolis:/home/massimo# apt-cache policy fontconfig
fontconfig:
  Installed: 2.8.0-2.1ubuntu3
  Candidate: 2.8.0-2.1ubuntu3
  Version table:
     2.9.0-3 0
        500 http://ftp.debian.org/debian/ testing/main amd64 Packages
 *** 2.8.0-2.1ubuntu3 0
        700 http://packages.linuxmint.com/ debian/upstream amd64 Packages
        100 /var/lib/dpkg/status
...but it is kept behind by my (default) apt pinning, it seems:

Code: Select all

root@metropolis:/home/massimo# cat /etc/apt/preferences
Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Debian
Pin-Priority: 500
Now, if I attempt to force the new fontconfig to install (starting from fontconfig-config), apt-get will want to remove a lot of stuff :

Code: Select all

root@metropolis:/home/massimo# apt-get install fontconfig-config=2.9.0-3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  accountsservice apg finger gnome-control-center-data iputils-tracepath libcurl3-nss libebackend-1.2-1 libedata-cal-1.2-13 libevent-2.0-5 libfolks-telepathy25 libgdata13 libgeoclue0 libgmlib0 libgmtk0-data
  libgoa-1.0-common libgraphite2-2.0.0 libgtksourceview-3.0-common libjaxp1.3-java libminiupnpc5 libmono-data-tds4.0-cil libmono-simd4.0-cil libmono-sqlite4.0-cil libmono-system-data4.0-cil
  libmono-system-enterpriseservices4.0-cil libmono-system-transactions4.0-cil libmono-system-web-applicationservices4.0-cil libnatpmp1 libnm-gtk-common liboauth0 liboobs-1-5 librest-0.7-0 librest-extras-0.7-0
  libsocialweb-client2 libsocialweb0 libtextcat-data libtextcat0 libwebkitgtk-3.0-common libwpd-0.9-9 libwpg-0.2-2 libwps-0.2-2 libxalan2-java libxerces2-java libxml-commons-external-java
  libxml-commons-resolver1.1-java minissdpd mint-backgrounds-debian nmap python-defer python-gpgme yelp-xsl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libgd2-noxpm
Suggested packages:
  libgd-tools
The following packages will be REMOVED:
  alacarte at-spi baobab brasero colord compiz-plugins cups cups-driver-gutenprint cups-filters cups-pdf desktop-base dropbox eog evince f-spot file-roller flashplugin-nonfree fluxbox fontconfig gcalctool
  gconf-editor gdm3 gecko-mediaplayer ghostscript ghostscript-cups ghostscript-x gir1.2-accountsservice-1.0 gir1.2-caribou-1.0 gir1.2-clutter-1.0 gir1.2-clutter-gst-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0
  gir1.2-evince-3.0 gir1.2-freedesktop gir1.2-gkbd-3.0 gir1.2-gnomebluetooth-1.0 gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10 gir1.2-gtk-3.0 gir1.2-gtkclutter-1.0 gir1.2-gtksource-3.0 gir1.2-mutter-3.0
  gir1.2-networkmanager-1.0 gir1.2-panelapplet-4.0 gir1.2-pango-1.0 gir1.2-peas-1.0 gir1.2-xkl-1.0 giver gjs gksu gnome-applets gnome-bluetooth gnome-colors-common gnome-dictionary gnome-disk-utility
  gnome-icon-theme gnome-icon-theme-symbolic gnome-keyring gnome-media gnome-mplayer gnome-nettool gnome-panel gnome-power-manager gnome-ppp gnome-screensaver gnome-screenshot gnome-search-tool gnome-session
  gnome-session-bin gnome-session-canberra gnome-session-fallback gnome-settings-daemon gnome-shell gnome-system-log gnome-system-monitor gnome-system-tools gnome-terminal gnome-themes-standard
  gnome-user-guide gnome-user-share gnome-utils gnome-wise-icon-theme gparted gs gs-cjk-resource gs-common gstreamer0.10-plugins-bad gstreamer0.10-plugins-good gstreamer0.10-x gtk2-engines gtk2-engines-aurora
  gtk2-engines-candido gtk2-engines-murrine gtk2-engines-pixbuf gucharmap gvfs gvfs-backends gvfs-daemons hardinfo hplip imagemagick inxi libass4 libatspi1.0-0 libavahi-ui-gtk3-0 libavahi-ui0 libbonoboui2-0
  libbrasero-media3-1 libcairo-gobject2 libcairo-perl libcairo2 libcairomm-1.0-1 libcanberra-gtk-module libcanberra-gtk0 libcanberra-gtk3-0 libcanberra-gtk3-module libcaribou0 libclutter-1.0-0
  libclutter-gst-1.0-0 libclutter-gtk-0.10-0 libclutter-gtk-1.0-0 libcogl-pango0 libcryptui0 libedataserverui-3.0-1 libedataserverui1.2-8 libevince2 libevince3-3 libflickrnet2.2-cil libfontconfig1 libgail-3-0
  libgail-common libgail18 libgcr-3-1 libgcr0 libgd2-xpm libgdict-1.0-6 libgdiplus libgdu-gtk0 libgegl-0.0-0 libgimp2.0 libgjs0b libgksu2-0 libglade2-0 libglade2.0-cil libglademm-2.4-1c2a libgmtk0
  libgnome-bluetooth7 libgnome-bluetooth8 libgnome-control-center1 libgnome-desktop-2-17 libgnome-desktop-3-2 libgnome-media-profiles-3.0-0 libgnome-media0 libgnome-window-settings1 libgnome2-0
  libgnome2-canvas-perl libgnome2-perl libgnome2.24-cil libgnomecanvas2-0 libgnomekbd4 libgnomekbd7 libgnomeui-0 libgphoto2-2 libgs8 libgs9 libgstfarsight0.10-0 libgtk-3-0 libgtk-3-bin libgtk2-perl libgtk2.0-0
  libgtk2.0-bin libgtk2.0-cil libgtkhtml3.14-19 libgtkmm-2.4-1c2a libgtkmm-3.0-1 libgtksourceview-3.0-0 libgtksourceview2.0-0 libgtkspell0 libgucharmap-2-90-7 libgucharmap7 libgvc5 libgweather-3-0 libgweather1
  libmagickcore3 libmagickcore5 libmagickcore5-extra libmagickwand3 libmagickwand5 libmetacity-private0a libmono-addins-gui0.2-cil libmono-cairo2.0-cil libmono-cairo4.0-cil libmono-system-data-linq2.0-cil
  libmono-system-drawing4.0-cil libmono-system-web-services4.0-cil libmono-system-web2.0-cil libmono-system-web4.0-cil libmono-wcf3.0-cil libmono-web4.0-cil libmono2.0-cil libmutter0 libnautilus-extension1a
  libnm-gtk0 libnotify0.4-cil libnotify1 libpanel-applet-4-0 libpango-perl libpango1.0-0 libpangomm-1.4-1 libpeas-1.0-0 libpoppler-glib4 libpoppler-glib6 libpoppler13 libpoppler5 libpurple-bin libpurple0
  libreoffice-base libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-emailmerge libreoffice-filter-binfilter libreoffice-gnome libreoffice-gtk
  libreoffice-impress libreoffice-java-common libreoffice-math libreoffice-style-galaxy libreoffice-style-tango libreoffice-writer librsvg2-2 librsvg2-common libsane libseed-gtk3-0 libsexy2 libslab0a
  libspectre1 libtotem0 libunique-1.0-0 libunique-3.0-0 libvte-2.90-9 libvte9 libwebkit-1.0-2 libwnck-3-0 libwnck22 libxft2 metacity mintinstall-icons mousetweaks mplayer nautilus nautilus-actions
  nautilus-dropbox nautilus-open-terminal nautilus-sendto nautilus-share network-manager-gnome network-manager-pptp-gnome notification-daemon notify-osd obex-data-server openoffice.org-base openoffice.org-calc
  openoffice.org-common openoffice.org-draw openoffice.org-gnome openoffice.org-gtk openoffice.org-impress openoffice.org-java-common openoffice.org-math openoffice.org-style-tango openoffice.org-writer paman
  pavucontrol pavumeter pidgin pidgin-facebookchat pnm2ppa policykit-1-gnome poppler-utils printer-driver-c2050 printer-driver-gutenprint printer-driver-hpcups printer-driver-pnm2ppa
  printer-driver-postscript-hp printer-driver-ptouch printer-driver-sag-gdi printer-driver-splix python-cairo python-gmenu python-gtk2 python-uno sane-utils seahorse shiki-colors-metacity-theme
  shiki-wise-theme simple-scan synaptic tomboy totem totem-mozilla transmission-gtk vino vlc-nox vlc-plugin-pulse x11-apps x11-utils xchat yelp zenity
The following NEW packages will be installed:
  libgd2-noxpm
The following packages will be upgraded:
  fontconfig-config
1 upgraded, 1 newly installed, 312 to remove and 0 not upgraded.
Need to get 460 kB of archives.
After this operation, 871 MB disk space will be freed.
Do you want to continue [Y/n]? 
Now, to my inexpert-in-Debian-rolling-stuff eyes it seems the issue is that there is a mixed LMDE/testing environment, with LMDE getting priority. I wonder if I should just point all to testing. On the other hand, I tried changing my /etc/apt/sources.conf as described here by zerozero: http://forums.linuxmint.com/viewtopic.p ... 8&t=101800 but all I obtain after apt-get update is that nothing has to be updated and kde packages are simply missing (cannot be found).

Any hint on where to look to start understanding this? :)

thanks,
Massimo
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
zerozero

Re: Can't install KDE stuff on a newly installed/upgraded lm

Post by zerozero »

devicerandom, what are the repos you are using at the moment in this install? i assume from apt policy that is testing (plus the mint repo)
we have several examples through the forum but this is just one http://forums.linuxmint.com/viewtopic.p ... 60#p578033 (from there down)
basically, my advise, if, note that, if you are running testing, get ride of the default preferences file (you can then make your own, if you wish to run a mixed system)
devicerandom

Re: Can't install KDE stuff on a newly installed/upgraded lm

Post by devicerandom »

zerozero wrote:devicerandom, what are the repos you are using at the moment in this install? i assume from apt policy that is testing (plus the mint repo)
I am using defaults! :)

Code: Select all

Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Debian
Pin-Priority: 500

Code: Select all

massimo@metropolis:~$ cat /etc/apt/sources.list
deb http://packages.linuxmint.com/ debian main upstream import
deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free

#deb http://www.debian-multimedia.org testing main non-free
deb http://www.deb-multimedia.org testing main non-free
zerozero wrote: basically, my advise, if, note that, if you are running testing, get ride of the default preferences file (you can then make your own, if you wish to run a mixed system)
But I ended up with a mixed system without changing anything, just by apt-get.
My own misunderstanding is probably this: I assumed that LMDE = Debian Testing with some customization here and there. So I thought it should be always in sync with testing, without conflicts. It seems it is not the case. How should I interpret LMDE?
devicerandom

Re: Can't install KDE stuff on a newly installed/upgraded lm

Post by devicerandom »

And so, what should I do to jump on testing? Put all prefs at 500 is fine? :roll:

Edit: Well, I did it, and it seems to work. Am I tracking testing, effectively, now?
zerozero

Re: Can't install KDE stuff on a newly installed/upgraded lm

Post by zerozero »

devicerandom wrote: Am I tracking testing, effectively, now?
let's say that now you are tracking testing with a mint flavor, while before you where trying to run lmde with testing repos. :wink:
devicerandom

Re: Can't install KDE stuff on a newly installed/upgraded lm

Post by devicerandom »

zerozero wrote: let's say that now you are tracking testing with a mint flavor, while before you where trying to run lmde with testing repos. :wink:
Got it, that's more or less what I wanted :)
However it seems I misunderstood LMDE then. I'll have to read more.
zerozero

Re: Can't install KDE stuff on a newly installed/upgraded lm

Post by zerozero »

devicerandom wrote: it seems I misunderstood LMDE then.
:lol: nahh, you didn't :lol:
since lmde came out until now we had one BIG change
maybe the FAQ will give you some answers (or more questions :lol: :mrgreen: )
Locked

Return to “LMDE Archive”