Plesk Error (Debian) - Sarge / Stable Issues

From KoshWiki

Jump to: navigation, search

Description

Debian have recently changed etch to stable, but SWSoft's Plesk only supports Debian Sarge (3.1)

Solution

Hopefully you're reading this before you've run a dist-upgrade.

Modify your /etc/apt/sources.list from

hyperion:~# cat /etc/apt/sources.list
deb http://ftp.au.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.au.debian.org/debian/ stable main non-free contrib

To

hyperion:~# cat /etc/apt/sources.list
deb http://ftp.au.debian.org/debian/ sarge main non-free contrib
deb-src http://ftp.au.debian.org/debian/ sarge main non-free contrib

Or similar.

If you are a fly by the seat of your pants style admin and want to do it without thinking, the below should work in 95% of cases

/bin/cat sources.list | /usr/bin/uniq | /bin/sed -e \
  's/ stable / sarge /g' > sources.list.new; /bin/cp \
  sources.list.new sources.list

References

</references>

Personal tools