WhitewaterFoundry / Fedora-Remix-for-WSL

Fedora Remix for Windows Subsystem for Linux.
Other
710 stars 51 forks source link

Fedora Remix Build Problem 5 : Package crypto-policies #60

Open alexismaret1test opened 4 years ago

alexismaret1test commented 4 years ago

Describe the bug The file "create-targz.sh" that permit to create the "install.tar.gz" produces error: Installed package crypto-policies-20190527-1.git0b3add8.fc29.noarch (from updates) not available. Error: No packages marked for reinstall.

It is caused by the line 61 : dnf -y reinstall crypto-policies --exclude=grub\*,dracut*,grubby,kpartx,kmod,os-prober,libkcapi*

To Reproduce Steps to reproduce the behavior: Just follow the guide to build Fedoraremix Distribution (as Pengwin)

  1. Go on a real Fedora
  2. sudo sh create-targz.sh
  3. Error occured : Installed package crypto-policies-20190527-1.git0b3add8.fc29.noarch (from updates) not available. Error: No packages marked for reinstall.

Expected behavior I expect the script to be usable under fedora and to work without any errors. The script must build the file "install.tar.gz" in the architecture folder chosen.

Workaround I searched for a package named "crypto-policies" $dnf list crypto-policies whitewaterfoundry_wslu 679 B/s | 1.0 kB 00:01
whitewaterfoundry_wslu-source 756 B/s | 1.0 kB 00:01
Installed Packages crypto-policies.noarch 20190527-1.git0b3add8.fc29

So i change the line 61 to get the good package name : dnf -y reinstall crypto-policies.noarch --exclude=grub\*,dracut*,grubby,kpartx,kmod,os-prober,libkcapi*

But still got the same error : Installed package crypto-policies-20190527-1.git0b3add8.fc29.noarch (from updates) not available. Error: No packages marked for reinstall.

So i comment the line 61 since it is already installed on my system line 61 : #dnf -y reinstall crypto-policies.noarch --exclude=grub\*,dracut*,grubby,kpartx,kmod,os-prober,libkcapi*

Additional context Fedora Version 29 cat /etc/fedora-release Generic release 29 (Generic)

I have found similar errors in this script so i posted an issue for each build error i encountered

ganto commented 4 years ago

Fedora 29 is end-of-life since 2019-11-30 therefore I don't think any Fedora 29 related bugs will ever be fixed.