Dominique Leuenberger schreef:
On 4/8/2008 at 15:47, Oddball <monkey9@iae.nl> wrote:
Dominique Leuenberger schreef:
btw: naming a package is done in the awk call. there you have a filter which
packages out of the available list, matching the regex, shall be updated.
Dominique
About that i can say: Not on this PC.
AMD64x2-sfn1:/home/oddball # zypper lu -t package | awk -F\| '/yast2/ { print $3}' | xargs zypper in Too few arguments. At least one package name is required.
try simply zypper lu -t package to see what output you get... apparently, awk does not have a single hit and thus the list given to zypper is empty.
Dominique
Hi dominique, Finaly got the chance to see your 'advice' working! Works like a charm indeed, output in attachment ;) -- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.00.68 (KDE 4.0.68 >= 20080402) "release 6.4" AMD64x2-sfn1:/home/oddball # zypper lu -t package | awk -F\| '/yast2/ { print $3}' | xargs zypper in Reading installed packages... The following packages are going to be upgraded: zypper yast2-ycp-ui-bindings yast2-xml yast2-users yast2-update-FACTORY yast2-update yast2-tune yast2-transfer yast2-storage-lib yast2-storage yast2-sound yast2-slp yast2-scanner yast2-qt yast2-profile-manager yast2-printer yast2-pkg-bindings yast2-perl-bindings yast2-packager yast2-nis-client yast2-network yast2-ncurses-pkg yast2-ncurses yast2-mouse yast2-libyui yast2-ldap yast2-hardware-detection yast2-fingerprint-reader yast2-country-data yast2-country yast2-core yast2-control-center-qt yast2-control-center yast2-bootloader yast2 satsolver-tools libzypp libxcrypt yast2-x11 yast2-tv yast2-trans-stats yast2-theme-openSUSE yast2-sysconfig yast2-support yast2-sudo yast2-security yast2-schema yast2-runlevel yast2-restore yast2-repair yast2-registration yast2-pam yast2-online-update-frontend yast2-online-update yast2-ntp-client yast2-nfs-client yast2-metapackage-handler yast2-mail yast2-ldap-client yast2-kerberos-client yast2-iscsi-client yast2-irda yast2-installation yast2-inetd yast2-firewall yast2-backup yast2-apparmor yast2-add-on autoyast2-installation glibc-devel glibc glibc-locale Overall download size: 33,7 M. After the operation, additional 46,4 M will be used. Continue? [YES/no]: Downloading package yast2-country-data-2.16.16-3.x86_64, 35,0 K (154,0 K unpacked) * Downloading: yast2-country-data-2.16.16-3.x86_64.rpm [done] * Installing: yast2-country-data-2.16.16-3 Downloading package yast2-trans-stats-2.15.0-73.noarch, 8,0 K (1,0 K unpacked) * Downloading: yast2-trans-stats-2.15.0-73.noarch.rpm [done] * Installing: yast2-trans-stats-2.15.0-73 Downloading package yast2-theme-openSUSE-2.16.19-2.noarch, 2,9 M (3,0 M unpacked) * Downloading: yast2-theme-openSUSE-2.16.19-2.noarch.rpm [done (165,9 K/s)] * Installing: yast2-theme-openSUSE-2.16.19-2 Downloading package yast2-schema-2.15.0-201.noarch, 59,0 K (832,0 K unpacked) * Downloading: yast2-schema-2.15.0-201.noarch.rpm [done] * Installing: yast2-schema-2.15.0-201 Downloading package glibc-2.8-6.8.un.x86_64, 5,4 M (21,9 M unpacked) * Downloading: glibc-2.8-6.8.un.x86_64.rpm [done (168,7 K/s)] * Installing: glibc-2.8-6.8.un Downloading package yast2-storage-lib-2.16.17-3.x86_64, 548,0 K (1,5 M unpacked) * Downloading: yast2-storage-lib-2.16.17-3.x86_64.rpm [done (133,8 K/s)] * Installing: yast2-storage-lib-2.16.17-3 Downloading package yast2-libyui-2.16.43-2.x86_64, 157,0 K (588,0 K unpacked) * Downloading: yast2-libyui-2.16.43-2.x86_64.rpm [done] * Installing: yast2-libyui-2.16.43-2 Downloading package satsolver-tools-0.0.26-2.x86_64, 148,0 K (1,4 M unpacked) * Downloading: satsolver-tools-0.0.26-2.x86_64.rpm [done] * Installing: satsolver-tools-0.0.26-2 Downloading package libxcrypt-3.0-5.x86_64, 41,0 K (153,0 K unpacked) * Downloading: libxcrypt-3.0-5.x86_64.rpm [done] * Installing: libxcrypt-3.0-5 Downloading package glibc-devel-2.8-6.8.un.x86_64, 4,7 M (29,9 M unpacked) * Downloading: glibc-devel-2.8-6.8.un.x86_64.rpm [done (168,2 K/s)] * Installing: glibc-devel-2.8-6.8.un Downloading package glibc-locale-2.8-6.8.un.x86_64, 9,2 M (92,6 M unpacked) * Downloading: glibc-locale-2.8-6.8.un.x86_64.rpm [done (168,9 K/s)] * Installing: glibc-locale-2.8-6.8.un Downloading package yast2-qt-2.16.38-2.x86_64, 293,0 K (1,1 M unpacked) * Downloading: yast2-qt-2.16.38-2.x86_64.rpm [done (75,7 K/s)] * Installing: yast2-qt-2.16.38-2 Downloading package yast2-ncurses-2.16.24-2.x86_64, 295,0 K (1,0 M unpacked) * Downloading: yast2-ncurses-2.16.24-2.x86_64.rpm [done (93,3 K/s)] * Installing: yast2-ncurses-2.16.24-2 Downloading package yast2-core-2.16.47-2.x86_64, 924,0 K (3,1 M unpacked) * Downloading: yast2-core-2.16.47-2.x86_64.rpm [done (154,7 K/s)] * Installing: yast2-core-2.16.47-2 Downloading package libzypp-4.11.0-2.x86_64, 1,5 M (5,4 M unpacked) * Downloading: libzypp-4.11.0-2.x86_64.rpm [done (157,4 K/s)] * Installing: libzypp-4.11.0-2 Downloading package zypper-0.10.6-2.x86_64, 443,0 K (1,7 M unpacked) * Downloading: zypper-0.10.6-2.x86_64.rpm [done (109,8 K/s)] * Installing: zypper-0.10.6-2 Downloading package yast2-ycp-ui-bindings-2.16.43-2.x86_64, 196,0 K (601,0 K unpacked) * Downloading: yast2-ycp-ui-bindings-2.16.43-2.x86_64.rpm [done (36,8 K/s)] * Installing: yast2-ycp-ui-bindings-2.16.43-2 Downloading package yast2-xml-2.16.0-44.x86_64, 62,0 K (255,0 K unpacked) * Downloading: yast2-xml-2.16.0-44.x86_64.rpm [done] * Installing: yast2-xml-2.16.0-44 Downloading package yast2-transfer-2.16.1-52.x86_64, 56,0 K (299,0 K unpacked) * Downloading: yast2-transfer-2.16.1-52.x86_64.rpm [done] * Installing: yast2-transfer-2.16.1-52 Downloading package yast2-slp-2.15.0-114.x86_64, 57,0 K (280,0 K unpacked) * Downloading: yast2-slp-2.15.0-114.x86_64.rpm [done] * Installing: yast2-slp-2.15.0-114 Downloading package yast2-pkg-bindings-2.16.25-2.x86_64, 391,0 K (1,5 M unpacked) * Downloading: yast2-pkg-bindings-2.16.25-2.x86_64.rpm [done (104,6 K/s)] * Installing: yast2-pkg-bindings-2.16.25-2 Downloading package yast2-ncurses-pkg-2.16.6-9.x86_64, 174,0 K (576,0 K unpacked) * Downloading: yast2-ncurses-pkg-2.16.6-9.x86_64.rpm [done] * Installing: yast2-ncurses-pkg-2.16.6-9 Downloading package yast2-hardware-detection-2.16.1-30.x86_64, 95,0 K (409,0 K unpacked) * Downloading: yast2-hardware-detection-2.16.1-30.x86_64.rpm [done] * Installing: yast2-hardware-detection-2.16.1-30 Downloading package yast2-perl-bindings-2.16.6-2.x86_64, 95,0 K (337,0 K unpacked) * Downloading: yast2-perl-bindings-2.16.6-2.x86_64.rpm [done] * Installing: yast2-perl-bindings-2.16.6-2 Downloading package yast2-2.16.50-2.x86_64, 576,0 K (3,0 M unpacked) * Downloading: yast2-2.16.50-2.x86_64.rpm [done (143,6 K/s)] * Installing: yast2-2.16.50-2 Downloading package yast2-update-2.16.5-14.x86_64, 90,0 K (465,0 K unpacked) * Downloading: yast2-update-2.16.5-14.x86_64.rpm [done] * Installing: yast2-update-2.16.5-14 Downloading package yast2-storage-2.16.17-3.x86_64, 500,0 K (2,7 M unpacked) * Downloading: yast2-storage-2.16.17-3.x86_64.rpm [done (132,2 K/s)] * Installing: yast2-storage-2.16.17-3 Downloading package yast2-sound-2.16.7-3.x86_64, 177,0 K (1,0 M unpacked) * Downloading: yast2-sound-2.16.7-3.x86_64.rpm [done] * Installing: yast2-sound-2.16.7-3 Downloading package yast2-scanner-2.16.4-3.x86_64, 81,0 K (437,0 K unpacked) * Downloading: yast2-scanner-2.16.4-3.x86_64.rpm [done] * Installing: yast2-scanner-2.16.4-3 Downloading package yast2-printer-2.16.10-7.x86_64, 311,0 K (3,3 M unpacked) * Downloading: yast2-printer-2.16.10-7.x86_64.rpm [done (125,1 K/s)] * Installing: yast2-printer-2.16.10-7 Downloading package yast2-mouse-2.16.0-68.x86_64, 25,0 K (87,0 K unpacked) * Downloading: yast2-mouse-2.16.0-68.x86_64.rpm [done] * Installing: yast2-mouse-2.16.0-68 Downloading package yast2-ldap-2.16.0-28.x86_64, 106,0 K (456,0 K unpacked) * Downloading: yast2-ldap-2.16.0-28.x86_64.rpm [done] * Installing: yast2-ldap-2.16.0-28 Downloading package yast2-country-2.16.16-3.x86_64, 93,0 K (456,0 K unpacked) * Downloading: yast2-country-2.16.16-3.x86_64.rpm [done] * Installing: yast2-country-2.16.16-3 Downloading package yast2-control-center-2.16.0-40.x86_64, 9,0 K (6,0 K unpacked) * Downloading: yast2-control-center-2.16.0-40.x86_64.rpm [done] * Installing: yast2-control-center-2.16.0-40 Downloading package yast2-x11-2.15.11-118.noarch, 82,0 K (815,0 K unpacked) * Downloading: yast2-x11-2.15.11-118.noarch.rpm [done] * Installing: yast2-x11-2.15.11-118 Downloading package yast2-sysconfig-2.16.0-4.noarch, 56,0 K (284,0 K unpacked) * Downloading: yast2-sysconfig-2.16.0-4.noarch.rpm [done] * Installing: yast2-sysconfig-2.16.0-4 Downloading package yast2-support-2.15.4-10.noarch, 24,0 K (58,0 K unpacked) * Downloading: yast2-support-2.15.4-10.noarch.rpm [done] * Installing: yast2-support-2.15.4-10 Downloading package yast2-runlevel-2.16.2-11.noarch, 48,0 K (182,0 K unpacked) * Downloading: yast2-runlevel-2.16.2-11.noarch.rpm [done] * Installing: yast2-runlevel-2.16.2-11 Downloading package yast2-pam-2.16.1-10.noarch, 28,0 K (128,0 K unpacked) * Downloading: yast2-pam-2.16.1-10.noarch.rpm [done] * Installing: yast2-pam-2.16.1-10 Downloading package yast2-ntp-client-2.16.7-3.noarch, 79,0 K (451,0 K unpacked) * Downloading: yast2-ntp-client-2.16.7-3.noarch.rpm [done] * Installing: yast2-ntp-client-2.16.7-3 Downloading package yast2-nfs-client-2.16.0-4.noarch, 99,0 K (238,0 K unpacked) * Downloading: yast2-nfs-client-2.16.0-4.noarch.rpm [done] * Installing: yast2-nfs-client-2.16.0-4 Downloading package yast2-irda-2.15.1-178.noarch, 19,0 K (59,0 K unpacked) * Downloading: yast2-irda-2.15.1-178.noarch.rpm [done] * Installing: yast2-irda-2.15.1-178 Downloading package yast2-firewall-2.16.1-4.noarch, 79,0 K (477,0 K unpacked) * Downloading: yast2-firewall-2.16.1-4.noarch.rpm [done] * Installing: yast2-firewall-2.16.1-4 Downloading package yast2-apparmor-2.16.1-7.noarch, 84,0 K (399,0 K unpacked) * Downloading: yast2-apparmor-2.16.1-7.noarch.rpm [done] * Installing: yast2-apparmor-2.16.1-7 Downloading package yast2-update-FACTORY-2.16.5-14.x86_64, 14,0 K (5,0 K unpacked) * Downloading: yast2-update-FACTORY-2.16.5-14.x86_64.rpm [done] * Installing: yast2-update-FACTORY-2.16.5-14 Downloading package yast2-nis-client-2.16.1-10.x86_64, 227,0 K (516,0 K unpacked) * Downloading: yast2-nis-client-2.16.1-10.x86_64.rpm [done] * Installing: yast2-nis-client-2.16.1-10 Downloading package yast2-fingerprint-reader-2.16.6-8.x86_64, 58,0 K (270,0 K unpacked) * Downloading: yast2-fingerprint-reader-2.16.6-8.x86_64.rpm [done] * Installing: yast2-fingerprint-reader-2.16.6-8 Downloading package yast2-control-center-qt-2.16.0-40.x86_64, 67,0 K (198,0 K unpacked) * Downloading: yast2-control-center-qt-2.16.0-40.x86_64.rpm [done] * Installing: yast2-control-center-qt-2.16.0-40 Downloading package yast2-bootloader-2.16.9-3.x86_64, 288,0 K (2,0 M unpacked) * Downloading: yast2-bootloader-2.16.9-3.x86_64.rpm [done (89,8 K/s)] * Installing: yast2-bootloader-2.16.9-3 Downloading package yast2-tv-2.16.4-4.noarch, 197,0 K (1,0 M unpacked) * Downloading: yast2-tv-2.16.4-4.noarch.rpm [done] * Installing: yast2-tv-2.16.4-4 Downloading package yast2-security-2.15.1-107.noarch, 39,0 K (188,0 K unpacked) * Downloading: yast2-security-2.15.1-107.noarch.rpm [done] * Installing: yast2-security-2.15.1-107 Downloading package yast2-kerberos-client-2.16.8-3.noarch, 40,0 K (187,0 K unpacked) * Downloading: yast2-kerberos-client-2.16.8-3.noarch.rpm [done] * Installing: yast2-kerberos-client-2.16.8-3 Downloading package autoyast2-installation-2.16.14-3.noarch, 173,0 K (1,2 M unpacked) * Downloading: autoyast2-installation-2.16.14-3.noarch.rpm [done (84,1 K/s)] * Installing: autoyast2-installation-2.16.14-3 Downloading package yast2-tune-2.16.1-6.x86_64, 77,0 K (435,0 K unpacked) * Downloading: yast2-tune-2.16.1-6.x86_64.rpm [done] * Installing: yast2-tune-2.16.1-6 Downloading package yast2-restore-2.16.0-71.noarch, 62,0 K (364,0 K unpacked) * Downloading: yast2-restore-2.16.0-71.noarch.rpm [done] * Installing: yast2-restore-2.16.0-71 Downloading package yast2-repair-2.16.7-3.noarch, 265,0 K (1,8 M unpacked) * Downloading: yast2-repair-2.16.7-3.noarch.rpm [done (131,5 K/s)] * Installing: yast2-repair-2.16.7-3 Downloading package yast2-installation-2.16.33-3.noarch, 196,0 K (600,0 K unpacked) * Downloading: yast2-installation-2.16.33-3.noarch.rpm [done (64,3 K/s)] * Installing: yast2-installation-2.16.33-3 Downloading package yast2-backup-2.16.3-21.noarch, 160,0 K (672,0 K unpacked) * Downloading: yast2-backup-2.16.3-21.noarch.rpm [done] * Installing: yast2-backup-2.16.3-21 Downloading package yast2-packager-2.16.32-3.x86_64, 296,0 K (1,5 M unpacked) * Downloading: yast2-packager-2.16.32-3.x86_64.rpm [done (92,4 K/s)] * Installing: yast2-packager-2.16.32-3 Downloading package yast2-network-2.16.36-4.x86_64, 305,0 K (1,9 M unpacked) * Downloading: yast2-network-2.16.36-4.x86_64.rpm [done (130,8 K/s)] * Installing: yast2-network-2.16.36-4 Downloading package yast2-registration-2.16.1-21.noarch, 134,0 K (247,0 K unpacked) * Downloading: yast2-registration-2.16.1-21.noarch.rpm [done] * Installing: yast2-registration-2.16.1-21 Downloading package yast2-online-update-2.16.10-3.noarch, 56,0 K (241,0 K unpacked) * Downloading: yast2-online-update-2.16.10-3.noarch.rpm [done] * Installing: yast2-online-update-2.16.10-3 Downloading package yast2-metapackage-handler-0.8.2-3.noarch, 43,0 K (192,0 K unpacked) * Downloading: yast2-metapackage-handler-0.8.2-3.noarch.rpm [done] * Installing: yast2-metapackage-handler-0.8.2-3 Downloading package yast2-iscsi-client-2.16.8-19.noarch, 42,0 K (201,0 K unpacked) * Downloading: yast2-iscsi-client-2.16.8-19.noarch.rpm [done] * Installing: yast2-iscsi-client-2.16.8-19 Downloading package yast2-add-on-2.16.1-44.noarch, 36,0 K (121,0 K unpacked) * Downloading: yast2-add-on-2.16.1-44.noarch.rpm [done] * Installing: yast2-add-on-2.16.1-44 Downloading package yast2-online-update-frontend-2.16.10-3.noarch, 8,0 K (2,0 K unpacked) | Downloading: yast2-online-update-frontend-2.16.10-3.noarch.rpm [54% (4,2 K/* Downloading: yast2-online-update-frontend-2.16.10-3.noarch.rpm [done] * Installing: yast2-online-update-frontend-2.16.10-3 Downloading package yast2-ldap-client-2.16.11-8.noarch, 91,0 K (499,0 K unpacked) * Downloading: yast2-ldap-client-2.16.11-8.noarch.rpm [done] * Installing: yast2-ldap-client-2.16.11-8 Downloading package yast2-users-2.16.24-3.x86_64, 200,0 K (1,0 M unpacked) * Downloading: yast2-users-2.16.24-3.x86_64.rpm [done (44,5 K/s)] * Installing: yast2-users-2.16.24-3 Downloading package yast2-profile-manager-2.16.0-69.x86_64, 113,0 K (472,0 Kunpacked) * Downloading: yast2-profile-manager-2.16.0-69.x86_64.rpm [done] * Installing: yast2-profile-manager-2.16.0-69 Downloading package yast2-sudo-2.16.0-44.noarch, 36,0 K (172,0 K unpacked) * Downloading: yast2-sudo-2.16.0-44.noarch.rpm [done] * Installing: yast2-sudo-2.16.0-44 Downloading package yast2-mail-2.16.0-44.noarch, 125,0 K (714,0 K unpacked) * Downloading: yast2-mail-2.16.0-44.noarch.rpm [done] * Installing: yast2-mail-2.16.0-44 Downloading package yast2-inetd-2.15.1-127.noarch, 269,0 K (557,0 K unpacked) * Downloading: yast2-inetd-2.15.1-127.noarch.rpm [done (77,1 K/s)] * Installing: yast2-inetd-2.15.1-127 AMD64x2-sfn1:/home/oddball #