Removing tar and gzip from the list of needed dependencies, as they are essential packages.
** Description changed: Per the description in readme-install.txt in [1]: ``` Compatability ------------- The AMI Tools are available in a self contained zip file for systems that do not support RPMs. They should run on most Linux distributions provided the following dependencies are installed and available from the current search path: - curl - gzip - mkfifo - openssl - rsync - Ruby 1.8.2 or later - tee ``` and the metadata associated with [2]: ``` # rpm -qpR ./ec2-ami-tools-1.5.19.noarch.rpm /bin/bash /bin/sh /bin/sh /bin/sh /etc/init.d /sbin/chkconfig config(ec2-ami-tools) = 1.5-19 curl fileutils gzip openssl rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rsync ruby tar >= 1.15 ``` We can see that some dependencies are not explicitly declared in the current package. Current state: ``` $ apt info ec2-ami-tools Package: ec2-ami-tools Version: 1.4.0.9-0ubuntu3 Priority: extra Section: multiverse/admin Origin: Ubuntu Maintainer: Ubuntu Developers <[email protected]> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 422 kB Depends: ruby, curl Homepage: http://aws.amazon.com/developertools/368 Download-Size: 67,5 kB APT-Sources: http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages Description: Amazon EC2 AMI tools The Amazon EC2 AMI Tools are command-line utilities to help bundle an Amazon Machine Image (AMI), create an AMI from an existing machine or installed volume, and upload a bundled AMI to Amazon S3. ``` curl and ruby are already defined. mkfifo and tee are provided by coreutils. Missing dependencies: - - gzip - openssl - rsync - - tar Steps to reproduce: $ echo asdf > /tmp/a.img $ openssl genrsa 2048 > /tmp/private-key.pem $ mv /usr/bin/gzip /usr/bin/gzip.bak $ mv /usr/bin/rsync /usr/bin/rsync.bak $ mv /usr/bin/openssl /usr/bin/openssl.bak $ ec2-bundle-image --image /tmp/a --cert /etc/ec2/amitools/cert-ec2.pem --privatekey /tmp/private-key.pem --user 123456789123 Please specify a value for arch [x86_64]: Bundling image file... /bin/bash: line 1: gzip: command not found /bin/bash: line 1: openssl: command not found /bin/bash: line 1: openssl: command not found Refs: [1] https://s3.amazonaws.com/ec2-downloads/ec2-ami-tools-1.5.19.zip [2] https://s3.amazonaws.com/ec2-downloads/ec2-ami-tools-1.5.19.noarch.rpm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078051 Title: missing required dependencies To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ec2-ami-tools/+bug/2078051/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
