witjoh / puppet-single_user_rvm

Install and manage RVM and Ruby installations in Single-User mode.
1 stars 5 forks source link

Trying to install rvm on Ubuntu 20.04 LTS failed because package 'libreadline6' is not available #5

Open usev6 opened 3 years ago

usev6 commented 3 years ago

I tried to use this module on Ubuntu 20.04 LTS, but installing rvm failed with

Error: /Stage[main]/Single_user_rvm::Dependencies/Package[libreadline6]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libreadline6' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libreadline6

If I'm not mistaken, the requirement for libreadline6 can be relaxed. It should suffice to require libreadline-dev, which itself depends on the specific version of libreadline:

usev6 commented 2 years ago

This should be fixed by 9f521910a2. Unfortunately I can't test this easily at the moment.