On Mon, 28 Oct 2024 at 21:25, ToddAndMargo via users < users@lists.fedoraproject.org> wrote:
> On 10/28/24 13:39, Samuel Sieb wrote: > > On 10/28/24 12:33 PM, ToddAndMargo via users wrote: > >> Hi All, > >> > >> fedora 41 > 41, or 40? > >> What am I doing wrong here? > Consistently trying to rescue a hosed system. I'm sure it's fixable but the level of time, effort and angst will be far greater than a clean install and restore of the differentiating data you need. > Now what am I doing wrong? > > [WineHQ] > name=WineHQ packages > type=rpm-md > baseurl=https://dl.winehq.org/wine-builds/fedora/40 > gpgcheck=1 > gpgkey=https://dl.winehq.org/wine-builds/winehq.key > enabled=1 > > # dnf upgrade --allowerasing --disablerepo="WineHQ packages" > No repository match: WineHQ > No repository match: packages > > # dnf upgrade --allowerasing --disablerepo=WineHQ\ packages > No repository match: WineHQ > No repository match: packages > > # dnf upgrade --allowerasing --disablerepo='WineHQ packages' > No repository match: WineHQ > No repository match: packages > Take a breath, read some man pages. [root@9b1b8ba32f9d /]# dnf --help | grep disablerepo --disablerepo=*REPO_ID*,... Alias for '--disable-repo' NOTE that --disablerepo takes the REPO_ID. [root@9b1b8ba32f9d /]# ls -l /etc/yum.repos.d/ total 20 -rw-r--r--. 1 root root 1102 Oct 18 00:00 fedora-cisco-openh264.repo -rw-r--r--. 1 root root 1344 Oct 18 00:00 fedora-updates-testing.repo -rw-r--r--. 1 root root 1286 Oct 18 00:00 fedora-updates.repo -rw-r--r--. 1 root root 1239 Oct 18 00:00 fedora.repo -rw-r--r--. 1 root root 167 Oct 28 21:28 winehq.repo [root@9b1b8ba32f9d /]# cat /etc/yum.repos.d/winehq.repo [WineHQ] name=WineHQ packages type=rpm-md baseurl=https://dl.winehq.org/wine-builds/fedora/40 gpgcheck=1 gpgkey=https://dl.winehq.org/wine-builds/winehq.key enabled=1 [root@9b1b8ba32f9d /]# dnf repolist repo id repo name WineHQ WineHQ packages fedora Fedora 41 - x86_64 fedora-cisco-openh264 Fedora 41 openh264 (From Cisco) - x86_64 updates Fedora 41 - x86_64 - Updates NOTE the difference between *rep id* and *repo name*. --disablerepo takes the repoid, as noted earlier. [root@9b1b8ba32f9d /]# dnf upgrade --allowerasing --disablerepo=WineHQ Updating and loading repositories: Fedora 41 - x86_64 100% | 13.8 MiB/s | 35.4 MiB | 00m03s Fedora 41 - x86_64 - Updates 100% | 1.5 MiB/s | 2.4 MiB | 00m02s Fedora 41 openh264 (From Cisco) - x86_64 100% | 3.1 KiB/s | 4.8 KiB | 00m02s Repositories loaded. Package Arch Version Repository Size Upgrading: elfutils-default-yama-scope noarch 0.192-4.fc41 updates 1.8 KiB replacing elfutils-default-yama-scope noarch 0.191-8.fc41 10997d94096f4a0f8ccb4dde45e302f6 1.8 KiB elfutils-libelf x86_64 0.192-4.fc41 updates 1.2 MiB replacing elfutils-libelf x86_64 0.191-8.fc41 10997d94096f4a0f8ccb4dde45e302f6 1.2 MiB
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue