Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata
sudo cp /etc/apt/sources.list /etc/apt/sources.list.broken

sudo sed -i -re 's/([a-z]{2}\.)?|' /etc/apt/sources.list

sudo apt-get update

Here is an example for Debian Squeeze:

nano /etc/apt/sources.list
deb squeeze main
deb squeeze-lts main
deb squeeze-backports main
The second line will fail with an "expired" type message, so you also need to add the following in /etc/apt/apt.conf (create it if it doesn't already exist):
nano /etc/apt/apt.conf
Acquire::Check-Valid-Until false;

  • No labels