mark as upgradable and let apt-get install deal with it

This commit is contained in:
fabios 2014-12-28 12:52:48 -05:00 committed by Matt Clay
parent 043242df2c
commit 3c53b3b268

View file

@ -208,7 +208,8 @@ def package_status(m, pkgname, version, cache, state):
m.fail_json(msg="No package matching '%s' is available" % pkgname)
except AttributeError:
# python-apt version too old to detect virtual packages
m.fail_json(msg="No package matching '%s' is available (python-apt version too old to detect virtual packages)" % pkgname)
# mark as upgradable and let apt-get install deal with it
return False, True, False
else:
return False, False, False
try: