[opensuse] script to rename zypper aliases to something usable!
Listmates, Here is a cure for the only pain I have with zypper. The default repo aliases are unusable unless you like cutting and pasting. The script included below is a script that will rename them to something useful (modify to your personal taste). When done you will have the following zypper aliases: # | Enabled | Refresh | Type | Alias ---+---------+---------+--------+------------------------+ 1 | Yes | Yes | rpm-md | kde-backports 2 | Yes | Yes | rpm-md | kde-community 3 | Yes | Yes | rpm-md | games-action 4 | Yes | Yes | rpm-md | database 5 | Yes | Yes | rpm-md | videolan 6 | Yes | Yes | rpm-md | samba 7 | Yes | Yes | yast2 | main 8 | Yes | Yes | rpm-md | mozilla 9 | Yes | Yes | rpm-md | mail 10 | Yes | Yes | rpm-md | php 11 | Yes | Yes | rpm-md | packman 12 | Yes | Yes | rpm-md | virtualbox 13 | Yes | Yes | rpm-md | wine 14 | Yes | Yes | yast2 | nonoss 15 | No | No | yast2 | openSUSE-10.3-DVD 10.3 16 | Yes | Yes | rpm-md | xfce 17 | Yes | Yes | rpm-md | nvidia 18 | Yes | Yes | rpm-md | openoffice 19 | Yes | Yes | rpm-md | src-oss 20 | Yes | Yes | rpm-md | update 21 | Yes | Yes | rpm-md | x11 The script: #!/bin/bash zypper nr http://download.opensuse.org/repositories/KDE:/Community/openSUSE_10.3/ kde-community zypper nr http://download.opensuse.org/repositories/games:/action/openSUSE_10.3/ games-action zypper nr http://download.opensuse.org/repositories/server:/database/openSUSE_10.3/ database zypper nr http://download.videolan.org/pub/videolan/vlc/SuSE/10.3/ videolan zypper nr http://download.opensuse.org/repositories/openSUSE:10.3/standard/ main zypper nr http://download.opensuse.org/repositories/mozilla/openSUSE_10.3/ mozilla zypper nr http://download.opensuse.org/repositories/server:/mail/openSUSE_10.3/ mail zypper nr http://download.opensuse.org/repositories/server:/php/openSUSE_10.3/ php zypper nr http://ftp.skynet.be/pub/packman/suse/10.3/ packman zypper nr http://download.opensuse.org/repositories/Virtualization:/VirtualBox/openSUS... virtualbox zypper nr http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_10.3/ wine zypper nr http://download.opensuse.org/distribution/10.3/repo/non-oss/ nonoss zypper nr http://download.opensuse.org/repositories/X11:/xfce/openSUSE_10.3/ xfce zypper nr http://download.nvidia.com/opensuse/10.3 nvidia zypper nr http://download.opensuse.org/repositories/OpenOffice.org:/STABLE/openSUSE_10... openoffice zypper nr http://download.opensuse.org/distribution/10.3/repo/src-oss/suse/ src-oss zypper nr http://download.opensuse.org/update/10.3/ update zypper nr http://download.opensuse.org/repositories/X11:/XGL/openSUSE_10.3/ x11 -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dňa Thursday 24 January 2008 17:33:42 David C. Rankin ste napísal:
Listmates,
Here is a cure for the only pain I have with zypper. The default repo aliases are unusable unless you like cutting and pasting.
What is the issue? All aliases not set by user are set by YaST somehwere (community repos, installation etc). Maybe that part needs some love. Stano -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
David C. Rankin
-
Stanislav Visnovsky