Brave via dnf5 addrepo + per-item installs in advanced menu #11

Merged
yuri merged 1 commits from fix/brave-addrepo-per-item into main 2026-11-02 13:05:07 +01:00
Owner

Both bugs came from YuKu's VM screenshot of the failure itself:

  1. dnf5 has no 'config-manager add' subcommand - the VM error 'Unknown argument add' meant the Brave repo never existed. Fixed with addrepo --from-repofile (Brave's own Fedora 41+ documented syntax), idempotent via the repo file check. The separate rpm --import is gone (the .repo carries the gpgkey).

  2. Multi-select ran ONE dnf transaction, so brave's no-match killed chromium too. Picks now install PER ITEM: a failure names the exact item in red and the remaining picks still install.

Harness: chromium+brave picked together -> addrepo fires, chromium installs, brave installs after the repo lands. Closes the known-open Brave item.

Both bugs came from YuKu's VM screenshot of the failure itself: 1. dnf5 has no 'config-manager add' subcommand - the VM error 'Unknown argument add' meant the Brave repo never existed. Fixed with addrepo --from-repofile (Brave's own Fedora 41+ documented syntax), idempotent via the repo file check. The separate rpm --import is gone (the .repo carries the gpgkey). 2. Multi-select ran ONE dnf transaction, so brave's no-match killed chromium too. Picks now install PER ITEM: a failure names the exact item in red and the remaining picks still install. Harness: chromium+brave picked together -> addrepo fires, chromium installs, brave installs after the repo lands. Closes the known-open Brave item.
yuri added 1 commit 2026-10-27 22:58:12 +01:00
Two bugs read straight out of YuKu's VM screenshot:

1. 'Unknown argument "add" for command "config-manager"' — dnf5 has
   no 'add' subcommand, so the Brave repo never landed and
   brave-browser had no match. Now uses 'config-manager addrepo
   --from-repofile=' per Brave's own Fedora 41+ docs; skips when
   /etc/yum.repos.d/brave-browser.repo exists. The .repo carries the
   gpgkey, so the rpm --import dance is gone.

2. 'Installation failed: chromium brave-browser' — multi-select put
   all picks in ONE dnf transaction, so brave's no-match killed
   chromium too. Picks now install PER ITEM: one failure red-warns
   with the item's own name and the remaining picks still install.
yuri merged commit ea50f64ef2 into main 2026-11-02 13:05:07 +01:00
yuri deleted branch fix/brave-addrepo-per-item 2026-11-02 13:05:30 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yuri/fedora#11