Need to force deb install (--force-yes)

Bug #1091988 reported by Pierre Freund
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Undecided
Emilien Macchi

Bug Description

In folsom install doc : http://docs.openstack.org/folsom/basic-install/content/basic-install_controller.html
We need to install some packages : "apt-get -y install glance glance-api python-glanceclient glance-common"

But there is an error if we don't use --force-yes parameter :

root@ip-10-130-153-26:~# apt-get -y install glance glance-api python-glanceclient glance-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  glance-registry libjs-sphinxdoc libjs-underscore libxslt1.1 python-amqplib python-anyjson python-dateutil python-decorator
  python-eventlet python-formencode python-gevent python-glance python-greenlet python-iso8601 python-jsonschema python-keystone
  python-keystoneclient python-kombu python-lxml python-migrate python-openid python-passlib python-paste python-pastedeploy
  python-pastescript python-prettytable python-requests python-routes python-scgi python-sqlalchemy python-sqlalchemy-ext
  python-swiftclient python-tempita python-warlock python-webob python-xattr
Suggested packages:
  python-ceph javascript-common python-amqplib-doc python-egenix-mxdatetime python-dns python-gevent-doc python-gevent-dbg
  python-greenlet-dbg python-greenlet-dev python-greenlet-doc python-memcache python-couchdb python-kombu-doc python-pymongo
  python-lxml-dbg python-pastewebkit libapache2-mod-wsgi libapache2-mod-python libapache2-mod-scgi python-pgsql libjs-mochikit python-flup
  python-cherrypy python-sqlalchemy-doc python-psycopg2 python-mysqldb python-kinterbasdb python-pymssql
The following NEW packages will be installed:
  glance glance-api glance-common glance-registry libjs-sphinxdoc libjs-underscore libxslt1.1 python-amqplib python-anyjson
  python-dateutil python-decorator python-eventlet python-formencode python-gevent python-glance python-glanceclient python-greenlet
  python-iso8601 python-jsonschema python-keystone python-keystoneclient python-kombu python-lxml python-migrate python-openid
  python-passlib python-paste python-pastedeploy python-pastescript python-prettytable python-requests python-routes python-scgi
  python-sqlalchemy python-sqlalchemy-ext python-swiftclient python-tempita python-warlock python-webob python-xattr
0 upgraded, 40 newly installed, 0 to remove and 2 not upgraded.
Need to get 4,061 kB of archives.
After this operation, 22.3 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  python-greenlet python-eventlet python-jsonschema python-sqlalchemy python-prettytable python-sqlalchemy-ext python-warlock
  python-keystoneclient python-keystone python-swiftclient python-glance glance-common glance-api glance-registry glance
  python-glanceclient
E: There are problems and -y was used without --force-yes
root@ip-10-130-153-26:~#

And that's a problem, especially because I'd like to install these paquages via a template (--force-yes does not exist).

A workaround for ignoring errors : echo 'APT::Get::AllowUnauthenticated "true";' >> /etc/apt/apt.conf.d/70debconf

Changed in openstack-manuals:
assignee: nobody → Emilien Macchi (emilienm)
Changed in openstack-manuals:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/18391

Changed in openstack-manuals:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/18391
Committed: http://github.com/openstack/openstack-manuals/commit/a1db24bdb4eec7bfc75c801f46cc3215615ea07e
Submitter: Jenkins
Branch: master

commit a1db24bdb4eec7bfc75c801f46cc3215615ea07e
Author: Emilien Macchi <email address hidden>
Date: Wed Dec 19 17:36:43 2012 +0100

    Fix bug #1091988

    Change-Id: I58e924470f9361700dd6d84442b752341dc46a64

Changed in openstack-manuals:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (stable/folsom)

Fix proposed to branch: stable/folsom
Review: https://review.openstack.org/19286

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (stable/folsom)

Reviewed: https://review.openstack.org/19286
Committed: http://github.com/openstack/openstack-manuals/commit/eaf4076851491c0c88dad8801d082fa81cb3444f
Submitter: Jenkins
Branch: stable/folsom

commit eaf4076851491c0c88dad8801d082fa81cb3444f
Author: Emilien Macchi <email address hidden>
Date: Wed Nov 14 18:05:38 2012 +0100

    Create a new guide for Basic Install

    This commit is a collection of the following commits
    related to the basic install guide in master branch.

    - af7dd74 Create a new guide for Basic Install
    - ae65b27 Fix small errors with several documents
    - d084653 Add Network Controller + Improve Quantum Part
    - 3bddf51 Adds post processing instruction to basic install pom.xml
    - 939c50a Bug fixes for Basic Install reported in comments
    - da78b4f Fix bug #1091859
    - a1db24b Fix bug #1091988
    - a20138c Fix Bug #1092424
    - fac3c1e Brush up Quantum part of basic install guide

    Change-Id: Ib37b0f1818ead064551fdd0884845fcaa6367ec8

tags: added: in-stable-folsom
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.