Mailinglist Archive: opensuse-factory (1564 mails)

< Previous Next >
Re: [opensuse-factory] KPackageKit's purpose
  • From: Roger Luedecke <roger.luedecke@xxxxxxxxx>
  • Date: Mon, 21 Nov 2011 13:18:38 -0800
  • Message-id: <5263625.kP4MHiBzvd@frankensuse>
On Monday, November 21, 2011 12:44:25 PM Lars Müller wrote:
On Mon, Nov 21, 2011 at 09:26:47AM +0100, Tim Edwards wrote:
On Monday, November 21, 2011 7:19 AM, "Stefan Seyfried"

<stefan.seyfried@xxxxxxxxxxxxxx> wrote:
On 21.11.2011 00:51, Patrick Shanahan wrote:
it is possible to alter /etc/zypp/zypp.conf to set this as
download in advance.

Actually this is default for quite some time IIUC.

I don't have the netbook with me now to check what was set but it
doesn't protect you if you restart the machine in the middle of it
*installing* the updates, which as far as I can tell is what I did

That's not the only issue.

Consider you have a X11 session running and then parts of your desktop
environment get upgraded. I've seen this causing hanging KDE sessions
several times.

Microsoft Windows does it the right way. They download in background
(even slowing the speed down if the link is congested) and with the next
shutdown they apply the updates.

Yes, even this approach has disadvantages. But to me it sounds like the
most safest one.

At least we have to lock the system agains reboots while updates are

The alternative is to apply updates if available before we allow the
login from the display manager.

It would be nice if the admin is able to decide between apply updates on
shutdown, apply them on boot up, or apply them only on request.

Actually, I think we cuold have a more elegant solution than either. Similar
to the new kernel backup thingamajig scheme we just implemented, we could have
it check during boot to make sure there wasn't an interruption in the updates
and if so have it roll back those changes. This would mean having to keep
copies of the packages changed; but in the back of my mind I think we could do
it in a way that wouldn't require keeping every RPM ever DL'd.
Roger Luedecke
openSUSE Ambassador
Ind. Repairs and Consulting
**Looking for a C++ etc. mentor***
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups