SCIENTIFIC-LINUX-USERS Archives

June 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 15 Jun 2012 22:57:20 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (91 lines)
On 2012/06/15 17:20, Tom H wrote:
> On Fri, Jun 15, 2012 at 7:52 PM, jdow <[log in to unmask]> wrote:
>> On 2012/06/15 16:36, Tom H wrote:
>>>
>>> On Fri, Jun 15, 2012 at 6:35 PM, jdow <[log in to unmask]> wrote:
>>>>
>>>> On 2012/06/15 05:27, Tom H wrote:
>>>>>
>>>>> On Fri, Jun 15, 2012 at 7:47 AM, jdow <[log in to unmask]> wrote:
>>>>>>
>>>>>>
>>>>>> Ah - nope. "all" does not work, either.
>>>>>>
>>>>>> On 2012/06/15 04:24, Adam Bishop wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Does it work if you take off the .src.rpm?
>>>>>>>
>>>>>>> On 15 Jun 2012, at 04:26, jdow wrote:
>>>>>>>
>>>>>>>> yum --enablerepo=sl-source list available libusb1-1.0.3-1.el6.src.rpm
>>>>>
>>>>>
>>>>> yumdownloader --source ...
>>>>>
>>>>
>>>> ===8<--- nope
>>>> yumdownloader --source --enablerepo=sl-source
>>>> libusb-0.1.12-23.el6.src.rpm
>>>> Loaded plugins: fastestmirror, refresh-packagekit, versionlock
>>>> Loading mirror speeds from cached hostfile
>>>>   * elrepo: elrepo.org
>>>>   * epel: fedora-epel.fastsoft.net
>>>>   * rpmforge: mirror.cpsc.ucalgary.ca
>>>>   * sl: ftp1.scientificlinux.org
>>>>   * sl-security: ftp1.scientificlinux.org
>>>>   * sl-source: ftp1.scientificlinux.org
>>>> Checking for new repos for mirrors
>>>> Enabling epel-source repository
>>>> No Match for argument libusb-0.1.12-23.el6.src.rpm
>>>> Nothing to download
>>>> ===8<--- repo entry:
>>>> [sl-source]
>>>> name=Scientific Linux $releasever - Source
>>>>
>>>> baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/SRPMS/
>>>>
>>>>   http://ftp1.scientificlinux.org/linux/scientific/$releasever/SRPMS/
>>>>
>>>>   http://ftp2.scientificlinux.org/linux/scientific/$releasever/SRPMS/
>>>>
>>>>   ftp://ftp.scientificlinux.org/linux/scientific/$releasever/SRPMS/
>>>> enabled=0
>>>> gpgcheck=1
>>>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl
>>>> file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl6
>>>> file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
>>>> ===8<--
>>>>
>>>> I'm puzzled. ftp works so I am not desperate. I am wondering what is
>>>> broken.
>>>
>>>
>>> yumdownloader --source libusb
>>
>> Ah - that did get it - the wrong one. yumdownloader --source libusb1 got
>> the correct one.
>>
>> Now - list what sources are available? Or do I fly blind based on what
>> non-source rpms exist. (I like to be specific about what I want.)
>>
>> And why doesn't yum itself work?
>
> You tried to get the source for both libusb and libusb1 above, but it
> was just an example anyway.
>
> You can use "yum list ..." and then download the src.rpm(s) with yum downloader.
>
> There's an extension (it's not the right the word but I can't remember
> the correct one; and it might be a Fedora-only one) of yum that allows
> the download of a src.rpm but only if the corresponding rpm isn't
> installed.

That's stupid. If yum downloads the "executable" then it should be able
to go find the source and download it, too, regardless of whether the
"executable" is installed. I wonder what the yahoos were thinking of
when they committed that blunder.

{^_^}

ATOM RSS1 RSS2