linux - RPM ignore conflicts -


i have bunch of rpm files in folder. trying install them using: rpm -ivh *.rpm rpm can take care of correct installation order.

on of these rpms have newer version installed in system example:

package info-5.0-1 (which newer info-4.13a-2) installed

/opt/freeware/man/man1/infokey.1 install of info-4.13a-2 conflicts file package info-5.0-1

is there way ignore old .rpm file , resolve dependency new version installed? thought of --force option. how --force resolves conflicts? overwrites them older version or ignores them leaving new version?

any thoughts welcome.

the --force option reinstall installed packages , overwrite installed files other packages. don't want normally.

if tell rpm install rpms directory, this. rpm can not ignore rpms listed installation. must manually remove unneeded rpms list (or directory).

you can remove old rpm , rpm resolve dependency newer version of installed rpm. work, if none of installed rpms depends on old version.

if need different versions of same rpm, rpm must relocatable. can tell rpm install specific rpm different directory. if files not conflicting, can install different versions rpm -i (zypper in can not install different versions of same rpm). packaging example ruby gems relocatable rpms @ work. can have different versions of same gem installed.

i don't know on files rpms conflicting, if of them "just" man pages, can overwrite new ones old ones rpm -i --replacefiles. problem be, confuse reading old man page , thinks actual version. problem rpm --verify command. complain new package if old 1 has overwritten files.

is possibly duplicate of https://serverfault.com/questions/522525/rpm-ignore-conflicts?


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -