Contents:
Which package will get installed?
How would Debian decide which one comes first?
1 in other, will Debian automatically prefer higher version?
Which package will get installed?
How would Debian decide which one comes first?
1 in other, will Debian automatically prefer higher version?
smol_mazunki 2022-07-18 20:17:56
mitochondria13 2022-07-18 20:17:35
windows api is extremely large, very good backward compatibility, some couple decade old api functions aren’t even documented yet officially.
being large is a bad thing
smol_mazunki 2022-07-18 20:18:08
having backwards compatibility is hard to work with
smol_mazunki 2022-07-18 20:18:32
directx, on windows, is separated into three different things on linux, for instance
mitochondria13 2022-07-18 20:18:35
smol_mazunki 2022-07-18 20:17:56
being large is a bad thing
yeah, very hard to learn, categorise and easy to get confused.
smol_mazunki 2022-07-18 20:18:39
mitochondria13 2022-07-18 20:18:35
yeah, very hard to learn, categorise and easy to get confused.
this
smol_mazunki 2022-07-18 20:19:17
smol_mazunki 2022-07-18 20:18:32
directx, on windows, is separated into three different things on linux, for instance
directx, in short terms, is responsible for connecting devices to programs
apxor 2022-07-18 20:19:57
A debian question:
apxor 2022-07-18 20:20:15
Let’s say I have two different repos in sources.list and they both got a package let’s say XYZ.
smol_mazunki 2022-07-18 20:20:16
on linux, on the other hand, we have libseat to assign seats to users, but applications don’t have direct access to these seats, as such. if they do, that’d cause issues (as when using ALSA, for example)
apxor 2022-07-18 20:20:27
apxor 2022-07-18 20:20:15
Let’s say I have two different repos in sources.list and they both got a package let’s say XYZ.
Which package will get installed?
smol_mazunki 2022-07-18 20:20:57
instead, we have pulseaudio/pipewire to assign audio nodes to programs, a compositor to deliver a window frame, and network managed by a network driver
smol_mazunki 2022-07-18 20:21:11
(audio, video and network are the three core elements of directx, btw)
smol_mazunki 2022-07-18 20:21:24
apxor 2022-07-18 20:20:27
Which package will get installed?
probably the first one
smol_mazunki 2022-07-18 20:21:34
@alexmb7 can you confirm?
apxor 2022-07-18 20:22:27
smol_mazunki 2022-07-18 20:21:24
probably the first one
And what if both sources are defined under separate .list files in /etc/apt/sources.list.d/ ?
apxor 2022-07-18 20:22:38
How would Debian decide which one comes first?
apxor 2022-07-18 20:23:04
Also if the XYZ has version 1.0 in one repo and 1.1 in other, will Debian automatically prefer higher version?
smol_mazunki 2022-07-18 20:23:06
probably alphabetically, but better ask xmb about it
smol_mazunki 2022-07-18 20:23:12
i am talking out of my ass
smol_mazunki 2022-07-18 20:23:20
apxor 2022-07-18 20:23:04
Also if the XYZ has version 1.0 in one repo and 1.1 in other, will Debian automatically prefer higher version?
yeah
apxor 2022-07-18 20:23:30
Considering both have 500 as Pin Priority
smol_mazunki 2022-07-18 20:23:42
newer versions always get priority
thecatvoid 2022-07-18 20:23:42
smol_mazunki 2022-07-18 20:21:24
probably the first one
on void linux its configurable
smol_mazunki 2022-07-18 20:24:10
thecatvoid 2022-07-18 20:23:42
on void linux its configurable
nice
smol_mazunki 2022-07-18 20:24:24
why would you ever choose a lower version though lol
apxor 2022-07-18 20:24:38
smol_mazunki 2022-07-18 20:23:42
newer versions always get priority
Yes makes sense. That’s how debian-updates repo is able to overwrite old packages from debian
apxor 2022-07-18 20:24:49
Got it
smol_mazunki 2022-07-18 20:25:05

this just works for me
smol_mazunki 2022-07-18 20:25:12
experimental gets priority, so yeah
thecatvoid 2022-07-18 20:25:32
smol_mazunki 2022-07-18 20:24:24
why would you ever choose a lower version though lol
its either latest version or best matching/relevant i think
smol_mazunki 2022-07-18 20:25:46
thecatvoid 2022-07-18 20:25:32
its either latest version or best matching/relevant i think
how does it decide match%
thecatvoid 2022-07-18 20:26:39
smol_mazunki 2022-07-18 20:25:46
how does it decide match%
idk tbh
thecatvoid 2022-07-18 20:26:47
id rather not touch that option for now
djdisodo1 2022-07-18 20:42:33

djdisodo1 2022-07-18 20:42:46
one of the most horrible cpu i’ve seen running debian