ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Как сравнить версии?
Date: Thu, 18 Mar 2004 12:56:42 +0300
Message-ID: <20040318095642.GB16242@master.mivlgu.local> (raw)
In-Reply-To: <40596E82.9070407@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

On Thu, Mar 18, 2004 at 12:40:18PM +0300, Dmitry Rusetsky wrote:
> У меня врпросик?
> Как сравнить версии пакетов в шеле.
> Пишу скриптик по очистке /var/cache/apt/archives от старых
> версий одинаковых пакетов.
> вытаскиваю номер версии и релиз с помощью
> rpm -qp <packet> --querytags %{VERSION} e.t.c
> столкнулся с тем что надо сравнить две версии
> типа 1.2.3a и 3.2.1b, чтобы не выдумывать велосипед -
> может кто делал.!

/usr/bin/rpmvercmp из пакета rpm-utils.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-03-18  9:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18  9:40 Dmitry Rusetsky
2004-03-18  9:56 ` Sergey Vlasov [this message]
2004-03-18 10:19   ` Dmitry Rusetsky
2004-03-18 10:25 ` Низамов Шавкат
2004-03-18 12:12 ` Alex
2004-03-18 13:01   ` Alexey I. Froloff
2004-03-18 14:11     ` Nick S. Grechukh
2004-03-18 14:15       ` Alexey I. Froloff
2004-03-19 12:33         ` Dmitry Rusetsky
2004-03-19 20:03           ` Sergey Kuznetsov
2004-03-22  5:03             ` Dmitry Rusetsky
2004-03-22 18:10               ` Sergey Kuznetsov
2004-03-30 14:53 ` Alexey Morozov

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=20040318095642.GB16242@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git