May 6, 2008

1blu VPS X86-64 vs. i386 при Plesk update

Если у вас на вашем виртуальном сервере вдруг при апдейте Plesk-а появится ошибка типа
Reading system installed packages...done.
Download file update-8.1.1-suse10.1-i386.hdr.gz: 18%..84%..100% done.
Download file build-8.1.1-suse10.1-i386.hdr.gz: 51%..100% done.
Resolve components
ERROR: Impossible do installation while package postgresql-contrib-8.1.4-1.2.x86_64 is installed in system
Errors just before:
- Trying to find direct hardwired dependencies for package postgresql-libs-8.1.9-1.2.i586
- Check for need upgrade of postgresql-contrib-8.1.4-1.2.x86_64 with upgrade of postgresql-libs-8.1.4-1.2.x86_64 wich needs to install postgresql-libs-8.1.9-1.2.i586
- Unresolved dependency: necessary package postgresql-libs-8.1.9-1.2.i586 have older version postgresql-libs-8.1.4-1.2.x86_64. After upgrade we will have the dependency 'libpq.so.4()(64bit)' of package postgresql-contrib-8.1.4-1.2.x86_64 is unresolved, add to removable list postgresql-contrib
- Find remove mode solution for package postgresql-contrib-8.1.4-1.2.x86_64

ERROR: Installation failed

Рекомендую посмотреть на версию линукса (у меня показывается при логине)

SUSE LINUX 10.1 (X86-64)
Linux 2.6.9-023stab043.1-smp GNU/Linux

а так-же на версию согласно uname

# uname -a
Linux v29133.1blu.de 2.6.9-023stab046.2-smp #1 SMP Mon Dec 10 15:04:55 MSK 2007 i686 athlon i386 GNU/Linux


как мы видим X86-64 != i686

воизбежания вышеуказанной ошибки используйте switch --override-os-arch
#/usr/local/psa/bin/autoinstaller --help --override-os-arch x86_64

...надеюсь я сохранил вам время

No comments:

Post a Comment