Mailinglist Archive: opensuse-factory (845 mails)

< Previous Next >
Re: [opensuse-factory] UPdating factory [Was: libzypp.so.418()(64bit) missing.. ]
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Wed, 14 May 2008 03:38:42 +0200 (CEST)
  • Message-id: <alpine.LSU.1.00.0805140322590.6038@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Wednesday 2008-05-14 at 03:12 +0200, I wrote:

The Tuesday 2008-05-13 at 19:22 -0500, Hans Petter Jansson wrote:

On Wed, 2008-05-14 at 00:43 +0200, Carlos E. R. wrote:

> > while true; do echo y; echo i; echo 1; done | sudo zypper dup

> I think I'll be more conservative. :-)

Looks like you can accomplish the same with

zypper -n dup --auto-agree-with-licenses

these days.

-n, --name
Select resolvables by their name (default).

I don't see how this one would help? Unless the meaning has been changed :-?

-l, --auto-agree-with-licenses
Automatically say 'yes' to third party license confirmation
prompt. By using this option, you choose to agree with
licenses of all third-party software this command will
install. This option is particularly useful for
administators installing the same set of packages on
multiple machines (by an automated process) and have the
licenses confirmed before.


Ok, there are different "-n" depending on where they are written. This one is:

-n, --non-interactive

Switches to non-interactive mode. In this mode zypper doesn't ask
user to type answers to var‐
ious prompts, but uses default answers automatically. The
behaviour of this option is somewhat
different than that of options like '--yes', since zypper can
answer different answers to dif‐
ferent questions. The answers also depend on other options like
'--no-gpg-checks'.


however, it doesn't work wel enough:

nimrodel:/ # time nice zypper -n dup -l
....
Overall download size: 1.46 G. After the operation, additional 5.8 M will be
used.
Continue? [YES/no]: yes
Automatically agreeing with flash-player package license.
Automatically agreeing with java-1_5_0-sun package license.
....
Downloading package man-pages-2.79-7.noarch, 4.2 M (3.9 M unpacked)
Downloading: man-pages-2.79-7.noarch.rpm [error (38 B/s)]
Timeout exceed

Abort, retry, ignore? [A/r/i]: a
Downloading: content [done (720 B/s)]
Problem downloading the package file from the repository:
Can't provide ./suse/noarch/man-pages-2.79-7.noarch.rpm : Timeout exceed
Repository 'OSS-fctry' is out of date. Running 'zypper refresh' might help.

real 13m32.250s
user 0m55.503s
sys 0m10.629s


You see. It has stopped only after 13 minutes run, I don't know why; maybe because my adsl went down from 03:19:48 to 03:20:20, and the FTP timed out. It doesn't retry automatically. You should think of adding an option for that, or to customize the answers.



There is no reliable way for us to do a "dup".


I try again, it doen't refresh the repo, and goes on:

Overall download size: 1.43 G. After the operation, additional 5.8 M will be
used.
Continue? [YES/no]: yes
Automatically agreeing with flash-player package license.
....
Installing: ivtv-firmware-1.0.3-61 [done]
Downloading package man-pages-2.79-7.noarch, 4.2 M (3.9 M unpacked)
Downloading: man-pages-2.79-7.noarch.rpm [done (90.4 K/s)]
Installing: man-pages-2.79-7 [done]
Downloading package licenses-20070810-47.noarch, 339.0 K (3.3 M unpacked)
....

- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFIKkKmtTMYHG2NR9URArJEAJ4xHIkf/vxusHVQuv+AnTar3MFnygCdEWng
3XmWeNtDNAVMilbWMc05rHQ=
=OxhN
-----END PGP SIGNATURE-----
< Previous Next >
Follow Ups