Every line of 'upgrade python ubuntu' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
32 def upgrade_ubuntu(): 33 """ 34 When a provider doesn't offer the latest version. 35 see: 36 http://askubuntu.com/questions/146921/how-do-i-apt-get-y-dist-upgrade-without-a-grub-config-prompt # nopep8 37 """ 38 with fabric_settings(warn_only=True): 39 # dist-upgrade without a grub config prompt 40 run('DEBIAN_FRONTEND=noninteractive apt-get -y \ 41 -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade')