#499 fedora28 base image has 'test updates' repo enabled by default
Closed: Fixed 5 years ago Opened 5 years ago by miabbott.

If you start a Fedora 28 container image from registry.fedorproject.org and do a dnf operation, you'll see that the 'test updates' repo is enabled by default.

This is different from the Fedora 27 container image from the same registry.

$ sudo podman run -it registry.fedoraproject.org/fedora:28
[root@3cf1fc993791 /]# dnf install wget
Fedora 28 - x86_64 - Test Updates               389 kB/s |  16 MB     00:43    
Fedora 28 - x86_64 - Updates                    1.1 MB/s | 8.3 MB     00:07    
Fedora 28 - x86_64                              2.2 MB/s |  60 MB     00:27    
Last metadata expiration check: 0:00:06 ago on Thu May 17 14:33:43 2018.
Dependencies resolved.
================================================================================
 Package       Arch            Version                   Repository        Size
================================================================================
Installing:
 wget          x86_64          1.19.5-1.fc28             updates          719 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 719 k
Installed size: 2.8 M
Is this ok [y/N]: n
Operation aborted.

# cat /etc/yum.repos.d/fedora-updates-testing.repo 
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
enabled=1
repo_gpgcheck=0
type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
...

Are you sure you're using the latest image? I see:

# cat /etc/yum.repos.d/fedora-updates-testing.repo
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0
type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

Yup, that was the problem. Thanks @jlebon

Metadata Update from @miabbott:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata