Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Say I have installed mypkg-1.2.3-4567.noarch.rpm from some yum repo.

  1. Is it valid for the rpm publisher to re-publish mypkg with the same version and release and just run createrepo --update? Is it recommended?
  2. If #1 is allowed, will yum upgrade my installation of mypkg if I run yum install mypkg again?
share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

No, the rpm publisher has to increase the release number each time the rpm changes. yum update mypkg or yum install mypkg will have no effect if a package with the same name-version-release is already installed.

share|improve this answer
    
thank you. I searched but could not find this assertion in the yum man page or other official documentation. Could you please point me to something official that says this? –  bagheera Apr 6 '13 at 6:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.