unable to change [rpm-sys] channel's settings

snowcrash+smart schneecrash+smart at gmail.com
Tue Nov 14 09:22:55 PST 2006


there's no need to be so immediately dismissive; some folks may
actually not know as much as you do about smart & its operation ...

> What do you need this for?

for the obvious reason -- because i want the priority for my rpm-sys
DB to higher than some channels, and lower than others.  for your
reference, i've included my config at the bottom here ...

and, unless i disable the 'default' rpm-sys, i get weird "cycling", i.e. --

 smart update
 smart upgrade --> downgrade a bunch of files
 smart upgrade --> upgrade the same files
 smart upgrade --> downgrade the same files
 smart upgrade --> upgrade the same files
 etc


---------

smart channel --yes --remove-all

echo ########## PRIORITY = 20 ##########
smart channel --yes --add kde \
type=rpm-md \
name="KDE update" \
priority=20 \
baseurl=http://linux.nssl.noaa.gov/opensuse/repositories/KDE:/KDE3/SUSE_Linux_10.1
\
disabled=no

smart channel --yes --add gnome \
type=yast2 \
name="Gnome update" \
priority=20 \
baseurl=http://linux.nssl.noaa.gov/suse/i386/supplementary/GNOME/update_for_10.1/yast-source
\
disabled=yes

smart channel --yes --add smart \
type=rpm-md \
name="Guru smart repository" \
priority=20 \
baseurl=http://ftp-1.gwdg.de/pub/linux/misc/suser-guru/smart/repo/10.1 \
mirrors=['http://ftp.skynet.be/pub/suser-guru/smart/repo/10.1',
'http://ftp.halifax.rwth-aachen.de/suser-guru/smart/repo/10.1'] \
disabled=no

echo ########## PRIORITY = 17 ##########
smart channel --yes --add suse-mozilla-latest \
type=rpm-md \
name="Latest mozilla.org packages @ SuSE" \
priority=17 \
baseurl=http://linux.nssl.noaa.gov/opensuse/repositories/mozilla/SUSE_Linux_10.1/
\
disabled=no

echo ########## PRIORITY = 16 ##########
smart channel --yes --add suse-mozilla-distro \
type=rpm-md \
name="Mozilla.org packages @ SuSE" \
baseurl=ftp://ftp-1.gwdg.de/pub/linux/suse/ftp.suse.com/projects/mozilla/10.1 \
priority=16 \
disabled=no

echo ########## PRIORITY = 15 ##########
smart channel --yes --add packman \
type=yast2 \
name="packman 3rd party package repository" \
priority=15 \
baseurl=http://packman.inode.at/suse/10.1 \
mirrors=['http://packman.mirrors.skynet.be/pub/packman/suse/10.1',
'http://packman.rsync.zmi.at/suse/10.1',
'http://ftp.uni-erlangen.de/pub/mirrors/packman/suse/10.1',
'http://anorien.warwick.ac.uk/mirrors/opensuse/packman/suse/10.1',
'http://ftp.halifax.rwth-aachen.de/packman/suse/10.1'] \
disabled=no

smart channel --yes --add suse-wine \
type=rpm-md \
name="Latest wine packages" \
priority=15 \
baseurl=http://linux.nssl.noaa.gov/opensuse/repositories/Emulators:/Wine/SUSE_Linux_10.1/
\
mirrors=['http://ftp.skynet.be/pub/software.opensuse.org/Emulators:/Wine/SUSE_Linux_10.1/',
'http://ftp-1.gwdg.de/pub/opensuse/repositories/Emulators:/Wine/SUSE_Linux_10.1/']
\
disabled=no

smart channel --yes --add xfce \
type=rpm-md \
name="XFCE" \
priority=15 \
baseurl=http://linux.nssl.noaa.gov/opensuse/repositories/X11:/xfce/SUSE_Linux_10.1
\
disabled=no

smart channel --yes --add crauch \
type=rpm-md \
name="crauch 3rd party package repository" \
priority=15 \
baseurl=ftp://ftp-1.gwdg.de/linux/misc/suser-crauch/10.1 \
disabled=yes

smart channel --yes --add oc2pus-YUM \
type=rpm-md \
name="oc2pus 3rd party package repository" \
priority=15 \
baseurl=ftp://ftp-1.gwdg.de/pub/linux/misc/suser-oc2pus/10.1/RPMS \
disabled=yes

smart channel --yes --add oc2pus-YAST \
type=yast2 \
name="oc2pus 3rd party package repository" \
priority=15 \
baseurl=ftp://ftp-1.gwdg.de/pub/linux/misc/suser-oc2pus/10.1 \
disabled=yes

smart channel --yes --add guru \
type=yast2 \
name="guru 3rd party package repository" \
priority=15 \
baseurl=http://ftp-1.gwdg.de/pub/linux/misc/suser-guru/rpm/10.1 \
mirrors=['http://ftp.skynet.be/pub/suser-guru/rpm/10.1',
'http://anorien.warwick.ac.uk/mirrors/opensuse/guru/10.1',
'http://ftp.halifax.rwth-aachen.de/suser-guru/rpm/10.1'] \
disabled=yes

echo ########## PRIORITY = 13 ##########
smart channel --yes --add myDB \
type=rpm-sys \
name="RPM System" \
priority=13 \
disabled=no

echo ########## PRIORITY = 12 ##########
smart channel --yes --add suse-update \
type=rpm-md \
name="SUSE Linux Online Updates" \
priority=12 \
baseurl=http://linux.nssl.noaa.gov/suse/update/10.1 \
mirrors=['http://mirrors.kernel.org/suse/update/',
'ftp://mirror.colorado.edu/pub/suse/update/10.1/','http://ftp.belnet.be/mirrors/ftp.suse.com/suse/update/10.1/']
\
disabled=no

echo ########## PRIORITY = 10 ##########
smart channel --yes --add 10.1-OSS \
type=yast2 \
name="SUSE 10.1 OpenSource Repository" \
priority=10 \
baseurl=http://linux.nssl.noaa.gov/opensuse/distribution/SL-10.1/inst-source \
disabled=no

smart channel --yes --add 10.1-non-OSS \
type=yast2 \
name="SUSE 10.1 Add-On Repository with non OpenSource Packages" \
priority=10 \
baseurl=http://linux.nssl.noaa.gov/opensuse/distribution/SL-10.1/non-oss-inst-source
\
disabled=no



More information about the Smart mailing list