1
0
Fork 0
mirror of https://github.com/swaywm/sway.git synced 2025-03-22 14:22:04 +00:00

small note about mixing debian repositories

niklas adam 2020-03-17 19:38:07 +01:00
parent 9705e3b265
commit 569fc8818e

@ -21,13 +21,17 @@ sudo apt update
Make sure you have the meson (>= 0.53.1)
Depends ninja-build (>= 1.6) and python3
The stable debian apt source list uses an 0.49 version of meson.
The stable debian apt source list uses an 0.49.2 version of meson.
So you do need to add the debian sid mirror to your apt/sources.list
example: `deb http://ftp.de.debian.org/debian sid main`
Then again update the apt cache: `sudo apt update` and install newest meson `sudo apt install meson`
then you can go and remove the sid mirror from your apt/sources.list and avoid 1000+ upgradable apt packages in sid compared to buster (if you do not remove the sid mirror after installing meson and you run a `sudo apt update && sudo apt upgrade` you may render your system unstable)
Create a directory to organize sources:
Please note that acquiring newer software in this manner is [discouraged](https://wiki.debian.org/DebianUnstable). _Attempting to mix packages between Debian repositories can create unstable situations_. If you wish to use newer software, it is *best* to install packages from [backports](https://backports.debian.org/Instructions/). Unfortunately the backports only have meson (0.52.1)
If you choose to do it the sid way and you now have meson (>= 0.53.1). Continue with the following steps.
Create a directory to organise sources:
```
mkdir ~/sway-src