昨天我的服务器还可以,但今天尝试后sudo apt-get update我收到了这个错误:更新过程。
我尝试:
sudo rm /var/lib/apt/lists/* -vf
并得到了这个。然后再试update一次,但它没有解决我的问题然后显示可能仍然是相同的错误。
我检查了我的互联网连接尝试ping google.com,得到结果:
PING google.com (74.125.235.40) 56(84) bytes of data.
From 136.198.117.254: icmp_seq=1 Redirect Network(New nexthop: fw1.jvc-jein.co.id (136.198.117.6))
64 bytes from sin01s05-in-f8.1e100.net (74.125.235.40): icmp_req=1 ttl=53 time=20.6 ms
64 bytes from sin01s05-in-f8.1e100.net (74.125.235.40): icmp_req=2 ttl=53 time=18.2 ms
64 bytes from sin01s05-in-f8.1e100.net (74.125.235.40): icmp_req=3 ttl=53 time=33.0 ms
64 bytes from sin01s05-in-f8.1e100.net (74.125.235.40): icmp_req=4 ttl=53 time=30.0 ms
64 bytes from sin01s05-in-f8.1e100.net (74.125.235.40): icmp_req=5 …Run Code Online (Sandbox Code Playgroud) 在客户端 PC 上安装 ubuntu 12.04 后。我尝试在客户端 PC 中设置 apt-cache 服务器。但是,它在 ubuntu 客户端中不起作用。
Err http://136.xxx.xxx.x precise/multiverse Sources
403 Forbidden
Run Code Online (Sandbox Code Playgroud)
我尝试这一步:
Step 1: sudo apt-get install apt-cacher apache2
Step 2: sudo nano /etc/default/apt-cacher --> already set AUTOSTART = 1
Step 3: sudo invoke-rc.d apache2 restart
Step 4: open http://server:3142/apt-cacher in browser
HTTP Error 403 (Forbidden): The server refused to fulfill the request.
Run Code Online (Sandbox Code Playgroud)
这是我的/etc/apt-cacher/apt-cacher.conf:
http://paste.ubuntu.com/1087474/
我尝试打开:
wget -q -O- http://www.google.com
<TITLE>Error</TITLE>
<BODY>
<H1>Error</H1>
FW-1 at jeinfw: Access denied.</BODY>
ufw status
Status: …Run Code Online (Sandbox Code Playgroud)