From: Stanislav Ievlev <inger@altlinux.org> To: ALT Devel discussion list <devel@altlinux.ru> Subject: Re: [devel] Q: alternatives Date: Tue, 24 Feb 2004 12:09:47 +0300 Message-ID: <20040224090947.GJ29671@basalt.office.altlinux.org> (raw) In-Reply-To: <20040223150604.GJ6380@solemn.turbinal.org> On Mon, Feb 23, 2004 at 06:06:04PM +0300, Alexey Tourbin wrote: > Здравствуйте. > > Кажется, есть такая проблема: если конфигурационный файл альтернативы > существенно изменяется (например, вследствие исправления ошибки), то > возникают проблемы при обновлении. В примеры ниже первым обновляется > пакет lua4, и его скрипт отрабатывает неправильно. Следом идет > обновление lua5 с аналогичным (синхронным) исправлением, при этом скрипт > отрабатывает уже успешно. > > Кто-нибудь может объяснить/предложить решение? Строгости проверки не хотелось бы снижать. Уж больно много багов благодаря им я нашёл в своё время. А в качестве решения проблемы пока могу только предложить игнорировать код возврата. Когда установится последний изменённый пакет - последний запуск update пройдёт успешно и всё восстановится. > > $ rpm -qa '*lua*' > liblua5-5.0-alt7.2 > lua4-4.0.1-alt8.1 > lua4-4.0.1-alt8.2 > liblua4-4.0.1-alt8.2 > lua5-5.0-alt7.2 > liblua5-devel-5.0-alt7.2 > $ sudo rpm -e --nodeps --allmatches `rpm -qa '*lua*'` > $ rpm -qa '*lua*' > $ cd Sisyphus/i586/RPMS.classic > $ sudo rpm -iv liblua4-4.0.1-alt8.1.i586.rpm liblua5-5.0-alt7.1.i586.rpm liblua5-devel-5.0-alt7.1.i586.rpm lua4-4.0.1-alt8.1.i586.rpm lua5-5.0-alt7.1.i586.rpm > Preparing packages for installation... > liblua4-4.0.1-alt8.1 > liblua5-5.0-alt7.1 > liblua5-devel-5.0-alt7.1 > lua4-4.0.1-alt8.1 > lua5-5.0-alt7.1 > $ cd ~/build/repo/i586/RPMS.hasher > $ sudo rpm -Uv liblua4-4.0.1-alt8.2.i586.rpm liblua5-5.0-alt7.2.i586.rpm liblua5-devel-5.0-alt7.2.i586.rpm lua4-4.0.1-alt8.2.i586.rpm lua5-5.0-alt7.2.i586.rpm > Preparing packages for installation... > liblua4-4.0.1-alt8.2 > liblua5-5.0-alt7.2 > liblua5-devel-5.0-alt7.2 > lua4-4.0.1-alt8.2 > runtime error: void AltStorage::parse() : /usr/bin/lua4 : number of slaves differ from number of slaves in alternative > error: execution of %post scriptlet from lua4-4.0.1-alt8.2 failed, exit status 1 > lua5-5.0-alt7.2 > $ echo $? > 5 > $ rpm -qa lua4 > lua4-4.0.1-alt8.1 > lua4-4.0.1-alt8.2 > $ > > --- lua4-4.0.1-alt8.1/lua4.spec 2004-02-02 00:49:23 +0000 > +++ lua4-4.0.1-alt8.2/lua4.spec 2004-02-23 14:15:51 +0000 > @@ -4,7 +4,7 @@ > > Name: %realname%sover > Version: 4.0.1 > -Release: alt8.1 > +Release: alt8.2 > > Summary: Lua is a powerful, light-weight programming language > License: BSD-like > @@ -140,8 +140,8 @@ gcc $CFLAGS %optflags *.c -o $DEST/luac > <option name="real">%_bindir/lua%sover</option> > <option name="weight" type="number">%weight</option> > <group name="slave"> > - <option name="link">%_bindir/luac.1.gz</option> > - <option name="real">%_bindir/luac%sover.1.gz</option> > + <option name="link">%_bindir/luac</option> > + <option name="real">%_bindir/luac%sover</option> > </group> > <group name="slave"> > <option name="link">%_man1dir/%realname.1.gz</option> > _______________________________________________ > Devel mailing list > Devel@altlinux.ru > http://www.altlinux.ru/mailman/listinfo/devel
prev parent reply other threads:[~2004-02-24 9:09 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-02-23 15:06 Alexey Tourbin 2004-02-24 9:09 ` Stanislav Ievlev [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040224090947.GJ29671@basalt.office.altlinux.org \ --to=inger@altlinux.org \ --cc=devel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git