Hi! My system is Debian Stable, installed from Xfce Live. My question is about deb-src in /etc/apt/sources.list. I decided to try backports-kernel, and followed these instructions:
https://forums.debian.net/viewtopic.php?t=159363
According to this, "New(ish) hardware may also require more current firmware. Check if a backports version is available and install it. If not, it is normally safe to install newer firmware packages from Testing or Unstable but do not add those as sources. Rather download the required package and install manually."
Have I understood correctly that it means adding "deb-src"-line? If so, can I get explanation why not? What harm can it cause?
Because when I was about to modify my sources list, I found out that those both lines were there already, and I confirmed that by default install from Xfce Live Stable creates list like this:
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb http://security.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security main non-free-firmware
# Backports allow you to install newer versions of software made available for this release
deb http://deb.debian.org/debian bookworm-backports main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-backports main non-free-firmware
So should I remove the last entry, and if yes, then why is it added by default?
Thank you in advance!
https://forums.debian.net/viewtopic.php?t=159363
According to this, "New(ish) hardware may also require more current firmware. Check if a backports version is available and install it. If not, it is normally safe to install newer firmware packages from Testing or Unstable but do not add those as sources. Rather download the required package and install manually."
Have I understood correctly that it means adding "deb-src"-line? If so, can I get explanation why not? What harm can it cause?
Because when I was about to modify my sources list, I found out that those both lines were there already, and I confirmed that by default install from Xfce Live Stable creates list like this:
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb http://security.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security main non-free-firmware
# Backports allow you to install newer versions of software made available for this release
deb http://deb.debian.org/debian bookworm-backports main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-backports main non-free-firmware
So should I remove the last entry, and if yes, then why is it added by default?
Thank you in advance!
Statistics: Posted by TJI — 2024-10-10 11:39 — Replies 4 — Views 87