UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I bought Debian Sarge's CDs and added them to my /etc/apt/sources.list using apt-cdrom add. Since I don't want to use Debian's packages if any Ubuntu package is available I created a apt/preferences file with the following content :
but when I want to do a apt-get (dist-)upgrade it says that about 300 packets are about to be updated...
I don't understand what's wrong in my apt/preferences file. I even tried to put the pin priority to -10 for debian packages and it keeps on wanting to replace ubuntu packages with debian's.
I've been using debian for more than one year now (wich is not that much but still), mixing debian testing and unstable packages using the same kind of apt/preferences file as described above, and I never had any problem.
There are some packages in Ubuntu that are not available, and I have them on my debian CDs. I thought that with a apt/preferences file, I could install those missing packages.
Craigevel, if you say that I shouldn't mix packages, then what could I do to install those missing packages ? (I don't want to go on each website, download the source then compile it)
I would also like to understand why my apt/preferences file doesn't work as expected. Boxerboy, I have just checked the Release file in each CD (debian and ubuntu) and they do NOT have the same origin. One is Debian and the other one Ubuntu, so I don't understand why my apt/preferences file don't work.
Do you have ALL of the Ubuntu repositories enabled? There are only a few packages that are in Debian repos that Ubuntu does not have. With all of the repos in Ubuntu enabled I have 16000+ packages, Debian with just stable, testing, and unstable I have a little over 18000.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.