LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 06-27-2008, 04:42 AM   #1
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Restore Debian or Ubuntu system (upgrade gone bad)


Did install Kde4 the other day and looking at what was going to be uninstalled I looked for some way to get my box up and running again if things went south.

What did work (almost) perfect was:

dpkg --get-selections > /etc/package.selections # save the list of installed packages

To save a the current installed package list.Once everything is screwed up reinstall with:

dpkg --set-selections < /etc/package.selections && apt-get dselect-upgrade

It might not work perfect depending on how bad a mess it is (switching repositories between stable/testing/sid and experimental and funny stuff like that) but after a few additonal apt-gets and aptitude to clean up the final mess things tend to work again as before.

Note:I didn't come up with this.Just thought I share it.
 
Old 06-27-2008, 05:13 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 51
[offtopic] kde4

For those who want to test kde4 in parallel with another window manager, you can do it in a chroot:

http://wiki.debian.org/Kde4schroot

Last edited by nx5000; 06-27-2008 at 05:21 AM.
 
Old 06-27-2008, 07:36 AM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Original Poster
Rep: Reputation: 47
kda4 was working fine - the little problem was just that I didn't have the time or energy available to migrate everybodys settings for email and the likes and no - copy from ./kde3.x/share/apps didn't work for me.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using dist-upgrade to upgrade from Debian to Ubuntu jcbparry Debian 8 09-13-2007 07:25 AM
Upgrade Ubuntu system J_angel2000 Linux - General 2 04-18-2007 01:14 PM
LXer: Backup and Restore Ubuntu System using Sbackup LXer Syndicated Linux News 0 03-21-2007 04:01 PM
Debian Upgrade may brake system !!! rvijay Debian 2 06-12-2005 08:26 PM
Proper method to upgrade debian system? xanas3712 Debian 11 05-14-2004 06:19 AM


All times are GMT -5. The time now is 07:57 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration