bork/apt_reqs.py
def cache_update():
    """reloads the apt cache. think of it as a apt-get update"""
    #print "updateing the apt cache"
    apt.apt_pkg.init_config()
    apt.apt_pkg.init_system()
    apt_cache = apt.Cache()
    apt_cache.update()
    apt_cache.open(None)
    return apt_cache
reloads the apt cache. think of it as a apt-get update
reloads the apt cache. think of it as a apt-get update
reloads the apt cache . think of it as a apt - get update
def cache_update():
    apt.apt_pkg.init_config()
    apt.apt_pkg.init_system()
    apt_cache = apt.Cache()
    apt_cache.update()
    apt_cache.open(None)
    return apt_cache
def cache_update ( ) : apt . apt_pkg . init_config ( ) apt . apt_pkg . init_system ( ) apt_cache = apt . Cache ( ) apt_cache . update ( ) apt_cache . open ( None ) return apt_cache
reloads the apt cache.
reloads the apt cache .
"""reloads the apt cache. think of it as a apt-get update""" #print "updateing the apt cache"