Some necessary steps before you reinstall your ubuntu
2 posters
IITDU Forum :: TechTalks :: Ubuntu
Page 1 of 1
Some necessary steps before you reinstall your ubuntu
Linux gives us a full access to any part of it. So, it is possible to damage the system without knowing it. In case you have to re-install your ubuntu i recommend to follow these steps if you want to get back current state in new install.
- copy /etc/apt/sources.list to another location in your hard disc.
- run this command to list all currently installed applications
- Code:
sudo dpkg --get-selections > /home/<user>/package.selections
- Go to /var/cache/apt/archives. You will probably see many deb files there. Copy them all to another location. If no deb files are there skip this step and step 2 in next section.
- Now reinstall ubuntu.
- Replace /etc/apt/sources.list with your previous one.
- Code:
sudo gedit /etc/apt/sources.list
- Copy all the deb files in /var/cache/apt/archives
- Code:
sudo nautilus
- Copy package.selections file in your home folder.
- Now, to reinstall all the previously installed applications
- Code:
sudo apt-get update
- Code:
sudo dpkg --set-selections /home/<user>/package.selections && apt-get dselect-upgrade
- Restart your computer and enjoy your previous ubuntu.
BIT0111-muctadir- Expert
- Course(s) :
- BIT
Blood Group : B+
Posts : 233
Points : 395
Re: Some necessary steps before you reinstall your ubuntu
Is there any way to get back the customized Application menu items? :S It is annoying to set them up over and over :S :S
Re: Some necessary steps before you reinstall your ubuntu
You can copy(with all the file and folder starting with a .) your home folder to another location. Generally this contains preferences information for the corresponding user. Later you can replace with old ones.
BIT0111-muctadir- Expert
- Course(s) :
- BIT
Blood Group : B+
Posts : 233
Points : 395
Similar topics
» reinstall grub2(ubuntu 9.10 or later) after overwriting boot section.........
» Ubuntu 11.04 - Discussion
» ubuntu vs kubuntu...
» drives name in ubuntu......
» Tutorial on Using VI in Ubuntu
» Ubuntu 11.04 - Discussion
» ubuntu vs kubuntu...
» drives name in ubuntu......
» Tutorial on Using VI in Ubuntu
IITDU Forum :: TechTalks :: Ubuntu
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Sep 29, 2015 2:45 pm by Sophiawood
» Cisco EHWIC SFP/GE WAN Card
Mon Sep 07, 2015 11:08 am by Sophiawood
» Huawei S1700-28GFR-4P-AC Price
Thu Jun 25, 2015 2:31 pm by Sophiawood
» teach yourself C++ / Herbert Schildt Solutions
Wed Jun 03, 2015 1:52 pm by Abdullah Al Noman
» teach yourself c by herbert schildt pdf
Wed May 13, 2015 11:01 pm by Raquib Ridwan
» ASA 5506X With Firepower ASA5506-K9
Fri Apr 10, 2015 4:31 pm by Sophiawood
» New Trends in Deal Business
Tue Feb 03, 2015 9:38 pm by nersoa
» PoE Power Allocation for WS-C2960S-24PS-L
Wed Nov 05, 2014 11:12 am by Sophiawood
» How to cure back pain
Fri Oct 31, 2014 7:15 pm by Bergen Guildford