Здравствуйте.
Следующая ситуация с Ubuntu 10.10 Server.
Установлен postgres(на нем висит 1с). С какого то момента стала происходить следующая вещь:
Устанавливаем любой пакет или обновление
sudo apt-get upgradeА в ответ:
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
postgresql-client-8.4 : Depends: libpq5 (>= 8.4~0cvs20090328) but it is not installed
Depends: postgresql-client-common (>= 104~) but it is not installed
E: Unmet dependencies. Try using -f.Если делать, как сказано sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libpq5 postgresql-client-common
The following NEW packages will be installed:
libpq5 postgresql-client-common
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B/148kB of archives.
After this operation, 418kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 119271 files and directories currently installed.)
Unpacking libpq5 (from .../libpq5_8.4.11-0ubuntu0.10.10_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libpq5_8.4.11-0ubuntu0.10.10_i386 .deb (--unpack):
trying to overwrite '/usr/lib/libpq.so.5.2', which is also in package postgresql-libs 8.4.3-4.1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking postgresql-client-common (from .../postgresql-client-common_111_all.deb) ...
dpkg: error processing /var/cache/apt/archives/postgresql-client-common_111_all.deb (--unpack):
trying to overwrite '/usr/bin/vacuumlo', which is also in package postgresql-contrib 8.4.3-4.1
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/libpq5_8.4.11-0ubuntu0.10.10_i386.deb
/var/cache/apt/archives/postgresql-client-common_111_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)при попытке установить libpq5 из deb с помощью dpkg ругается
Unpacking libpq5 (from .../libpq5_8.4.11-0ubuntu0.10.10_i386.deb) ...
dpkg: error processing /home/admin/files/libpq5_8.4.11-0ubuntu0.10.10_i386.deb (--install):
trying to overwrite '/usr/lib/libpq.so.5.2', which is also in package postgresql-libs 8.4.3-4.1
Errors were encountered while processing:
/home/admin/files/libpq5_8.4.11-0ubuntu0.10.10_i386.debЧем можно помочь в этой ситуации?
Заранее благодарен.
