Portál AbcLinuxu, 1. května 2025 06:54
/etc/apt/preferences.d/stable.pref
# 500 <= P < 990: causes a version to be installed unless there is a # version available belonging to the target release or the installed # version is more recent Package: * Pin: release a=stable Pin-Priority: 900Vytvoríme súbor pre testing vetvu
/etc/apt/preferences.d/testing.pref
# 100 <= P < 500: causes a version to be installed unless there is a # version available belonging to some other distribution or the installed # version is more recent Package: * Pin: release a=testing Pin-Priority: 400Vytvoríme súbor pre unstable vetvu
/etc/apt/preferences.d/unstable.pref
# 0 < P < 100: causes a version to be installed only if there is no # installed version of the package Package: * Pin: release a=unstable Pin-Priority: 50Vytvoríme súbor pre experimental vetvu
/etc/apt/preferences.d/experimental.pref
# 0 < P < 100: causes a version to be installed only if there is no # installed version of the package Package: * Pin: release a=experimental Pin-Priority: 1
/etc/apt/sources.list.d/stable.list
.
# Debian Stable. Default for antiX-19. deb http://ftp.sk.debian.org/debian/ buster main contrib non-free deb http://security.debian.org/ buster/updates main contrib non-free #deb-src http://ftp.sk.debian.org/debian/ buster main contrib non-free # Multimedia Stable. # Use to install libdvdcss2 and codecs. deb http://www.deb-multimedia.org buster main non-freeVytvoríme súbor pre testing vetvu
/etc/apt/sources.list.d/testing.list
# Debian Testing. deb http://ftp.sk.debian.org/debian/ testing main contrib non-free #deb-src http://ftp.sk.debian.org/debian/ testing main contrib non-free #deb http://security.debian.org testing-security main contrib non-free # Multimedia Testing # Use to install libdvdcss2 and codecs. deb http://www.deb-multimedia.org testing main non-freeVytvoríme súbor pre unstable vetvu
/etc/apt/sources.list.d/unstable.list
# Debian Unstable. deb http://ftp.sk.debian.org/debian/ unstable main contrib non-freeVytvoríme súbor pre experimental vetvu
/etc/apt/sources.list.d/experimental.list
# Debian Eperimental. deb http://ftp.sk.debian.org/debian/ experimental main contrib non-free
sudo apt updatePre otestovanie upgrade:
sudo apt upgradeVšetko prebehne ako obyčajne a všetko sa upgradne zo stable verize. Podstatnú zmenu zbadáme pri hľadaní balíčku. Napríklad si pozrieme balíček restic
apt -a show resticOproti klasickému systému tu nájdeme viacej verzií balíčku. Jednu pre stable, jednu pre testing a najnovšiu pre experimental vetvu. Tú najnovšiu si nainštalujem príkazom:
sudo apt -t experimental install resticA to je všetko, good luck.
Tiskni
Sdílej:
/etc/apt/apt.conf.d/01a do něj napíšu
APT::Default-Release "buster";(nezapomeňte to pak změnit až budete chtít udělat upgrade na novou verzi stable).
Užitečné, díky.
chyba SW neni ze ty ignorujes jeho upozorneni ze to odstrani pulku systemuSouhlasim, to neni chyba SW to je chyba ~vola ktery navrhl ten mamazer ze se to muze stat, pouzit na to specialni volby prosim, ale ne aby se neco takoveho mohlo stat pri beznem uziti.
cose teroreticky stane když třeba jako přepišu v sources všude stable na testing udělám dist-upgrade a zase to přepišu zpátky na stable/nišší verzi a znova upgrade????? :O :O :O :O bude to eště vopravitelný nebo si stim jakoby už debian nebude vědět vůůůůbec rady/nebude to umět povracet všecko jak to bylo a bude velikánský přeinstalovávání?? :O :O
nežebych to jako potřebovala ale de udělat nějak jednoduše downgrade???? :O :O prej asi jakože ne hele :O :/
Package: * Pin: release a=stable Pin-Priority: 1001Potom
apt update
apt dist-upgrade
apt install -f
apt upgradea pár krát zopakoval, odstránil čo sa spriečalo, tuším len Blender a bolo to
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.