• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

After Dist Upgrade Squeeze - Plesk changes sources.list

Powie

Regular Pleskian
After a successfull server upgrade to Debian Squeeze PLESK 10.4.4 runs without problems.

Now tryed to install micro updates for plesk, started from within the panel. This goes wrong because plesk replaces /etc/apt/sources.list with an old lenny version and after that the installer cannot found some files....

log:
Fetched 7738 B in 3s (1948 B/s)
W: Failed to fetch http://security.debian.org/dists/lenny/updates/main/source/Sources.gz 404 Not Found [IP: 212.211.132.250 80]

W: Failed to fetch http://security.debian.org/dists/lenny/updates/contrib/source/Sources.gz 404 Not Found [IP: 212.211.132.250 80]

W: Failed to fetch http://security.debian.org/dists/lenny/updates/main/binary-i386/Packages.gz 404 Not Found [IP: 212.211.132.250 80]

W: Failed to fetch http://security.debian.org/dists/lenny/updates/contrib/binary-i386/Packages.gz 404 Not Found [IP: 212.211.132.250 8

W: Failed to fetch http://ftp2.de.debian.org/debian/dists/lenny/main/source/Sources.gz 404 Not Found

W: Failed to fetch http://ftp2.de.debian.org/debian/dists/lenny/main/binary-i386/Packages.gz 404 Not Found

W: Failed to fetch http://ftp2.de.debian.org/debian/dists/lenny/non-free/binary-i386/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
Warning: there are errors in 'apt-get update'
autoinstaller: read output of apt-cache policy
Execute command chcon system_u:eek:bject_r:bin_t:s0 /opt/psa/admin/bin/send-error-report
Execute command /opt/psa/admin/bin/send-error-report install
FileFetcher: get file (~empty)/PSA_10.4.4/plesk-10.4.4-deb6.0-i386.inf3
FileFetcher: get file (~empty)/SITEBUILDER_10.4.4/sitebuilder-10.4.4-deball-all.inf3
FileFetcher: get file (~empty)/BILLING_10.4.4/billing-10.4.4-deball-all.inf3
Error: Not found source for system packages (release 6.0.4) in APT software sources configuration

how i have to replace autoinstaller, because I think thats the issue
 
This method wont work, because autoinstaller then messages that I have to use the control panel to update because plesk is always installed...
 
have tried several things but found no solution

why autoinstaller replaces /etc/apt/sources.list ?

where is the old faulty version located?
 
go in folder /etc/apt/ with ssh and check if there is any source.list.ai or somethnig source.list.something

and remove this file leave only the source.list edit this file and add only this

# main repo
deb http://ftp.debian.org/debian/ squeeze main
deb-src http://ftp.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

then save exit and run comands
apt-get update
apt-get install apt dpkg aptitude
apt-get dist-upgrade

then reboot and you will have a debian 6 system.
 
Yes, theres a solution. I wonder if parallels can found this.... For my opinnion its clearly that this is a coding error......

Can you post your sources.list?
 
this is what I put in manually to perform system updates and install packages

deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

## This is temporary appended by Autoinstaller for
## specify source of product's packages for APT.
deb http://autoinstall.plesk.com/debian/PSA_10.4.4 squeeze all
deb http://autoinstall.plesk.com/debian/SITEBUILDER_10.4.4 all all
deb http://autoinstall.plesk.com/debian/BILLING_10.4.4 all all

then when I run the auto installer to update plesk:
this is what I end up with:

# deb cdrom:[Debian GNU/Linux 5.0.7 _Lenny_ - Official amd64 NETINST Binary-1 20101128-00:59]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.7 _Lenny_ - Official amd64 NETINST Binary-1 20101128-00:59]/ lenny main

deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

## This is temporary appended by Autoinstaller for
## specify source of product's packages for APT.
deb http://autoinstall.plesk.com/debian/PSA_10.4.4 squeeze all
deb http://autoinstall.plesk.com/debian/SITEBUILDER_10.4.4 all all
deb http://autoinstall.plesk.com/debian/BILLING_10.4.4 all all

and of course plesk is not up to the latest version - stuck at an older version :/
 
and here are the last lines of the error message:


E: Some index files failed to download, they have been ignored, or old ones used instead.
Warning: there are errors in 'apt-get update'

ERROR: Not found source for system packages (release 6.0.5) in APT software sources configuration
 
Found the solution:
update this file: /etc/apt/sources.list.ai_back and you should be able to run the auto installer.
 
Hi Powie,
I am in the same position as you were (of having to upgrade to squeeze because of PHP), and as this is a busy production server, I am concerned to get it right.

The Plesk support people say I need to upgrade Debian and then perform a fresh install of Plesk 11, and then migrate the 10.4.4 Plesk config to that. http://forum.parallels.com/showthread.php?p=634116

I doon't understand why they are saying that - it looks from your experience that it is possible to a) run 10.4.4 on squeeze and b) upgrade to 11 in the normal way.

Any ideas or information?

Many Thanks,
Andy
 
#cat /etc/apt/sources.list
deb http://archive.debian.org/debian/ lenny contrib main non-free
deb http://php53.dotdeb.org oldstable all
deb-src http://php53.dotdeb.org oldstable all

## This is temporary appended by Autoinstaller for
## specify source of product's packages for APT.
deb http://autoinstall.plesk.com/debian/PSA_10.4.4 lenny all
deb http://autoinstall.plesk.com/debian/SITEBUILDER_10.4.4 all all
deb http://autoinstall.plesk.com/debian/BILLING_10.4.4 all all


#cat /etc/apt/sources.list.ai_back
deb http://archive.debian.org/debian/ lenny contrib main non-free
deb http://php53.dotdeb.org oldstable all
deb-src http://php53.dotdeb.org oldstable all

Thanks for taking the time to look at this...
 
Hah - I am a bit clearer now. According to Plesk the Plesk 10.4.4 is a different version for Debian 5 than the version for Debian 6. They say I need to upgrade Debian then do a clean install of either 10.4.4 (for Squeeze) or 11 (only available for squeeze)...

Does this tally with our experience?
Cheers, Andy
 
... or is the only difference between the squeeze and lenny versions of Plesk the different sources.list?
 
Still stuck...

Hi
I still haven't bit the bullet on this, as I don't want to risk trashing the production server during upgrade. But it is now becoming urgent as obviously lenny repositories are all long gone.
After asking parallels support, I am told that an upgrade in situ is not possible but not told why... THis thread indicates otherwise...

Any help available?

Many Thanks,
Andy

Debian Lenny box running Plesk 10.4.4
 
Back
Top