* [sisyphus] dist-upgrade, libpq5.1 и postgresql8.3-server (error: execution of %pre scriptlet)
@ 2009-07-01 9:55 Sergey
2009-07-01 10:19 ` Alexey Tourbin
0 siblings, 1 reply; 6+ messages in thread
From: Sergey @ 2009-07-01 9:55 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Приветствую.
Что-то вылезла вот такая штука (это апгрейд где-то двух-трёхмесячного Сизифа
до текущего):
[root@traffic3 /]# apt-get --fix-broken install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libpq5.1 postgresql8.3-server
The following packages will be upgraded
libpq5.1 postgresql8.3-server
2 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/2850kB of archives.
After unpacking 8834B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Committing changes...
Preparing... ############################################################################################ [100%]
error: execution of %pre scriptlet from libpq5.1-8.3.7-alt2 failed, exit status 1
error: install: %pre scriptlet failed (2), skipping libpq5.1-8.3.7-alt2
error: execution of %pre scriptlet from postgresql8.3-server-8.3.7-alt2 failed, exit status 1
error: install: %pre scriptlet failed (2), skipping postgresql8.3-server-8.3.7-alt2
E: Some errors occurred while running transaction
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] dist-upgrade, libpq5.1 и postgresql8.3-server (error: execution of %pre scriptlet)
2009-07-01 9:55 [sisyphus] dist-upgrade, libpq5.1 и postgresql8.3-server (error: execution of %pre scriptlet) Sergey
@ 2009-07-01 10:19 ` Alexey Tourbin
2009-07-01 11:03 ` Sergey
0 siblings, 1 reply; 6+ messages in thread
From: Alexey Tourbin @ 2009-07-01 10:19 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- Attachment #1: Type: text/plain, Size: 1650 bytes --]
On Wed, Jul 01, 2009 at 02:55:31PM +0500, Sergey wrote:
> Что-то вылезла вот такая штука (это апгрейд где-то двух-трёхмесячного Сизифа
> до текущего):
>
> [root@traffic3 /]# apt-get --fix-broken install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
> libpq5.1 postgresql8.3-server
> The following packages will be upgraded
> libpq5.1 postgresql8.3-server
> 2 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
> Need to get 0B/2850kB of archives.
> After unpacking 8834B of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Committing changes...
> Preparing... ############################################################################################ [100%]
> error: execution of %pre scriptlet from libpq5.1-8.3.7-alt2 failed, exit status 1
> error: install: %pre scriptlet failed (2), skipping libpq5.1-8.3.7-alt2
> error: execution of %pre scriptlet from postgresql8.3-server-8.3.7-alt2 failed, exit status 1
> error: install: %pre scriptlet failed (2), skipping postgresql8.3-server-8.3.7-alt2
> E: Some errors occurred while running transaction
$ rpm -qp --scripts /ALT/Sisyphus/files/x86_64/RPMS/libpq5.1-8.3.7-alt2.x86_64.rpm
preinstall scriptlet (through /bin/sh):
exec &>/dev/null
if [ $1 -gt 1 -a -d /usr/lib64/pgsql ]
then
if [ ! -d /usr/lib64/pgsql/backup ]; then
mkdir -p /usr/lib64/pgsql/backup
fi
cd /usr/lib64 > /dev/null
cp -fp libpq.* /usr/lib64/pgsql/backup
fi
$
Не надо было такой %pre-скрипт делать.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] dist-upgrade, libpq5.1 и postgresql8.3-server (error: execution of %pre scriptlet)
2009-07-01 10:19 ` Alexey Tourbin
@ 2009-07-01 11:03 ` Sergey
2009-07-01 12:01 ` Ivan Fedorov
0 siblings, 1 reply; 6+ messages in thread
From: Sergey @ 2009-07-01 11:03 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Wednesday 01 July 2009, Alexey Tourbin wrote:
> Не надо было такой %pre-скрипт делать.
Багу на postgresql вешать ?
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] dist-upgrade, libpq5.1 и postgresql8.3-server (error: execution of %pre scriptlet)
2009-07-01 11:03 ` Sergey
@ 2009-07-01 12:01 ` Ivan Fedorov
2009-07-01 12:27 ` Sergey
0 siblings, 1 reply; 6+ messages in thread
From: Ivan Fedorov @ 2009-07-01 12:01 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
Sergey <a_s_y-YTL04S48Vas@public.gmane.org> writes:
> On Wednesday 01 July 2009, Alexey Tourbin wrote:
>
>> Не надо было такой %pre-скрипт делать.
>
> Багу на postgresql вешать ?
Можно, но не обязательно - как только у меня появится время, я выкачу в
сизиф новые сборки постгресса 8.3 и 8.4.
[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] dist-upgrade, libpq5.1 и postgresql8.3-server (error: execution of %pre scriptlet)
2009-07-01 12:01 ` Ivan Fedorov
@ 2009-07-01 12:27 ` Sergey
2009-07-01 14:14 ` Ivan Fedorov
0 siblings, 1 reply; 6+ messages in thread
From: Sergey @ 2009-07-01 12:27 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Wednesday 01 July 2009, Ivan Fedorov wrote:
> > Багу на postgresql вешать ?
> Можно, но не обязательно - как только у меня появится время, я выкачу
> в сизиф новые сборки постгресса 8.3 и 8.4.
Вообще, старый снёсся, а новый не поставился нормально... То есть, в
общем-то, проблема критическая. Единственно, что смягчает ситуацию - это
Сизиф...
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] dist-upgrade, libpq5.1 и postgresql8.3-server (error: execution of %pre scriptlet)
2009-07-01 12:27 ` Sergey
@ 2009-07-01 14:14 ` Ivan Fedorov
0 siblings, 0 replies; 6+ messages in thread
From: Ivan Fedorov @ 2009-07-01 14:14 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 787 bytes --]
Sergey <a_s_y-YTL04S48Vas@public.gmane.org> writes:
> On Wednesday 01 July 2009, Ivan Fedorov wrote:
>
>> > Багу на postgresql вешать ?
>
>> Можно, но не обязательно - как только у меня появится время, я выкачу
>> в сизиф новые сборки постгресса 8.3 и 8.4.
>
> Вообще, старый снёсся, а новый не поставился нормально... То есть, в
> общем-то, проблема критическая. Единственно, что смягчает ситуацию - это
> Сизиф...
Ну у rpm есть ключик, который позволяет ставить пакеты без исполнения
скриптов.
[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-07-01 14:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-01 9:55 [sisyphus] dist-upgrade, libpq5.1 и postgresql8.3-server (error: execution of %pre scriptlet) Sergey
2009-07-01 10:19 ` Alexey Tourbin
2009-07-01 11:03 ` Sergey
2009-07-01 12:01 ` Ivan Fedorov
2009-07-01 12:27 ` Sergey
2009-07-01 14:14 ` Ivan Fedorov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git