yum and indirect downgrades

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

 



Hi,

we are trying to use RPM and YUM to maintain our own software and
configuration, putting *all* files delivers to a server into RPMs...

We found a problem with indirect downgrades where a package that is
beeing updates requires an older package.

Some background info:

We have a config RPM for each server that has dependencies on all the
software RPMs that should be installed on the server. We would like to
be able to pin the release version of the software through an RPM
dependency on the software version so that it stays installed even if
the YUM repo contains a newer version.

Furthermore, we would like to be able to downgrade the software release
by changing the dependency in the config RPM. In the example below the
is24-config-devsol02-1.2-381 package depends on search-server-release <
1.29. ATM search-server-release = 1.29-1 is installed. The currently
installed is24-config-devsol02-1.2-380 package depends on
search-server-release-1.29-1 which is why this is also the installed
search-server version.

The problem we have is that yum seems to realize that it needs to
downgrade the search-server package in order to be able to upgrade the
is24-config-devsol02 package but it only prints out the information and
does not apply the ovious (downgrading search-server).

# yum upgrade -y
is24-rhel5
                                                    | 1.9 kB     00:00
is24-rhel5/primary_db
                                                    |  36 kB     00:00
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package is24-config-devsol02.noarch 0:1.2-381 set to be updated
--> Processing Dependency: search-server-release < 1.29 for package:
is24-config-devsol02-1.2-381.noarch
--> Finished Dependency Resolution
Error: Package: is24-config-devsol02-1.2-381.noarch (is24-rhel5)
           Requires: search-server-release < 1.29
           Installed: search-server-release-1.29-1.noarch (@is24-rhel5)
               search-server-release = 1.29-1
           Available: search-server-release-1.26-1.noarch (is24-rhel5)
               search-server-release = 1.26-1
           Available: search-server-release-1.27-1.noarch (is24-rhel5)
               search-server-release = 1.27-1
           Available: search-server-release-1.28-1.noarch (is24-rhel5)
               search-server-release = 1.28-1
 You could try using --skip-broken to work around the problem

Do you have an idea how to solve this problem? We would like to pin the
releases of search-server in is24-config-devsol02 and be able to take
the release up and down with always running yum upgrade and an updated
is24-config-devsol02 package.

Thanks a lot,
Schlomo Schapiro
_______________________________________________
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