User Tools

Site Tools


os:linux:distributions:debian:packagemanagement

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
os:linux:distributions:debian:packagemanagement [2022/08/04 17:00]
bas Added "Delete packages from previous releases".
os:linux:distributions:debian:packagemanagement [2024/03/04 01:55]
bas Corrected echo command at [Force IPv4 usage] to actually work.
Line 47: Line 47:
 <code> <code>
 apt-get remove `dpkg -l | egrep "deb8|deb7" | awk  '{print $2 " "}' | tr -d "\n"` apt-get remove `dpkg -l | egrep "deb8|deb7" | awk  '{print $2 " "}' | tr -d "\n"`
 +</code>
 +
 +
 +=====Force IPv4 usage======
 +
 +For when apt for some reason thinks it can start using IPv6 in an environment with only IPv4 connectivity.
 +
 +<code>
 +echo "Acquire::ForceIPv4 \"True\";" > /etc/apt/apt.conf.d/ForceIPv4
 </code> </code>
  
os/linux/distributions/debian/packagemanagement.txt · Last modified: 2024/03/04 01:55 by bas