Debian with ubuntu packages

Steve Torrefranca javacide at gmail.com
Fri Jun 24 15:38:55 UTC 2005


I am using unstable with that machine and the problem isnt really on how
to switch packages since i have been using debian for quite a while, but
would this be a good idea and will produce a stable machine? if these
libraries are compiled for ubuntu, how compatible are they really?



Ante Karamatić wrote:

>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.
>
>  
>





More information about the ubuntu-users mailing list