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.
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
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.
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!
I do not use yum, not do I see a valid reason to do so in openSUSE.
I do not see a reason to add 750 urls to the system.
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))
It looks like I have my 15 minutes of fame. :shame: 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.
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:
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?
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))
Please, understand that even if you don’t install the packages, you’re most likely going to mess up the system by adding the repositories. I don’t know of anyone who needs 750 repositories. And finally, why are you using yum under openSUSE? (are you actually using openSUSE?) The package management tool for openSUSE is zypper, and everyone here will tell you that this is the one you have to use.
As I am new to opensuse can you please suggest a method to only download the packages from online repositories using zypper. And also suggest a method to add repositories bulkly to zypper.
On 01/05/2013 02:28 AM, Carlos E. R. wrote:
> I have a filter … match in the sender to “me” and…
i had my TB set all the same, except didn’t have the “watch” set, that
is cool–thanks…
so, i could have still fairly easily followed up on all ‘my’ threads,
but there were hundreds of unread to wade though (without the “watch”)
[not to mention real email/fb/G+/etc etc etc] and i just didn’t
wanna…so, if anyone has been waiting several days for my next
input, if they don’t bump i won’t see…
On 01/05/2013 08:06 AM, rupeshforu wrote:
>
> Sir,
>
> I am not going to install all the packages listed in these 750
> repositories. I just want to download and install the required packages
> later.
>
> Sir Kindly provide solution to add repositories to yum and to only
> download packages not installation of these packages.
i think this is a language problem…what is written might be read to
mean what you really want is a way to locally host a full mirror of all
openSUSE repos so that yourself, or others in your
company/university/state can later download from the mirror without
using all the band width to pull it in again and again
but do NOT use yum with openSUSE and do NOT enable all repos on your
production workstation…instead, build a mirror on a local http server
and pull from it…
let us know how you get on!
and, if you were to ask on the (for example) Debian or Red Hat forums
for similar info i would suggest you ask: How do I setup a local Debian
mirror?
Please Rupesh, understand that the one person that’s going to tell you how to achieve your goal, is the person that’s giving you the path to seriously borking your system. No matter what you use, yum, Yast, zypper. The analogy that comes to mind is “Downloading the internet”.
How will you know what version of a package is required? With that many repos, there will be several versions of the same package, ranging from stable to very unstable (incomplete or full of bugs). There will be many conflicting package dependencies resulting from multiple versions of each package, and you will waste many hours trying to sort that out on your own!