-
Notifications
You must be signed in to change notification settings - Fork 254
DebianUbuntuSupportIn27
Significant improvements to Debian/Ubuntu version parsing and matching were made in the Spacewalk 2.7 release. The majority of the changes were done in Spacewalk server. However, there is a change that must be applied to client systems as well. When upgrading from a previous Spacewalk release to Spacewalk 2.7, it is also required that all Debian/Ubuntu channels be cleaned and synced again to import the right versions
The client needs to be fixed also to report an X instead of a 0 as release if it is empty.
The file /usr/share/rhn/up2date_client/debUtils.py needs the following change:
-- a/usr/share/rhn/up2date_client/debUtils.py
+++ b/usr/share/rhn/up2date_client/debUtils.py
@@ -28,7 +28,7 @@ def verifyPackages(packages):
def parseVRE(version):
epoch = ''
- release = '0'
+ release = 'X'
if version.find(':') != -1:
epoch, version = version.split(':')
if version.find('-') != -1:
Spacewalk 2.7 changes the parsing to handle the debian package version components according to definitions from here. After an update to Spacewalk 2.7 the existing Debian/Ubuntu channels must be cleaned and synced again to import the right versions.
We welcome any community input to make this page better. If you would like to contribute to this page, or any other Spacewalk Wiki pages, please submit Pull request to spacewalkproject/spacewalk-wiki repository. More details can be found here.
Do you want to contribute to this wiki? See page WikiContribute for more info.