However, MX rely on their own custom versions of systemd, udev and GRUB so simply adding the repositories will cause those packages to be favoured over the native buster versions, which isn't ideal.
To solve this problem the MX repositories can be assigned an APT pin value of 100 so that they are treated in the same way as the backports repositories — packages are not automatically updated to unless they are explicitly installed from there (eg, by using the --target option).
To do this create a file at /etc/apt/preferences.d/mxlinux with this content:
Code: Select all
Package: *
Pin: release a=mx
Pin-Priority: 100
Code: Select all
deb http://mxrepo.com/mx/repo buster main non-free
Code: Select all
deb http://mxrepo.com/mx/repo buster ahs
Code: Select all
# apt update
To add the key first download it from the keyservers:
Code: Select all
gpg --keyserver keyserver.ubuntu.com --recv-keys $mx_gpg_key
Code: Select all
# gpg -a --export $mx_gpg_key | apt-key add -
Code: Select all
# apt update
Alternatively, download the mx19-archive-keyring .deb package and install that.
Once the above steps are completed it should be possible to install packages from MX Linux, for example:
Code: Select all
# apt install mx-datetime
Code: Select all
# apt install --target mx $package
Code: Select all
aptitude search '?archive(mx)'
Code: Select all
aptitude search '?narrow(?installed, ?archive(mx))'
I haven't tested this extensively and it is possible that some MX packages may conflict with the native Debian ecosystem so please be sure to conduct a full system backup before trying this.
If any problems are encountered then please bump this thread to alert others, I can always have it removed if it proves to be a terrible idea.