The Ubuntu Documentation on LaTeX Show archive.org snapshot says, that the packages tetex are no longer supported. You can install the alternative texlive (380 MB) via apt-get.
tetex
texlive
apt-get
sudo apt-get install texlive
Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)