Hi guys!

I have nobara (Fedora) with dnf as package manager. Whenever I do an update or search, DNF will refresh the repos. However, for all the additional repos (librewolf, proton, a few others), it individually asks if it’s ok to refresh, for each one of them, every time. It’s…tedious. Is there a way to setup DNF so it doesn’t prompt every time?

Thanks!

4 points

I’ve never had it do this. What exactly is the prompt?

permalink
report
reply
1 point

Have you tried running your command with the argument -y Or -Y

permalink
report
parent
reply
1 point

Damn…Since dnf seems to be refreshed recently now, it seems not wanting to ask again, even when I run dnf update --refresh. Now it refreshes all repos without concern. But I know after a few days, it will ask again about all those repos…And I’m not sure why it does that.

permalink
report
parent
reply
2 points
*

You can do a dnf clean all, or see if it shows up in the logs from previous runs.

permalink
report
parent
reply
1 point

What you might be referring to is the question whether you’d like to import the GPG key for that repository. That happens when you first install a package from that repository. Could that be the one? I’m not aware of any other prompts.

permalink
report
parent
reply
1 point

Yes, i feel it’s that one. i think there are similar prompts on debian-based distros. Thing is, I’m being prompted repeatedly for all of them.

permalink
report
parent
reply
2 points
*

I am on nobara, I never got that prompt

permalink
report
reply

Linux

!linux@lemmy.world

Create post

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you’re a seasoned Linux enthusiast or just starting your journey, we’re excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let’s dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

Community stats

  • 1.5K

    Monthly active users

  • 481

    Posts

  • 3.5K

    Comments

Community moderators