andsens / build-debian-cloud

This project has been superseeded by andsens/bootstrap-vz and is no longer maintained - Script to create Debian Squeeze & Wheezy Amazon Machine Images (AMIs) and Google Compute Engine images
Other
117 stars 43 forks source link

apt-get upgrade sometimes exits with $?=100 #112

Closed andsens closed 10 years ago

andsens commented 10 years ago

When running apt-get upgrade, the upgrade sometimes fails with exit status =100. This is fatal but not something the bootstrapper can do anything about (it happens when downloading some packages fails). This error should be caught before being reraised and a message should be printed to the user urging him to try again.

The error message is:

E: Sub-process /usr/bin/dpkg returned an error code (1)
andsens commented 10 years ago

Fixed in 05fddaf0c849e7e9bb42663c2f8c9328ce4c7c8f and 40928d5b17be1d47db39967c293cf177c72fd8c4