
Hi James
On Sun, Aug 5, 2012 at 11:26 PM, James Harper <james.harper@bendigoit.com.au> wrote:
I always thought that apt-get install --reinstall would reinstall a package, but it doesn't seem to work. I broke a file that belongs to a package (/etc/xen/scripts/vscsi) and want it reinstalled from the package source but it doesn't work - even if I delete the file, --reinstall doesn't put it back again.
The man page doesn't tell me anything immediately obvious, although the solution will probably come to me as soon as I've hit send here.
Any suggestions?
Dont know if this is what you need but maybe an apt-get purge <package> will give you a fresh starting point
Thanks I did end up doing that and it seemed to work (along with --force-depends so I could remove it without removing other dependencies). It would be nice to be able to cherry pick files to put back again - this isn't the first time I've accidently broken a script while trying to debug it :) James