On 12/11/2022 5:03 PM, Barry Scott wrote:

On 11 Dec 2022, at 21:55, Bill Cunningham <bill.cu1...@gmail.com> wrote:


On 12/11/2022 4:07 PM, Tom Horsley wrote:
rpm -q -i genisoimage

Will print the name of the source rpm (if you look close :-).
Sometime the source rpm name is radically different than the
binary of one bit of it.

Then you should be able to

dnf download --source source-rpm-name
neither '--source' nor '-source' seem to work as an option. It doesn't seem to 
be recognized by my system.
I expect that you did not use the .src.rpm name which is cdrkit.
It is not required that a built RPM's name match its .SRC.RPM name.
Indeed one .SRC.RPM can build into many .RPM files.

I got that name from the command that Tom suggested:

$ rpm -q -i genisoimage
Name        : genisoimage
Version     : 1.1.11
Release     : 50.fc37
Architecture: x86_64
Install Date: Sun 11 Dec 2022 21:57:49 GMT
Group       : Unspecified
Size        : 1193567
License     : GPLv2
Signature   : RSA/SHA256, Thu 21 Jul 2022 00:03:23 BST, Key ID f55ad3fb5323552a
Source RPM  : cdrkit-1.1.11-50.fc37.src.rpm
Build Date  : Wed 20 Jul 2022 23:50:41 BST
Build Host  : buildvm-x86-32.iad2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://cdrkit.org/
Bug URL     : https://bugz.fedoraproject.org/cdrkit
Summary     : Creates an image of an ISO9660 file-system

And this is the download working:

$ dnf download --source cdrkit
enabling fedora-source repository
enabling fedora-modular-source repository
enabling updates-source repository
enabling updates-modular-source repository
Fedora 37 - Source                                                              
 3.1 MB/s | 8.0 MB     00:02
Fedora Modular 37 - Source                                                      
  82 kB/s | 137 kB     00:01
Fedora 37 - Updates Source                                                      
 706 kB/s | 1.0 MB     00:01
Fedora Modular 37 - Updates Source                                              
  52 kB/s | 137 kB     00:02
Last metadata expiration check: 0:00:01 ago on Sun 11 Dec 2022 21:59:05 GMT.
cdrkit-1.1.11-50.fc37.src.rpm                                                   
 3.0 MB/s | 1.4 MB     00:00


OK well that downloaded the package to my root directory. And the file seems to 
be intact. Now how exactly do I install it? I tried 'dnf install' that doesn' 
work. I grepped for the file using 'rpm -qa |grep cdrkit' and there's nothing 
like that that rpm reported back. AFAIK it's not installed.

B

_______________________________________________
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

Reply via email to