Enabling Sources on openSUSE 10.2

Tue 31 July 2007

Disable ZMD before proceeding:

su -c "rczmd stop"
su -c "rpm -e zmd libzypp-zmd-backend sqlite-zmd rug zen-updater"

Now you can use YaST, Zypper or Smart.

Zypper is the new command line tool in the openSUSE package management stack. You can use it just like rug.

To add the relevant sources, issue the following commands:

su
rpm --import http://linux01.gwdg.de/~pbleser/guru-rpm.asc http://packman.unixheads.com/suse/10.2/gpg-pubkey-1abd1afb.asc
zypper -v sa http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/oss/ suse-oss102
zypper -v sa http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/non-oss/ suse-non-oss102
zypper -v sa http://ftp.skynet.be/pub/ftp.suse.com/suse/update/10.2/ update102
zypper -v sa http://ftp.skynet.be/pub/suser-guru/rpm/10.2/ guru102
zypper -v sa http://ftp.skynet.be/pub/packman/suse/10.2/ packman102

The -v option just provides a little extra verbosity; it isn’t required. For other options, see Using Zypper

Smart is a popular meta-package manager contained on the openSUSE CDs and DVD. To add the repositories via Smart, simply:

su
smart channel --add suse-oss102 type=yast2 baseurl=http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/oss/
smart channel --add suse-non-oss102 type=yast2 baseurl=http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/non-oss/
smart channel --add update10.2 type=rpm-md name="update 10.2" baseurl=http://ftp.skynet.be/pub/ftp.suse.com/suse/update/10.2/ 
smart channel --add packman102 type=rpm-md name="Packman 10.2" baseurl=http://ftp.skynet.be/pub/packman/suse/10.2/
smart channel --add guru102 type=yast2 name="Guru 10.2" baseurl=http://ftp.skynet.be/pub/suser-guru/rpm/10.2/
smart update

Note that the sources above all use ftp.skynet.be. More mirrors exist, it’s recommended to use one in your vicinity. See Package_Sources/Mirrors for more information.