Jun 2

Written by m4r3k and tagged by , .

opensuse logo

SCPM is configuration manager tool for openSUSE. It make you able to manage a lot of different configuration profiles. But here is a problem, when you are upgrading your distribution. SCPM is not able to handle it. It is because scpm have first line from file /etc/SuSE-release saved in their own database.

WARNING: This is probably ugly work arround (if you know better solution, feel free to comment this blogpost).


In openSUSE 11.0 Beta3Plus release file contain line openSUSE 11.0 (i586) Beta3Plus, but then you upgrade to openSUSE 11.0 RC1 line will be changed to openSUSE 11.0 (i586) and scpm is not able to handle this. After reboot, they you try to run scpm you will get error message like this:

mantisha:/home/marek # scpm active
SCPM: Instalace vašeho operačního systému se změnila nebo je neznámá. Přečtěte si manuálovou stránku.

in english:

mantisha:/home/marek # LC_ALL="C" scpm active
SCPM: Your operating system installation changed or is unknown. Read the man page.

You can fix this issue by editing file /var/lib/scpm/scdb/scdb.db. As you can see, there is a line <system>openSUSE 11.0 (i586) Beta3Plus</system>. You can change this line to <system>openSUSE 11.0 (i586)</system>. After this change, everything should start work, but it is tested only in case, then you are updating from Beta3Plus to RC1 and only for network profiles. Please keep it on your mind. You was warned. ;-)

Enjoy!

One Response

  1. M4r3k’s web » Blog Archive » Bash completion for scpm Says:

    [...] my previous blogpost, I was talking about scpm. I really like this tool, but I miss bash completion script for this. I [...]

Leave a Comment


Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.