Friday, June 02, 2006

SUSE Linux 10.1: Testpackages for Package Management Stack

After the release of SUSE Linux 10.1, we did real online updates (instead of the test updates during beta and RC phase) and those showed a couple of issues in our package management stack that our developers fixed during the last weeks - and continue to fix. From the reports we received, and from our own testing, we expect that the most important bugs are fixed now and therefore want to release on online update. I released a first test patch already last week and our testing revealed that we needed to fix some more bugs and therefore I release today an updated test repository. We created this time a repository with a real patch in it for testing.

If you like to test, please read below the details - otherwise wait for the online update that we will release soon. Until the online update has been installed, I advise to run as root "yast2 online_update" for patch installation.

I will not announce the official update here since the team will release it while I'm on vacation (and therefore off-line).

For testing the update stack do the following steps as root:
  1. start yast2 installation source via the yast2 control center or directly as "yast2 inst_source". Add as additional software catalog:
    (or use one of the mirrors once they are updated)

    and then leave the module via "Finish". It will take some minutes to download data and setup the catalog.

    IMPORTANT: If you tested my old sources already, you need to download the metadata again (this is not needed afterwards anymore, it's one of the fixes in this new update). Skip this step and go to the next one.

  2. start yast2 online update via the yast2 control center or directly as "yast2 online_update".

    The patch summary should show a couple of patches and select only the "libzypp update" (with a black mark). Press "Accept" to apply the update. It will take some time to download packages and install them.

  3. You can now remove the software catalog you added in the first step. Use "yast2 inst_source" and delete the catalog.

  4. Restart zmd with "rczmd restart".

  5. Restart the zen-updater applet on your desktop (it will stop itself since zmd gets stopped during the update).

  6. Everything is set now. You can now install further patches with:
    - the desktop applet zen-updater
    - the command line tool rug (via rug patches;rug in -t patch )
    - yast2 online_update
    zen-updater will inform you about new patches.

The only fix I'm waiting for is the following:
"Bug 180698 - zen-updater always shows patch dhcp (basically if a patch has been issued twice, it is always shown in zen-updater)"

IMPORTANT: Please report *all* bugs in and *always* CC "hmuelle at novell dot com" (Harald Müller-Ney) on the bugreport and mention that you're using AJ's updated package stack from 2006-06-02.

The update contains the following packages (basically the complete
package stack):

  • autoyast2
  • libzypp
  • libzypp-zmd-backend
  • ruby-zypp
  • rug
  • suseRegister
  • yast2
  • yast2-installation
  • yast2-instserver
  • yast2-ncurses
  • yast2-online-update
  • yast2-packager
  • yast2-perl-bindings
  • yast2-pkg-bindings
  • yast2-qt
  • zen-updater
  • zmd

The most important changes are:

  • Do not create anymore /.gnupg (the directory can be removed) (#171055)
  • Handle daemons launched in rpm %post that do not close filedescriptors (#174548)
  • Really get all package descriptions (#159109)
  • Support large files, e.g. DVDs as installation source (#173753)
  • Handle update source setup after installation (#172665)
  • Do not add duplicate update sources (#168740)
  • Fix yast2 instserver module so that it works with 10.1 (#171157)
  • Do not exit in online_update when only packages (and no patches) are selected for installation or deletion (#175668)
  • Improve syncronising sources between yast and zmd (#168740, 175174,175159, 175173)
  • Fix segmentation fault with non-signed repositories (#173291)
  • Handle system proxy setting with zmd (#160830)
  • Fix zen-updater bugs when installing packages (#171171, 174740)
  • Update packages to follow ABI change in libzypp.
  • Optimize and fix downloading of type zypp
  • Fix refreshing repositories of type zypp (#154990)
  • Add support for key handling to zmd, rug, zen-updater (#173920)
  • Fix zen-updater to handle installation of patch and package together (#178015)
  • Option to disable missing signature complaints is not persistent (#175845)

Thanks to all those that test this, report(ed) bugs and fixed them.


rich said...

Thank you.

I installed and it seems to work.

Had some glitches. When the screen saver comes on and then you shake the mouse to go back to YAST, the update box is greyed out until the operation is complete. Then it reappears. This may be due to the NVIDIA proprietary driver, but it does not seem to do any harm. Also when I tried to restart rczmd or whatever it is, the service was still running as the restart failed and then said done.

linux # rczmd restart
Shutting down ZENworks Management Daemon failed

So I shut down the computer and rebooted and everything seemed to work on the update. The update icon had disappeared on installation as you said, but reappeared when I rebooted the computer.

This is a very nice distribution. I hope people hang in and work their way through this.

do-it-yourself said...

Just install 10.1 and found out that zmd and rug is giving me problems.

Google leads me here :-)

Should I be use your installation source list above
to update to a newer version of rug/zmd or is there another "newer" install source by now?

Thanks in advance for the advise.