Mailinglist Archive: opensuse (389 mails)

< Previous Next >
Re: [opensuse] Zypper and restart?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Fri, 15 Mar 2019 07:53:46 +0100
  • Message-id: <q6fi5q$3hc$1@saturn.local.net>
Anton Aylward wrote:

Oh buqquer, I hate that sort of manual work.
Why isn't zypper using cURL under the hood so that this can be
automated?

No, wait a moment:
# ldd /usr/bin/zypper | grep curl
libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007fa18c6f0000)

and

# ldd /usr/lib64/libzypp.so.1600 | grep curl
libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007f522a353000)

It *IS* using the curl library.
So why can't zypper do a restart?

Just one of those things that were not considered - a mostly working
internet connection. It doesn't sound too difficult to do though: if
download is incomplete, just pass the current file size to the libcurl
invocation.

As a work around, download and install those big files manually. (with
curl).



--
Per Jessen, Zürich (6.7°C)
member, openSUSE Heroes


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups