LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Suse 10.1. Repositories and HOWTO (https://www.linuxquestions.org/questions/suse-opensuse-60/suse-10-1-repositories-and-howto-444755/)

onjoo 05-14-2006 03:10 PM

Suse 10.1. Repositories and HOWTO
 
There are two stickies about Yast sources, but the thing is that in SUSE 10.1 things have changed dramatically.
It's now all about RPM metadata/YUM sources and not Yast sources anymore. Also the new suse has given us new tools to manage rpm packages and software installation, so I decided to write you a guide for the tools and about adding new sources.

If you scroll down, you will also find the servers and mirrors to add.
Feel free to comment and add other sources, if you find more.


Adding Repositories with YAST/Konqueror/RUG and SMART

1.)Graphical Mode with Yast

1.1.) Normal mode
- Open YaST. In KDE, it is located under K Menu
- Click System -> YaST(control center) and type root password.
- Click Installation Source
- Click Add -> Specify Url -> "paste the address" ->Click OK -> Wait
- Click Finish

1.2.) Expert Mode
- Goto Installation sources as told above.
- Pay extra attention to the paths, when adding servers manually :
- Directory should point to the place where repodata-directory exists.
- example url : ftp://ftp.uni-erlangen.de/pub/mirror...man/suse/10.1/
To add this:
- Click Add -> FTP...
- Protocol : ftp
- server name : ftp.uni-erlangen.de
- Directory on server : pub/mirrors/packman/suse/10.1

2) With Konqueror
- This Only works with FTP repositories. HTTPs aren't supported, so https need to be added manually with Yast
- Open Konqueror and browse to the server. for example, if you want to add packman
- go to ftp://ftp.uni-erlangen.de/pub/mirrors/packman/suse/
- right-click on folder named 10.1
- go to Actions
- choose Add directory as YaST source.

3) Textmode with RUG
- Suse 10.1. has new textline installer called RUG. Its part of the Zen-installer. I recommend the Yast way, but rug can also be used.
- To use it, you will need to add catalog and then subsribe it.
- RUG can read sources added with YAST and vice versa (atleast in theory).

- To add a new repository switch to root with "su" and type password
- Check that ZMD is running, type : "rczmd status"
- If it isn't, start it with "rczmd start"

- Add packman as source with :
Code:

rug sa --type=yum http://packman.mirrors.skynet.be/pub/packman/suse/10.1/ packman
- After that we need to update the package list
Code:

rug subscribe packman
- Mplayer could be installed this way:
Code:

rug in mplayer
4) SMART
- Smart is a meta-package manager in the spirit of APT, YUM, URPMI and others
- not installed as default,but is included on the media, search for "smart" .Install smart-gui for graphical mode

4.1.)Add repository in textmode
- Switch to root with "su" and type password
- Add packman with
Code:

smart channel --add packman type=rpm-md name="packman" baseurl=http://packman.mirrors.skynet.be/pub/packman/suse/10.1/
- "smart update" will update the package list
- Mplayer could be installed with "smart install mplayer"

4.2.)Add repository in Graphical mode

- Start smarts graphical mode with "smart --gui"
- Select Edit from the menu.
- Click Channels
- Click new
- Pop-up will ask what to do:
- select method:Provide channel information
- select type: RPM Metadata
- Alias : packman
- Name : packman
- Base URL : http://packman.mirrors.skynet.be/pub/packman/suse/10.1/
- Click OK.
- Click close.


Repositories/Catalogs

1) Opensuses official installation source
- Opensuse ftp as repository (inst-source) .
- Same contents as the 5 cds/ 1 DVD
- Use ftp/http site as repository, this way you don't need the cds/dvd
- Find a mirror : http://download.opensuse.org/distrib...t-source/suse/

Main sites , these can be slow at some times, so I recommend mirros:
http://ftp.opensuse.org/pub/opensuse...t-source/suse/ (main ftp)
ftp://ftp.gwdg.de/pub/opensuse/distr...t-source/suse/ (Germany)

Mirrors, if its speed you want, please try one of these:
ftp://suse.inode.at/opensuse/distrib...t-source/suse/ (Austria)
ftp://mirror.karneval.cz/pub/opensus...t-source/suse/ (Czech Republic)
ftp://ftp.uni-erlangen.de/pub/mirror...t-source/suse/ (Germany)
ftp://mirrors.kernel.org/opensuse/di...t-source/suse/ (UK?)
ftp://rm.mirror.garr.it/mirrors/open...t-source/suse/ (Italy)
ftp://ftp.sunet.se/pub/Linux/distrib...t-source/suse/ (Sweden)
ftp://ftp.jaist.ac.jp/pub/Linux/open...t-source/suse/ (Japan)

2) NON-OSS INST-source
- OFFICIAL non opensource repository
- place to get JAVA, FLASH Player, Acrobat Reader, Centrino wlan drivers, Real Player+helix engine and other closed source stuff.
- One can find a mirror with : http://download.opensuse.org/distrib...t-source/suse/ or use one of these:

ftp://suse.inode.at/opensuse/distrib...t-source/suse/ (Austria)
ftp://mirror.karneval.cz/pub/opensus...t-source/suse/ (Czech Republic)
ftp://ftp.uni-erlangen.de/pub/mirror...t-source/suse/ (Germany)
ftp://mirrors.kernel.org/opensuse/di...t-source/suse/ (UK?)
ftp://rm.mirror.garr.it/mirrors/open...t-source/suse/ (Italy)
ftp://ftp.sunet.se/pub/Linux/distrib...t-source/suse/ (Sweden)
ftp://ftp.jaist.ac.jp/pub/Linux/open...t-source/suse/ (Japan)
http://ftp.opensuse.org/pub/opensuse...t-source/suse/ (main ftp)
ftp://ftp.gwdg.de/pub/opensuse/distr...t-source/suse/ (Germany)


3) Packman to the rescue - MULTIMEDIA codecs/programs are HERE!
- Its a place to get all the extra codecs for example w32-codecs for windows video files, plus lame and mad for mp3-support and of cource Mplayer.
- Browse the site here : http://packman.links2linux.org/

Mirrors should be synced in 30 minutes, so please use them...
http://packman.rsync.zmi.at/suse/10.1/ (Australia)
http://packman.mirrors.skynet.be/pub/packman/suse/10.1/ (europe, Belgium)
ftp://ftp.uni-erlangen.de/pub/mirror...man/suse/10.1/ (europe, Germany)
http://packman.unixheads.com/suse/10.1/ (USA)
http://packman.iu-bremen.de/suse/10.1/ (main site, please do not use as source)

4) Guru's repository
- Gurus rpm metadata repo for suse 10.1
- Here you can find a lot of thing for example many oss programs, amarok beta packages, fonts and themes plus much more.
- Read more at : http://linux01.gwdg.de/~pbleser/

http://ftp.skynet.be/pub/suser-guru/rpm/10.1/RPMS/ (recommended mirror)
http://ftp.gwdg.de/pub/linux/misc/su...rpm/10.1/RPMS/

5) usr-local-bin.org
- Created by James Ogley, contains mainly GNOME packages, but also other packages...

ftp://ftp.gwdg.de/pub/linux/usr-local-bin/10.1 (NOT YET READY as REPODATA, its still a YAST SOURCE)

lumiwa 05-14-2006 04:00 PM

Thanks for help...but anyway SuSE 10.1 or better YAS or YUM is very slow and
doesn't (didn't) work correct on my computer. When I did add pacman repo for example I wauted 10 (TEN!) minutes and nothing happened. Looks like that is nOvell now as Microsoft...
Thanks for SuSE but I will stay on other distro.

redpawn 05-14-2006 04:50 PM

Grest post! Worked like a charm, but it did take 10 or so minutes to get hooked up with pacman and I had to click past the checksum messages. It will be nice when YaST get some patches to remove error messages and to speed it up. Thanks again.
Aloha,
Bryant

EclipseAgent 05-14-2006 09:40 PM

Yes, YaST is freaking SLOW in 10.1

I rather use y2pmsh

onjoo 05-15-2006 01:08 AM

Quote:

Originally Posted by EclipseAgent
Yes, YaST is freaking SLOW in 10.1

This is true! running ZMD/LIBZYPP/YAST/whatever over mono environment makes it really annoying. I prefer Smart.
It takes time to parse rpm metadata as it is presented in XML format. Yast and rug aren't too helpfull here. No information about download rates and progress. It Does do the job, but one just have to wait for it and take it easy

biosol 05-15-2006 08:38 PM

Great post! Can you add the new installer (zen?) repo for KDE supplementary? Thanks.

yogeshm02 05-31-2006 10:38 AM

How to add a local directory?
 
Hi

I've many rpm packages downloaded and ready to install, but I'm unable to add the directory (in which they are) to installation source. I had SUSE 9.3 earlier which allowed adding a local directory (say '/downloads') to installation sources. Please guide me


regards

ibex 05-31-2006 04:23 PM

What about SUSE 9.1 ? !!!
I set server name and directory and always get an error
like YaST is looking for media. Is there something I need
to set to enable Network Repositories ?

Thank you guys

prj 05-31-2006 05:59 PM

Shouldn't this be made a sticky?

Excellent info.:cool:

ibex 05-31-2006 06:26 PM

That's absolutely true, but without my question perhaps you would not have seen it ;o)
Don't you have any commend ?
Ibex

egad 05-31-2006 11:07 PM

JEBUS!
You all are right. I though: oooh it can't be that bad. Oooh it's not that bugy. I was wrong.

alek66 06-09-2006 09:43 AM

Iam trying to add the repositories according to jem, and It takes a lot!!! ten minutes what has happened¿?
after a long time, an error message appeared and said "Source Syncronization with ZMD failed."
I have linux standard, It is newly installed. Pleaseee what is this?

Fox7777 06-09-2006 09:25 PM

SUSE 10.1 update problem quickly being solved
 
The fix for the zen updater is being rolled out onto the mirrors now June 9, 2006 - most should be up already.

Use YaST -> YOU to update, not zen and do all of the available updates.

Re-run it after it finishes the first time to check for additionals showing up.

When they're all done zen should be more reliable and faster.

Presumably SuSE's official recommendation for an update solution is the zen-updater package since that is what is supplied and installed by default.

EclipseAgent 06-10-2006 12:34 AM

Quote:

Originally Posted by Fox7777
The fix for the zen updater is being rolled out onto the mirrors now June 9, 2006 - most should be up already.

Use YaST -> YOU to update, not zen and do all of the available updates.

Re-run it after it finishes the first time to check for additionals showing up.

When they're all done zen should be more reliable and faster.

Presumably SuSE's official recommendation for an update solution is the zen-updater package since that is what is supplied and installed by default.

I have not heard of any patch provided, where did you get this info? Where can it be downloaded, and what repository will it be on?

onjoo 06-10-2006 03:54 AM

You can read what has been fixed from here : http://www.novell.com/linux/download.../101_i386.html

Packages can be downloaded from : ftp://ftp.suse.com/pub/suse/update/10.1/
or you can use some mirror closer to you.

Smart offered these updates :
- autoyast2
- autoyast2-installation
- yast2-ncurses
- yast2-installation
- yast2
- yast2-perl-bindings
- yast2-pkg-bindings
- yast2-online-update
- yast2-online-update-frontend
- yast2-packager
- yast2-qt
- libzypp
- libzypp-zmd-backend
- zen-updater
- zmd
- rug


All times are GMT -5. The time now is 10:51 AM.