SUSE / machinery

A systems management toolkit for Linux
GNU General Public License v3.0
158 stars 32 forks source link

Installing Machinery RPM installs too many dependencies #222

Closed cornelius closed 10 years ago

cornelius commented 10 years ago

When installing the Machinery RPM, it pulls in kiwi and the glance-client, which in turn pull in some perl, python, and Java dependencies. Many users don't need them, and if they are needed Machinery tells the user what to install.

A default installation of Machinery should not install additional programming languages or related dependencies. It should only require Ruby.

This is the output of installing the RPM on an openSUSE 13.1 system, which didn't have Kiwi or the Glance client before:

> sudo zypper install ~/Downloads/machinery-0.20.0.20140915T111429Zgitc09dd58-1.x86_64.rpm 
root's password:
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 47 NEW packages are going to be installed:
  bea-stax bsdtar build build-mkbaselibs build-mkdrpms clicfs db45-utils jing kiwi kiwi-tools libcap-progs libdb-4_5 libseccomp2 lxc machinery 
  perl-Class-Singleton perl-common-sense perl-Config-IniFiles perl-File-Slurp perl-JSON perl-JSON-XS perl-List-MoreUtils perl-Readonly perl-satsolver 
  python-argparse python-Babel python-d2to1 python-glanceclient python-iso8601 python-jsonpatch python-jsonpointer python-jsonschema python-keystoneclient 
  python-netaddr python-oslo.config python-pbr python-pip python-PrettyTable python-pyOpenSSL python-requests python-simplejson python-warlock qemu-linux-user 
  saxon9 saxon9-scripts squashfs xerces-j2-xml-resolver 

The following 13 recommended packages were automatically selected:
  bsdtar build build-mkdrpms db45-utils jing kiwi lxc perl-JSON-XS perl-satsolver python-glanceclient qemu-linux-user saxon9-scripts xerces-j2-xml-resolver 

47 new packages to install.
Overall download size: 38.3 MiB. After the operation, additional 143.3 MiB will be used.
thardeck commented 10 years ago

This should be fixed now since kiwi and python-glanceclient are not recommended anymore.