digitallamb / apt-cyg

Automatically exported from code.google.com/p/apt-cyg
MIT License
3 stars 1 forks source link

install --reinstall #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please add a reinstall flag to install.

I had a package (tetex-bin) that wouldn't uninstall because tetex-bin.lst.gz 
was missing. And it wasn't possible to install it because it was listed in 
installed.db. The manual step in this case is to remove it from installed.db 
and install (and then uninstall), but it would be easier if there was a 
reinstall option.

Thanks!

Original issue reported on code.google.com by john.s.peterson@live.com on 25 Apr 2012 at 12:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
There's no need for something like "apt-cyg install --reinstall bash". If 
"bash" is already installed (in installed.db), then, instead of always 
attempting to uninstall "bash" (for which there might be an error if 
bash.lst.gz is missing) and install "bash" again, it should only warn that 
"bash" is already installed, and ask the user if apt-cyg should uninstall 
"bash" and install "bash" again, overwrite-install "bash" without attempting to 
uninstall "bash" first, or completely skip installation of "bash".

Original comment by rohanpai12 on 27 Apr 2012 at 10:17

GoogleCodeExporter commented 9 years ago
i fork the project and add command 'reinstall'.
see https://github.com/Simuc/apt-cyg

Original comment by simulati...@gmail.com on 3 Nov 2013 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by i...@skl.me on 23 Feb 2014 at 6:57