[opensuse-factory] Zypper upadtes kernel packages instead of installing it
I noticed yesterday that Zypper updated kernel packages instead of installing it. Meaning, in case we hang up with non bootable system, we can't boot the system with older kernel. Is this a normal behavior Zypper or it is a bug? Cheers! -- Igor Jagec
On Fri, Oct 12, 2007 at 02:42:59PM +0200, Igor Jagec wrote:
I noticed yesterday that Zypper updated kernel packages instead of installing it. Meaning, in case we hang up with non bootable system, we can't boot the system with older kernel. Is this a normal behavior Zypper or it is a bug?
This is likely a bug not in the kernel or updater, but in the bootloader handling. Please open a bugreport, attach logfiles (YAST logs and /boot/grub/menu.lst, /boot/grub/devices.map) Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Am Freitag 12 Oktober 2007 schrieb Marcus Meissner:
On Fri, Oct 12, 2007 at 02:42:59PM +0200, Igor Jagec wrote:
I noticed yesterday that Zypper updated kernel packages instead of installing it. Meaning, in case we hang up with non bootable system, we can't boot the system with older kernel. Is this a normal behavior Zypper or it is a bug?
This is likely a bug not in the kernel or updater, but in the bootloader handling.
Please open a bugreport, attach logfiles (YAST logs and /boot/grub/menu.lst, /boot/grub/devices.map)
To me it sounds like a feature request. Yes, we update every package and do not have a special case for the kernel. Greetings, Stephan -- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
* Stephan Kulow
To me it sounds like a feature request. Yes, we update every package and do not have a special case for the kernel.
Yes, it is a (well-known) feature request. The question is how to pass the install vs. upgrade distinction to the package manager. SUSE patches allow such a flag, but we probably needs something like "zypper install kernel" and "zypper update kernel". Keeping the old (or the last N, depending on the size of /boot) kernels installed is important in case the new kernel does not boot. Klaus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Dňa Friday 12 October 2007 15:24:16 Klaus Kaempf ste napísal:
* Stephan Kulow
[Oct 12. 2007 15:21]: To me it sounds like a feature request. Yes, we update every package and do not have a special case for the kernel.
Yes, it is a (well-known) feature request.
The question is how to pass the install vs. upgrade distinction to the package manager. SUSE patches allow such a flag, but we probably needs something like "zypper install kernel" and "zypper update kernel".
'zypper update' should use patch to install the new kernel and AFAIK our kernel patch has the install-flag enabled. Stano --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Fri, Oct 12, 2007 at 03:38:46PM +0200, Stanislav Visnovsky wrote:
Dňa Friday 12 October 2007 15:24:16 Klaus Kaempf ste napísal:
* Stephan Kulow
[Oct 12. 2007 15:21]: To me it sounds like a feature request. Yes, we update every package and do not have a special case for the kernel.
Yes, it is a (well-known) feature request.
The question is how to pass the install vs. upgrade distinction to the package manager. SUSE patches allow such a flag, but we probably needs something like "zypper install kernel" and "zypper update kernel".
'zypper update' should use patch to install the new kernel and AFAIK our kernel patch has the install-flag enabled.
It does not. The issue here is the one of disk space... How do you know before hand there is enough disk space in /boot and /lib? Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Freitag, 12. Oktober 2007 Marcus Meissner:
The issue here is the one of disk space... How do you know before hand there is enough disk space in /boot and /lib?
Err, ask Mr. Filesystem and, given your hd has turned ROM because it's full, fail gracefully? --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Fri, Oct 12, 2007 at 03:09:13PM +0200, Stephan Kulow wrote:
Am Freitag 12 Oktober 2007 schrieb Marcus Meissner:
On Fri, Oct 12, 2007 at 02:42:59PM +0200, Igor Jagec wrote:
I noticed yesterday that Zypper updated kernel packages instead of installing it. Meaning, in case we hang up with non bootable system, we can't boot the system with older kernel. Is this a normal behavior Zypper or it is a bug?
This is likely a bug not in the kernel or updater, but in the bootloader handling.
Please open a bugreport, attach logfiles (YAST logs and /boot/grub/menu.lst, /boot/grub/devices.map)
To me it sounds like a feature request. Yes, we update every package and do not have a special case for the kernel.
I meant the part where he says "system does not boot". For this issue open a bugreport. Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Pet, 2007-10-12 at 14:50 +0200, Marcus Meissner wrote:
On Fri, Oct 12, 2007 at 02:42:59PM +0200, Igor Jagec wrote:
I noticed yesterday that Zypper updated kernel packages instead of installing it. Meaning, in case we hang up with non bootable system, we can't boot the system with older kernel. Is this a normal behavior Zypper or it is a bug? This is likely a bug not in the kernel or updater, but in the bootloader handling. Please open a bugreport, attach logfiles (YAST logs and /boot/grub/menu.lst, /boot/grub/devices.map)
I've just reported it (#333392). Cheers! -- Igor Jagec
Dňa Friday 12 October 2007 14:42:59 Igor Jagec ste napísal:
I noticed yesterday that Zypper updated kernel packages instead of installing it. Meaning, in case we hang up with non bootable system, we can't boot the system with older kernel. Is this a normal behavior Zypper or it is a bug?
How do you call zypper? Stano --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Pet, 2007-10-12 at 14:55 +0200, Stanislav Visnovsky wrote:
Dňa Friday 12 October 2007 14:42:59 Igor Jagec ste napísal:
I noticed yesterday that Zypper updated kernel packages instead of installing it. Meaning, in case we hang up with non bootable system, we can't boot the system with older kernel. Is this a normal behavior Zypper or it is a bug? How do you call zypper?
# zypper update I turned off GNOME Update Applet since it consumes too much of CPU, and it checks for update on every reboot instead of once a day. So I run the command above once a day. As I figured, it does the same thing. Cheers! -- Igor Jagec
Dňa Friday 12 October 2007 20:14:42 Igor Jagec ste napísal:
On Pet, 2007-10-12 at 14:55 +0200, Stanislav Visnovsky wrote:
Dňa Friday 12 October 2007 14:42:59 Igor Jagec ste napísal:
I noticed yesterday that Zypper updated kernel packages instead of installing it. Meaning, in case we hang up with non bootable system, we can't boot the system with older kernel. Is this a normal behavior Zypper or it is a bug?
How do you call zypper?
# zypper update
I turned off GNOME Update Applet since it consumes too much of CPU, and it checks for update on every reboot instead of once a day. So I run the command above once a day. As I figured, it does the same thing.
Unfortunatelly, as Marcus pointed out, we do not enable this functionality in patches :( Stano --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Mon, 2007-10-15 at 14:36 +0200, Stanislav Visnovsky wrote:
Unfortunatelly, as Marcus pointed out, we do not enable this functionality in patches :(
BTW what is the difference between patch and delta rpm? I know from man pages that Zypper works with several types of resource objects, but I didn't figure what exactly is the difference between 2 types. What is the purpose of these types of rpm packages, only to save the bandwidth and disk space while updating? Thanks in advance. -- Igor Jagec
Hello, on Dienstag, 16. Oktober 2007, Igor Jagec wrote:
BTW what is the difference between patch and delta rpm?
IIRC: - Patch RPMs contain only modified files (as complete files). - Delta RPMs contain a binary diff of changed files, which is usually smaller than the whole file.
What is the purpose of these types of rpm packages, only to save the bandwidth and disk space while updating?
Yes, the main purpose is saving bandwidth. Saving disk space is not a purpose - AFAIK delta RPMs even need some temporary disk space to be reassembled to full RPMs. (I hope somebody corrects me if I'm wrong ;-) Regards, Christian Boltz -- "Alarm" heisst "al armas", also "Zu den Waffen!". Womit soll ich in meinen Rechner reinballern, wenn er Hitzealarm gibt? [Ratti in suse-linux] --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (7)
-
Christian Boltz
-
Igor Jagec
-
Klaus Kaempf
-
Marcus Meissner
-
Stanislav Visnovsky
-
Stephan Kulow
-
Wolfgang Woehl