[opensuse] rpm freshen question
Related to my post here: http://lists.opensuse.org/opensuse/2007-01/msg01232.html I blew away a few of the files that were part of the kernel-default-2.6.18.2-34.i586.rpm package. Is there an rpm command I can use to restore these missing files? I thought that was the function of the freshen param, but it doesn't appear to work. -- Andy Harrison -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 1/10/07, Andy Harrison
Related to my post here: http://lists.opensuse.org/opensuse/2007-01/msg01232.html
I blew away a few of the files that were part of the kernel-default-2.6.18.2-34.i586.rpm package. Is there an rpm command I can use to restore these missing files? I thought that was the function of the freshen param, but it doesn't appear to work.
-- Andy Harrison
Did you try rpm -F --allfiles ? -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 1/10/07, Andy Harrison
On 1/10/07, Sunny
wrote: Did you try rpm -F --allfiles ?
I just gave it a try, but no luck.
-- Andy Harrison
rpm -i --replacepkgs xyz.rpm Btw, this was in the first match googlign for "rpm reinstall package" :) -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Jan 10, 2007 at 03:27:47PM -0600, Sunny wrote:
On 1/10/07, Andy Harrison
wrote: Related to my post here: http://lists.opensuse.org/opensuse/2007-01/msg01232.html
I blew away a few of the files that were part of the kernel-default-2.6.18.2-34.i586.rpm package. Is there an rpm command I can use to restore these missing files? I thought that was the function of the freshen param, but it doesn't appear to work.
-- Andy Harrison
Did you try rpm -F --allfiles ?
The --allfiles flag has nothing to do with -F (freshen), it tells rpm that config files marked with "missingok" should get installed even if they were deleted in the previously installed rpm. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Jan 10, 2007 at 04:18:56PM -0500, Andy Harrison wrote:
Related to my post here: http://lists.opensuse.org/opensuse/2007-01/msg01232.html
I blew away a few of the files that were part of the kernel-default-2.6.18.2-34.i586.rpm package. Is there an rpm command I can use to restore these missing files? I thought that was the function of the freshen param, but it doesn't appear to work.
Freshen installs a package iff the version/release is bigger. Thus you can't use it to reinstall files. Just do 'rpm -U --force kernel-default-2.6.18.2-34.i586.rpm package'. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Andy Harrison
-
Michael Schroeder
-
Sunny