---
title: "强制apt-get使用ipv4更新"
id: "3156"
type: "post"
slug: "%e5%bc%ba%e5%88%b6apt-get%e4%bd%bf%e7%94%a8ipv4%e6%9b%b4%e6%96%b0"
published_at: "2020-10-01T09:32:02+00:00"
modified_at: "2020-10-01T09:32:02+00:00"
url: "https://seq.ink/all/3156.html"
markdown_url: "https://seq.ink/all/3156.html.md"
excerpt: "apt-get only ipv4 alias apt-get=”apt-get -o Acquire::ForceIPv4=true” 添加到~/.bashrc"
taxonomy_category:
  - "ALL"
---

# apt-get only ipv4

alias apt-get=”apt-get -o Acquire::ForceIPv4=true”

添加到~/.bashrc
