How to change or correct the configuration and source of ppa for Ubuntu 19.04

I just installed Ubuntu 19.04 for dual boot on a Acer Nitro 5 laptop.

I can not install Ruby and Ruby on rails by following the instructions provided on gorails.com

when executing the following command:

$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

I receive the following errors:









## Fill the apt-get cache ...

+ apt-get update
Hit: 1 http://apt.postgresql.org/pub/repos/apt disco-pgdg InRelease
Hit: 2 https://dl.winehq.org/wine-builds/ubuntu Cosmic InRelease
Ign: 3 http://dl.google.com/linux/chrome/ stable InRelease
Hit: 4 http://us.archive.ubuntu.com/ubuntu disco InRelease
Get: 5 http://us.archive.ubuntu.com/ubuntu disco-updates InRelease [88.4 kB]                      
Hit: 6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu disco InRelease
Hit: 7 http://security.ubuntu.com/ubuntu InRelease disco-security
Hit: 8 http://dl.google.com/linux/chrome/deb Stable release
Hit: 9 http://us.archive.ubuntu.com/ubuntu disco-backports InRelease
Hit: 10 http://ppa.launchpad.net/lutris-team/lutris/ubuntu disco InRelease
Hit: 11 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu disco InRelease
Ign: 13 http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu disco InRelease
Hit: 14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco InRelease
Err: 15 http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu Disco Release
404 not found [IP: 91.189.95.83 80]
Reading package lists ... Done
N: Skip acquisition of the configured file - main / binary-i386 / Packages & # 39; as a repository & # 39; http: //apt.postgresql.org/pub/repos/apt disco-pgdg InRelease & # 39; does not support architecture & # 39; i386 & # 39 ;.
E: The repository & # 39; http: //ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu disco Release & # 39; There is no release file.
N: Updating from such a repository can not be done securely and is therefore disabled by default.
N: See the apt-secure (8) man page for details on creating the repository and configuring the user
Error while executing the command, exit

I have searched around and I have not been able to find a solution please help.