Re: dnf upgrade issues (F28)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Samuel Sieb <samuel@xxxxxxxx> writes:

> Oh!  You seem to not have the rpmfusion updates repo enabled or
> working.

I finally figured out what was wrong.

I am nowadays using Ansible to install new operating systems. (Thank god
for that, it has reduced install time by an order of magnitude.) For F28
I used it for the first time to also enable a repo:

https://docs.ansible.com/ansible/2.6/modules/yum_repository_module.html

However, having done this in a hurry, I did not notice that by default
gpgcheck was off and no gpg keys were installed. So on initial install
my system was happy to install stuff from rpmfusion-free without gpg
keys. The problems started on subsequent updates.

So I needed to dig rpmfusion-free key from https://pgp.mit.edu/ and
include it in my Ansible playbook. Now an entry in my repo playbook
looks like this:

- name: enable rpmfusion free repo
  yum_repository:
    name: rpmfusion-free
    description: rpmfusion free repo
    gpgcheck: yes
    gpgkey: https://pgp.mit.edu/pks/lookup?op=get&search=0xC08D326909EAB3F2
    baseurl: http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/$basearch/os

The downside is that gpgkey link is not parameterized by repo/release
and therefore needs to be changed manually for new systems. Well, that's
not too bad.

I also needed to add rpmfusion-free-updates into the set of repos with a
similar entry.

Thanks for the tips!

Jarmo
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/YUYTLVPNM4BPCEYVU7GM2UMURHNDQXOR/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux