I'm having problems installing ROS Melodic version on my Ubuntu Bionic 18.04 64-bit. I've followed the instructions from ros.org for installation, but this is what keeps happening:
First instruction:
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list
OK, no problem with that.
2nd:
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
Result:
Executing: /tmp/apt-key-gpghome.S60mWkJIrq/gpg.1.sh --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
gpg: chave 5523BAEEB01FA116: "ROS Builder <[email protected]>" não mudada
gpg: Número total processado: 1
gpg: não modificados: 1
Apparently OK (if any doubt with the translations, because some parts are in Portuguese, just ask, or you can translate from the Internet, they aren't any complicated expresisons).
3rd:
sudo apt update
That's where the issues start. I get this as a response:
Atingido:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Atingido:2 http://br.archive.ubuntu.com/ubuntu bionic InRelease
Ign:3 http://packages.ros.org/ros/ubuntu bionic InRelease
Err:4 http://packages.ros.org/ros/ubuntu bionic Release
404 Not Found [IP: 91.189.91.26 80]
Obter:5 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Atingido:6 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease
Lendo listas de pacotes... Pronto
E: The repository 'http://packages.ros.org/ros/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
And then, the following instructions are to install ROS Melodic (sudo apt install ros-melodic-desktop-full
)
And the result is:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
E: Impossível encontrar o pacote ros-melodic-desktop-full`
(The last line says it's impossible to find the required package)
So, I've serached a lot for a solution, I've disabled PPAs, I'm using the recommended ROS Package for my Ubuntu, and I don't know what else to do.
I'm also a beginner on both Linux and ROS (and ROS forums, for that matter), so I'm apologizing in advance for any stupid mistake I may be making.
Thanks in advance for anyone who may be helping.
Edit 1: Alright, so here's what happens in every last suggestion:
I have added the deb files, then, after sudo apt update
, I get:
Obter:1 file:/home/repository SuiteCodename InRelease
Ign:1 file:/home/repository SuiteCodename InRelease
Obter:2 file:/home/repository SuiteCodename Release
Err:2 file:/home/repository SuiteCodename Release
Arquivo não encontrado - /home/repository/dists/SuiteCodename/Release (2: Arquivo ou diretório inexistente)
Atingido:3 http://br.archive.ubuntu.com/ubuntu bionic InRelease
Ign:4 http://packages.ros.org/ros/ubuntu bionic InRelease
Atingido:5 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease
Err:6 http://packages.ros.org/ros/ubuntu bionic Release
404 Not Found [IP: 91.189.91.26 80]
Atingido:7 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease
Atingido:8 http://br.archive.ubuntu.com/ubuntu bionic-security InRelease
Lendo listas de pacotes... Pronto
E: The repository 'file:/home/repository SuiteCodename Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://packages.ros.org/ros/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
After choosing the "best server", when also, as I close "Software & Updates", I get an error message, as it fails to download repository information again, I get this message on sudo apt update
:
Obter:1 file:/home/repository SuiteCodename InRelease
Ign:1 file:/home/repository SuiteCodename InRelease
Obter:2 file:/home/repository SuiteCodename Release
Err:2 file:/home/repository SuiteCodename Release
Arquivo não encontrado - /home/repository/dists/SuiteCodename/Release (2: Arquivo ou diretório inexistente)
Ign:3 http://packages.ros.org/ros/ubuntu bionic InRelease
Atingido:4 http://sft.if.usp.br/ubuntu bionic InRelease
Err:5 http://packages.ros.org/ros/ubuntu bionic Release
404 Not Found [IP: 91.189.91.26 80]
Atingido:6 http://sft.if.usp.br/ubuntu bionic-updates InRelease
Atingido:7 http://sft.if.usp.br/ubuntu bionic-backports InRelease
Atingido:8 http://sft.if.usp.br/ubuntu bionic-security InRelease
Lendo listas de pacotes... Pronto
E: The repository 'file:/home/repository SuiteCodename Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://packages.ros.org/ros/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Edit 2: After all the tipos regarding the issue on #q325039, I successfully changed the key to the server, even the ROS Melodic tutorial has changed it, but it's still not working. The response I'm getting now is this:
Atingido:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Atingido:2 http://sft.if.usp.br/ubuntu bionic InRelease
Atingido:4 http://sft.if.usp.br/ubuntu bionic-backports InRelease
Atingido:5 http://sft.if.usp.br/ubuntu bionic-security InRelease
Obter:3 http://sft.if.usp.br/ubuntu bionic-updates InRelease [88,7 kB]
Ign:6 http://packages.ros.org/ros/ubuntu bionic InRelease
Err:7 http://packages.ros.org/ros/ubuntu bionic Release
404 Not Found [IP: 91.189.91.26 80]
Obter:8 http://sft.if.usp.br/ubuntu bionic-updates/universe Sources [244 kB]
Obter:9 http://sft.if.usp.br/ubuntu bionic-updates/multiverse Sources [4.608 B]
Obter:10 http://sft.if.usp.br/ubuntu bionic-updates/main Sources [280 kB]
Obter:11 http://sft.if.usp.br/ubuntu bionic-updates/main amd64 Packages [658 kB]
Obter:12 http://sft.if.usp.br/ubuntu bionic-updates/main i386 Packages [544 kB]
Obter:13 http://sft.if.usp.br/ubuntu bionic-updates/main Translation-en [243 kB]
Obter:14 http://sft.if.usp.br/ubuntu bionic-updates/main amd64 DEP-11 Metadata [278 kB]
Obter:15 http://sft.if.usp.br/ubuntu bionic-updates/main DEP-11 48x48 Icons [66,7 kB]
Obter:16 http://sft.if.usp.br/ubuntu bionic-updates/main DEP-11 64x64 Icons [127 kB]
Obter:17 http://sft.if.usp.br/ubuntu bionic-updates/universe amd64 Packages [956 kB]
Obter:18 http://sft.if.usp.br/ubuntu bionic-updates/universe i386 Packages [942 kB]
Obter:19 http://sft.if.usp.br/ubuntu bionic-updates/universe Translation-en [282 kB]
Obter:20 http://sft.if.usp.br/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [245 kB]
Obter:21 http://sft.if.usp.br/ubuntu bionic-updates/universe DEP-11 48x48 Icons [190 kB]
Obter:22 http://sft.if.usp.br/ubuntu bionic-updates/universe DEP-11 64x64 Icons [410 kB]
Obter:23 http://sft.if.usp.br/ubuntu bionic-updates/multiverse i386 Packages [6.792 B]
Obter:24 http://sft.if.usp.br/ubuntu bionic-updates/multiverse amd64 Packages [6.644 B]
Obter:25 http://sft.if.usp.br/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2.464 B]
Lendo listas de pacotes... Pronto
E: The repository 'http://packages.ros.org/ros/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Edit 3:
After following the instructions on disabling proxy and returning to the unchanged configurations, I got this response when running sudo apt update
for the first time:
Atingido:1 http://sft.if.usp.br/ubuntu bionic InRelease
Atingido:2 http://sft.if.usp.br/ubuntu bionic-updates InRelease
Atingido:3 http://sft.if.usp.br/ubuntu bionic-backports InRelease
Obter:4 http://sft.if.usp.br/ubuntu bionic-security InRelease [88,7 kB]
Atingido:5 http://archive.ubuntu.com/ubuntu bionic InRelease
Obter:6 http://sft.if.usp.br/ubuntu bionic-security/main Sources [114 kB]
Obter:7 http://sft.if.usp.br/ubuntu bionic-security/main i386 Packages [327 kB]
Obter:8 http://sft.if.usp.br/ubuntu bionic-security/main amd64 Packages [430 kB]
Obter:9 http://sft.if.usp.br/ubuntu bionic-security/main amd64 DEP-11 Metadata [17,9 kB]
Obter:10 http://sft.if.usp.br/ubuntu bionic-security/main DEP-11 48x48 Icons [10,4 kB]
Obter:11 http://sft.if.usp.br/ubuntu bionic-security/main DEP-11 64x64 Icons [25,6 kB]
Obter:12 http://sft.if.usp.br/ubuntu bionic-security/universe amd64 Packages [568 kB]
Obter:13 http://sft.if.usp.br/ubuntu bionic-security/universe i386 Packages [561 kB]
Obter:14 http://sft.if.usp.br/ubuntu bionic-security/universe amd64 DEP-11 Metadata [36,1 kB]
Obter:15 http://sft.if.usp.br/ubuntu bionic-security/universe DEP-11 48x48 Icons [16,4 kB]
Obter:16 http://sft.if.usp.br/ubuntu bionic-security/universe DEP-11 64x64 Icons [99,2 kB]
Obter:17 http://sft.if.usp.br/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2.460 B]
Baixados 2.296 kB em 8s (290 kB/s)
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
After that, I ran the final (installation) command, but the response was the same as always (in the beginngin of the question it's written). I tried yet again running the entire installation procedure, but the response to all command returned to being the same as the last time.
Edit 4:
Response to the "cat" commands:
cat /etc/apt/sources.list.d/ros-latest.list
:
deb http://packages.ros.org/ros/ubuntu bionic main
cat /etc/apt/sources.list
deb-src http://archive.ubuntu.com/ubuntu bionic main restricted #Added by software-properties
deb http://sft.if.usp.br/ubuntu/ bionic main restricted
deb-src http://sft.if.usp.br/ubuntu/ bionic main restricted universe multiverse #Added by software-properties
deb http://sft.if.usp.br/ubuntu/ bionic-updates main restricted
deb-src http://sft.if.usp.br/ubuntu/ bionic-updates main restricted universe multiverse #Added by software-properties
deb http://sft.if.usp.br/ubuntu/ bionic universe
deb http://sft.if.usp.br/ubuntu/ bionic-updates universe
deb http://sft.if.usp.br/ubuntu/ bionic multiverse
deb http://sft.if.usp.br/ubuntu/ bionic-updates multiverse
deb http://sft.if.usp.br/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://sft.if.usp.br/ubuntu/ bionic-backports main restricted universe multiverse #Added by software-properties
deb http://sft.if.usp.br/ubuntu/ bionic-security main restricted
deb-src http://sft.if.usp.br/ubuntu/ bionic-security main restricted universe multiverse #Added by software-properties
deb http://sft.if.usp.br/ubuntu/ bionic-security universe
deb http://sft.if.usp.br/ubuntu/ bionic-security multiverse
Edit 5:
Output of the sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/ros-latest.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
command:
Ign:1 http://packages.ros.org/ros/ubuntu bionic InRelease
Err:2 http://packages.ros.org/ros/ubuntu bionic Release
404 Not Found [IP: 91.189.91.26 80]
Lendo listas de pacotes... Pronto
E: The repository 'http://packages.ros.org/ros/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Edit 6:
Commands from #q325039:
Ign:1 http://packages.ros.org/ros/ubuntu bionic InRelease
Ign:1 http://packages.ros.org/ros/ubuntu bionic InRelease
Atingido:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Atingido:3 http://sft.if.usp.br/ubuntu bionic InRelease
Err:4 http://packages.ros.org/ros/ubuntu bionic Release
404 Not Found [IP: 91.189.91.26 80]
Obter:5 http://sft.if.usp.br/ubuntu bionic-updates InRelease [88,7 kB]
Obter:6 http://sft.if.usp.br/ubuntu bionic-backports InRelease [74,6 kB]
Obter:7 http://sft.if.usp.br/ubuntu bionic-security InRelease [88,7 kB]
Obter:8 http://sft.if.usp.br/ubuntu bionic-updates/main Sources [280 kB]
Obter:9 http://sft.if.usp.br/ubuntu bionic-updates/universe Sources [246 kB]
Obter:10 http://sft.if.usp.br/ubuntu bionic-updates/main amd64 Packages [658 kB]
Obter:11 http://sft.if.usp.br/ubuntu bionic-updates/main i386 Packages [544 kB]
Obter:12 http://sft.if.usp.br/ubuntu bionic-updates/main amd64 DEP-11 Metadata [278 kB]
Obter:13 http://sft.if.usp.br/ubuntu bionic-updates/main DEP-11 48x48 Icons [66,7 kB]
Obter:14 http://sft.if.usp.br/ubuntu bionic-updates/main DEP-11 64x64 Icons [127 kB]
Obter:15 http://sft.if.usp.br/ubuntu bionic-updates/universe i386 Packages [943 kB]
Obter:16 http://sft.if.usp.br/ubuntu bionic-updates/universe amd64 Packages [958 kB]
Obter:17 http://sft.if.usp.br/ubuntu bionic-updates/universe Translation-en [283 kB]
Obter:18 http://sft.if.usp.br/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [245 kB]
Obter:19 http://sft.if.usp.br/ubuntu bionic-updates/universe DEP-11 48x48 Icons [193 kB]
Obter:20 http://sft.if.usp.br/ubuntu bionic-updates/universe DEP-11 64x64 Icons [413 kB]
Obter:21 http://sft.if.usp.br/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2.464 B]
Obter:22 http://sft.if.usp.br/ubuntu bionic-backports/universe Sources [2.072 B]
Obter:23 http://sft.if.usp.br/ubuntu bionic-backports/universe amd64 Packages [3.736 B]
Obter:24 http://sft.if.usp.br/ubuntu bionic-backports/universe i386 Packages [3.740 B]
Obter:25 http://sft.if.usp.br/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7.228 B]
Obter:26 http://sft.if.usp.br/ubuntu bionic-security/main Sources [114 kB]
Obter:27 http://sft.if.usp.br/ubuntu bionic-security/universe Sources [147 kB]
Obter:28 http://sft.if.usp.br/ubuntu bionic-security/main i386 Packages [327 kB]
Obter:29 http://sft.if.usp.br/ubuntu bionic-security/main amd64 Packages [429 kB]
Obter:30 http://sft.if.usp.br/ubuntu bionic-security/main amd64 DEP-11 Metadata [17,9 kB]
Obter:31 http://sft.if.usp.br/ubuntu bionic-security/main DEP-11 64x64 Icons [25,6 kB]
Obter:32 http://sft.if.usp.br/ubuntu bionic-security/universe i386 Packages [561 kB]
Obter:33 http://sft.if.usp.br/ubuntu bionic-security/universe amd64 Packages [568 kB]
Obter:34 http://sft.if.usp.br/ubuntu bionic-security/universe amd64 DEP-11 Metadata [36,2 kB]
Obter:35 http://sft.if.usp.br/ubuntu bionic-security/universe DEP-11 48x48 Icons [16,4 kB]
Obter:36 http://sft.if.usp.br/ubuntu bionic-security/universe DEP-11 64x64 Icons [104 kB]
Obter:37 http://sft.if.usp.br/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2.460 B]
Lendo listas de pacotes... Pronto
E: The repository 'http://packages.ros.org/ros/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Output from apt-key list
:
/etc/apt/trusted.gpg pub rsa4096 2019-05-30 [SC] [expira: 2021-05-29] C1CF 6E31 E6BA DE88 68B1 72B4 F42E D6FB AB17 C654 uid [ desconhecida] Open Robotics [email protected]
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
pub rsa4096 2012-05-11 [SC]
790B C727 7767 219C 42C8 6F93 3B4F E6AC C0B2 1F32
uid [ desconhecida] Ubuntu Archive Automatic Signing Key (2012) <[email protected]>
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
pub rsa4096 2012-05-11 [SC]
8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092
uid [ desconhecida] Ubuntu CD Image Automatic Signing Key (2012) <[email protected]>
/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
pub rsa4096 2018-09-17 [SC]
F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C
uid [ desconhecida] Ubuntu Archive Automatic Signing Key (2018) <[email protected]>
Edit 7:
Output from wget http://packages.ros.org/ros/ubuntu/dists/bionic/Release
:
Ign:1 http://packages.ros.org/ros/ubuntu bionic InRelease
--2019-06-22 07:22:25-- http://packages.ros.org/ros/ubuntu/dists/bionic/Release
Resolvendo packages.ros.org (packages.ros.org)... 64.50.236.52, 64.50.233.100, 140.211.166.134, ...
Conectando-se a packages.ros.org (packages.ros.org)|64.50.236.52|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 3801 (3,7K)
Salvando em: “Release.1”
Release.1 100%[=======================================================================>] 3,71K --.-KB/s em 0s
2019-06-22 07:22:26 (78,8 MB/s) - “Release.1” salvo [3801/3801]
The parts in portuguese are only saying that it has solved the packages, connected, the HTTP recquisition was sent, the file was downloaded and saved. But, even though it had apparently downloaded, I try running the installationg commands, and it won't work, the sudo apt update
results are the ones from edit 6, without "obter 5" until "obter 31", and it still doesn't find the package for installation.
Originally posted by AlexRibeiro on ROS Answers with karma: 21 on 2019-06-02
Post score: 2
Original comments
Comment by gvdhoorn on 2019-06-12:
Can you check whether you're running into #q325039?