LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   download manager "Kget" not working after i removed some pkgs (https://www.linuxquestions.org/questions/slackware-14/download-manager-kget-not-working-after-i-removed-some-pkgs-398889/)

b0nd 01-03-2006 12:39 AM

download manager "Kget" not working after i removed some pkgs
 
Hello all,
from the Package manager (KPackage) i was removing some packages which i thought of useless for me.

But now when i'm starting the Kget.....its generating the following error
Quote:

The process for the file protocol died unexpectedly.
when i'm trying to resume the download.....its starting from some 600B/s speed download then crashing to 0...stalled. ( i've broad band connection )

how am i suppose to know that which package it requires ???

otherwise i could post the list of packages i removed.

regards

vls 01-03-2006 01:46 AM

Try
Code:

$ ldd $(which kget)
at a CLI prompt and see which libraries may be missing.

You should be able to figure out what packages you need to reinstall.

b0nd 01-03-2006 10:54 AM

Quote:

Originally Posted by vls
Try
Code:

$ ldd $(which kget)
at a CLI prompt and see which libraries may be missing.

You should be able to figure out what packages you need to reinstall.

buddy i'm not getting the way to run this command.
the name is KGet.....but i was trying to find its name there in package manager ( i hope i'm supposed to use that name as the filename in "ldd" command )......but didn't found any thing like download manager....
So what should i do now ?

regards

vls 01-03-2006 11:50 AM

Sorry for being vague. (I gotta learn to be more specific).

NOTE: I'm just guessing on a solution but I'm 99% sure this will help you get it working again. Maybe, possibly, I don't know. :)

Run the ldd command on the actual executable file your having problems with, e.g.:

Code:

ldd /opt/kde/bin/kget
(I found the pathname in the MANIFEST.bz2 file in the top of the package directory at slackware-current/slackware/
That file lists every thing slackware installs by directory path and package name.
).

It'll spit something like this out:
Code:

ldd /usr/bin/amixer
        libm.so.6 => /lib/libm.so.6 (0x4001b000)
        libasound.so.2 => not found   
        libdl.so.2 => /lib/libdl.so.2 (0x4003f000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40043000)
        libc.so.6 => /lib/libc.so.6 (0x40094000)
        /lib/ld-linux.so.2 (0x40000000)

(This is just an example, I don't have kde installed.)

If a library is missing it'll say so.
Look for a library package name similar to what might be listed as missing. If you don't see something, grep for the actual library name in that MANIFEST.bz2 file:
Code:

bunzip MANIFEST.bz2
grep -n -F 'libasound.so.2' MANIFEST

See what package it's in and:
Code:

installpkg packagename
and then go through the above process again. You'll more than likely have to do it a few times.

Okay, I've erred on the side of detail this time; hope I've not been too much of a Pedantic Ass(TM).

cwwilson721 01-03-2006 12:15 PM

My kget working fine.
Here's my output:
Code:

ldd /opt/kde/bin/kget
        linux-gate.so.1 =>  (0xffffe000)
        libkio.so.4 => /opt/kde/lib/libkio.so.4 (0xb7ca5000)
        libkdesu.so.4 => /opt/kde/lib/libkdesu.so.4 (0xb7c8b000)
        libkwalletclient.so.1 => /opt/kde/lib/libkwalletclient.so.1 (0xb7c79000)
        libkdeui.so.4 => /opt/kde/lib/libkdeui.so.4 (0xb799f000)
        libkdecore.so.4 => /opt/kde/lib/libkdecore.so.4 (0xb7765000)
        libDCOP.so.4 => /opt/kde/lib/libDCOP.so.4 (0xb7731000)
        libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7705000)
        libutil.so.1 => /lib/tls/libutil.so.1 (0xb7700000)
        libart_lgpl_2.so.2 => /usr/lib/./libart_lgpl_2.so.2 (0xb76ea000)
        libidn.so.11 => /usr/lib/./libidn.so.11 (0xb76ba000)
        libkdefx.so.4 => /opt/kde/lib/libkdefx.so.4 (0xb768e000)
        libqt-mt.so.3 => /usr/lib/qt/lib/libqt-mt.so.3 (0xb6fc7000)
        libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0xb6fa0000)
        libmng.so.1 => /usr/lib/./libmng.so.1 (0xb6f45000)
        libjpeg.so.62 => /usr/lib/./libjpeg.so.62 (0xb6f28000)
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0xb6ebc000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0xb6ea6000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb6ea3000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0xb6e9a000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0xb6e96000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0xb6e84000)
        libfreetype.so.6 => /usr/lib/./libfreetype.so.6 (0xb6e1a000)
        libexpat.so.0 => /usr/lib/./libexpat.so.0 (0xb6dfa000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb6df6000)
        libpng.so.3 => /usr/lib/./libpng.so.3 (0xb6dc5000)
        libz.so.1 => /usr/lib/./libz.so.1 (0xb6db2000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb6da4000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb6cda000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb6cd2000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb6cba000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb6ca8000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0xb6c9f000)
        libstdc++.so.5 => /usr/lib/./libstdc++.so.5 (0xb6be7000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb6bc4000)
        libgcc_s.so.1 => /usr/lib/./libgcc_s.so.1 (0xb6bbb000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb6a9f000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0xb6a99000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xb6a48000)
        /lib/ld-linux.so.2 (0xb7fe3000)

Compare it to what you have...
This is from Slackware 10.2 fresh install

liquidtenmilion 01-03-2006 04:40 PM

Ahh the "beauty" of "simplicity" at it's finest! You have everything that the binary kget depends on installed.

You're going to want to install all of the kde packages(except i18n) and then see if it will run. If it still doesn't run, then i would just install everything that you uninstalled, and then uninstall the packages one at a time and test kget after every uninstall to see which package you need.

cwwilson721 01-03-2006 04:45 PM

I didn't really look at them...Heck of alot of 'em.
The only thing I've done is installed a wireless pcmcia card and recompiled a few times

vls 01-03-2006 06:23 PM

This is the situation that I wish Pat would at least list the things a particular package requires to run.

I don't care about an automated dependency check but a note in the package.txt file listing dependent packages would be nice.

cwwilson721 01-04-2006 03:29 AM

:tisk:

Quote:

This is the situation that I wish Pat would at least list the things a particular package requires to run.

I don't care about an automated dependency check but a note in the package.txt file listing dependent packages would be nice.
Two problems with that statement:
  1. Pat did not create KDE. It has NOTHING to do w/Slackware. Complain to KDE
  2. You DO have a list of dependencies. I gave them to you. KDE is a SUITE of programs, designed to run together. Reinstall the entire package, or stop whining. Nobody makes you run KDE. Use another desktop manager if you want. That's the beauty of Linux. Run what YOU want, not what you have to run. But if you run a suite of programs, designed to run together, then delete some of them willy-nilly, don't be suprised when one of the remainig doesn't work.

mjjzf 01-04-2006 06:53 AM

# installpkg old-school_rant_about_the_beauty_of_wget-486-osd.tgz


All times are GMT -5. The time now is 06:44 PM.