Debian: Difference between revisions

From DWIKI
mNo edit summary
Line 45: Line 45:
*http://wiki.debian.org/AptPinning
*http://wiki.debian.org/AptPinning


=FAQ=


==the following packages have been kept back:==
= FAQ =
Time to apt-get dist-upgrade :)
 
== the following packages have been kept back: ==
 
Time to apt-get dist-upgrade :)
 
== change default editor ==


==change default editor==
  update-alternatives --config editor
  update-alternatives --config editor


==change timezone==
== change timezone ==
 
  dpkg-reconfigure tzdata
  dpkg-reconfigure tzdata


==kernel packages==
== kernel packages ==
*kernel-image
 
*kernel-source
*kernel-image  
*kernel-source  


  volatile
  volatile


 
== clean cache ==


==clean cache==
  apt-get clean
  apt-get clean
     
== E: Unable to correct problems, you have held broken packages. ==
First try
dpkg --get-selections | grep hold


=Show more package information=
=Show more package information=

Revision as of 09:27, 29 December 2020

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

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

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