how to save back /bin
lists at avi.co
Sat Sep 17 07:48:44 UTC 2011
Arvind S Raj wrote:
> On Fri, Sep 16, 2011 at 8:17 PM, vichy <vichy.kuo at gmail.com> wrote:
> > I don't want to to reinstall my system and I just want to know is
> > there easiest way to restore /bin/*.
> > Appreciate your help,
> Easiest is to reinstall. /home will remain unaffected.
Just to be sure, /home will remain unaffected if you specifically tell
the installer to not affect it (which is rather easy, but the default
action is to clobber it).
> You could backup your installed applications before you reinstall so
> restoring is easy.
will get a list of those packages you have installed, so if you do
dpkg --get-selections > somefile
and then copy somefile to somewhere safe, once you've installed you can
put it back and do
dpkg --set-selections < somefile
and it'll set dpkg up to reinstall all of those packages onto the new
install once you do a
apt-get -u dselect-upgrade
More information about the ubuntu-users