/etc/apt/apt.conf:
Code: Select all
APT::Default-Release"mepis";
APT::Cache-Limit 40000000;
APT::Get::Purge;
APT::Get::AllowUnauthenticated 0;
Acquire::cdrom::Mount"/media/cdrom";
* man apt.conf and /usr/share/doc/apt/examples/configure-index.gz
The first line is obviously conflicting with antiX, don't need to be an expert, the second line was a source of many an exercise of typewriting for us here answering post-installation problems in antiX 8.2 (anybody know why it's there at all?). The third should make apt-get remove act as apt-get purge, IDK if it works, but even if it does, that should stay on the user's hands. The fourth...and the fifth is not needed since that entry is already in /etc/fstab.
/etc/apt/preferences:
Code: Select all
Package: *
Pin: release o=Debian
Pin-Priority: 901
Package: *
Pin: release o=MEPIS
Pin-Priority: 800
The missing line puts the linux-kbuild package from the mepis repos with a priority of 995 which makes it un-updatable unless the cited repos are enabled. Since the MEPIS kernel in not compatible with the linux-kbuild package from Debian, the entry is needed if antiX is to come with that kernel.
The two entries shown above apparently shouldn't pose problems since it seems they just define an hierarchy between releases. But they do interfere with the debian-multimedia repositories, which come enabled by default in antiX.
From what I know, debian-multimedia used to bring multimedia packages that weren't present in the other Debian repos. Nowadays there are packages that are present in both but debian-multimedia has them more up-to-date and also with less restrictions license-wise.
Debian itself doesn't come with any of the two configuration files that are the subject of this post and debian-multimedia.org is made to be perfectly compatible with Debian. What happens is that from the moment a /etc/apt/preferences file is present then all the enabled (or to be possibly enabled) repositories must have an entry in it. Since antiX didn't come with an entry for debian-multimedia.org and came with a Debian one, the system was giving (and is giving if any of you still have that file) preference to the Debian packages in the updates even if there were more recent ones from debian-multimedia.org. This broke MPlayer for me and was what made me pay attention to this (it happened in a Sid installation but the problem was there anyway).
So /etc/apt/preferences, along with /etc/apt/apt.conf, could be removed from the system. If antiX comes with the MEPIS kernel, then /etc/apt/preferences must stay with the linux-kbuild entry, but not with the other two. I tried to add an entry for debian-multimedia.org but my knowledge wasn't enough to create a valid one, that worked.
So if anyone have a more profound knowledge of Debian and wants to add to this discussion, please do so. But it looks simple to me that there were files that were there kind of by inertia and they were of course causing troubles, and could cause some else in the future, because they do affect the updating and maintenance of the system.