Patrick Shanahan írta:
* Bjoern Voigt [10-08-14 15:02]:
Patrick Shanahan wrote:
* Bjoern Voigt [10-08-14 11:06]:
Hello,
on Debian/Ubuntu you can save the package list and install the same packages on an other PC or reinstall packages on a clean setup. This is helpful i.e. for reinstalling systems with backups.
https://help.ubuntu.com/community/ReinstallingSamePackages
Is there something similar in the RPM world? Open YaST2 and go to Software -> Software Management select "File" from the drop-down menu at the top of the window and use the export function.
For the new or re-install you would import the saved file.
I have never done this myself, but believe this should suffice. That you for this hint. It works like expected.
Unfortunately the Import function does not search packages in all available repositories. One example:
I exported the package list on source system. The list contains "okteta" from KDE (repository KDE:Extra / KDE_Current_openSUSE_13.1):
<entry kind="package" name="okteta" epoch="0" ver="4.14.1" rel="1.5" arch="x86_64"/>
On target system I imported the package list. Yast installed "okteta", but from "openSUSE 13.1" repository in an older version.
Source system: Name : okteta Version : 4.14.1 Distribution: KDE:Current / openSUSE_13.1
Target system: Name : okteta Version : 4.11.5 Distribution: openSUSE 13.1
Probably this can be seen as a bug or feature request.
More likely, the expected repos do not exist on the target system. I would expect one would have to use yast to install the correct/expected repos before hand. It might be as simple as copying /etc/zypp/repos.d/* to the new system but I do not know if yast actually uses zypper repos. Someone more knowledgable here may jump in, please. I seldom use yast for installing software any more for quite some time.
One can also use zypper to export the configured repos on the first system: zypper repos -e repofile see man zypper under Repository Management. On the other system the repos can be added from the file: zypper addrepo repofile See also: https://en.opensuse.org/SDB:Zypper_usage_12.2 Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org