Re: Updating package in YUM local repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My understanding of the release field of the rpm is for showing updates to the rpm itself; not the software
that the rpm is installing.

1.1.0-1
1.1.0-2 <<< fix in rpm itself
1.1.1-1 <<< fixes in software installed by the rpm

So the rpm release would rev to a new number if you fixed a bug in the rpm like in one of the scriptlets.
Moving to a new "major" version would set the release filed back to 1 i.e. 1.2.0-1

On Fri, Mar 2, 2012 at 1:45 PM, MKRS <mauricio.klein.msk@xxxxxxxxx> wrote:

Thank you so much Nixdata, the "Release Version" of the package was not being
incremented. Now the Yum recognizes the updates.

Just one more question, about RPM architecture:
Let's say my package is in version 1.0.0, release 1

So, i create a update, then the package version will be 1.1.0, release 2.
Another update, version 1.2.0, release 3.

Now, i create a major modification, and the version will be raised to 2.0.0.

The release version should be set back to '1' or keep being incremented,
reaching '4' in this case?

Again, thanks in advance for your attention!


nixdata wrote:
>
> Be sure that you run the below command on the machine from which you are
> querying the yum repository from. The command will clear your local cache
> data and allow you to download all of the necessary repo data. Also if the
> rpm is currently installed on the machine be sure that you increment the
> release number (Release: 2) by 1 so that yum understands that it is an
> update. You can also simply remove the rpm if incrementing the release
> will be a problem.
>
> yum clean all
>
>
> MKRS wrote:
>>
>> Hello everyone!
>>
>> I'm creating a local repository, where some proprietary packages will be
>> placed.
>>
>> I can actually put the packages in YUM and, after running createrepo in
>> my repository the package is found by YUM without problems.
>>
>> My question now is: how can i update this package?
>>
>> I've already tried overwrite the installed package in repository using a
>> newer version of this package and rerun createrepo, but YUM says that no
>> updates were found!
>>
>> Someone know what is the right way to install a package update in YUM
>> repository?
>>
>> Maybe someone could indicate a web page that explains the YUM repository
>> hierarchy and how to build my own repository.
>>
>> Thanks in advance for your attention!
>>
>
>

--
View this message in context: http://old.nabble.com/Updating-package-in-YUM-local-repository-tp33429356p33430701.html
Sent from the YUM - Users mailing list archive at Nabble.com.

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux