Debian: Difference between revisions

From DWIKI
mNo edit summary
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Sites===
=Sites=
*[http://www.debian.org/ Homepage]
*[http://www.debian.org/ Homepage]
*[http://wiki.debian.org/ Wiki]
*[http://wiki.debian.org/ Wiki]
Line 6: Line 6:
*[http://www.debianadmin.com/ http://www.debianadmin.com/]
*[http://www.debianadmin.com/ http://www.debianadmin.com/]


==Security==
=Security=
*http://lists.debian.org/debian-security-announce/
*http://lists.debian.org/debian-security-announce/
*debsecan
*debsecan
*debsum
*debsum


==Links==
=Links=
*[[debconf]]
*[[debconf]]


=Netboot/PXE=
*https://wiki.debian.org/DebianInstaller/NetbootAssistant
*[https://wiki.debian.org/DebianInstaller/Preseed Preseed]


== Howtos ==
 
 
=Documentation=


*[http://www.debian.org/releases/stable/i386/ch08s05.html.en Compiling kernels the Debian way]
*[http://www.debian.org/releases/stable/i386/ch08s05.html.en Compiling kernels the Debian way]
Line 21: Line 26:
*apt-file to find package providing a certain file
*apt-file to find package providing a certain file


===https===
==https==
 
*http://www.tuxick.net/docs/apache_ssl.html
 
https on debian testing is a mess, ignore:  
https on debian testing is a mess, ignore:  


Line 30: Line 38:
http://www.eclectica.ca/howto/ssl-cert-howto.php looks promising
http://www.eclectica.ca/howto/ssl-cert-howto.php looks promising


===Handling packages===
==Handling packages==
*[[Compiling Debian Packages]]
===Pinning===
*[http://jaqque.sbih.org/kplug/apt-pinning.html Pinning]
*[http://jaqque.sbih.org/kplug/apt-pinning.html Pinning]
*[http://www.argon.org/~roderick/apt-pinning.html Using APT with more than 2 sources]
*[http://www.argon.org/~roderick/apt-pinning.html Using APT with more than 2 sources]
*[[Compiling Debian Packages]]
*http://wiki.debian.org/AptPinning
 
 
= FAQ =
 
== the following packages have been kept back: ==
 
Time to apt-get dist-upgrade :)
 
== change default editor ==
 
update-alternatives --config editor
 
== change timezone ==
 
dpkg-reconfigure tzdata
 
== kernel packages ==
 
*kernel-image
*kernel-source
 
volatile
 
 
 
== clean cache ==
 
apt-get clean
     
 
== E: Unable to correct problems, you have held broken packages. ==
 
First try
 
dpkg --get-selections | grep hold
 
==reportbug: The following newer release(s) are available in the Debian archive:==
Ignore than and just continue ( see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900254 )
 
=Show more package information=
apt-cache show packagename*
 
 
== W: GPG error: ==


==FAQ==
[http://ftp2.de.debian.org http://ftp2.de.debian.org] etch/volatile Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EC61E0B0BBE55AB3
W: GPG error: http://ftp2.de.debian.org etch/volatile Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EC61E0B0BBE55AB3


  gpg --keyserver wwwkeys.eu.pgp.net --recv-keys EC61E0B0BBE55AB3
  gpg --keyserver wwwkeys.eu.pgp.net --recv-keys EC61E0B0BBE55AB3
Line 42: Line 95:


Or just:
Or just:
  apt-get --allow-unauthenticated install debian-archive-keyring
  apt-get --allow-unauthenticated install debian-archive-keyring
     
Or
apt-key adv  --keyserver pgp.mit.edu --recv-keys 8B48AD6246925553


===show dependency tree===
==show dependency tree==
  apt-cache dotty
  apt-cache dotty
  apt-rdepends
  apt-rdepends
==show dependencies==
apt-cache rdepends
aptitude why
==What package does a file belong to?==
dpkg -S /path/to/file

Revision as of 14:20, 15 May 2022

Sites

Security

Links

Netboot/PXE


Documentation

https

https on debian testing is a mess, ignore:

http://www.eclectica.ca/howto/ssl-cert-howto.php looks promising

Handling packages

Pinning


FAQ

the following packages have been kept back:

Time to apt-get dist-upgrade :)

change default editor

update-alternatives --config editor

change timezone

dpkg-reconfigure tzdata

kernel packages

  • kernel-image
  • kernel-source
volatile

 

clean cache

apt-get clean
      

E: Unable to correct problems, you have held broken packages.

First try

dpkg --get-selections | grep hold

reportbug: The following newer release(s) are available in the Debian archive:

Ignore than and just continue ( see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900254 )

Show more package information

apt-cache show packagename*


W: GPG error:

http://ftp2.de.debian.org etch/volatile Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EC61E0B0BBE55AB3

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys EC61E0B0BBE55AB3
#and that other thing

Or just:

apt-get --allow-unauthenticated install debian-archive-keyring
      

Or

apt-key adv  --keyserver pgp.mit.edu --recv-keys 8B48AD6246925553

show dependency tree

apt-cache dotty
apt-rdepends

show dependencies

apt-cache rdepends
aptitude why

What package does a file belong to?

dpkg -S /path/to/file