LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-07-2013, 06:28 AM   #16
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51

Thanks.
I do see it created a new RPM. While I install the created RPM it threw some conflicting issue.


In General when I install a.rpm it does ask me for b.rpm and c.rpm dependency but in this case its conflicting with util-linux-ng package. Please suggest.
 
Old 05-07-2013, 09:47 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 16 .
Quote:
when I install a.rpm it does ask me for b.rpm and c.rpm dependency
How was the install executed ?
It might work with a %post command (in the spec file) :
%post -p cd <system-path-to-directory-with-packages>/ && rpm -Uvh a.rpm b.rpm c.rpm
... I.e. by interdependency "chain install" must be used: rpm -Uvh a.rpm b.rpm c.rpm


Quote:
in this case its conflicting with util-linux-ng package
If the conflicting files are unimportant files like doc/, man/, info/ :
Build a new package without those files.

If it's about system files in util-linux-ng : Suggest :
Incorporate the files in a new 'util-linux-ng' rpm package,
and use a new "Release version".

'util-linux-ng' : The current version is util-linux-ng-2.17.2-12.4.el6
The Release / build ver. / "minor version" is 12.4 :
To get an update with 'rpm -Uvh' : Use a higher "minor" like 99.

Note : The 'rpm -ivh' command is to be used only when you want two
non conflicting versions of the same library installed at the same time.

-

Last edited by knudfl; 05-07-2013 at 09:49 AM.
 
Old 05-07-2013, 12:04 PM   #18
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
In general, what I need is a.rpm to be installed. While I manually install a.rpm it throws dependency called b.rpm and c.rpm.
Now I create a RPM named myrpm-1.0.noarch.rpm. Since I have put all the a.rpm , b.rpm and c.rpm in Require field. What I am expecting it it should install b.rpm and c.rpm along with a.rpm . Correct?
 
Old 05-07-2013, 12:31 PM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 18 .
Quote:
What I am expecting it it should install b.rpm and c.rpm along with a.rpm
Requires: a.rpm, b.rpm, c.rpm
... Means that the packages will be installed from a valid repository,
when you do : # yum install <path-to>/myrpm-1.0.noarch.rpm
 
  


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
error in building rpm of open ldap from source using rpm package manager Infotechie Linux - Software 2 05-02-2012 01:10 AM
rpm -i --prefix=/home/user package.src.rpm doesn't work? registering Linux - Software 2 07-18-2007 11:28 AM
counter part of "rpm -ivh --force kernel....rpm in slackware b0nd Slackware 2 01-28-2006 07:46 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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