LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2014, 01:35 AM   #1
judoka
Member
 
Registered: Jul 2009
Distribution: Ubuntu 14.04 LTS, CentOS
Posts: 218

Rep: Reputation: 16
Red face Is there a way to restore Ubuntu to previouse state?


I just did something very stupid, I removed the following files:
x11proto-xinerama-dev
libxinerama1
libxinerama-dev

using synaptic package manager and it erased most of my programs and now I can't even see the folders in my directories, just simple white sheets of paper for icons with names at the bottom. Is there a way to redo what I just did? Or maybe just to set Ubuntu back to the defalut settings so I get most of the programs back?

Last edited by judoka; 06-20-2014 at 01:45 AM.
 
Old 06-20-2014, 03:24 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I guess you mean packages and not files.
Why not just try reinstalling the packages you deleted? Is there a reason you don't want to do that?
jdk
 
Old 06-20-2014, 03:30 AM   #3
judoka
Member
 
Registered: Jul 2009
Distribution: Ubuntu 14.04 LTS, CentOS
Posts: 218

Original Poster
Rep: Reputation: 16
I can try to reinstall all packages but I just thought there would be a faster way to go back to the previous state or to a default state. Another thing is I don't know what the packages are called. I reinstalled synaptic and ubuntu-desktop and genome-terminal but as for the rest of them, I don't know the names. Is there a way to tell which packages were installed on a fresh install of Ubuntu precise?
 
Old 06-20-2014, 12:50 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Installing the package 'ubuntu-desktop' will reinstall any and all packages in a fresh Ubuntu install.

Code:
sudo apt-get install ubuntu-desktop
See here:
http://packages.ubuntu.com/trusty/ubuntu-desktop
 
1 members found this post helpful.
Old 06-20-2014, 01:55 PM   #5
judoka
Member
 
Registered: Jul 2009
Distribution: Ubuntu 14.04 LTS, CentOS
Posts: 218

Original Poster
Rep: Reputation: 16
Thanks, that is exactly what I did.
 
Old 06-20-2014, 03:59 PM   #6
Vit77
Member
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: SuSE, RHEL, Mageia
Posts: 132

Rep: Reputation: 17
My only suggession is use VMs.

I personally prefer installing any OS on a virtual machine (VM-Ware, VirtualBox etc).
And I don't use the physical host for anything else.
It won't really affect performance for most desktop applications, but it's way safer.
And "full backup" takes only a few seconds, as well as recovery to any saved snapshot.
That would keep you out of similar hassles in the future.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restore to original state after a 'make install' ? stobbej Linux - Software 4 02-27-2011 11:56 AM
iptables-restore ubuntu server does not restore at boot R03L Ubuntu 4 02-09-2010 08:14 PM
using raid1 with mdadm to "restore" system to previous state predder Linux - Enterprise 0 08-08-2006 07:57 PM
ALSA refuses to restore sound state on boot Slack 9.1 themike Slackware 7 10-16-2003 05:31 AM
Removing previouse kerners madangsweh Linux - Newbie 4 09-03-2003 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration