LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-10-2007, 07:49 PM   #1
jcbparry
Member
 
Registered: Sep 2006
Distribution: Slackware 12, Fedora Core 5
Posts: 38

Rep: Reputation: 15
Unhappy Using dist-upgrade to upgrade from Debian to Ubuntu


Hi all!
I am using Debian (unknown version) and I want to get Ubuntu installed using dist-upgrade. You would say just put in the CD and install it. No. Can't do it. No CD Rom. Just floppies and a peagasus compatible USB ethernet adapter. PLEASE HELP!!
 
Old 09-10-2007, 08:11 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
NO, no, no, and NO.

You can't do that.
 
Old 09-10-2007, 08:31 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
oh you can but you probably wouldnt have a working system when your were done.


From Ubuntu Hacks:
Quote:
The naive solution to converting an existing Debian system to Ubuntu is to just edit your /etc/apt/sources.list to switch all the Debian archive references to the equivalent Ubuntu archives and then upgrade all packages. That's a good start, but unfortunately it will most likely leave you with a fairly broken system because many of the libraries in Debian will have newer versions than their equivalents in Ubuntu, so it's necessary to do a bit more work to end up with a usable system.
Edit your /etc/apt/sources.list to comment out all the Debian archives and add entries for the Ubuntu archives. If you need to generate an Ubuntu sources.list file, you can use the "source-o-matic" tool available online at http://www.ubuntulinux.nl/source-o-matic, or you can just put in some basic entries as a starting point:
deb http://archive.ubuntu.com/ubuntu dapper main restricted
deb http://security.ubuntu.com/ubuntu dapper-security main restricted


Then update the package list and install sudo if you don't already have it installed:
# apt-get update
# apt-get install sudo



Since Ubuntu relies so much on the primary user having sudo privileges, it's also a good idea to edit your /etc/sudoers by running visudo and adding a line like this:
%admin ALL=(ALL) ALL


Then place your primary user into the admin group, replacing username with your actual username:
# usermod

username

-g admin



As a first step to getting all the installed packages in order, you can manually force a reinstall of every package on your system to the specific version available in Ubuntu, but since a typical Debian system has over a thousand packages installed, that can be rather tedious. You can save yourself some time by writing a little script like this:
#!/bin/sh
for name in \Qdpkg --get-selections | grep '[[:space:]]install$' \\
| awk '{print $1}'\Q
do
sudo apt-get install --assume-yes ${name}=\Qapt-cache show $name \\
| grep '^Version' | awk '{print $2}'\Q
done


It's highly likely that some packages you have previously installed from the Debian archives won't "cross-grade" cleanly to the version available in Ubuntu, and you may have to manually uninstall some packages to allow the process to complete. Depending on how your system is set up, you may need to do a lot of poking and prodding to get to the point where:
$ sudo apt-get update
$ sudo apt-get dist-upgrade

can execute cleanly.
Once you have your existing packages converted to the Ubuntu versions, it's time to pull in the core Ubuntu packages:
$ sudo apt-get install ubuntu-standard ubuntu-desktop


The result won't be perfect, but you should then have a system that is a reasonable approximation of a full Ubuntu install.
The big question is why you would want to do something like that to begin with.
 
Old 09-10-2007, 09:09 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Quote:
oh you can but you probably wouldnt have a working system when your were done.
Anyone who has to ask, ... can't.

...and, it won't be an "upgrade."
 
Old 09-11-2007, 10:16 AM   #5
jcbparry
Member
 
Registered: Sep 2006
Distribution: Slackware 12, Fedora Core 5
Posts: 38

Original Poster
Rep: Reputation: 15
then how do you configure a static network using a console. i need to install kde. no cd rive. how do you mount an external cdrom. it detects it but does not mount it. please help
 
Old 09-11-2007, 03:29 PM   #6
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 12 LXDE
Posts: 555

Rep: Reputation: 33
I don't understand the question. Why can't you "apt-get install kde-base"?
 
Old 09-11-2007, 07:05 PM   #7
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 248

Rep: Reputation: 50
Quote:
Originally Posted by rickh View Post
...and, it won't be an "upgrade."
I like the subtle dis of Ubuntu.

Where is our buddy aerdt, Mikie?

Norm
 
Old 09-11-2007, 10:15 PM   #8
Pebcak
Member
 
Registered: Jan 2004
Distribution: Debian Stable
Posts: 88

Rep: Reputation: 15
Quote:
Originally Posted by jcbparry View Post
Hi all!
I am using Debian (unknown version) and I want to get Ubuntu installed using dist-upgrade. You would say just put in the CD and install it. No. Can't do it. No CD Rom. Just floppies and a peagasus compatible USB ethernet adapter. PLEASE HELP!!
Yep, easy as falling off a log. 1. download a ubuntu iso 2. burn to cd 3. blow away a perfectly good install of Debian and install ubuntu.

Ubuntu is NOT Debian and is in no way an upgrade. Why not just tell us the problems you're having with your Debian install and we'll see what we can do about fixing them.
 
Old 09-13-2007, 08:25 AM   #9
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 12 LXDE
Posts: 555

Rep: Reputation: 33
Originally posted by norobro:
Quote:
Where is our buddy aerdt, Mikie?
Hi Norm,

Our buddy is a busy chap, what with administering 84 RHEL servers and his three distros as well as carrying out impromptu distro reviews.
Besides, after his last visit to the Debian forum I think he spit out his dummy.

Mikie
 
  


Reply

Tags
debian, distupgrade, ubuntu


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
debian upgrade dist-upgrade gabsik Linux - Software 1 07-19-2006 05:38 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 03:40 PM
Debian dist-upgrade problem m0llbuz_ Debian 3 11-10-2004 01:33 PM
Debian apt-get dist-upgrade vs RH? Preed Linux - Distributions 1 07-20-2003 07:11 AM
Debian dist-upgrade Guybrush Linux - Software 0 03-17-2003 12:23 PM


All times are GMT -5. The time now is 06:10 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 Google+: linuxquestions
Open Source Consulting | Domain Registration