Skip to content

Instantly share code, notes, and snippets.

@ramarnat
Created July 25, 2013 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramarnat/6076444 to your computer and use it in GitHub Desktop.
Save ramarnat/6076444 to your computer and use it in GitHub Desktop.
vagrant@precise64:~$ docker build -t ramarnat/centos_upstart .
Uploading context 13742080 bytes
Step 1 : FROM centos:6.4
---> 539c0211cd76
Step 2 : RUN yum -y install upstart
---> Running in d3bc8dbef6c2
Loaded plugins: fastestmirror
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package upstart.x86_64 0:0.6.5-12.el6 will be updated
---> Package upstart.x86_64 0:0.6.5-12.el6_4.1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
upstart x86_64 0.6.5-12.el6_4.1 updates 176 k
Transaction Summary
================================================================================
Upgrade 1 Package(s)
Total download size: 176 k
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>
Package: centos-release-6-4.el6.centos.10.x86_64 (@febootstrap/$releasever)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : upstart-0.6.5-12.el6_4.1.x86_64 1/2Error unpacking rpm package upstart-0.6.5-12.el6_4.1.x86_64
error: unpacking of archive failed on file /sbin/init: cpio: rename
Verifying : upstart-0.6.5-12.el6_4.1.x86_64 1/2upstart-0.6.5-12.el6.x86_64 was supposed to be removed but is not!
Verifying : upstart-0.6.5-12.el6.x86_64 2/2
Failed:
upstart.x86_64 0:0.6.5-12.el6 upstart.x86_64 0:0.6.5-12.el6_4.1
Complete!
Error build: The command [/bin/sh -c yum -y install upstart] returned a non-zero code: 1
The command [/bin/sh -c yum -y install upstart] returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment