Installation fails on a fresh install of Ubuntu 22.04 LTS
fabiengagne opened this issue · 3 comments
fabiengagne commented
On a fresh installation of Ubuntu 22.04 LTS the installation fails.
vesan commented
What kind of error does it give?
fabiengagne commented
Using
- http://guides.railsgirls.com/install#setup-for-linux
- Ubuntu 22.04 LTS in VirtualBox + all latests updates as of today
sudo apt update
sudo apt upgrade
then proceeded as per the guide for Linux
At step 2 (Install Rails) I get a an error for pgadmin3
fabien@fabien-VirtualBox:~$ bash < <(curl -sL https://raw.github.com/railsgirls/installation-scripts/master/rails-install-ubuntu.sh)
Updates packages. Asks for your password.
Hit:1 https://dl.yarnpkg.com/debian stable InRelease
Hit:2 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
W: https://dl.yarnpkg.com/debian/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Installs Node 10
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
snapd is already the newest version (2.57.5+22.04ubuntu0.1).
snapd set to manually installed.
The following packages were automatically installed and are no longer required:
libflashrom1 libftdi1-2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
node (10/stable) 10.24.1 from OpenJS Foundation (iojs✓) installed
Installs packages. Give your password when asked.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
Note, selecting 'libreadline-dev' instead of 'libreadline6-dev'
Package pgadmin3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'pgadmin3' has no installation candidate
Note: The procedure is missing a "step 3" title just before the "Make sure that all works well by running the application generator command."
The step 3, which is a validation that rails
is installed, fails as follows :
fabien@fabien-VirtualBox:~$ rails
Command 'rails' not found, but can be installed with:
sudo apt install ruby-railties
fabien@fabien-VirtualBox:~$
tombruijn commented
Fixed in the updated script. railsgirls/installation-scripts#64