openSuSE 11.3 -> 11.4

Upgrade folyamatban

[code]
# zypper sh
zypper> rr 1
Removing repository 'Contrib_Factory_11.3' [done]
Repository 'Contrib_Factory_11.3' has been removed.
zypper> rr 1
Removing repository 'openSUSE_11.3_OSS' [done]
Repository 'openSUSE_11.3_OSS' has been removed.
zypper> rr 1
Removing repository 'openSUSE_11.3_Updates' [done]
Repository 'openSUSE_11.3_Updates' has been removed.
zypper> ar -c -f -n 'openSUSE_11.4_OSS' http://download.opensuse.org/distribution/11.4/repo/oss/ openSUSE_11.4_OSS
Adding repository 'openSUSE_11.4_OSS' [done]
Repository 'openSUSE_11.4_OSS' successfully added
Enabled: Yes
Autorefresh: Yes
URI: http://download.opensuse.org/source/distribution/11.4/repo/oss/

zypper> ar -c -f -n 'openSUSE_11.4_Updates' http://download.opensuse.org/update/11.4/ openSUSE_11.4_Updates
Adding repository 'openSUSE_11.4_Updates' [done]
Repository 'openSUSE_11.4_Updates' successfully added
Enabled: Yes
Autorefresh: Yes
URI: http://download.opensuse.org/update/11.4/
zypper> ar -c -f -r http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/op…
Adding repository 'openSUSE:Factory:Contrib (openSUSE_11.4)' [done]
Repository 'openSUSE:Factory:Contrib (openSUSE_11.4)' successfully added
Enabled: Yes
Autorefresh: Yes
URI: http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/op…

zypper> lr
# | Alias | Name | Enabled | Refresh
--+--------------------------+------------------------------------------+---------+--------
1 | openSUSE_11.4_OSS | openSUSE_11.4_OSS | Yes | Yes
2 | openSUSE_11.4_Updates | openSUSE_11.3_Updates | Yes | Yes
3 | openSUSE_Factory_Contrib | openSUSE:Factory:Contrib (openSUSE_11.4) | Yes | Yes
zypper> dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Retrieving repository 'openSUSE_11.4_OSS' metadata [done]
Building repository 'openSUSE_11.4_OSS' cache [done]
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following NEW packages are going to be installed:
bind-libs bind-utils cronie gdk-pixbuf-query-loaders gtk2-tools hunspell iptables libIDL-2-0 libIlmImf6 libQtWebKit4 libart_lgpl_2-2 libcairo2 libcap-ng0 libdb-4_8 libffi45 libgdk_pixbuf-2_0-0
libgirepository-1_0-1 libglade-2_0-0 libgtk-2_0-0 libilmbase6 libjasper1 libjpeg62 liblzma5 libmodman1 libmount1 libnet1 libnsssharedhelper0 libpango-1_0-0 libparted0 libproxy1 libpython2_7-1_0
libslang2 libsmi2 libsnmp25 libstartup-notification-1-0 lsscsi mozilla-js20 mozilla-xulrunner20 openexr pango-tools python-gobject shared-mime-info slang-slsh

The following packages are going to be REMOVED:
IlmBase OpenEXR cairo glib2 gtk2 java-1_6_0-sun java-1_6_0-sun-devel libart_lgpl libeggdbus-1-0 libglade2 libidl libjasper libnet libpython2_6-1_0 libsnmp20 nginx-0.9 pango pcre python-gobject2 slang
startup-notification unrar

The following packages are going to be upgraded:
ConsoleKit Mesa aaa_base alsa alsa-utils aria2 aspell autoyast2-installation bash bc bootsplash bootsplash-branding-openSUSE btrfsprogs bundle-lang-common-hu bundle-lang-gnome-hu bzip2 chkrootkit
cifs-utils clamav clamav-db coreutils cpio cracklib cracklib-dict-full cron cryptsetup cups-libs curl cyrus-sasl dbus-1 dbus-1-glib dbus-1-x11 ddrescue device-mapper dhcpcd dialog diffutils dirmngr
dmraid dosfstools e2fsprogs elfutils fam file filesystem fillup findutils findutils-locate fontconfig gawk gconf2 gd gdbm gigolo glib2-branding-openSUSE glibc glibc-locale gnome-doc-utils gnutls gpg2
gpm grep grub gzip hdparm hicolor-icon-theme htop hwinfo iftop info info2html initviocons insserv iproute2 iptraf john john-wordlists jpackage-utils kbd kdelibs3 kdelibs3-default-style kernel-default
keyutils keyutils-libs klamav klogd kpartx krb5 latex2html-pngicons lcms less libGeoIP1 libXi6 libacl libadns1 libaio libasm1 libasound2 libassuan0 libatk-1_0-0 libattr libaudit1 libaugeas0
libavahi-client3 libavahi-common3 libblas3 libblkid1 libblocxx6 libbz2-1 libcap2 libcares2 libcom_err2 libcrack2 libcryptsetup1 libcurl4 libdb-4_5 libdnet1 libdns_sd libdrm libdw1 libelf1 libenca0
libevent-1_4-2 libevtlog0 libexpat1 libext2fs2 libfreebl3 libfreetype6 libgcc45 libgcrypt11 libgfortran45 libgio-2_0-0 libglib-2_0-0 libgmodule-2_0-0 libgnutls-extra26 libgnutls26 libgobject-2_0-0
libgpg-error0 libgssglue1 libgthread-2_0-0 libicu libidn libiw30 libjack0 libjpeg8 libksba liblapack3 liblcms1 libldap-2_4-2 libldapcpp1 libltdl7 liblua5_1 liblzo2-2 libmng libncurses5 libncurses6
libnl libnscd libopenssl1_0_0 libpcap1 libpcre0 libpixman-1-0 libpkcs11-helper1 libpng12-0 libpng14-14 libpolkit0 libpopt0 libpth20 libqt4 libqt4-qt3support libqt4-sql libqt4-x11 librcc0 librcd0
libreadline6 libreiserfs libselinux1 libsensors4 libsepol1 libsmbios-bin libsmbios2 libsmi libsoftokn3 libsqlite3-0 libssh2-1 libstdc++45 libstorage libtasn1 libtasn1-3 libtiff3 libtirpc1 libudev0
libusb-0_1-4 libusb-1_0-0 libuuid1 libvmtools0 libwbclient0 libx86emu1 libxcrypt libxfce4util libxml2 libxslt libzio libzypp licenses limal limal-nfs-server limal-nfs-server-perl limal-perl login
logrotate lvm2 lynx master-boot-code mc mdadm mingetty mkinitrd module-init-tools mousepad mozilla-nspr mozilla-nss mozilla-nss-certs mtools mtr multipath-tools nano ncurses-utils net-tools netcfg
nfs-client nfsidmap nmap ntfs-3g ntfs-config ntfsprogs ntp open-vm-tools openSUSE-build-key openSUSE-release openSUSE-release-ftp openslp openssh openssl openvpn orbit2 p7zip pam pam-config
pam-modules parted patterns-openSUSE-base patterns-openSUSE-network_admin patterns-openSUSE-yast2_basis patterns-openSUSE-yast2_install_wf pciutils pciutils-ids perl perl-Bootloader
perl-Config-Crontab perl-Digest-HMAC perl-Digest-SHA1 perl-NetxAP perl-Parse-RecDescent perl-X500-DN perl-XML-LibXML perl-XML-NamespaceSupport perl-XML-Parser perl-XML-SAX perl-XML-Simple perl-base
perl-gettext permissions photorec pinentry pkcs11-helper pkg-config polkit polkit-default-privs portaudio postfix procps psmisc pwdutils python python-base python-cairo python-gtk python-numpy
python-xml qt3 quagga rarian rcc-runtime recode rpcbind rpm rsyslog samba-client satsolver-tools screen sed sgml-skel snmp-mibs sudo susehelp susehelp_en sysconfig sysfsutils syslinux syslog-ng
sysvinit sysvinit-tools tar tcpd tcpdump terminfo-base timezone udev unzip update-alternatives usbutils utempter util-linux vim vim-base vim-data vmware-guest-kmp-default wget whois wireless-tools
wireshark wpa_supplicant wvdial wvstreams xdg-utils xfsdump xfsprogs xli xorg-x11-libICE xorg-x11-libSM xorg-x11-libX11 xorg-x11-libXau xorg-x11-libXdmcp xorg-x11-libXext xorg-x11-libXfixes
xorg-x11-libXmu xorg-x11-libXp xorg-x11-libXpm xorg-x11-libXprintUtil xorg-x11-libXrender xorg-x11-libXt xorg-x11-libfontenc xorg-x11-libs xorg-x11-libxcb xorg-x11-libxkbfile yast2 yast2-bootloader
yast2-branding-openSUSE yast2-core yast2-country yast2-country-data yast2-dbus-client yast2-firewall yast2-firstboot yast2-hardware-detection yast2-installation yast2-irda yast2-iscsi-client
yast2-kerberos-client yast2-ldap yast2-ldap-client yast2-libyui yast2-mail yast2-mouse yast2-ncurses yast2-ncurses-pkg yast2-network yast2-nfs-client yast2-nfs-common yast2-online-update
yast2-online-update-frontend yast2-packager yast2-pam yast2-perl-bindings yast2-pkg-bindings yast2-restore yast2-runlevel yast2-samba-client yast2-security yast2-slp yast2-sound yast2-storage
yast2-sudo yast2-sysconfig yast2-theme-openSUSE yast2-trans yast2-trans-hu yast2-trans-stats yast2-transfer yast2-tune yast2-update yast2-users yast2-xml yast2-ycp-ui-bindings yelp zip zlib zypper

The following product is going to be upgraded:
openSUSE 11.4

The following packages are going to be downgraded:
coreboot-utils iputils libldb0 libtalloc2 libtdb1 libtevent0 netcat ppp

The following packages are going to change architecture:
perl-Digest-HMAC i586 -> noarch
perl-Parse-RecDescent i586 -> noarch

The following package is going to change vendor:
pkg-config obs://build.opensuse.org/openSUSE:Factory:Contrib -> openSUSE

409 packages to upgrade, 8 to downgrade, 43 new, 22 to remove, 1 to change vendor, 2 to change arch.
Overall download size: 274.2 MiB. After the operation, 45.9 MiB will be freed.
Continue? [y/n/?] (y):
Do you agree with the terms of the license? [yes/no] (no): yes

[ .... ]
zypper> exit
# reboot
[/code]

Kommentek:
- Ha azt mondja, hogy nem talalja a permissions nevu csomagot, akkor rakjuk ujra az OSS repo-t, mert vmi nyugje van vele.
- Ha nem akarunk licenszt lvasni, akkor 'dup -l' a parancs
- A parancsokat bash-bol is ki lehet adni, ekkor a zypper> prompt melle irt parancsokat kell egy 'zypper ' -t kovetoen bepasztazni. En szeretem a zysh-t.

Hozzászólások

zypper sh <-- ilyet tud a zypper? :)

Nem volt semmi. Sot, meg a Factory-ra frissites is ugyanilyen problemamentes (csak nyilvan mas repokkal kell dolgozni).

Egy dologra kell iszonyuan odafigyelni: minden repobol az epp aktualis platformnak megfelelo verziot kell hasznalni. Vagyis, ha 11.4-ed van, akkor minden repodnak 11.4-esnek _kell_ lennie, hogy minden lib fugges korrekt legyen. Ez a legtobb esetben egyszeru, mert minden reponak van a kovetkezo kiadashoz verzioja, legrosszabb esetben a kiadas napja utan ket nappal.
--

Ki oda vagyik, hol szall a galamb, elszalasztja a kincset itt alant. | Gentoo Portal