Debian with ubuntu packages

Ante Karamatić ivoks at grad.hr
Fri Jun 24 13:20:38 UTC 2005


On Fri, 2005-06-24 at 19:51 +0800, Steve Torrefranca wrote:

> I am pretty sure someone has asked this before so may i ask again.  Is
> it safe to change debian sources with ubuntu?  I have a machine at home
> (manila and I am in taipei) that i mainly use for mail, file and torrent
> (ehem!) server and i really dont want to format it  - well its tough to
> do this remotely.

It's easy. Change your /etc/apt/sources.list so it contains only sources
from Ubuntu, something like this:

deb http://hr.archive.ubuntu.com/ubuntu/ hoary universe main restricted
multiverse
deb http://hr.archive.ubuntu.com/ubuntu/ hoary-updates universe main
restricted multiverse
deb http://security.ubuntu.com/ubuntu hoary-security main restricted
universe

Then, create /etc/apt/preferences and input this:

Package: *
Pin: release a=hoary
Pin-Priority: 1001

Package: *
Pin: release a=sagre
Pin-Priority: 50

Package: *
Pin: release a=woody
Pin-Priority: 50

Package: *
Pin: release a=sid
Pin-Priority: 50

Then do apt-get update and apt-get dist-upgrade. It will
add/remove/replace some packages, but in the end, it will be Ubuntu.
After that is finished (and you will have to know something about debian
packages problems :), do apt-get install ubuntu-desktop.

Then remove /etc/apt/preferences and do apt-get upgrade.

That's it. You will have problems (if you are running sarge) with couple
of packages; udev, xserver-xfree86, gettext, but all are easy to fix.

After you finish with installing ubuntu do this:

dpkg --force-all purge udev
rm -rf /etc/udev
apt-get install udev

I had lots of problems on sarge machines, this fixed it.

If you aren't familiar with debian packaging, maybe you should stick
with Sarge untill Breezy is out. Sarge has lots of newer packages then
Hoary Ubuntu.

-- 
Ante Karamatic|--|ivoks(@)grad.hr|--|PGP: D3BDA225
http://master.grad.hr/~ivoks/|--|ICQ: 64631782
May, 15. <herve> we're fixing the universe, it's not an easy duty!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050624/1599365a/attachment.sig>


More information about the ubuntu-users mailing list