Changeset 470

Show
Ignore:
Timestamp:
05/22/08 11:43:41 (8 months ago)
Author:
mbailey
Message:

run 'apt-get update' before installing thing
this is a time waster but people occasionally have problems if they don't run it.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/vmbuilder_plugins/apt.rb

    r451 r470  
    4949  # Run an apt distribution upgrade 
    5050  def dist_upgrade(options={}) 
     51    update 
    5152    send(run_method, %{sh -c "#{APT_GET} -qy dist-upgrade"}, options) 
    5253  end 
     
    5556  # the critical base packages. 
    5657  def upgrade(options={}) 
     58    update 
    5759    send(run_method, %{sh -c "#{APT_GET} -qy upgrade"}, options) 
    5860  end