<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RPM question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176108#M73076</link>
    <description>Thank you for replies.&lt;BR /&gt;&lt;BR /&gt;I saw in few documentations:&lt;BR /&gt;rpm -ba&lt;BR /&gt;&lt;BR /&gt;But my RedHat AS 3.00 linux box says that -ba is unknown option ....&lt;BR /&gt;&lt;BR /&gt;Weird ...</description>
    <pubDate>Wed, 28 Jan 2004 08:51:42 GMT</pubDate>
    <dc:creator>Alex Lavrov</dc:creator>
    <dc:date>2004-01-28T08:51:42Z</dc:date>
    <item>
      <title>RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176105#M73073</link>
      <description>Hello,&lt;BR /&gt;is there any tool to view how rpm file was built? It's drictories, spec files etc.&lt;BR /&gt;Also, where can I find a *good* documentation about building rpm files (wuth examples).&lt;BR /&gt;&lt;BR /&gt;Thank you for help.</description>
      <pubDate>Wed, 28 Jan 2004 04:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176105#M73073</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2004-01-28T04:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176106#M73074</link>
      <description>here's a link&lt;BR /&gt;&lt;A href="http://rpm.redhat.com/RPM-HOWTO" target="_blank"&gt;http://rpm.redhat.com/RPM-HOWTO&lt;/A&gt;&lt;BR /&gt;I used it to build my rpms.&lt;BR /&gt;&lt;BR /&gt;Best Regards.</description>
      <pubDate>Wed, 28 Jan 2004 04:38:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176106#M73074</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-01-28T04:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176107#M73075</link>
      <description>rpm -ql package&lt;BR /&gt;rpm -q --filesbypkg package&lt;BR /&gt;man rpm&lt;BR /&gt;Good tut on package building :&lt;BR /&gt;&lt;A href="http://freshrpms.net/docs/fight/" target="_blank"&gt;http://freshrpms.net/docs/fight/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Wed, 28 Jan 2004 07:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176107#M73075</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2004-01-28T07:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176108#M73076</link>
      <description>Thank you for replies.&lt;BR /&gt;&lt;BR /&gt;I saw in few documentations:&lt;BR /&gt;rpm -ba&lt;BR /&gt;&lt;BR /&gt;But my RedHat AS 3.00 linux box says that -ba is unknown option ....&lt;BR /&gt;&lt;BR /&gt;Weird ...</description>
      <pubDate>Wed, 28 Jan 2004 08:51:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176108#M73076</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2004-01-28T08:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176109#M73077</link>
      <description>You need to add a line to /etc/popt&lt;BR /&gt;rpm exec  --ba rpmb -ba&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards.</description>
      <pubDate>Wed, 28 Jan 2004 08:55:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176109#M73077</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-01-28T08:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176110#M73078</link>
      <description>It works!&lt;BR /&gt;&lt;BR /&gt;Tank you very much for the help! :-)</description>
      <pubDate>Wed, 28 Jan 2004 09:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176110#M73078</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2004-01-28T09:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176111#M73079</link>
      <description>Hello again, another RPM problem.&lt;BR /&gt;When I put some file in the %files section, &lt;BR /&gt;I get this message:&lt;BR /&gt;Requires(rpmlib): rpmlib(ConpressedFileNames) &amp;lt;= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) &amp;lt; 4.0.-1&lt;BR /&gt;Checking for unpackaged files: /usr/lib/rpm/check-files %{buildroot}&lt;BR /&gt;getOutputFrom(): Broken pipe&lt;BR /&gt;&lt;BR /&gt;Any ides how to solve it?&lt;BR /&gt;&lt;BR /&gt;thanx.</description>
      <pubDate>Thu, 29 Jan 2004 02:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176111#M73079</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2004-01-29T02:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176112#M73080</link>
      <description>Hi &lt;BR /&gt;This is because the .spec file is missing a definition of a build-root directory in the "Buildroot:" field, AFA I remember, RH3.0's current build-root definition is this:&lt;BR /&gt;Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u}&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Thu, 29 Jan 2004 03:40:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176112#M73080</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2004-01-29T03:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176113#M73081</link>
      <description>It helped, thank you, but probable I'm missing something.&lt;BR /&gt;&lt;BR /&gt;I want to build rpm that does not build a thing. I want it only put some files, maybe modify some files and that's it.&lt;BR /&gt;&lt;BR /&gt;What is the best way to create that kind of rpm? It's gonna be package with files that will be copied to different directories ...&lt;BR /&gt;No build, no install ...&lt;BR /&gt;Just untar and copy.&lt;BR /&gt;&lt;BR /&gt;Or maybe rpm is not good for me ...</description>
      <pubDate>Thu, 29 Jan 2004 04:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176113#M73081</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2004-01-29T04:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176114#M73082</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;If you just want to pack and unpack things, why don't you just use tar ? (man tar) It will make from several files and directories one zipped archive, you'll extract theneafter...&lt;BR /&gt;Or do you want to specifically use rpm for that  purpose ?&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Thu, 29 Jan 2004 04:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176114#M73082</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2004-01-29T04:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176115#M73083</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;I want to unpack things, put them in different places, modify some configuration files ...&lt;BR /&gt;As far as I know, it's too complicated for tar. If it was HPUX (I work on HPUX) I could build software depot and in linux I thought that it's gonna be rpm, correct me if I'm wrong.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jan 2004 05:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176115#M73083</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2004-01-29T05:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176116#M73084</link>
      <description>if that's all you need to do-then tar will be the perfect choice..&lt;BR /&gt;if you make you tar from /&lt;BR /&gt;and add /etc/xinetd.d/telnet (just for example-nothing personal) to it.&lt;BR /&gt;Then when you unpack the tar while standing in / it will put it's file in exact the same location, i.e. in /etc/xinetd.d&lt;BR /&gt;So it's able to change configuration files...</description>
      <pubDate>Thu, 29 Jan 2004 05:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176116#M73084</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-01-29T05:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176117#M73085</link>
      <description>100 % agree.&lt;BR /&gt;Use rpm if you really want to install programs, that is to say not only replace files, but add parameters to conf files or modify parameters, search for libs and so on...&lt;BR /&gt;&lt;BR /&gt;If it's what you are looking for, then back to your prob. Otherwise tar is easy, except that it won' serach for files in different paths than the one you packed from.&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Thu, 29 Jan 2004 05:55:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176117#M73085</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2004-01-29T05:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176118#M73086</link>
      <description>Well, it solves the unpacking issue, but if I need to create filesystem, modify some params, etc ....&lt;BR /&gt;&lt;BR /&gt;And ofcourse the remove thing.&lt;BR /&gt;The person who uses my tar, never knows what it does, but if its rpm I can rpm -e it and it will remove it all, right?&lt;BR /&gt;&lt;BR /&gt;(I'm totaly new to linux administration, so I'm sorry for the noob questions:-) )</description>
      <pubDate>Thu, 29 Jan 2004 06:05:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176118#M73086</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2004-01-29T06:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176119#M73087</link>
      <description>But this is about programming issue.&lt;BR /&gt;Rpm is a convenient way to automatize installs and to put all the stuff in a all in one file. If you look at the freshrpms link above, you'll see that in the spec file the process looks much like as in a tarball, with make &amp;amp; make install. &lt;BR /&gt;If you know how to program a little exec file that would do the stuff you need, then you can use rpm to pack it and distribute it.&lt;BR /&gt;But rpm is not designed to do these things by itself.&lt;BR /&gt;So first step would be there : setting the program you need as if you could install it manually by a make install, then make from it an rpm...&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Thu, 29 Jan 2004 08:16:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176119#M73087</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2004-01-29T08:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176120#M73088</link>
      <description>But this is about programming issue.&lt;BR /&gt;Rpm is a convenient way to automatize installs and to put all the stuff in a all in one file. If you look at the freshrpms link above, you'll see that in the spec file the process looks much like as in a tarball, with make &amp;amp; make install. &lt;BR /&gt;If you know how to program a little exec file that would do the stuff you need, then you can use rpm to pack it and distribute it.&lt;BR /&gt;But rpm is not designed to do these things by itself.&lt;BR /&gt;So first step would be there : setting the program you need as if you could install it manually by a make install, then make from it an rpm...&lt;BR /&gt;&lt;BR /&gt;BTW, this is by no mean a noob question :]&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Thu, 29 Jan 2004 08:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176120#M73088</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2004-01-29T08:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: RPM question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176121#M73089</link>
      <description>Well, that's exactly what I'm doing.&lt;BR /&gt;I'll use only %files, %pre, %post, %preun and %postun derictives in my spec file.&lt;BR /&gt;To unpack files, modify the system configurtaion as installation and deleteing files, modifying the system back as uninstall ...&lt;BR /&gt;Let's hope that bash on linux is the same bash we have on HPUX :-)&lt;BR /&gt;&lt;BR /&gt;Thanks you all for your help!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jan 2004 08:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-question/m-p/3176121#M73089</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2004-01-29T08:30:23Z</dc:date>
    </item>
  </channel>
</rss>

