Home > OS >  Save the children, questions about the installation of RPM package
Save the children, questions about the installation of RPM package

Time:09-23

Linux is a great god, small white to ask a question,
Felt libpcap recently not too good, to change the two lines in the source code, and now want to modified libpcap source generated RPM packages waiting to local source of yum, in order to remotely yum libpcap - 1.9.0 of source, I define it as libpcap - 1.9.1, to copy it to yum after local source, but it is less than the RPM package, is very distressed,
Have tried for two days, still can't find method, bits a great god, please save the children

CodePudding user response:

refer to the original poster haojiangcong response:
each Linux is a great god, small white to ask a question,
Felt libpcap recently not too good, to change the two lines in the source code, and now want to modified libpcap source generated RPM packages waiting to local source of yum, in order to remotely yum libpcap - 1.9.0 of source, I define it as libpcap - 1.9.1, to copy it to yum after local source, but it is less than the RPM package, is very distressed,
Have tried for two days, still can't find method, bits a great god, please save the children

Excuse me, how to configure or modify where you can find the new RPM package

CodePudding user response:

Createrepo update yum repository

CodePudding user response:

refer to the second floor mouse_zhu response:
createrepo update yum warehouse

Thank you upstairs, tried, still won't do,
Is it because in yum source, no matter use what library, are not allowed to exist two different version of the same software

CodePudding user response:

I can certainly tell you, I feel there is something wrong with createrepo, or you you want to be in contains a repodata directory using this command

CodePudding user response:

Add new RPM package in yum source first, then delete the repodata folder, finally createrepo the carrying out of the folder, is that right?
Or search less than, can try upstairs, no like
  • Related