23 Oct
2002
23 Oct
'02
07:43
* Kugelberg, Thorsten <thorsten.kugelberg@realtech.de> [Oct 22. 2002 14:39]:
Hallo,
I get the new package names (of an already installed 8.1 system) with the command rpm:
# rpm -qa | sed -e 's/-[0-9].*$//' > new_rpm_list.tmp
just to make your life a little bir easier: RPM has the Option to give you the names of the installes packages. So you do not need the sed: 'rpm -qa --qf "%{NAME}\n"'
Even is easier.. rpmqpack > new_rpm_list.tmp :) Anas
Regards Thorsten
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- Anas Nashif <nashif@suse.com>, SuSE Linux AG Montreal (Laval), Canada