On Sam, 2013-09-14 at 07:32 +1000, doiggl@velocitynet.com.au wrote:
Hello, Questions:
1. What command switches allow 'zypper -v up' to run from crontab ?
--non-interactive, -n Do not ask anything, use default answers automatically.
then you probably want to add: -l, --auto-agree-with-licenses Automatically say 'yes' to third party
On Sun, 15 Sep 2013 16:27:46 +0200, Dimstar / Dominique Leuenberger <dimstar@opensuse.org> wrote: license
confirmation prompt. See man zypper for more details.
That seems to do what you want?
2. What command switches allow zypper to download the packages/rpm ?
zypper install --download-only ?
Dominique -- Dimstar / Dominique Leuenberger <dimstar@opensuse.org>
Hello, Thanks, that did it - had to get switches in correct order --Glenn e.g # /usr/bin/zypper -vn up -l Verbosity: 1 Entering non-interactive mode. Initializing Target Checking whether to refresh metadata for openSUSE-13.1-Non-Oss Checking whether to refresh metadata for openSUSE-13.1-Oss Checking whether to refresh metadata for openSUSE-13.1-Update Checking whether to refresh metadata for openSUSE-13.1-Update-Non-Oss Loading repository data... Reading installed packages... Force resolution: No The following package update will NOT be installed: timezone 2013h-1.1 The following packages are going to be upgraded: flash-player 11.2.202.310-2.1.6 -> 11.2.202.327-14.1 flash-player-kde4 11.2.202.310-2.1.6 -> 11.2.202.327-14.1 libdcerpc-binding0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libdcerpc-binding0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libdcerpc0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libdcerpc0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libgensec0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libgensec0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libndr-krb5pac0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libndr-krb5pac0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libndr-nbt0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libndr-nbt0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libndr-standard0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libndr-standard0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libndr0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libndr0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libnetapi0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libnetapi0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libpdb0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libpdb0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libregistry0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsamba-credentials0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsamba-credentials0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsamba-hostconfig0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsamba-hostconfig0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsamba-util0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsamba-util0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsamdb0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsamdb0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsmbclient-raw0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsmbclient-raw0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsmbclient0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsmbconf0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsmbconf0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsmbldap0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libsmbldap0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libtevent-util0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libtevent-util0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 libwbclient0 4.1.0-3.5.1 -> 4.1.0-3.8.1 libwbclient0-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 samba-client 4.1.0-3.5.1 -> 4.1.0-3.8.1 samba-client-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 samba-libs 4.1.0-3.5.1 -> 4.1.0-3.8.1 samba-libs-32bit 4.1.0-3.5.1 -> 4.1.0-3.8.1 44 packages to upgrade. Overall download size: 19.9 MiB. After the operation, additional 11.9 KiB will be used. Continue? [y/n/? shows all options] (y): y Automatically agreeing with flash-player package license. committing Retrieving package libtevent-util0-4.1.0-3.8.1.x86_64 (1/44), 149.3 KiB ( 10.2 KiB unpacked) Retrieving: libtevent-util0-4.1.0-3.8.1.x86_64.rpm ...........................................................................[done] Retrieving package libtevent-util0-32bit-4.1.0-3.8.1.x86_64 (2/44), 149.3 KiB ( 9.5 KiB unpacked) Retrieving: libtevent-util0-32bit-4.1.0-3.8.1.x86_64.rpm .....................................................................[done] Retrieving package libdcerpc-binding0-4.1.0-3.8.1.x86_64 (3/44), 174.2 KiB (104.1 KiB unpacked) Retrieving: libdcerpc-binding0-4.1.0-3.8.1.x86_64.rpm ........................................................................[done] Retrieving package libdcerpc-binding0-32bit-4.1.0-3.8.1.x86_64 (4/44), 174.9 KiB (102.4 KiB unpacked) Retrieving: libdcerpc-binding0-32bit-4.1.0-3.8.1.x86_64.rpm ..................................................................[done] Retrieving package libndr-nbt0-4.1.0-3.8.1.x86_64 (5/44), 171.5 KiB ( 87.5 KiB unpacked) Retrieving: libndr-nbt0-4.1.0-3.8.1.x86_64.rpm ...............................................................................[done] Retrieving package samba-libs-32bit-4.1.0-3.8.1.x86_64 (6/44), 2.7 MiB ( 10.7 MiB unpacked) Retrieving: samba-libs-32bit-4.1.0-3.8.1.x86_64.rpm ..........................................................................[done] Retrieving package libgensec0-4.1.0-3.8.1.x86_64 (7/44), 192.8 KiB (148.2 KiB unpacked) Retrieving: libgensec0-4.1.0-3.8.1.x86_64.rpm ................................................................................[done] Retrieving package libsamba-util0-32bit-4.1.0-3.8.1.x86_64 (8/44), 225.8 KiB (215.2 KiB unpacked) Retrieving: libsamba-util0-32bit-4.1.0-3.8.1.x86_64.rpm ......................................................................[done] Retrieving package libsamba-credentials0-4.1.0-3.8.1.x86_64 (9/44), 168.9 KiB ( 67.4 KiB unpacked) Retrieving: libsamba-credentials0-4.1.0-3.8.1.x86_64.rpm .....................................................................[done] Retrieving package libndr0-32bit-4.1.0-3.8.1.x86_64 (10/44), 174.3 KiB ( 86.0 KiB unpacked) Retrieving: libndr0-32bit-4.1.0-3.8.1.x86_64.rpm .............................................................................[done] Retrieving package samba-libs-4.1.0-3.8.1.x86_64 (11/44), 2.7 MiB ( 10.9 MiB unpacked) Retrieving: samba-libs-4.1.0-3.8.1.x86_64.rpm ................................................................................[done] Retrieving package libsamba-hostconfig0-32bit-4.1.0-3.8.1.x86_64 (12/44), 190.4 KiB (210.4 KiB unpacked) Retrieving: libsamba-hostconfig0-32bit-4.1.0-3.8.1.x86_64.rpm ................................................................[done] Retrieving package libsamba-util0-4.1.0-3.8.1.x86_64 (13/44), 223.9 KiB (213.5 KiB unpacked) Retrieving: libsamba-util0-4.1.0-3.8.1.x86_64.rpm ............................................................................[done] Retrieving package libsamba-credentials0-32bit-4.1.0-3.8.1.x86_64 (14/44), 169.2 KiB ( 66.1 KiB unpacked) Retrieving: libsamba-credentials0-32bit-4.1.0-3.8.1.x86_64.rpm ...............................................................[done] Retrieving package libndr0-4.1.0-3.8.1.x86_64 (15/44), 173.1 KiB ( 87.2 KiB unpacked) Retrieving: libndr0-4.1.0-3.8.1.x86_64.rpm ...................................................................................[done] Retrieving package libsamdb0-32bit-4.1.0-3.8.1.x86_64 (16/44), 173.7 KiB ( 82.5 KiB unpacked) Retrieving: libsamdb0-32bit-4.1.0-3.8.1.x86_64.rpm ...........................................................................[done] Retrieving package libsamba-hostconfig0-4.1.0-3.8.1.x86_64 (17/44), 192.9 KiB (220.7 KiB unpacked) Retrieving: libsamba-hostconfig0-4.1.0-3.8.1.x86_64.rpm ......................................................................[done] Retrieving package libgensec0-32bit-4.1.0-3.8.1.x86_64 (18/44), 194.2 KiB (150.4 KiB unpacked) Retrieving: libgensec0-32bit-4.1.0-3.8.1.x86_64.rpm ..........................................................................[done] Retrieving package libndr-standard0-4.1.0-3.8.1.x86_64 (19/44), 792.2 KiB ( 3.1 MiB unpacked) Retrieving: libndr-standard0-4.1.0-3.8.1.x86_64.rpm ..........................................................................[done] Retrieving package libndr-nbt0-32bit-4.1.0-3.8.1.x86_64 (20/44), 171.9 KiB ( 90.1 KiB unpacked) Retrieving: libndr-nbt0-32bit-4.1.0-3.8.1.x86_64.rpm .........................................................................[done] Retrieving package libsmbconf0-4.1.0-3.8.1.x86_64 (21/44), 320.1 KiB (568.0 KiB unpacked) Retrieving: libsmbconf0-4.1.0-3.8.1.x86_64.rpm ...............................................................................[done] Retrieving package libndr-standard0-32bit-4.1.0-3.8.1.x86_64 (22/44), 743.9 KiB ( 3.1 MiB unpacked) Retrieving: libndr-standard0-32bit-4.1.0-3.8.1.x86_64.rpm ....................................................................[done] Retrieving package libsamdb0-4.1.0-3.8.1.x86_64 (23/44), 174.4 KiB ( 84.1 KiB unpacked) Retrieving: libsamdb0-4.1.0-3.8.1.x86_64.rpm .................................................................................[done] Retrieving package libsmbclient-raw0-32bit-4.1.0-3.8.1.x86_64 (24/44), 212.4 KiB (203.0 KiB unpacked) Retrieving: libsmbclient-raw0-32bit-4.1.0-3.8.1.x86_64.rpm ...................................................................[done] Retrieving package libwbclient0-4.1.0-3.8.1.x86_64 (25/44), 162.5 KiB ( 42.4 KiB unpacked) Retrieving: libwbclient0-4.1.0-3.8.1.x86_64.rpm ..............................................................................[done] Retrieving package libdcerpc0-32bit-4.1.0-3.8.1.x86_64 (26/44), 198.6 KiB (162.8 KiB unpacked) Retrieving: libdcerpc0-32bit-4.1.0-3.8.1.x86_64.rpm ..........................................................................[done] Retrieving package libsmbclient-raw0-4.1.0-3.8.1.x86_64 (27/44), 214.4 KiB (221.2 KiB unpacked) Retrieving: libsmbclient-raw0-4.1.0-3.8.1.x86_64.rpm .........................................................................[done] Retrieving package libndr-krb5pac0-32bit-4.1.0-3.8.1.x86_64 (28/44), 157.3 KiB ( 37.9 KiB unpacked) Retrieving: libndr-krb5pac0-32bit-4.1.0-3.8.1.x86_64.rpm .....................................................................[done] Retrieving package libdcerpc0-4.1.0-3.8.1.x86_64 (29/44), 196.6 KiB (160.9 KiB unpacked) Retrieving: libdcerpc0-4.1.0-3.8.1.x86_64.rpm ................................................................................[done] Retrieving package libsmbconf0-32bit-4.1.0-3.8.1.x86_64 (30/44), 321.9 KiB (550.3 KiB unpacked) Retrieving: libsmbconf0-32bit-4.1.0-3.8.1.x86_64.rpm .........................................................................[done] Retrieving package libpdb0-4.1.0-3.8.1.x86_64 (31/44), 211.0 KiB (213.4 KiB unpacked) Retrieving: libpdb0-4.1.0-3.8.1.x86_64.rpm ...................................................................................[done] Retrieving package libwbclient0-32bit-4.1.0-3.8.1.x86_64 (32/44), 162.5 KiB ( 41.5 KiB unpacked) Retrieving: libwbclient0-32bit-4.1.0-3.8.1.x86_64.rpm ........................................................................[done] Retrieving package libndr-krb5pac0-4.1.0-3.8.1.x86_64 (33/44), 157.4 KiB ( 39.0 KiB unpacked) Retrieving: libndr-krb5pac0-4.1.0-3.8.1.x86_64.rpm ...........................................................................[done] Retrieving package libpdb0-32bit-4.1.0-3.8.1.x86_64 (34/44), 210.5 KiB (207.0 KiB unpacked) Retrieving: libpdb0-32bit-4.1.0-3.8.1.x86_64.rpm .............................................................................[done] Retrieving package libnetapi0-4.1.0-3.8.1.x86_64 (35/44), 237.5 KiB (389.5 KiB unpacked) Retrieving: libnetapi0-4.1.0-3.8.1.x86_64.rpm ................................................................................[done] Retrieving package libnetapi0-32bit-4.1.0-3.8.1.x86_64 (36/44), 240.3 KiB (427.1 KiB unpacked) Retrieving: libnetapi0-32bit-4.1.0-3.8.1.x86_64.rpm ..........................................................................[done] Retrieving package libsmbldap0-4.1.0-3.8.1.x86_64 (37/44), 159.9 KiB ( 42.8 KiB unpacked) Retrieving: libsmbldap0-4.1.0-3.8.1.x86_64.rpm ...............................................................................[done] Retrieving package libsmbldap0-32bit-4.1.0-3.8.1.x86_64 (38/44), 160.0 KiB ( 41.7 KiB unpacked) Retrieving: libsmbldap0-32bit-4.1.0-3.8.1.x86_64.rpm .........................................................................[done] Retrieving package libsmbclient0-4.1.0-3.8.1.x86_64 (39/44), 192.3 KiB (144.3 KiB unpacked) Retrieving: libsmbclient0-4.1.0-3.8.1.x86_64.rpm .............................................................................[done] Retrieving package libregistry0-4.1.0-3.8.1.x86_64 (40/44), 191.3 KiB (136.0 KiB unpacked) Retrieving: libregistry0-4.1.0-3.8.1.x86_64.rpm ..............................................................................[done] Retrieving package samba-client-32bit-4.1.0-3.8.1.x86_64 (41/44), 150.3 KiB ( 9.5 KiB unpacked) Retrieving: samba-client-32bit-4.1.0-3.8.1.x86_64.rpm ........................................................................[done] Retrieving package samba-client-4.1.0-3.8.1.x86_64 (42/44), 1.1 MiB ( 2.9 MiB unpacked) Retrieving: samba-client-4.1.0-3.8.1.x86_64.rpm ..............................................................................[done] Retrieving package flash-player-11.2.202.327-14.1.x86_64 (43/44), 4.9 MiB ( 18.4 MiB unpacked) Retrieving: flash-player-11.2.202.327-14.1.x86_64.rpm ............................................................[done (1.4 MiB/s)] Retrieving package flash-player-kde4-11.2.202.327-14.1.x86_64 (44/44), 150.4 KiB (560.8 KiB unpacked) Retrieving: flash-player-kde4-11.2.202.327-14.1.x86_64.rpm ...................................................................[done] ( 1/44) Installing: libtevent-util0-4.1.0-3.8.1 ..............................................................................[done] ( 2/44) Installing: libtevent-util0-32bit-4.1.0-3.8.1 ........................................................................[done] ( 3/44) Installing: libdcerpc-binding0-4.1.0-3.8.1 ...........................................................................[done] ( 4/44) Installing: libdcerpc-binding0-32bit-4.1.0-3.8.1 .....................................................................[done] ( 5/44) Installing: libndr-nbt0-4.1.0-3.8.1 ..................................................................................[done] ( 6/44) Installing: samba-libs-32bit-4.1.0-3.8.1 .............................................................................[done] ( 7/44) Installing: libgensec0-4.1.0-3.8.1 ...................................................................................[done] ( 8/44) Installing: libsamba-util0-32bit-4.1.0-3.8.1 .........................................................................[done] ( 9/44) Installing: libsamba-credentials0-4.1.0-3.8.1 ........................................................................[done] (10/44) Installing: libndr0-32bit-4.1.0-3.8.1 ................................................................................[done] (11/44) Installing: samba-libs-4.1.0-3.8.1 ...................................................................................[done] (12/44) Installing: libsamba-hostconfig0-32bit-4.1.0-3.8.1 ...................................................................[done] (13/44) Installing: libsamba-util0-4.1.0-3.8.1 ...............................................................................[done] (14/44) Installing: libsamba-credentials0-32bit-4.1.0-3.8.1 ..................................................................[done] (15/44) Installing: libndr0-4.1.0-3.8.1 ......................................................................................[done] (16/44) Installing: libsamdb0-32bit-4.1.0-3.8.1 ..............................................................................[done] (17/44) Installing: libsamba-hostconfig0-4.1.0-3.8.1 .........................................................................[done] (18/44) Installing: libgensec0-32bit-4.1.0-3.8.1 .............................................................................[done] (19/44) Installing: libndr-standard0-4.1.0-3.8.1 .............................................................................[done] (20/44) Installing: libndr-nbt0-32bit-4.1.0-3.8.1 ............................................................................[done] (21/44) Installing: libsmbconf0-4.1.0-3.8.1 ..................................................................................[done] (22/44) Installing: libndr-standard0-32bit-4.1.0-3.8.1 .......................................................................[done] (23/44) Installing: libsamdb0-4.1.0-3.8.1 ....................................................................................[done] (24/44) Installing: libsmbclient-raw0-32bit-4.1.0-3.8.1 ......................................................................[done] (25/44) Installing: libwbclient0-4.1.0-3.8.1 .................................................................................[done] (26/44) Installing: libdcerpc0-32bit-4.1.0-3.8.1 .............................................................................[done] (27/44) Installing: libsmbclient-raw0-4.1.0-3.8.1 ............................................................................[done] (28/44) Installing: libndr-krb5pac0-32bit-4.1.0-3.8.1 ........................................................................[done] (29/44) Installing: libdcerpc0-4.1.0-3.8.1 ...................................................................................[done] (30/44) Installing: libsmbconf0-32bit-4.1.0-3.8.1 ............................................................................[done] (31/44) Installing: libpdb0-4.1.0-3.8.1 ......................................................................................[done] (32/44) Installing: libwbclient0-32bit-4.1.0-3.8.1 ...........................................................................[done] (33/44) Installing: libndr-krb5pac0-4.1.0-3.8.1 ..............................................................................[done] (34/44) Installing: libpdb0-32bit-4.1.0-3.8.1 ................................................................................[done] (35/44) Installing: libnetapi0-4.1.0-3.8.1 ...................................................................................[done] (36/44) Installing: libnetapi0-32bit-4.1.0-3.8.1 .............................................................................[done] (37/44) Installing: libsmbldap0-4.1.0-3.8.1 ..................................................................................[done] (38/44) Installing: libsmbldap0-32bit-4.1.0-3.8.1 ............................................................................[done] (39/44) Installing: libsmbclient0-4.1.0-3.8.1 ................................................................................[done] (40/44) Installing: libregistry0-4.1.0-3.8.1 .................................................................................[done] (41/44) Installing: samba-client-32bit-4.1.0-3.8.1 ...........................................................................[done] (42/44) Installing: samba-client-4.1.0-3.8.1 .................................................................................[done] Additional rpm output: Updating /etc/sysconfig/network/dhcp... (43/44) Installing: flash-player-11.2.202.327-14.1 ...........................................................................[done] (44/44) Installing: flash-player-kde4-11.2.202.327-14.1 ......................................................................[done] committingCommitResult (total 44, done 44, error 0, skipped 0, updateMessages 0) Checking for running processes using deleted libraries... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org