LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-02-2013, 07:20 AM   #1
Frank64
Member
 
Registered: Feb 2008
Distribution: Kubuntu 19.10
Posts: 77

Rep: Reputation: 15
How to reinstall kdelibs and KIO?


Hi,

I ran into a problem recently with most probably kdelibs/KIO, according to the developer of Dolphin. My prob is the interaction between Dolphin and kdelibs/KIO an since I cannot reproduce on another HDD using the same machine, I would like to see if to fix it I could simply uninstall kdelibs/KIO and reinstall it.

Upgrading it to latest KDE SC 4.11 did not fix it. I am absolutely not sure uninstalling it and reinstalling it will fix it, but if it's easy why not trying. May be less time consuming than reinstalling Kubuntu from scratch and reapplying all of my very long list of configurations...

Anyone would know how it is possible to reinstall kdelibs/KIO?
I can do it from command line if easier.
I suspect it's not that easy due to dependencies and everything, but maybe I'm wrong.

tnx!
 
Old 09-03-2013, 12:49 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

to provide effective help we'll need more information.

- What version of Kubuntu you are running. And..
- Which packages are you actually trying to install?
- How did you try to install them (eg using "apt-get")?
- What error messages are being reported?

Evo2.
 
Old 09-03-2013, 08:09 AM   #3
Frank64
Member
 
Registered: Feb 2008
Distribution: Kubuntu 19.10
Posts: 77

Original Poster
Rep: Reputation: 15
Hi evo2,

Tnx for replying.

I can answer all that and will provide more info as well.

Quote:
Originally Posted by evo2 View Post
- What version of Kubuntu you are running.
I try to install on a fresh HDD Kubuntu 13.04.

Quote:
Originally Posted by evo2 View Post
- Which packages are you actually trying to install?
I am not trying to install anything, the packages install by default. Here is the time for me to provide more information about this:

I have 2 TEST HDD and 1 PRODUCTION HDD. One of the 2 TEST is an exact match HDD of my PROD, so I can use it as a backup and use dd to backup an restore partitions from one HDD to the other.

Every year I install newer versions of Kubuntu on my TEST HDDs to see if I can make it work properly and if yes I migrate to my prod HDD. Unfortunately due to recent developments I could not migrate anything newer than 11.10, which I did in Jan 2012. Reason is that some of my important requirements were not met since 11.10 and it was a show stopper for me so I waited for next version and so on. Until 13.04 which is pretty good. Actually I know I can use it cuz on one of my 2 test HDDs the installation works fine. But this is on my TEST HDD that is not an exact match to PROD, so I cannot use dd to copy the partition to my PROD HDD.

Now that I am saying that, I think I could use "copy -ar" (or -arx, can't recall, I have it written in my notes though), it should keep permissions, groups and everything and then I check on the sticky for the /tmp folder and/or a custom symlink I am using. If I cannot figure out the current kdelibs/KIO integration issue with Dolphin, I think I'll use the "copy -ar" function and give a try.

Anywho, to continue on the context, when I did the installation on my exact match TEST HDD, for some reason when I delete a file with the DELETE key (or right-click and MOVE TO TRASH function) within Dolphin, it always asks me for a confirmation, even though I select to not ask again. The Dolphin dev explained to me it's not reproducible (and it's true I cannot on my 2nd TEST HDD, it works fine) and that it may be something with kdelibs/KIO, which is the function Dolphin is calling when moving to trash.

I thought I could try re-integrating the packages, in case I had a bad installation of those. I found how to remove kdelibs-bin (with -r --force-dependencies options) and reinstall manually, but that didn't change anything.

I was wondering what else I could try.

Previously I had KDE 4.10, I upgraded to 4.11 (Aug 15th release using the kubuntu-backports repository) through MUON and it did not change the behavior.


Quote:
Originally Posted by evo2 View Post
- How did you try to install them (eg using "apt-get")?
They installed with the installation from the DVD image. I then unsintalled using "dpkg -r --force-dependencies kdelibs-bin" (I think that's the right command) and I reinstalled with the "unpack", "./kdelibs*.deb" and "configure" options, which I found on internet. I could not reinstall with "dpkg -i", I had an "not found in archive" error message and then found that above manual workaround which worked. I am at work right now so can't find the webpage anymore with the exact install commands.

Quote:
Originally Posted by evo2 View Post
- What error messages are being reported?
Since the packages (kdelibs and KIO) did install successfully from the DVD image, there is no installation error.
As explained in my context above, there is no error as well, it's just that the MOVE TO TRASH function is not doing what it should when I select to not ask for confirmation again.


Hope that clarifies things.
The more I think about it, the more I think I should try doing a "copy -ar" from my 2nd TEST HDD to my 1st TEST HDD and see if that works. Might be easier than trying to troubleshoot the issue.

tnx!
 
Old 09-03-2013, 09:29 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

Quote:
Originally Posted by Frank64 View Post
Hi evo2,

I try to install on a fresh HDD Kubuntu 13.04.
Ok.
Quote:
Anywho, to continue on the context, when I did the installation on my exact match TEST HDD, for some reason when I delete a file with the DELETE key (or right-click and MOVE TO TRASH function) within Dolphin, it always asks me for a confirmation, even though I select to not ask again. The Dolphin dev explained to me it's not reproducible (and it's true I cannot on my 2nd TEST HDD, it works fine) and that it may be something with kdelibs/KIO, which is the function Dolphin is calling when moving to trash.

I thought I could try re-integrating the packages, in case I had a bad installation of those. I found how to remove kdelibs-bin (with -r --force-dependencies options) and reinstall manually, but that didn't change anything.
The simplest way to reinstall a package is probably using the --reinstall option. Eg:
Code:
apt-get install --reinstall kdelibs-bin
Regardless, unless the files from these packages became corrupted somehow you should not really expect this to help.

Quote:
As explained in my context above, there is no error as well, it's just that the MOVE TO TRASH function is not doing what it should when I select to not ask for confirmation again.
It sounds like a bad config somewhere, but I doubt I can be of much help... I don't use KDE or gui file managers.
Quote:
The more I think about it, the more I think I should try doing a "copy -ar" from my 2nd TEST HDD to my 1st TEST HDD and see if that works. Might be easier than trying to troubleshoot the issue.
You should probably look into using a proper backup or cloning tool instead of reinventing the wheel. Also, are you not able to just upgrade your system instead of doing complete reinstalls? Some people do complain about the quality of ubuntu but others quite successfully upgrade from one version to the next.

Evo2.
 
Old 09-04-2013, 07:08 AM   #5
Frank64
Member
 
Registered: Feb 2008
Distribution: Kubuntu 19.10
Posts: 77

Original Poster
Rep: Reputation: 15
Yes those are valid points, I'll see what I can do.

As for cloning, it's always touchy when the HDDs or partitions are different, I would have to be careful no matter what, but there certainly is a better way yes and I guess I should take a look.

I have tried a full upgrade and it always fails during the install or it messes up packages or configs after the install. I use third party packages, it may cause an issue. What I'll do is I'll try to figure out the steps involved in doing a proper upgrade having third party packages installed and I'll give a try. It's a different approach, but if I don't learn I won't know.

Tnx for the help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kio-upnp-ms ??? kernel-P4N1C Slackware 1 04-06-2013 08:44 PM
MTP kio-slave Bazzaah Slackware 2 12-24-2012 07:47 AM
KIO svn questions tpe SUSE / openSUSE 0 11-21-2007 02:37 AM
KDE Kio slave powadha Debian 12 04-27-2006 01:04 AM
kfile and kio srivas Linux - Newbie 0 11-28-2003 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration