Can't install Ruby via
sudo apt-get install ruby-full
The following packages have unmet dependencies : Ruby, ruby-dev, libtcltk-ruby, ri
E: Unable to correct problems, you have held broken packages.
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://am.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://am.archive.ubuntu.com/ubuntu/ xenial universe
deb http://am.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://am.archive.ubuntu.com/ubuntu/ xenial-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://am.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://am.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://am.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://am.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://am.archive.ubuntu.com/ubuntu/ xenial-backports restricted universe multiverse
# deb-src http://am.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu xenial-security restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
~
sudo apt-get install ruby-full ruby ruby-dev libtcltk-ruby ri
. – anonymous2 May 25 '16 at 14:22sudo apt-get update
before trying your installation? – anonymous2 May 25 '16 at 14:27sudo apt-get -f install
. – anonymous2 May 25 '16 at 14:32sudo apt-get purge ruby ruby-dev libtcltk-ruby ri
. This will remove those packages and remove their configuration files. Then do yoursudo apt-get install ruby-full
. – anonymous2 May 25 '16 at 14:34sudo dpkg --configure -a
help? – anonymous2 May 25 '16 at 14:38sudo apt install ruby
for Ubuntu 16.04. – Terrance May 25 '16 at 14:43/etc/apt/sources.list
in your question, please? – anonymous2 May 25 '16 at 14:49dpkg --get-selections | grep hold
– anonymous2 May 25 '16 at 14:57sudo apt-get install ruby-full
? – anonymous2 May 25 '16 at 15:10