manatools / dnfdragora

dnfdragora is a dnf frontend based on libyui abstraction
GNU General Public License v3.0
137 stars 41 forks source link

Fedora: dnfdragora doesn't respect /etc/dnf/vars #209

Open changyp6 opened 2 years ago

changyp6 commented 2 years ago

According to dnf manual, users can change certain variables by creating a file using the variable name as file name. I created /etc/dnf/vars/releasever then using echo 37 > /etc/dnf/vars/releasever

If I run dnf makecache, dnf will use "37" as the value of "releasever", however, dnfdragora doesn't respect this variable value.

anaselli commented 2 years ago

Well dnfdragora does not use that at all. dnfdaemon could/should do it. I wonder if this is a duplicate of issue #208 that has been fixed in dnfdaemon here. Which version of both, dnfdaemon and dnfdragora are you using?

changyp6 commented 2 years ago

My dnfdaemon version is 0.3.20, which is the latest version in Fedora 36, dnfdragora version is 2.1.2, which is also the latest version in Fedora 36

Angelo Naselli @.***> 于2022年10月13日周四 05:11写道:

Well dnfdragora does not use that at all. dnfdaemon could/should do it. I wonder if this is a duplicate of issue #208 https://github.com/manatools/dnfdragora/issues/208 that has been fixed in dnfdaemon here https://github.com/manatools/dnfdaemon/pull/57. Which version of both, dnfdaemon and dnfdragora arw you using?

— Reply to this email directly, view it on GitHub https://github.com/manatools/dnfdragora/issues/209#issuecomment-1276741633, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPLTYNVXIR7BSRG2MV5GELWC4SPVANCNFSM6AAAAAARDANQ6Q . You are receiving this because you authored the thread.Message ID: @.***>

anaselli commented 2 years ago

Well that change is into https://github.com/manatools/dnfdaemon/releases/tag/0.3.22 if you could test it i would know if the problem is the same.

keithbowes commented 3 months ago

Using /etc/dnf/vars works for me, but DNFVAR* environment variables don't. Therefore, some repositories that work fine with sudo dnf up aren't listed in dnfdragora. But eh, yumex and even the command-line dnf5daemon-client have the same issue. (I know it's silly since I'm the only one who uses this computer, but I don't want to put my preferences anywhere but under $HOME.)