Re: Non-sensical DNF Functionality

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

 



On 7/12/24 12:35, Jeffrey Walton wrote:
On Fri, Dec 6, 2024 at 8:30 PM Stephen Morris <steve.morris.au@xxxxxxxxx> wrote:
Hi,
    I have enabled the Fedora source repository so that I can install the symlinks source.l
    Having enabled the source repository I issued the command "sudo dnf install symlinks-1.7-11.fc41.src" (the binary package tells me the source is symlinks-1.7-11.fc41.src.rpm) and got the following messages:

sudo dnf install symlinks-1.7-11.fc41.src

Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Argument 'symlinks-1.7-11.fc41.src' matches only source packages.

    So I then issued the command "sudo dnf install symlinks-1.7-11.fc41.src.rpm" and dnf tells me that rpm doesn't exist.
    Then issue the command "sudo dnf install symlinks-1.7-11.fc41.src*" gives me the following messages:

sudo dnf install symlinks-1.7-11.fc41.src*
[sudo] password for steve:
Updating and loading repositories:
Repositories loaded.
Package                                                        Arch           Version                                                        Repository                               Size
Installing:
symlinks                                                      src            1.7-11.fc41                                                    fedora-source                        15.2 KiB

Transaction Summary:
Installing:         1 package

Total size of inbound packages is 26 KiB. Need to download 26 KiB.
After this operation, 15 KiB extra will be used (install 15 KiB, remove 0 B).
Is this ok [y/N]: n

    Is DNF actually working properly when with * in the package name the install is actually installing what I asked it to install in the first command?
Works for me:

    sudo dnf download --source symlinks
Yes, but this still highlights the final question as "sudo dnf download symlinks-1.7-11.fc41.src" does the download but as shown above "sudo dnf install symlinks-1.7-11.fc41.src" won't do the install.

How do I find where the source has been installed to when under dnfdragora when I search for symlinks in either names or descriptions I only get a reference to the binary package even though I have installed the source package as shown by "dnf info symlinks" which shows both the binary and source packages as being installed? Especially when I would have thought the source would have been installed to a sub_folder of /usr/src, but there isn't a symlinks sub_folder of /usr/src, it only has akmods, annobin, debug and kernels sub_folders.

regards,
Steve

Jeff

Attachment: OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-- 
_______________________________________________
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