A question about safely upgrading KDE

Forum rules
Before you post please read how to get help

A question about safely upgrading KDE

Postby wyz on Sun Aug 25, 2013 9:22 pm

At present I have Linux Mint 14 KDE 64 bit on my machine. The version of KDE is 4.9.5. Is it possible to safely upgrade to version 4.11 via ppa? Has anyone in the forum done this? For some strange kernel reason I'm unable to install Linux Mint 15.
wyz
Level 1
Level 1
 
Posts: 32
Joined: Thu Dec 20, 2012 9:13 pm

Linux Mint is funded by ads and donations.
 

Re: A question about safely upgrading KDE

Postby xenopeek on Mon Aug 26, 2013 2:02 am

Yes you can, using the Kubuntu backports. Run these commands:
Code: Select all
sudo apt-get update && sudo apt-get upgrade
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update && sudo apt-get upgrade

The first command makes sure you are fully up to date before enabling the backports repository with the second command. The third command again ensures you are up to date, and will upgrade you to KDE SC 4.11 (just copy one line at a time to Konsole and run them there).

Afterwards you will have possibly one issue, with USB storage devices. To fix that, remove the package udisks and install the package udisks2. Details here: viewtopic.php?f=109&t=142925&p=755452#p755452

I haven't upgraded in this way, but I'm running KDE SC 4.11 problem free on another install. From what I've seen, there may be some issue if you have an Nvidia graphics card with VLC. There are a few easy configuration steps to fix that; http://www.reddit.com/r/kde/comments/1k ... 11_in_vlc/.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15248
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: A question about safely upgrading KDE

Postby Jonathan Spearman on Tue Aug 27, 2013 4:38 am

I have done several upgrades on Linux Mint without reinstalling the software, These were test to see if it would break anything and so far, it has not. I have even updated the kernel and still everything works fine. So while it may not be the preferred way to upgrade, it does work. However, if you have heavily modified your system, there may be issues.
Thanks
Jonathan Spearman
J.S. Technical Consulting
http://www.jstc.biz/
Running Linux Mint 15 KDE 4.11
User avatar
Jonathan Spearman
Level 1
Level 1
 
Posts: 34
Joined: Sat Aug 11, 2012 1:09 pm
Location: Texas

Re: A question about safely upgrading KDE

Postby xenopeek on Tue Aug 27, 2013 4:58 am

Jonathan Spearman wrote:I have done several upgrades on Linux Mint without reinstalling the software

I think you are talking about something else; this topic isn't about upgrading Linux Mint, it's only about upgrading KDE SC.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15248
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: A question about safely upgrading KDE

Postby Miles2x on Mon Sep 09, 2013 11:39 am

xenopeek wrote:Yes you can, using the Kubuntu backports. Run these commands:
Code: Select all
sudo apt-get update && sudo apt-get upgrade
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update && sudo apt-get upgrade

The first command makes sure you are fully up to date before enabling the backports repository with the second command. The third command again ensures you are up to date, and will upgrade you to KDE SC 4.11 (just copy one line at a time to Konsole and run them there).

Afterwards you will have possibly one issue, with USB storage devices. To fix that, remove the package udisks and install the package udisks2. Details here: viewtopic.php?f=109&t=142925&p=755452#p755452

I haven't upgraded in this way, but I'm running KDE SC 4.11 problem free on another install. From what I've seen, there may be some issue if you have an Nvidia graphics card with VLC. There are a few easy configuration steps to fix that; http://www.reddit.com/r/kde/comments/1k ... 11_in_vlc/.


I'm new to Mint and was wondering if this way of upgrading to KDE 4.11 is actually stable? Or is it always best to wait until it's on Mint's repos before upgrading?
Miles2x
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 09, 2013 11:33 am

Re: A question about safely upgrading KDE

Postby xenopeek on Mon Sep 09, 2013 11:52 am

KDE 4.11 won't be coming to earlier Linux Mint versions. If you want to wait for it to be included with Linux Mint, you'll have to go for installation of the next release--Linux Mint 16, which will probably arrive around year's end.

Aside from the two issues and their solutions I mentioned, I'm not aware of other issues from upgrading KDE SC this way. Though it may depend on your Linux Mint version (anything older than 13 and I'd first upgrade to 13, 14 or 15).

I'm no longer using KDE on Linux Mint, but on another distro. KDE 4.11 is working without problems there.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15248
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: A question about safely upgrading KDE

Postby Miles2x on Mon Sep 09, 2013 11:58 am

xenopeek wrote:KDE 4.11 won't be coming to earlier Linux Mint versions. If you want to wait for it to be included with Linux Mint, you'll have to go for installation of the next release--Linux Mint 16, which will probably arrive around year's end.

Aside from the two issues and their solutions I mentioned, I'm not aware of other issues from upgrading KDE SC this way. Though it may depend on your Linux Mint version (anything older than 13 and I'd first upgrade to 13, 14 or 15).

I'm no longer using KDE on Linux Mint, but on another distro. KDE 4.11 is working without problems there.


Sorry, I forgot to include that I'm using KDE Mint 15.
Miles2x
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 09, 2013 11:33 am

Re: A question about safely upgrading KDE

Postby Miles2x on Mon Sep 09, 2013 1:00 pm

I just followed your directions however the packages that are level 3 did not upgrade.

Code: Select all
The following packages have been kept back:
  akregator audiocd-kio digikam digikam-data gwenview kaddressbook
  kde-runtime kde-runtime-data kde-window-manager kde-window-manager-common
  kde-workspace kde-workspace-bin kde-workspace-data
  kde-workspace-kgreet-plugins kdegraphics-strigi-analyzer
  kdemultimedia-kio-plugins kdepim-kresources kdepim-runtime
  kdepimlibs-kio-plugins kdeplasma-addons khelpcenter4 kipi-plugins
  kipi-plugins-common kleopatra kmail knotes kontact korganizer kscreen
  ksnapshot ksysguard ksysguardd libakonadi-calendar4 libakonadi-contact4
  libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4
  libakonadi-socialutils4 libcalendarsupport4 libeventviews4
  libincidenceeditorsng4 libkabc4 libkalarmcal2 libkblog4 libkcal4
  libkcalcore4 libkcalutils4 libkdecorations4abi1 libkdepim4
  libkdepimdbusinterfaces4 libkephal4abi1 libkgeomap1 libkholidays4
  libkimap4 libkldap4 libkleo4 libkmanagesieve4 libkmbox4 libkmime4 libkpgp4
  libkpimidentities4 libkpimtextedit4 libkpimutils4 libkresources4
  libkscreensaver5 libksgrd4 libksieve4 libksieveui4 libksignalplotter4
  libktnef4 libkwineffects1abi4 libkworkspace4abi2 libkxmlrpcclient4
  libmailcommon4 libmailimporter4 libmailtransport4 libmessagecomposer4
  libmessagecore4 libmessagelist4 libmessageviewer4 libmicroblog4
  libpimcommon4 libplasma-geolocation-interface4 libplasmagenericshell4
  libprocesscore4abi1 libprocessui4a libsyndication4 libtemplateparser4
  libweather-ion6 linux-generic linux-headers-generic linux-image-generic
  nepomuk-core okular okular-extra-backends plasma-dataengines-addons
  plasma-dataengines-workspace plasma-desktop plasma-scriptengine-javascript
  plasma-wallpapers-addons plasma-widget-lancelot
  plasma-widget-networkmanagement plasma-widgets-addons
  plasma-widgets-workspace systemsettings
0 upgraded, 0 newly installed, 0 to remove and 106 not upgraded.


Are these to be ignored on Mint 15?
Miles2x
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 09, 2013 11:33 am

Re: A question about safely upgrading KDE

Postby xenopeek on Mon Sep 09, 2013 3:51 pm

No, I don't believe so. Can you share the output of this command?
Code: Select all
apt-cache policy kde-runtime
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15248
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: A question about safely upgrading KDE

Postby Miles2x on Mon Sep 09, 2013 5:56 pm

xenopeek wrote:No, I don't believe so. Can you share the output of this command?
Code: Select all
apt-cache policy kde-runtime


Output:

Code: Select all
kde-runtime:
  Installed: 4:4.10.5-0ubuntu0.1
  Candidate: 4:4.11.1-0ubuntu2~ubuntu13.04~ppa1
  Version table:
     4:4.11.1-0ubuntu2~ubuntu13.04~ppa1 0
        500 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ raring/main amd64 Packages
 *** 4:4.10.5-0ubuntu0.1 0
        500 http://archive.ubuntu.com/ubuntu/ raring-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     4:4.10.2-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages

Miles2x
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 09, 2013 11:33 am

Re: A question about safely upgrading KDE

Postby xenopeek on Tue Sep 10, 2013 1:55 am

Okay, it shows it is available there. You may try instead with:
Code: Select all
sudo apt-get dist-upgrade

Though check it's not upgrading any packages you don't want to upgrade, before you proceed.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15248
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: A question about safely upgrading KDE

Postby Miles2x on Tue Sep 10, 2013 11:26 pm

xenopeek wrote:Okay, it shows it is available there. You may try instead with:
Code: Select all
sudo apt-get dist-upgrade

Though check it's not upgrading any packages you don't want to upgrade, before you proceed.


Worked, thanks! Was it because I didn't have certain dependencies?
Miles2x
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 09, 2013 11:33 am

Re: A question about safely upgrading KDE

Postby xenopeek on Wed Sep 11, 2013 2:17 am

Having a read in the manpage, I think so. Probably upgrading to the newer KDE SC also had changing dependencies--which I take it from below the upgrade command is less capable of handling.

upgrade
upgrade is used to install the newest versions of all packages currently installed on the system [...] under no circumstances are currently installed packages removed [...] New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. [...]

dist-upgrade
dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore remove some packages. [...]
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15248
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Linux Mint is funded by ads and donations.
 

Return to KDE

Who is online

Users browsing this forum: No registered users and 4 guests