Problems with packages and apt?

Asked by Andrew

I would like to install some of the medibuntu packages, but not all of them. I added the lines to my sources.list:

deb http://packages.medibuntu.org/ intrepid free non-free

What is interesting is that aptitude and other apt/dpkg programs are not reading the package metadata for the Medibuntu packages. For example, the main repositories list the archive flag as "intrepid", but it is empty for medibuntu.

I looked at one of the Release files from the server and it doesn't appear to be incorrect.

I am trying to pin the packages with a lower priority. For example:

Package: *
Pin: release l=Medibuntu
Pin-Priority: 400

But this is not working. I have tried Origin too.

Does anyone know why the apt-cache is not correctly loading the data from Medibuntu?

Question information

Language:
English Edit question
Status:
Solved
For:
Medibuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Andrew
Solved:
Last query:
Last reply:
Revision history for this message
Andrew (andrew-rw-robinson) said :
#1

FYI, I am on Ubuntu Intrepid on amd64

Revision history for this message
Andrew (andrew-rw-robinson) said :
#2

Of course I found it right after I posted this...

It works if it is in:
/etc/apt/sources.list

but not if in /etc/apt/sources.list.d/medibuntu.list

guess it is a bug in apt

Revision history for this message
t0mas82 (t0mas-j) said :
#3

If you want to use pin-priority you must comment apt "Default-Release" config option. After that pinning works correctly.