LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-07-2003, 01:39 AM   #1
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Rep: Reputation: 15
problem with rpm2tgz


laxi@LaXi:~/gaim$ ls
gaim-0.64-1.i386.rpm wry.dll*
laxi@LaXi:~/gaim$ rpm2tgz gaim-0.64-1.i386.rpm

laxi@LaXi:~/gaim$ ll
-rw------- 1 laxi users 2919100 2003-11-28 20:38 gaim-0.64-1.i386.rpm
-rw-r--r-- 1 laxi users 131 2003-12-07 00:38 gaim-0.64-1.i386.tgz
-rwxr-xr-x 1 laxi users 7435074 2003-12-01 23:19 wry.dll*

the convert tgz just have 131bit .why ?how can i do to make rpm2tgz work well again?
(i have remove the rpm-4.2.1-i486-2.tgz ,and reinstall it again ,but the problem is still here :-( i dont want to reinstall my slack)

thanks for any ideas ~
 
Old 12-07-2003, 07:58 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Save yourself the hassle and get a .tgz for gaim from linuxpackages.net
 
Old 12-07-2003, 10:20 PM   #3
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Original Poster
Rep: Reputation: 15
Arrow

thanks Hangdog42, but you know the function of convert rpm to tgz is very useful (some software just have rpm package,and sometimes i want to use the binary package beacause i am very lazy ),although it is not secure sometimes .
i want to know how to fix my rpm2tgz ,please help me ,thanks
 
Old 12-08-2003, 01:48 AM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
laxi...

Tried running rpm2tgz as root?
 
Old 12-08-2003, 08:24 AM   #5
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Original Poster
Rep: Reputation: 15
Azmeen ,thanks ,but i got the same result ......
why ? i have reinstalled the rpm system ,but it still cant work....
 
Old 12-08-2003, 08:53 AM   #6
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Maybe there's some problem with that particular RPM itself... so far, I've yet to find an RPM that I can't successfully convert to Slackpacks.

I understand that you're using this gaim RPM as an example... are there any other RPMs that you're having problems converting?
 
Old 12-09-2003, 11:01 PM   #7
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Original Poster
Rep: Reputation: 15
to Azmeen: no, i cant convert other rpm package too~ .
i have removed the rpm system (remove the rpm-4.2.1-i486-2.tgz) ,and then i remove the rpm2tgz (i dicovered it is a link to rpm2targz ,so i remove rpm2tgz too),then i reintalled the rpm-4.2.1-i486-2.tgz,but there isnt rpm2tgz or rpm2targz in /usr/bin .why ?which package include the rpm2targz command? so i copy a rpm2targz from my friend's slackware9.1 .
run rpm2targz again ,but i got the same result ....

how can i do with that ?i want my slack be fine again ....please.....
thanks in advance again

Last edited by laxi; 12-09-2003 at 11:04 PM.
 
Old 12-10-2003, 12:45 AM   #8
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
rpm2tgz is part of the bin package.
 
Old 12-10-2003, 01:16 PM   #9
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
'rpm2tgz' usually screws up permissions so I wouldn't use it unless absolutely necessary. Instead, look for a slackpack or compile from source and install with checkinstall or something similar.
 
Old 12-11-2003, 04:02 AM   #10
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Original Poster
Rep: Reputation: 15
thanks for reply...
i just want to know why it cant work. i read the rpm2targz ,but i cant understand it, i dont know the bash programe . why does the rpm2targz can convert rpm to tgz ?i want to know it ,maybe i can find out why my rpm2tgz get bad ,and fix it .please tell me ...
 
Old 12-11-2003, 12:56 PM   #11
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
It's something to do with the program but I'm not sure why. You'll have to ask Patrick Volkerding, the creator of Slackware and rpm2tgz, why rpm2tgz screws with permissions. I wish I could be of more help.
 
Old 12-11-2003, 10:57 PM   #12
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Original Poster
Rep: Reputation: 15
thanks Nis ...
i think i will ask him later....
 
Old 12-12-2003, 12:01 AM   #13
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Quote:
Originally posted by Nis
It's something to do with the program but I'm not sure why. You'll have to ask Patrick Volkerding, the creator of Slackware and rpm2tgz, why rpm2tgz screws with permissions. I wish I could be of more help.
Why do say this? Actually if you actually take a look at the contents of rpm2targz you can see that it actually sets all files to 755 (check lines 87-88, might differ slightly depending on your slack version), the default behaviour of "normal" slackpacks.
 
Old 12-12-2003, 06:55 AM   #14
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
I'm sorry if what I'm saying is false, but I'm only speaking from my personal experience. Also, check this on LinuxPackages for some more problems with using rpm2tgz. I don't want to give false information so again I am sorry if I have. But I still advise against using rpm2tgz; you can always compile the program from source and install with checkinstall.
 
Old 12-12-2003, 07:19 PM   #15
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Nis,

I'm not saying that what you said was false... in fact, it might be correct as I can foresee files that the permissions shouldn't be 755 (like configuration files and so on)... in fact I acknowledge that rpm2tgz is far from perfect, but on most occasions, it does work.

I too have unsuccessfully tried to convert some RPMs into Slackpacks, however, these are few and far between... And usually I prefer to compile from source anyway if no Slackpack is available for the particular app I want to try.

Anyway, for "common" apps... I believe you will most likely find them in sites such as LinuxPackages.net and others.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rpm2tgz - curious wh33t Slackware 3 02-03-2005 08:39 AM
rpm2tgz lenucks Slackware 3 06-13-2004 08:09 PM
about rpm2tgz laxi Slackware 4 09-28-2003 12:43 PM
rpm2tgz question. trn Slackware 6 03-03-2003 02:04 PM
rpm2tgz not cutting it Kellvyn Slackware 2 07-28-2002 02:46 AM

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

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