I updated the bug description to remove a bogus reason I'd like to see
updated AMIs.  There is no bug in the grub-pc package update code; the
mistake was mine.

For anybody who saw the original report, I was simply missing the -E
option to pass environment variables to a sudo command:

  export DEBIAN_FRONTEND=noninteractive
  sudo apt-get update
  sudo -E apt-get upgrade -y

That said, I still think it's a great idea to publish updated AMIs.


** Description changed:

- There is no strict Ubuntu package for this request, but the ubuntu-on-
- ec2 team (smoser) should see it because of the ec2-images tag.
- 
  Please publish current, updated Ubuntu AMIs on Amazon EC2 for 9.10
  Karmic and 8.04 Hardy.
  
  According to the draft proposal on
  https://wiki.ubuntu.com/UEC/Images/RefreshPolicy "New AMIs will be
  published for stable releases based on" a few conditions including
  things like time it takes to perform upgrades and other issues.
  
- My current request to get updated AMIs is prompted because of an
- ugliness which occurs when performing upgrades on the current Karmic
- AMIs.  An update to the package "grub-pc" forces the user to read and
- respond to two manual prompts, even if attempts are made to have the
- upgrade accept all defaults.
+ It's been a while since the EC2 AMIs were updated and releasing new one
+ will speed up instance startups.
  
- For example, running
-   ami-1515f67c
-   ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20091027.1.manifest.xml
- the following commands
-   export DEBIAN_FRONTEND=noninteractive
-   sudo apt-get update
-   sudo apt-get upgrade -y
- result in the graphical grub-pc config prompts attached to this bug.
- 
- This is annoying and interrupts some semi-automated instance setup code
- I run.
- 
- I suppose this might be submitted separately as a bug report against
- grub-pc, but it's been a while since the EC2 AMIs were updated and
- releasing new ones should solve this problem and generally speed up
- instance startups.
- 
- For the record, apt-get update/upgrade currently takes over a minute on
- the above AMI with an m1.small instance.
- 
- For reference: Users complaining about this problem:
-   http://alestic.com/2009/11/ec2-karmic-desktop#comment-203
+ An apt-get update/upgrade currently takes over a minute on the below AMI
+ with an m1.small instance.
  
  ProblemType: Bug
  Architecture: i386
  Date: Wed Jan  6 01:52:27 2010
  DistroRelease: Ubuntu 9.10
  Ec2AMI: ami-1515f67c
  Ec2AMIManifest: 
ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20091027.1.manifest.xml
  Ec2AvailabilityZone: us-east-1a
  Ec2InstanceType: m1.small
  Ec2Kernel: aki-5f15f636
  Ec2Ramdisk: ari-0915f660
  Package: ec2-init 0.4.999-0ubuntu7
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: User Name 2.6.31-302.7-ec2
  SourcePackage: ec2-init
  Tags: ec2-images
  Uname: Linux 2.6.31-302-ec2 i686

-- 
Release updated official Ubuntu EC2 AMIs for Karmic, Hardy
https://bugs.launchpad.net/bugs/503649
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to