Thursday, February 18, 2021

show repositories on Ubuntu (and others)

 
 
debian
grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/*
 
 
Fix GPG signatures
sudo apt-key list  | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 sudo apt-key adv --keyserver keys.gnupg.net --recv-keys
 
 
general apt structure is in:
/etc/apt
 
--30--

 

No comments:

Post a Comment