morxa / rosfed

ROS RPM package generator for Fedora
9 stars 4 forks source link

dnf reposync fails for fedora-34 #6

Closed AndersBlomdell closed 3 years ago

AndersBlomdell commented 3 years ago

As can be seen from the log it tries to download the non existing 02015022-ros-catkin/ros-catkin-noetic.0.8.9-2.fc34.src.rpm and then gives up.

(49/1069): ros-catkin-devel-noetic.0.8.10-1.fc34.noarch.rpm                 51 kB/s | 9.7 kB     00:00    
[MIRROR] ros-catkin-noetic.0.8.9-2.fc34.src.rpm: Status code: 404 for https://download.copr.fedorainfracloud.org/results/thofmann/ros/fedora-34-x86_64/02015022-ros-catkin/ros-catkin-noetic.0.8.9-2.fc34.src.rpm (IP: 2600:9000:2021:b000:4:bbc1:1840:93a1)
(50/1069): ros-catkin-noetic.0.8.10-1.fc34.noarch.rpm                      369 kB/s | 137 kB     00:00    
[MIRROR] ros-catkin-noetic.0.8.9-2.fc34.src.rpm: Status code: 404 for https://download.copr.fedorainfracloud.org/results/thofmann/ros/fedora-34-x86_64/02015022-ros-catkin/ros-catkin-noetic.0.8.9-2.fc34.src.rpm (IP: 2600:9000:2021:b000:4:bbc1:1840:93a1)
[MIRROR] ros-catkin-noetic.0.8.9-2.fc34.src.rpm: Status code: 404 for https://download.copr.fedorainfracloud.org/results/thofmann/ros/fedora-34-x86_64/02015022-ros-catkin/ros-catkin-noetic.0.8.9-2.fc34.src.rpm (IP: 2600:9000:2021:b000:4:bbc1:1840:93a1)
(51/1069): ros-catkin-noetic.0.8.10-1.fc34.src.rpm                         575 kB/s | 225 kB     00:00    
[MIRROR] ros-catkin-noetic.0.8.9-2.fc34.src.rpm: Status code: 404 for https://download.copr.fedorainfracloud.org/results/thofmann/ros/fedora-34-x86_64/02015121-ros-catkin/ros-catkin-noetic.0.8.9-2.fc34.src.rpm (IP: 2600:9000:2021:b000:4:bbc1:1840:93a1)
[FAILED] ros-catkin-noetic.0.8.9-2.fc34.src.rpm: No more mirrors to try - All mirrors were already tried without success
morxa commented 3 years ago

This was probably due to some COPR flake (we don't have any control over the mirrors).

Can you please try again? It seems to be working fine here.

AndersBlomdell commented 3 years ago

With var/tmp/copr/dnf.conf as:

[main]
reposdir=/dev/null
cachedir=/var/tmp/copr/cachedir
persistdir=/var/tmp/copr/persistdir

[copr.ros]
name=copr.ros
baseurl=https://download.copr.fedorainfracloud.org/results/thofmann/ros/fedora-34-x86_64

This command (trying to download 1069 packages) still fails: cd /var/tmp/copr ; dnf reposync --config dnf.conf

while this command (downloading 1059 packages) succeds: cd /var/tmp/copr ; dnf reposync --newest --config dnf.conf

so there still is 10 deleted packages in the repodata files

morxa commented 3 years ago

Thanks for the info!

I've just regenerated the repository files, can you try again? (and if it fails, wait a couple of minutes and try again)

AndersBlomdell commented 3 years ago

Looks good! Downloads 1061 files without a hitch.

Thanks!