docs:tips_n_tricks:debian:index.html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docs:tips_n_tricks:debian:index.html [30.09.2019 20:57 CEST] – [Packages missing after a fresh installation] Moved "patch" to general use, as it helps to merge config updates. peter | docs:tips_n_tricks:debian:index.html [23.09.2023 01:48 CEST] (current) – [Building Packages] peter | ||
---|---|---|---|
Line 31: | Line 31: | ||
APT:: | APT:: | ||
+ | ==== Apt Pinning by Repository (/ | ||
+ | // Tested with Debian 10 Buster // | ||
+ | <code text / | ||
+ | # /usr/local Pin Priorities | ||
+ | # Need to be in sync with / | ||
+ | # Check with apt-cache policy | ||
+ | |||
+ | Package: * | ||
+ | Pin: origin deb.debian.org | ||
+ | Pin-Priority: | ||
+ | |||
+ | Package: * | ||
+ | Pin: origin security.debian.org | ||
+ | Pin-Priority: | ||
+ | |||
+ | # Package: * | ||
+ | # Pin: origin repo.dovecot.org | ||
+ | # Pin-Priority: | ||
+ | |||
+ | Package: * | ||
+ | Pin: origin * | ||
+ | Pin-Priority: | ||
+ | </ | ||
+ | |||
+ | See: | ||
+ | * https:// | ||
+ | |||
+ | ==== Manage Repositories GPG Keys ==== | ||
+ | |||
+ | [[https:// | ||
===== Change timezone ===== | ===== Change timezone ===== | ||
To change the timezone of a running systems, issue | To change the timezone of a running systems, issue | ||
Line 36: | Line 66: | ||
tzconfig | tzconfig | ||
- | or | + | or((for later versions of Debian)) |
dpkg-reconfigure tzdata | dpkg-reconfigure tzdata | ||
depending on your version of Debian. | depending on your version of Debian. | ||
+ | |||
+ | For unattended installations, | ||
+ | |||
+ | debconf-set-selections tzdata.debconf | ||
+ | |||
+ | <code text tzdata.debconf> | ||
+ | tzdata tzdata/ | ||
+ | # tzdata tzdata/ | ||
+ | tzdata tzdata/ | ||
+ | # tzdata tzdata/ | ||
+ | </ | ||
===== NFS Workaround ===== | ===== NFS Workaround ===== | ||
Line 51: | Line 92: | ||
update-locale LANG=C LC_CTYPE=de_DE LANGUAGE | update-locale LANG=C LC_CTYPE=de_DE LANGUAGE | ||
+ | {{tag> | ||
+ | {{entry> | ||
===== Building Packages ===== | ===== Building Packages ===== | ||
Line 61: | Line 103: | ||
export DEBEMAIL=" | export DEBEMAIL=" | ||
export DEBFULLNAME=" | export DEBFULLNAME=" | ||
- | dch -l .ul~lenny -D lenny | + | dch -l .ul~ulyana |
- | dpkg-buildpackage -rfakeroot | + | dpkg-buildpackage -rfakeroot |
+ | |||
+ | ===== Make Monday the first day of week in US locales ===== | ||
+ | |||
+ | This works e.g. for the [[https:// | ||
+ | |||
+ | Do as //root//: | ||
+ | |||
+ | mkdir -vp / | ||
+ | sed -e ' | ||
+ | locale-gen | ||
+ | |||
+ | < | ||
+ | GOSH! :-o\\ | ||
+ | Yeah - it's as easy as that. The tricky part is to what to do 8-) | ||
+ | </ | ||
+ | __References: | ||
+ | |||
+ | * [[https:// | ||
+ | * '' | ||
+ | Also quite interesting while not directly related to //my// solution: | ||
+ | * [[https:// | ||
+ | |||
+ | {{tag> | ||
+ | {{entry> | ||
+ | {{entry> | ||
+ | ===== Disabling systemd-resolved ===== | ||
+ | //This was actually tried with success on a //Linux Mint 20 Ulyana//, but I assume it works pretty much the same on //Debian// and all its derivatives// | ||
+ | |||
+ | The most easy way would be to uninstall // | ||
+ | |||
+ | <code bash> | ||
+ | apt install resolveconf | ||
+ | systemctl disable systemd-resolved | ||
+ | vi / | ||
+ | </ | ||
+ | We need to override ''/ | ||
+ | |||
+ | <code plain / | ||
+ | dns=default | ||
+ | rc-manager=resolvconf | ||
+ | systemd-resolved=false | ||
+ | </ | ||
+ | |||
+ | Disabling // | ||
+ | References: | ||
+ | * '' | ||
+ | * [[https:// | ||
+ | {{tag> | ||
+ | {{entry> | ||
+ | {{entry> | ||
+ | ====== | ||
{{tag> | {{tag> | ||
{{entry> | {{entry> | ||
{{entry> | {{entry> |
docs/tips_n_tricks/debian/index.html.1569869873.txt.gz · Last modified: 30.09.2019 20:57 CEST by peter