diff -u jockey-0.9.7/debian/changelog jockey-0.9.7/debian/changelog --- jockey-0.9.7/debian/changelog +++ jockey-0.9.7/debian/changelog @@ -1,3 +1,9 @@ +jockey (0.9.7-0ubuntu15) UNRELEASED; urgency=low + + * jockey/oslib.py Additional fixes for current APT api (LP: #1239298) + + -- Scott Kitterman Sun, 13 Oct 2013 08:03:45 -0400 + jockey (0.9.7-0ubuntu14) saucy; urgency=low [ Olivier van der Toorn ] diff -u jockey-0.9.7/jockey/oslib.py jockey-0.9.7/jockey/oslib.py --- jockey-0.9.7/jockey/oslib.py +++ jockey-0.9.7/jockey/oslib.py @@ -255,9 +255,9 @@ due to bad packages should be logged, but not raise an exception, as this would just crash the backend. ''' - class MyFetchProgress(apt.FetchProgress): + class MyFetchProgress(apt.progress.base.AcquireProgress): def __init__(self, callback): - apt.FetchProgress.__init__(self) + apt.progress.base.AcquireProgress.__init__(self) self.callback = callback def pulse(self): @@ -323,7 +323,7 @@ self._remove_repository(repository) return - pkg.markInstall() + apt.package.Package.mark_install(pkg.name) inst_p = progress_cb and MyInstallProgress(progress_cb) or None try: try: