Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-03-2012, 02:57 AM   #1
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Where has my rpm2tar gone

It was pointed out to me when I claimed I had neither rpm2tar, rpm2tgz, or rpm2txz, that I must have not had a full installation of my Slackware 13.37.
I do have an rpm2cpio.
/var/log/packages has tar-1.26-i486-1 as being installed.
A man of rpm's noted above shows no entry for each.
If I try rpm2tar <a dummy.rpm file> I get "command not found".
Using rpm2tgz and rpm2txz instead of rpm2tar yields:
rpm2cpio failed.
Will someone tell me:
if rpm2tgz/txz is in fact using rpm2cpio
why I have niether rpm2tar, rpm2tgz, nor rpm2txz
where is my rpm2 a tgz located if it exists [man -k rpm does not yield anything that looks close except rpm2cpio.
Since I am told rpm2txz was written for Slackware I am confused why my full (sans typesetting) install does not have it.
Old 10-03-2012, 03:15 AM   #2
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,188

Rep: Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184
These is no rpm2tar in Slackware. However, rpm2tgz, rpm2txz and rpm2targz are all part of the rpm2tgz package (not the rpm package) and this package is part of the 'a' series.

EDIT: And yes, rpm2tgz uses (and so depends on) rpm2cpio, with rpm2cpio being provided by the rpm package. the rpm package is provided by the 'ap' series.

P.S. You could have used "slackpkg file-search rpm2tgz" to find out which package provides it. Or used MANIFEST.bz2. Just open it in less and search for the things you need.

Last edited by ruario; 10-03-2012 at 07:06 AM.
Old 10-03-2012, 02:22 PM   #3
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
Where has my rpm2tar gone

OK so rpm2tar is gone now from Slackware.
I have rpm2cpio.
There are NO man pages for rpm2tgz, rpm2targz, rpm2txz.
There is a /usr/bin/rpm2tgz and /usr/bin/rpm2targz
/usr/bin/rpm2tgz is a link to rpm2targz.
The find / -name "*rpm2targz*" found a /usr/doc/rpm2targz/rpm2targz.README which provided the info I needed.


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

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration