User Tools

Site Tools


docs:tips_n_tricks:debian:index.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next 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. peterdocs:tips_n_tricks:debian:index.html [16.02.2020 21:49 CET] – [Change timezone] peter
Line 31: Line 31:
   APT::Default-Release "squeeze";   APT::Default-Release "squeeze";
  
 +==== Apt Pinning by Repository (/etc/apt/preferences) ====
 +// Tested with Debian 10 Buster //
 +<code text /etc/apt/preferences.d/99ul-pin-priorities>
 +# /usr/local Pin Priorities
 +# Need to be in sync with /etc/apt/sources.list !
 +# Check with apt-cache policy
 +
 +Package: *
 +Pin: origin deb.debian.org
 +Pin-Priority: 500
 +
 +Package: *
 +Pin: origin security.debian.org
 +Pin-Priority: 500
 +
 +# Package: *
 +# Pin: origin repo.dovecot.org
 +# Pin-Priority: 1
 +
 +Package: *
 +Pin: origin *
 +Pin-Priority: 1
 +</code>
 +
 +See:
 +  * https://wiki.debian.org/AptConfiguration#apt_preferences_.28APT_pinning.29
 ===== 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 62:
   tzconfig   tzconfig
  
-or+or((for newer versions of Debian))
  
   dpkg-reconfigure tzdata   dpkg-reconfigure tzdata
  
 depending on your version of Debian. depending on your version of Debian.
 +
 +For unattended installations, the following **may** work:
 +
 +  debconf-set-selections tzdata.debconf
 +
 +<code text tzdata.debconf>
 +tzdata tzdata/Areas select Europe
 +# tzdata tzdata/Areas seen false
 +tzdata tzdata/Zones/Europe select Berlin
 +# tzdata tzdata/Zones/Europe seen false
 +</code>
  
 ===== NFS Workaround ===== ===== NFS Workaround =====
docs/tips_n_tricks/debian/index.html.txt · Last modified: 23.09.2023 01:48 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki