From: Sergey Vlasov <vsu@altlinux.ru> To: devel@altlinux.ru Subject: Re: [devel] update-alternatives links Date: Tue, 14 Jan 2003 20:20:55 +0300 Message-ID: <20030114202055.57c64b6a.vsu@altlinux.ru> (raw) In-Reply-To: <20030114170909.GA21695@ungrund> On Tue, 14 Jan 2003 20:09:09 +0300 Alexey Tourbin <at@turbinal.org> wrote: > Замечено: если в системе установлены links1 и elinks, то после > обновления elinks симлинк /etc/alternatives/links "сбивается" на > /usr/bin/links1. > > Может кто-нибудь знающий посмотрит и объяснит мне, в чем здесь дело? > $ ls -l /etc/alternatives/links > lrwxrwxrwx 1 root rpm 15 Jan 14 20:00 /etc/alternatives/links -> /usr/bin/elinks > $ sudo rpm -Uvh ~/RPM/RPMS/i686/elinks-0.4.1-alt1cvs20030114.i686.rpm > Preparing... ###################################################################### > elinks ###################################################################### > $ ls -l /etc/alternatives/links > lrwxrwxrwx 1 root rpm 15 Jan 14 20:00 /etc/alternatives/links -> /usr/bin/links1 rpm -q --scripts -p ~/RPM/RPMS/i686/elinks-0.4.1-alt1cvs20030114.i686.rpm ? Нельзя просто удалять альтернативу в %postun - нужно проверять на обновление: [ "$1" = 0 ] & /usr/sbin/update-alternatives --remove ...
next prev parent reply other threads:[~2003-01-14 17:20 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-01-14 17:09 Alexey Tourbin 2003-01-14 17:20 ` Sergey Vlasov [this message] 2003-01-14 18:37 ` [devel] " Alexey Tourbin 2003-01-15 13:56 ` Michael Shigorin 2003-01-21 0:07 ` Alexey Tourbin 2003-01-14 17:21 ` Alexey Tourbin 2003-01-15 9:10 ` [devel] " Stanislav Ievlev
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=20030114202055.57c64b6a.vsu@altlinux.ru \ --to=vsu@altlinux.ru \ --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