Ask Your Question
0

is the melodic repository broken

asked 2020-07-25 06:27:37 -0500

user989898 gravatar image

updated 2020-07-25 10:14:42 -0500

gvdhoorn gravatar image

Straight dump of the error:

ubuntu@ubuntu-VirtualBox:~$ sudo apt update
Get:1 http://packages.ros.org/ros/ubuntu bionic InRelease [4,669 B] 
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease             
Hit:3 http://sg.archive.ubuntu.com/ubuntu bionic InRelease               
Hit:4 http://sg.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://sg.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:6 http://103.1.138.206/packages.ros.org/ros/ubuntu bionic/main amd64 Packages [684 kB]
Err:6 http://103.1.138.206/packages.ros.org/ros/ubuntu bionic/main amd64 Packages
  File has unexpected size (684484 != 684473). Mirror sync in progress? [IP: 103.1.138.206 80]
  Hashes of expected file:
   - Filesize:684473 [weak]
   - SHA256:76fda226657181c3300923628bc63f1844c55006ceccf3fd44d8c2975dd9e30d
   - SHA1:a207000d68296c5f5e0ffe076efb448ba489dc6f [weak]
   - MD5Sum:7189472576f6cba7a315be57f4cd512a [weak]
  Release file created at: Mon, 20 Jul 2020 19:15:39 +0000
Fetched 4,669 B in 5s (923 B/s)                                              
Reading package lists... Done
E: Failed to fetch http://103.1.138.206/packages.ros.org/ros/ubuntu/dists/bionic/main/binary-amd64/Packages.gz  File has unexpected size (684484 != 684473). Mirror sync in progress? [IP: 103.1.138.206 80]
   Hashes of expected file:
    - Filesize:684473 [weak]
    - SHA256:76fda226657181c3300923628bc63f1844c55006ceccf3fd44d8c2975dd9e30d
    - SHA1:a207000d68296c5f5e0ffe076efb448ba489dc6f [weak]
    - MD5Sum:7189472576f6cba7a315be57f4cd512a [weak]
   Release file created at: Mon, 20 Jul 2020 19:15:39 +0000
E: Failed to fetch http://103.1.138.206/packages.ros.org/ros/ubuntu/dists/bionic/main/binary-i386/Packages.gz  
E: Some index files failed to download. They have been ignored, or old ones used instead.
edit retag flag offensive close merge delete

Comments

Get:6 http://103.1.138.206/packages.ros.org/...

you appear to have configured a mirror.

The mirror seems to be experiencing difficulties.

The main repository (ie: packages.ros.org) appears to be fine.

gvdhoorn gravatar image gvdhoorn  ( 2020-07-25 10:15:27 -0500 )edit

But I have followed the installation guide for installing ros melodic on ubuntu 64 bit. I did not experience any errors until ystd night. I have reinstalled virtualbox but to no success

ubuntu@ubuntu-VirtualBox:/etc/apt$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

ubuntu@ubuntu-VirtualBox:/etc/apt$ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 Executing: /tmp/apt-key-gpghome.7RcJrOz233/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 gpg: key F42ED6FBAB17C654: "Open Robotics info@osrfoundation.org" not changed gpg: Total number processed: 1 gpg: unchanged: 1

user989898 gravatar image user989898  ( 2020-07-25 12:20:14 -0500 )edit

ubuntu@ubuntu-VirtualBox:/etc/apt$ sudo apt update Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://packages.ros.org/ros/ubuntu bionic InRelease [4,669 B] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease Get:6 http://103.1.138.206/packages.ros.org... bionic/main amd64 Packages [684 kB] Err:6 http://103.1.138.206/packages.ros.org... bionic/main amd64 Packages File has unexpected size (684484 != 684473). Mirror sync in progress? [IP: 103.1.138.206 80] Hashes of expected file: - Filesize:684473 [weak] - SHA256:76fda226657181c3300923628bc63f1844c55006ceccf3fd44d8c2975dd9e30d - SHA1:a207000d68296c5f5e0ffe076efb448ba489dc6f [weak] - MD5Sum:7189472576f6cba7a315be57f4cd512a [weak] Release file created at: Mon, 20 Jul 2020 19:15:39 +0000 Fetched 4,669 B in 2s (1,966 B/s)

user989898 gravatar image user989898  ( 2020-07-25 12:21:53 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-25 12:29:44 -0500

user989898 gravatar image

Oops my bad a simple connection fix solved the problem

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-07-25 06:27:37 -0500

Seen: 153 times

Last updated: Jul 25 '20