LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-10-2002, 01:42 PM   #1
oldbee
LQ Newbie
 
Registered: Jan 2002
Posts: 20

Rep: Reputation: 0
about making rpm


Hi,

Can rpm be made in such a way that it just overwrites those files that are older than the ones provided in the rpm?

By default, you would get a file conflicting error message.

thanks.

oldbee
 
Old 01-10-2002, 02:45 PM   #2
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
well, if you upgrade the rpm, then it will do that, but if you force an install, there' no guarentee it'll work, use 'rpm -Uv file.rpm'
 
Old 01-10-2002, 02:53 PM   #3
oldbee
LQ Newbie
 
Registered: Jan 2002
Posts: 20

Original Poster
Rep: Reputation: 0
My understanding is that -U will just do an uninstall and install. It will not check the file dates for you - see man rpm.

Plus, I have got a more complicated problem. The files that are in conflicting are not necessarily installed by the same software (rpm).
It is like two or more software (rpm packages) all packed a specific shared lib in them - but different versions probably. The desired result (if rpm can handle) would be to keep the latest shared lib...

Maybe there is no such support in RPM yet. On windows, the user always get a prompt when installing a new software:
something like:
A newer xxx.DLL already exists in your system. Replace?
 
  


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
Making Own Ndiswrapper RPM Xaser2000 Linux - Wireless Networking 1 03-02-2005 01:13 PM
making kernel RPM. does not make initrd file mindcry Linux - Software 5 08-12-2004 10:20 PM
making an RPM package ?? rinux Linux - Software 1 09-24-2003 07:11 PM
Making a RPM Kryptow Linux - Software 1 09-20-2002 09:56 PM
Making rpm saleem Linux - General 5 11-12-2001 05:36 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:51 AM.

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