title: Error trying to install libjpeg-devel with elastic beanstalk
body: <p>I am trying to do some image resizing on my Django application running on AWS Elastic beanstalk, so I am trying to install Pillow to do the job.</p>
  
  <p>As described in some previous posts, I am adding</p>
  
  <pre><code>packages:
    yum:
      libjpeg-devel: '6b'
  </code></pre>
  
  <p>at the top of my <i>.ebextension/myapp.config</i></p>
  
  <p>My <i>requirement.txt</i> includes:</p>
  
  <pre><code>Django==1.6.7
  boto&gt;=2.32.1
  django-filter&gt;=0.7
  django-password-reset&gt;=0.7
  django-storages&gt;=1.1.8
  django-taggit==0.12
  djangorestframework&gt;=2.3.13
  django-bootstrap3&gt;=4.11.0
  django-bootstrap3-datetimepicker&gt;=2.2.3
  python-dateutil&gt;=2.2
  pytz&gt;=2014.2
  six&gt;=1.7.3
  wsgiref==0.1.2
  yolk==0.4.3
  Pillow==2.5.3
  googlemaps==1.0.2
  MySQL-python&gt;=1.2.5
  </code></pre>
  
  <p>But when I either <code>eb start</code> or <code>git aws.push</code>, I get the following error in my elastic beanstalk log:</p>
  
  <pre><code>2014-09-15 07:10:23,596 [INFO] Running configSet Infra-EmbeddedPreBuild
  2014-09-15 07:10:23,598 [INFO] Running config prebuild_0_ampervue
  2014-09-15 07:10:32,556 [ERROR] libjpeg-devel-6b is not available to be installed
  2014-09-15 07:10:32,557 [ERROR] Error encountered during build of prebuild_0_ampervue: Yum    does not have libjpeg-devel-6b available for installation
  Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/cfnbootstrap/construction.py", line 511, in run_config
      CloudFormationCarpenter(config, self._auth_config).build(worklog)
    File "/usr/lib/python2.6/site-packages/cfnbootstrap/construction.py", line 216, in build
  changes['packages'][manager] = CloudFormationCarpenter._packageTools[manager]().apply(packages, self._auth_config)
    File "/usr/lib/python2.6/site-packages/cfnbootstrap/rpm_tools.py", line 74, in apply
      raise ToolError("Yum does not have %s available for installation" % pkg_spec)
  ToolError: Yum does not have libjpeg-devel-6b available for installation
  2014-09-15 07:10:32,560 [ERROR] Unhandled exception during build: Yum does not have libjpeg-devel-6b available for installation
  Traceback (most recent call last):
    File "/opt/aws/bin/cfn-init", line 122, in &lt;module&gt;
      worklog.build(detail.metadata, configSets)
    File "/usr/lib/python2.6/site-packages/cfnbootstrap/construction.py", line 117, in build
  Contractor(metadata).build(configSets, self)
    File "/usr/lib/python2.6/site-packages/cfnbootstrap/construction.py", line 502, in build
  self.run_config(config, worklog)
    File "/usr/lib/python2.6/site-packages/cfnbootstrap/construction.py", line 511, in run_config
  CloudFormationCarpenter(config, self._auth_config).build(worklog)
    File "/usr/lib/python2.6/site-packages/cfnbootstrap/construction.py", line 216, in build
  changes['packages'][manager] = CloudFormationCarpenter._packageTools[manager]().apply(packages, self._auth_config)
    File "/usr/lib/python2.6/site-packages/cfnbootstrap/rpm_tools.py", line 74, in apply
  raise ToolError("Yum does not have %s available for installation" % pkg_spec)
  ToolError: Yum does not have libjpeg-devel-6b available for installation
  </code></pre>