Issue
I try to install a custom ROS version on Ubuntu 20.04. Therefore I do: sudo apt install ros-noetic-desktop-full
Then I get the following error:
E: Failed to fetch https://custom_supplier.com/xyz/ubuntu/pool/main/o/opencv/libopencv-core4.2_4.2.0+dfsg-6_amd64.deb 500 Internal Server Error [IP: 164.128.158.103 443]
Now, I execute the command sudo apt install ros-noetic-desktop-full
again. All packages are found and the installation succeeds. I even get this as output:
Get:1 https://custom_supplier.com/xyz/ubuntu focal/main amd64 libopencv-core4.2 amd64 4.2.0+dfsg-6 [1041 kB]
After that the installation is ok, and everything works fine.
I repeated this 4-5 times, and it is always the same behavior. The first installation always fails. But since the second one always works, there must be nothing wrong with package paths and passwords.
Does someone else experience something like that?
Thanks
Solution
The server (custom_supplier.com)you have in URL in repo is not stable and you can do nothing about this.
Answered By - Romeo Ninov Answer Checked By - Terry (WPSolving Volunteer)