Click to See Complete Forum and Search --> : KDE problems


dr_gonzo
11-17-2003, 02:04 PM
I am running debian stable with KDE 3.1.4 binaries from download.kde.org

the problem started when i downgraded xlibs in order to try and build some program. when i did, kde got removed. i reinstalled kde and upgraded xlibs but kde is having loads of problems.

when i start up, i get an error saying

"Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'file'."

no icons are showing up on my desktop.

konqueror is a mess. here's a screenshot of it when i click on Home in the menu

http://www.redbrick.dcu.ie/~dr_gonzo/images/konq_home.png

if i type in "/home/gary" in the location toolbar, i get an error message saying "unknown protocol: file"

Here's what happens when i try to reinstall kdebase-kio-plugins:

root [/home/gary] apt-get install --reinstall kdebase-kio-plugins
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/632kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n]
(Reading database ... 71177 files and directories currently installed.)
Preparing to replace kdebase-kio-plugins 4:3.1.4-0woody1 (using .../kdebase-kio-plugins_4%3a3.1.4-0woody1_i386.deb) ...
Unpacking replacement kdebase-kio-plugins ...
dpkg: error processing /var/cache/apt/archives/kdebase-kio-plugins_4%3a3.1.4-0woody1_i386.deb (--unpack):
unable to stat `./usr/share/services/about.protocol' (which I was about to install): Permission denied
Errors were encountered while processing:
/var/cache/apt/archives/kdebase-kio-plugins_4%3a3.1.4-0woody1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


even when i apt-get clean to get a fresh binary i get the same error.

i have been googling and reistalling kde but i still get the same problems. if anyone could help me out here i'd be most greatful.

knute
11-17-2003, 02:39 PM
Have you tried renaming all your ~/.kde files to something else and seeing if something in them are corrupted?

I've had that happen to me at times. Everything would be recreated with the defaults if it doesn't find the files.
I'm not suggesting removing them, but simply renaming them to something like ~/.KDE or something. That way you can go thru and get move some of your custom settings back afterwards.

If that doesn't work, I'd suggest going to the console and removing kde completely from the machine and reinstalling the upgraded version. (A long process I know.)

dr_gonzo
11-17-2003, 02:46 PM
yeah, i did rm -fr ~/.kd* but still no luck.

i tried remove all of kde before but i got error messages like

unable to remove '/usr/share/services/fish.protocol': Permission denied

knute
11-17-2003, 03:08 PM
I was talking using apt-get to remove the packages.
Then using apt-get clean, then apt-get install kde.

dr_gonzo
11-17-2003, 03:10 PM
yeah, that's what i did. it wouldn't work though, i kept on getting those error messages.

knute
11-17-2003, 03:20 PM
Hrmmm... That's wierd.

Can you remove the services as root? (I know that's kind of hack and slash, but... )

Is there a force option that you could use to ignore the errors and still install?

dr_gonzo
11-17-2003, 03:24 PM
i can't remove them as root. i think these files in /usr/share/services are the problem. i might fire up morphix and delete them...

knute
11-17-2003, 03:38 PM
Ok. So are there processes still attatched to those files?

ps aux will list what's running. ps aux | grep fish will filter that to just the stuff with fish in it.

Then you can use kill -9 <pid of app> to kill the service.

Of course you could use pidof <appname> to get the pid directly as well.

HTH

dr_gonzo
11-17-2003, 04:14 PM
really strange, i just booted up morphix and tried to remove everything in /usr/share/services/ but i got a permission denied.

i booted up in single user mode aswell and tried to remove konsole. this is what i got:

root [/home/gary] apt-get remove --purge konsole
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
konsole*
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 1532kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 72923 files and directories currently installed.)
Removing konsole ...
dpkg: error processing konsole (--purge):
cannot remove `/usr/share/services/kwrited.desktop': Permission denied
Errors were encountered while processing:
konsole
E: Sub-process /usr/bin/dpkg returned an error code (1)

knute
11-17-2003, 04:51 PM
What is the output of ls -l /usr/share/services/*

dr_gonzo
11-17-2003, 04:57 PM
root [/home/gary] ls -l /usr/share/services/*
ls: /usr/share/services/about.protocol: Permission denied
ls: /usr/share/services/bzip.protocol: Permission denied
ls: /usr/share/services/bzip2.protocol: Permission denied
ls: /usr/share/services/cgi.protocol: Permission denied
ls: /usr/share/services/devices.protocol: Permission denied
ls: /usr/share/services/finger.protocol: Permission denied
ls: /usr/share/services/fish.protocol: Permission denied
ls: /usr/share/services/fontthumbnail.desktop: Permission denied
ls: /usr/share/services/kaccess.desktop: Permission denied
ls: /usr/share/services/kdeprint_part.desktop: Permission denied
ls: /usr/share/services/kfile_font.desktop: Permission denied
ls: /usr/share/services/kfindpart.desktop: Permission denied
ls: /usr/share/services/khelpcenter.desktop: Permission denied
ls: /usr/share/services/konq_aboutpage.desktop: Permission denied
ls: /usr/share/services/konq_detailedlistview.desktop: Permission denied
ls: /usr/share/services/konq_iconview.desktop: Permission denied
ls: /usr/share/services/konq_infolistview.desktop: Permission denied
ls: /usr/share/services/konq_multicolumnview.desktop: Permission denied
ls: /usr/share/services/konq_sidebartng.desktop: Permission denied
ls: /usr/share/services/konq_textview.desktop: Permission denied
ls: /usr/share/services/konq_treeview.desktop: Permission denied
ls: /usr/share/services/konqueror_config.desktop: Permission denied
ls: /usr/share/services/konsole-script.desktop: Permission denied
ls: /usr/share/services/konsolepart.desktop: Permission denied
ls: /usr/share/services/kshorturifilter.desktop: Permission denied
ls: /usr/share/services/ktexteditor_insertfile.desktop: Permission denied
ls: /usr/share/services/ktexteditor_isearch.desktop: Permission denied
ls: /usr/share/services/ktexteditor_kdatatool.desktop: Permission denied
ls: /usr/share/services/kuriikwsfilter.desktop: Permission denied
ls: /usr/share/services/kurisearchfilter.desktop: Permission denied
ls: /usr/share/services/kwrited.desktop: Permission denied
ls: /usr/share/services/kxkb.desktop: Permission denied
ls: /usr/share/services/localdomainurifilter.desktop: Permission denied
ls: /usr/share/services/print.protocol: Permission denied
ls: /usr/share/services/searchproviders: Permission denied
ls: /usr/share/services/useragentstrings: Permission denied
/usr/share/services/kded:
total 8
-rw-r--r-- 1 root root 4317 Jul 13 20:24 favicons.desktop

knute
11-17-2003, 05:03 PM
I'm not at my computer atm, but I'm curious if these services are listed in /etc/services or not.
If they are there, you could comment them out, and do a /etc/init.d/services restart and see if that fixes anything.

dr_gonzo
11-17-2003, 05:27 PM
i browsed through /etc/services but there didn't seem to be any of these in there. also, i don't have a /etc/init.d/services script present.

i couldn't delete these files when i was in morphix and these services wouldn't have been running.

thanks for helping btw :)

knute
11-17-2003, 05:53 PM
Your welcome. It's problems like this that I find fun in dealing with. :)

Say, do you have anything related to kde in your /etc/init.d directory?

If you do, it's something that you can stop.

Like if you had a network script in /etc/init.d, you could do /etc/init.d/network stop and it will stop those services.

Not sure, but it's worth a shot. :)

dr_gonzo
11-17-2003, 06:16 PM
the only thing related to kde is kdm, i've stopped that before and still got the same problem. my file system is reiserfs, could it just be a filesystem problem?

i tried to downgrade to kde 2.2 (the one in woody) and while it was trying to remove my current kde packages, it gave these errors:


dpkg: error processing konqueror (--remove):
cannot remove `/usr/share/services/konqueror_config.desktop': Permission denied
dpkg: error processing kdebase-bin (--remove):
cannot remove `/usr/share/services/kxkb.desktop': Permission denied
dpkg: error processing kdebase-kio-plugins (--remove):
cannot remove `/usr/share/services/fish.protocol': Permission denied
dpkg: error processing kdeprint (--remove):
cannot remove `/usr/share/services/print.protocol': Permission denied
dpkg: error processing khelpcenter (--remove):
cannot remove `/usr/share/services/khelpcenter.desktop': Permission denied
dpkg: error processing konsole (--remove):
cannot remove `/usr/share/services/kwrited.desktop': Permission denied
dpkg: error processing kview (--remove):
cannot remove `/usr/share/servicetypes/kimageviewercanvas.desktop': Permission denied
dpkg: kfind: dependency problems, but removing anyway as you request:
konqueror depends on kfind; however:
Package kfind is to be removed.
dpkg: error processing kfind (--remove):
cannot remove `/usr/share/services/kfindpart.desktop': Permission denied
dpkg: libkonq4: dependency problems, but removing anyway as you request:
kfind depends on libkonq4 (>= 4:3.1.4); however:
Package libkonq4 is to be removed.
konqueror depends on libkonq4 (>= 4:3.1.4); however:
Package libkonq4 is to be removed.
dpkg: error processing libkonq4 (--remove):
cannot remove `/usr/share/servicetypes/konqpopupmenuplugin.desktop': Permission denied
dpkg: kate: dependency problems, but removing anyway as you request:
konqueror depends on kate (>= 4:3.1.4).
dpkg: error processing kate (--remove):
cannot remove `/usr/share/servicetypes/kateplugin.desktop': Permission denied
dpkg: kcontrol: dependency problems, but removing anyway as you request:
konqueror depends on kcontrol; however:
Package kcontrol is to be removed.
dpkg: error processing kcontrol (--remove):
failed to rmdir/unlink `/usr/share/services/useragentstrings/wgetoncurrent.desktop.dpkg-tmp': Permission denied
Errors were encountered while processing:
konqueror
kdebase-bin
kdebase-kio-plugins
kdeprint
khelpcenter
konsole
kview
kfind
libkonq4
kate
kcontrol
E: Sub-process /usr/bin/dpkg returned an error code (1)

knute
11-17-2003, 06:26 PM
When I get home, I'll check what's in my /usr/services, and see what's there.

I don't run kde normally, cause it kills xine, and that's all I have atm to watch dvd's. Mplayer is too resource hungry for my machine atm.
I'll do some playing tonight, and see what I can see. :)

knute
11-18-2003, 01:24 PM
Well, I checked and I didn't have a /usr/services directory at all.

Now, I'm wondering if someone that runs kde has that directory or not.

dr_gonzo
11-18-2003, 08:34 PM
i reinstalled debian there today. now, i don't get any "permission denied" error messages when i list the contents of /usr/share/services, even as normal user. i remember getting some error messages from reiserfs, perhaps the file system got jumbled up... oh well, i'm running good ole ext2 now :cool:

thanks for trying to help anyway :)