[opensuse-kde3] [42.2] upgrade from 42.1
Helo World! I tryed to upgarade my 42.1 intallation to 42.2 but it did not work at all. I could install 42.2 from scratch, but it would be nice to re-install all the packages I added past the "one click-install of KDE3" with "rpm", "yum" or "zypper". How could I get edit a command built from /var/log/zypp/history. Can someone tell me, please, what should I get from this history file, excluding the dependency added files like libraries (that will probably have an other version number) ? Thank you for the attention you paid to that post. Patrick -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 06/15/2017 10:04 AM, Patrick Serru wrote:
New install is the way to go. Before you ditch your 42.1, save a list of the installed packages, e.g. $ rpm -qa | sort > leap421installedpkgs.txt Then it's just a matter of installing 42.2 (choose minimal x install, then in package selection choose the KDE3 group/meta-package for install). Choose any other normal groups or packages you install. When done save a new package listing for 42.2, e.g. $ rpm -qa | sort > leap422installedpkgs.txt You can also create a couple of simple lists with the version/rpm removed, e.g. $ sed 's/-[0-9].*//' leap421installedpkgs.txt > leap421pkgs.txt $ sed 's/-[0-9].*//' leap422installedpkgs.txt > leap422pkgs.txt Then just check what packages are missing, e.g. $ grep -vf leap421pkgs.txt leap422pkgs.txt That will give you a nice list of the packages names you had on 42.1 that are not present in 42.2. Delete the ones you don't want and then replace newlines with spaces, add '#!/bin/bash' as the top line and then 'zypper in' before the list of packages -- and you are done. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (2)
-
David C. Rankin
-
Patrick Serru