this post was submitted on 04 May 2024
6 points (75.0% liked)

Linux

7623 readers
527 users here now

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.

founded 1 year ago
MODERATORS
 

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!

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 3 months ago (2 children)

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

[–] [email protected] 1 points 3 months ago (2 children)

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.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

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

[–] [email protected] 1 points 3 months ago (1 children)

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.

[–] [email protected] 1 points 3 months ago

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.

[–] [email protected] 1 points 3 months ago

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

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

I am on nobara, I never got that prompt