On 10/28/24 14:36, Will McDonald wrote:
On Mon, 28 Oct 2024 at 21:25, ToddAndMargo via users
<users@xxxxxxxxxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxxxxxxxxx>>
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.
Uhhhh. This is a VM of FC41. It is working well and
not the FC39 system (the host) that is giving me headaches.
Now what am I doing wrong?
[WineHQ]
name=WineHQ packages
type=rpm-md
baseurl=https://dl.winehq.org/wine-builds/fedora/40 <https://
dl.winehq.org/wine-builds/fedora/40>
gpgcheck=1
gpgkey=https://dl.winehq.org/wine-builds/winehq.key <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.
I did before posting, several times.
[root@9b1b8ba32f9d /]# dnf --help | grep disablerepo
--disablerepo=*REPO_ID*,... Alias for '--disable-repo'
Not in my man page. See below.
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 <https://
dl.winehq.org/wine-builds/fedora/40>
gpgcheck=1
gpgkey=https://dl.winehq.org/wine-builds/winehq.key <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.
So the repo ID is not actually in the repo file. To
get the id, I have to use "dnf repolist".
[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
Hi Will,
# dnf upgrade --allowerasing --disablerepo=WineHQ
Updating and loading repositories:
Repositories loaded.
Nothing to do.
# dnf upgrade --allowerasing --disable-repo=WineHQ
Updating and loading repositories:
Repositories loaded.
Nothing to do.
Figured out why I was having so much trouble. I had an
open terminal from my host (fc39) overlapping my
virtual fc41 window and I kept entering command in
the wrong terminal. The above command was one of them.
I have no WineHQ in 39.
Here is an example from fc39:
man dnf | grep -i disablerepo
--disablerepo=<repoid>
with the --repo=<repo> or --disablerepo="*" switches.
shortcut for --disablerepo="*" --enablerepo=<repoid> and
is mu‐
tually exclusive with the --disablerepo option.
dnf repoquery --disablerepo="*" --enablerepo="*-source" --arch=src
from fc 41:
# man dnf | grep -i disable-repo
<nothing>
And this is weird. from fc39:
# man dnf | grep disablerepo
<nothing>
# man dnf | grep disable-repo
--disable-repo=REPO_ID,...
I am not sure what man page you are reading.
Thank you for the help.
-T
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue