Re: repo $release server question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/22/24 02:20, Samuel Sieb wrote:
On 10/22/24 2:14 AM, ToddAndMargo via users wrote:
In file /etc/yum.repos.d/fedora.repo,

metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora- $releasever&arch

Where does the "$releasever" come from?  how can
I reproduce it from the command line?  (It is different
than /etc/redhat-release.)

I believe that, unless you override it on the command line, it takes the release version of the "fedora-release-common" package.

I once had an issue where an interrupted upgrade left two versions of that package and I had to remove the older one before dnf would use the right release.


That got rid of the 39 in dnf.  Thank you!

But I still can do a "dnf upgrade"


# rpm -qa \*fedora-release-common\*
fedora-release-common-39-36.noarch
fedora-release-common-40-39.noarch

# dnf remove fedora-release-common-39-36.noarch
Package Arch Version Repository Size
Removing:
fedora-release-common noarch 39-36 <unknown> 18.9 KiB
Removing dependent packages:
fedora-release noarch 39-36 <unknown> 0.0 B fedora-release-matecompiz noarch 39-36 <unknown> 0.0 B fedora-repos noarch 39-2 <unknown> 4.5 KiB rpmfusion-free-release noarch 39-1 <unknown> 5.6 KiB
Removing unused dependencies:
fedora-gpg-keys noarch 39-2 <unknown> 122.9 KiB fedora-release-identity-basic noarch 39-36 <unknown> 666.0 B

Transaction Summary:
 Removing:           7 packages

Is this ok [y/N]: y

Running transaction
[1/8] Prepare transaction 100% | 11.0 B/s | 7.0 B | 00m01s [2/8] Erasing rpmfusion-free-release-0:39-1.noarch 100% | 500.0 B/s | 9.0 B | 00m00s [3/8] Erasing fedora-release-matecompiz-0:39-36.noarch 100% | 9.8 KiB/s | 100.0 B | 00m00s [4/8] Erasing fedora-repos-0:39-2.noarch 100% | 833.0 B/s | 5.0 B | 00m00s [5/8] Erasing fedora-release-0:39-36.noarch 100% | 14.0 KiB/s | 100.0 B | 00m00s [6/8] Erasing fedora-release-common-0:39-36.noarch 100% | 3.0 KiB/s | 28.0 B | 00m00s [7/8] Erasing fedora-release-identity-basic-0:39-36.noarch 100% | 166.0 B/s | 1.0 B | 00m00s [8/8] Erasing fedora-gpg-keys-0:39-2.noarch 100% [==================] | 489.0 B/s | 282.0 B | -00m00s >>> Running trigger-post-uninstall scriptlet: glibc-common-0:2.39-22.fc40.x86_64warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rp[8/8] Erasing fedora-gpg-keys-0:39-2.noarch 100% | 104.0 B/s | 282.0 B | 00m03s
Complete!

# dnf upgrade
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: The operation would result in removing the following protected packages: systemd

# dnf remove systemd-254.18-1.fc39.x86_64
Failed to resolve the transaction:
Problem: installed package systemd-udev-254.18-1.fc39.x86_64 requires libsystemd-shared-254.18-1.fc39.so()(64bit), but none of the providers can be installed - installed package systemd-udev-254.18-1.fc39.x86_64 requires libsystemd-shared-254.18-1.fc39.so(SD_SHARED)(64bit), but none of the providers can be installed - installed package systemd-udev-254.18-1.fc39.x86_64 requires systemd(x86-64) = 254.18-1.fc39, but none of the providers can be installed
  - conflicting requests
  - problem with installed package

Poop!

-T


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux