Comment by 👻 ps
Re: "How can I run `dnf` command without updating repositories…"
@meidam is this option about mirror selection?
if yes, I want to disable update action at all, - on Debian with apt, I'm running update then install
on Fedora, dnf runs `update` every time I do` install`, as my PC has old HDD it is the hell, I'm waiting for 5 minutes after every install attempt
@HanzBrix it is Fedora, not Debian, but thanks.
2025-03-25 · 1 year ago
7 Later Comments ↓
🍀 meidam · 2025-03-25 at 15:54:
@ps Yes, it's so that it automatically picks the closest mirrors, so that it goes faster. I know that it's not what you were looking for, but I'm afraid it's the best you're gonna get.
👻 ps [OP] · 2025-03-25 at 16:30:
@meidam Thanks, but that is not a solution for my case because HDD sings its melody for about 5 minutes,
which means a local data rescan.
I might switch back to Debian at some point, and use Flatpak for newest dev bindings.
- however, I don't like Flatpak either, as running its apps also takes a while.
👻 ps [OP] · 2025-03-25 at 17:04:
I just want a distro that ~stable and includes not pretty old packages..
Maybe it's time to look at Arch also, but I won't play with system all the time but work there.
👻 ps [OP] · 2025-03-25 at 17:05:
At this moment, I like Fedora in everything but this screwed dnf.
☕️ Homer · 2025-03-25 at 18:04:
La actual versión de dnf (la 5) es más rápida que la anterior refrescando cache y actualizando. Los inconvenientes te los causa el HDD no dnf5.
💀 requiem · 2025-03-25 at 22:14:
You could just #RunBSD ;)
👽 TKurtBond · 2025-03-27 at 20:12:
That's the nice thing about the BSDs, you can pick one for whatever needs you have. Lightweight? OpenBSD and NetBSD. More full featured? FreeBSD. Etc.
Original Post
How can I run `dnf` command without updating repositories cache all the time: [bash] I turned the web upside down, tried -C command, added alias to .bashrc, tried to add `check_config_file_age=False` and `metadata_expire=-1` to `/etc/dnf/dnf.conf`but nothing helps - still same message on every dnf install run: [bash] Madness! I never encountered this problem on Debian, but I want to use Fedora because of the Clang bindings, which I need for development.