Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apt-get problem -> can't find package

Status
Not open for further replies.

N3XuS

Programmer
Mar 1, 2002
339
BE
[root@SerialGuy downloads]# apt-get install xplorer-0.74-2.i386.rpm
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package xplorer-0.74-2.i386.rpm

apt-get says this with every package I tried. If I type
[root@SerialGuy downloads]# apt-get install ./xplorer-0.74-2.i386.rpm

it says it can't find "." .

Looking at the example
[root@psyche root]# apt-get install xine
Reading Package Lists... Done
Collecting File Provides... Done
Building Dependency Tree... Done
The following extra packages will be installed:
[/qoute]

I don't see the problem :(
 
apt-get and rpm are two seperate beasts...

try 'apt-get install xplorer'
 
you can try to find the correct name:

apt-cache search xplorer

it will give you a list of posibilities... pick one and:

apt-get install xplorer-0.74-2
 
So apt-get doesn't actually look in the package for dependencies, it has to have a list somewhere of which dependencies are needed ?
 
yes, it has the list of dependencies... the issue is the filename you are giving.

Debian install packages with .deb files not .rpm

In addition, apt-get needs the name of the package, not the file name... do I explain myself clear? the product is "xplorer" and the file name could be "xplorer-0.7-2.deb"..


cheers.
 
Thing is that only works for a very limited number of packages :'(
And I actually need libqt.so.1 , when I try apt-get install libqt it says I have the most recent version. I tried a lot of libqt libraries and it's still asking for libqt.so.1 :(
 
do you have that file in /usr/lib ?
do you have the correct libqt?
did you run ld?

cheers.
 
BTW, you could try to install the development package of libqt... (libqt-devel-xxx)

some packages ask for dependencies using pkgconfig or, for example, qt-config... (just an example, not sure the name or if it exist.. with ALSA, you have alsa-config and it comes with the alsa-devel-xxx package).

 
I tried apt-get install libqt --> says I have the latest version. apt-get install libqt.so.1 --> no package found
apt-get doesn't show any libqt nor does "yum" and manually finding anything usually ends me up with 10 pages of other dependent packages that require a library of books to be able to solve how to install 'm.

All I can find in /usr/lib concerning libqt is :

libqtcups.la
libqtcups.so.2 -> libqtcups.so.2.0.0
libqtcups.so.2.0.0
libqtmcop.so.0 -> kde2-compat/lib/libqtmcop.so.0
libqtmcop.so.0.0.0 -> kde2-compat/lib/libqtmcop.so.0.0.0
libqtmcop.so.1 -> libqtmcop.so.1.0.0

whether it's there or not, apt doesn't let me install a new libqt.

No idea what that ld does though ... don't get much wiser reading the manual.

Every thing I try to install it requires stuff I can't find for some reason, currently gtk-conf is missing and gtk+ is installed :'( :'(
 
You should be able to create a symlink to solve the libqt.so.1 problem.
This is a typical problem on Redhat systems...

Find the current libqt
"cd /; find -iname libqt*"
Change to the directory you found it in.
Assume now for example that it found "libqt.so"

do a symlink to it in the same directory
"ln -s libqt.so libqt.so.1"

There are a few applications/dependencies that will get solved by doing this...

 
I found ./usr/lib/qt-3.1/lib/libqt.so and made a link in both /usr/lib and ./usr/lib/qt-3.1/lib/ , doesn't seem to do much :( still need the library to install xplorer
 
What distro and version are you running? I'm figuring Redhat?

----
JBR
 
I was running RH9.0 (currently MB is fried, gonna fix later on the day :p )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top