LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-29-2004, 10:52 PM   #1
shakespy
LQ Newbie
 
Registered: Jul 2004
Location: Brazil
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Angry RPM - I hate them!!!


Hi folks,,, it's the first time I get here, and I got some troubles with RPM's, well, everything started when I installed my first linux Slackware 9.1, well, it was painfull for me, used to use windows get to know the linux system, but I'm still trying, well every time that I try to install a rpm file the program says that a lot of dependencies is missing, but it's stranger, I did a full install and this linux is NEW, so what can be wrong? well, then I got the new version of slackware 10, and I got the same problem, and I did a full install, it's stranger for me, it's seems that linux is so complicated to install a simple software, I want to know, how to rise above these problems, with rpm and others packages "if they have this problem of dependencies too", well thanks in advance for you all,,, I hope I could install a rpm soon,,,

bye!!! folkss
 
Old 07-29-2004, 10:55 PM   #2
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
Slackware is not an RPM based distro. We hate RPMs too

you can try rpm2targz and compile from source, or find it in .tgz format, which slackware uses.
try linuxpackages.net or slackcare.com
 
Old 07-29-2004, 11:28 PM   #3
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
What program were you trying to install?
 
Old 07-29-2004, 11:30 PM   #4
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Hey,

I'm not sure how you are installing the rpm's in slackware -but like FLOODS said, you can use rpm2tgz.

example:

rpm2tgz filename.rpm (enter)

you will then have a new file:

filename.tgz

then type:

installpkg filename.tgz (enter)

OR you can use pkgtool and install from the current directory (as long as the .tgz is in the
same directory you run pkgtool from - comes in handy when installing more then 1 package).


If there are still dependancy issues, post what program you are installing and if someone is
familiar with it, they can help you out. Please don't forget to let us know the program, the
program version, where you obtained the program (web link), the commands you used, and
the error message.

good luck - tw
 
Old 07-30-2004, 01:02 AM   #5
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Rep: Reputation: 38
Just a little tip, you can still use installpkg to install more than one package at a time, simply append them next to each other like so:

Code:
installpkg package1.tgz package2.tgz package3.tgz
 
Old 07-30-2004, 03:51 AM   #6
Brane Ded
Member
 
Registered: Nov 2003
Location: over there
Distribution: Debian Testing
Posts: 191

Rep: Reputation: 30
Ewww, throw away those RPMs, they're bad for you. If you want to download precompiled packages, look for those of the .tgz variety.

You did a full install, so for most programs just download source, and then:

$ tar -xzvf program.tar.gz
(or for tar.bz2) $ tar -xjvf program.tar.bz2
$ cd whatever
$ ./configure
$ make
$ su -c 'make install'

That's what a full install is good for, put it to work.
 
Old 07-30-2004, 03:54 AM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You can get a lot of precompiled slackware packages from linuxpackages.net
 
Old 07-30-2004, 04:08 AM   #8
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
I would try the --nodeps option when using the rpm command in slackware because the rpm database in slackware is not managed to suit the official slackware installation (e.g you have the required package but in .tgz so rpm does not find it).

rpm -ivh --nodeps <your_rpm>
 
Old 07-30-2004, 01:19 PM   #9
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 32
RPM keeps a database of all the packages you have installed, and checks dependencies against this database when installing new packages. However, it can only keep track of RPM packages that are installed; those installed with any other package manager will have no effect on it.

Since Slackware is not an RPM-based distro, and RPM is only included for the sake of compatibility, your base system is not made up of RPM packages, but rather Slackware's own native .tgz format. As a result, RPM doesn't know about all the installed packages, so its dependency checks will almost always fail. You can get around this problem by either using the --force and --nodeps options in rpm, or you can convert the rpms into slackware packages using rpm2tgz . If I really have to install an RPM, I use the latter approach, and I haven't had any mjor problems with it.

On the other hand, it might be worth making sure there isn't a Slackware package available instead. LinuxPackages has quite a lot of good quality packages.
 
Old 07-30-2004, 04:04 PM   #10
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Unfortunately, lots of hard-to-find source code is only available as RPM or debian packages. So it's good to have rpm2tgz and undeb.
instead of right away installing a converted package. run explode pkg(with the pkg in a separate folder) and have a look. might need to move a few things around to make them Slack-like. then run makepkg and create a new slackpack.

unpack a real slack pkg first and save the /install/slack.desc file to use as a template for your package. edit appropriately. create a /install folder in the top of the folder where you unpacked the package. This file, included in the pkg, insures that pkgtool/removepkg can REALLY remove the files.
or use checkinstall.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't hate me for this but... buster_balz Linux - Software 2 06-02-2005 09:02 AM
Hate it....... sgrayban Conectiva 9 04-30-2005 05:24 PM
I hate it when... Tarts General 27 10-20-2003 04:32 PM
I hate to ask this but... TippyToes General 16 08-24-2003 07:23 PM
i hate this!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Jeffrey General 5 04-06-2001 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:49 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