[opensuse-factory] Yast security update installation failing
After attempting to install the recent set of updates for 10.1, YOU refuses to install updates which I skipped the first time, although it does recognise them as being present. I skipped them first time because I didn't have the .patch.rpms, and there are only .delta.rpms for delta-ing from the install media, but not from the previous updated version (packages mono-*2.10, MozillaFirefox-translations). YOU suggests to install the still missing updates, I click accept, YOU uses 100% CPU for a little while, then does nothing before offering to click finish. Clicking finish and restarting YOU produces the same result. zmd is disabled. Update source is ftp://localhost/, .patch.rpm are present and YOU doesn't complain about any files it can't find. This is annoying bug for 10.1 (yet again I have to do a command line fix), is it still present in 10.2b2? Impossible to test, but potentially critical as installing security updates has gone out the door. The problem has to do with the blurbs created by yast in /var/lib/zypp/db/patches/ These are yast's memory of what's installed and what isn't. Unfortuately, 2 things happen: 1) Yast marks package-sets as installed even though some rpm part or all of it was skipped, and even if yast was terminated forcefully after selecting the whole lot of patches. 2) Yast never checks its "memory" against reality, and forever after, all of the existing patches so far are "installed". Fix for now: rm /var/lib/zypp/db/patches/* Now yast still has no clue about which updates are actually installed (the list is empty), but at least it's not destructive for patches which a) have not yet been installed, b) come out in the future. Operating like this is not acceptable from a reliability and security point of view. Yast needs a reality check, so to speak :)) Shall I report this against 10.1, or 10.2b2 in the hope a SUSEr is able to tell whether the behaviour still exists in 10.2, and a fix for it? Volker -- Volker Kuhlmann is list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Volker Kuhlmann schrieb:
[...]
The patches are already installed. And yes, the user interface confusion that makes you think they were not installed is fixed for 10.2. Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sun 19 Nov 2006 15:36:07 NZDT +1300, Andreas Hanke wrote:
The patches are already installed.
Ehh, this is most certainly not true. rpm -qa --last and rpm -q are *VERY* reliable in telling exactly what is and isn't installed, and I am absolutely positive that aforementioned packages were NOT installed. Besides, after I deleted stuff under /var/lib/zypp and re-running YOU, all the missing .patch.rpm were installed by YOU. The same rpms YOU before detected as needing to be installed but then ignored to install.
And yes, the user interface confusion that makes you think they were not installed is fixed for 10.2.
This is not just a user interface problem! It seems to be more a problem with how YOU makes use of the /var/lib/zypp/.../patches/* information and assumptions based on them. Are you really sure these are fixed? Otherwise it becomes a security problem with 10.2 final (as it is with 10.1 final). Volker -- Volker Kuhlmann is list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Volker Kuhlmann schrieb:
Ehh, this is most certainly not true. rpm -qa --last and rpm -q are *VERY* reliable in telling exactly what is and isn't installed, and I am absolutely positive that aforementioned packages were NOT installed.
Besides, after I deleted stuff under /var/lib/zypp and re-running YOU, all the missing .patch.rpm were installed by YOU. The same rpms YOU before detected as needing to be installed but then ignored to install.
[...]
This is not just a user interface problem! It seems to be more a problem with how YOU makes use of the /var/lib/zypp/.../patches/* information and assumptions based on them.
Are you really sure these are fixed? Otherwise it becomes a security problem with 10.2 final (as it is with 10.1 final).
I think that only a YaST/zypp expert can analyze what's going on here and only with logfiles: /var/log/YaST2/* Right now, this is the very first time I hear that YOU doesn't install patches. Most reports like this turned out to be misunderstandings (either people assumed that YOU would install the latest version of a package, but in fact it only tries to fulfill requirements defined in the patchinfo and does nothing if they are already fulfilled; or people interpreted the fact that patches don't disappear from the view as that they were never installed). Since I don't remember any similar bug report either, file a bug, of course with all logfiles attached. Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Andreas Hanke
-
Volker Kuhlmann