Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: Requesting help about how to add software repositories to yum

  1. #1

    Default Requesting help about how to add software repositories to yum

    Sir,

    I have installed opensuse X86-64 12.2 on AMD-FX 4100 machine. I have downloaded all the software repositories related to opensuse and stored in a text file. I know how to add one software repository( url ) to yum at a time. I have collected approximately 750 urls which is not possible to add one url at a time.

    Sir can you please specify a procedure to add all the repositories( url's ) to yum contained in my collected file.

    Regards,
    Rupesh.

  2. #2
    dd NNTP User

    Default Re: Requesting help about how to add software repositories to yum

    On 01/04/2013 06:26 PM, rupeshforu wrote:
    >
    > Sir can you please specify a procedure to add all the repositories(
    > url's ) to yum contained in my collected file.


    do not even try! if you enable all repos it will surely wreck your system!!

    instead follow the VERY sound advice in the paragraph beginning with
    "IMPORTANT!" in this forum post: http://tinyurl.com/33qc9vu

    additionally, from your question it seems you may be rather new to Linux
    in general or openSUSE in particular....i therefore suggest you read all
    of the articles in that thread, which begins here:
    http://forums.opensuse.org/english/g...ease-read.html

    as well as the thread specific to 12.2, here
    http://forums.opensuse.org/english/g...ease-read.html

    and, then the documentation here:
    http://doc.opensuse.org/documentatio...nsuse-startup/

    doing those things and then asking questions here is your shortest path
    to a secure and stable system..

    welcome to openSUSE!!


    --
    dd http://goo.gl/PUjnL
    http://tinyurl.com/DD-Caveat http://tinyurl.com/DD-Hardware
    http://tinyurl.com/DD-Software

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,601

    Default Re: Requesting help about how to add software repositories to yum

    Quote Originally Posted by dd View Post
    On 01/04/2013 06:26 PM, rupeshforu wrote:
    >
    > Sir can you please specify a procedure to add all the repositories(
    > url's ) to yum contained in my collected file.


    do not even try! if you enable all repos it will surely wreck your system!!

    instead follow the VERY sound advice in the paragraph beginning with
    "IMPORTANT!" in this forum post: NEW Users - openSUSE Pre-install (general) - PLEASE READ

    additionally, from your question it seems you may be rather new to Linux
    in general or openSUSE in particular....i therefore suggest you read all
    of the articles in that thread, which begins here:
    http://forums.opensuse.org/english/g...ease-read.html

    as well as the thread specific to 12.2, here
    http://forums.opensuse.org/english/g...ease-read.html

    and, then the documentation here:
    openSUSE 12.2: Start-Up

    doing those things and then asking questions here is your shortest path
    to a secure and stable system..

    welcome to openSUSE!!


    --
    dd Kick Ass! | Henne
    DD Caveat DD Hardware
    DD Software
    Similar advice was already given to the OP in this thread: http://forums.opensuse.org/english/g...-packages.html
    and here: Debian User Forums • View topic - request for command to download all packages

    Now everybody may of course try and test whatever (s)he wants in her/his system. But please Rupesh, do not expect to get much help on things that most sensible people wouldn't even think of, let alone try and thus will have no experience with. I guess you are on your own with your experiments.

    Most people here will not even have yum instyalled. They use either YaST > Software or zypper.
    Henk van Velden

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Requesting help about how to add software repositories to yum

    On 2013-01-04 18:26, rupeshforu wrote:
    >
    > Sir,
    >
    > I have installed opensuse X86-64 12.2 on AMD-FX 4100 machine. I
    > have downloaded all the software repositories related to opensuse and
    > stored in a text file. I know how to add one software repository( url )
    > to yum at a time. I have collected approximately 750 urls which is not
    > possible to add one url at a time.
    >
    > Sir can you please specify a procedure to add all the repositories(
    > url's ) to yum contained in my collected file.


    No way!

    1) I do not use yum, not do I see a valid reason to do so in openSUSE.
    2) I do not see a reason to add 750 urls to the system.
    3) I can not knowingly help you to wreck a system. Next you will ask how
    to repair your system... I hope to remember your name then :-(

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  5. #5
    dd NNTP User

    Default Re: Requesting help about how to add software repositories to yum

    On 01/04/2013 07:46 PM, hcvv wrote:
    > Similar advice was already given to the OP in this thread:


    ok....but, i didn't see those....have been 'away' some holiday
    days...and, just marked everything "as read" on return..

    heh! followed the link to the Debian forum and loved "there is no sane
    reason to do so."

    --
    dd

  6. #6
    Join Date
    Mar 2009
    Location
    United States
    Posts
    612

    Default Re: Requesting help about how to add software repositories to yum

    Quote Originally Posted by dd View Post
    heh! followed the link to the Debian forum and loved "there is no sane
    reason to do so."

    --
    dd
    It looks like I have my 15 minutes of fame. It should not be my default policy to be so intolerant no matter what board I am on. Though I think this guy is honestly trying to waste our time.

  7. #7
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Requesting help about how to add software repositories to yum

    Quote Originally Posted by nightwishfan View Post
    It looks like I have my 15 minutes of fame. It should not be my default policy to be so intolerant no matter what board I am on. Though I think this guy is honestly trying to waste our time.
    I just hope he/she/it is not using my ISP.

  8. #8

    Default Re: Requesting help about how to add software repositories to yum

    Quote Originally Posted by rupeshforu View Post
    Sir,

    I have installed opensuse X86-64 12.2 on AMD-FX 4100 machine. I have downloaded all the software repositories related to opensuse and stored in a text file. I know how to add one software repository( url ) to yum at a time. I have collected approximately 750 urls which is not possible to add one url at a time.

    Sir can you please specify a procedure to add all the repositories( url's ) to yum contained in my collected file.

    Regards,
    Rupesh.
    Either I don't understand your question or the way to do it is quite simple - despite the fact than adding 750 repos would be crazy, no matter on which system. Under Fedora - which is where yum is mostly used - you woul add one .repo file in /etc/yum.repos.d/ for each repo. Here's an example for my Fedora repo:

    Code:
    # cat /fedora/etc/yum.repos.d/pta.repo
    [home_please_try_again_Fedora]
    name=home:please_try_again:Fedora (Fedora_16)
    type=rpm-md
    baseurl=http://download.opensuse.org/repositories/home:/please_try_again:/Fedora/Fedora_16/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-pta
    enabled=1
    I'm not sure about the gpgkey because I usually download the key in advance, but this line might get added the first time you refresh the repo and accept the key.

    Reading a list of URLs from a file and creating such .repo files is a simple task to do in a script. But why do you want/need to use yum for openSUSE, if I may ask?

    * BTW, I'm not going to write this script for you, because it is really simple... or is it a homework of some kind?

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,601

    Default Re: Requesting help about how to add software repositories to yum

    Quote Originally Posted by please_try_again View Post
    * BTW, I'm not going to write this script for you, because it is really simple... or is it a homework of some kind?
    Read the other comments and first and for all the other threads linked to earlier to get a sort of impression about the background.
    Henk van Velden

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Requesting help about how to add software repositories to yum

    On 2013-01-04 21:02, dd wrote:
    > ok....but, i didn't see those....have been 'away' some holiday
    > days...and, just marked everything "as read" on return..


    I don't. :-)

    Warning: NNTP lingo. ;-)

    I have a filter in thunderbird that searches all messages for a match in
    the sender to "me" and then mark that post as read and the thread as
    "watch". Then I have all folders filtered by "threaded date". Thus I
    detect recent posts at the bottom, and those in which I participated are
    marked automatically. It makes easy to follow the threads.

    And those I did not read just flow up, unread.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •