ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Chernetskyy Olexander" <archer@elec.com.ua>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] How to install the same packet but for different architecture
Date: 15 Mar 2007 21:03:07 -0000
Message-ID: <20070315210307.93833.qmail@elec.ru> (raw)

> Привет!
> 16.03.07, Pavlov Konstantin написал:
> > > apt-get install packageName#version
> >
> > А вы сами пробовали? :)
> > Архитектура пакета не включается в его версию.
> Я точно не помню, но помоему было что-то вроде этого:
> apt-get install packageName#version@Arch

Не помогает.
[root@archer root]#  apt-cache show qiv | grep qiv-
Filename: qiv-2.0-alt2.i686.rpm
Filename: qiv-2.0-alt2.i586.rpm

[root@archer root]# apt-get -s install qiv#2.0@i686
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package qiv#2.0@i686

Вообще-то man apt-get гласит, что для выбора версии нужно использовать '='
---8<----
A specific version of a package can be selected for installation by following the package name with an equals and the version of the package to select. This will cause that version to be located and selected for install. Alternatively a specific distribution can be selected by following the package name with a slash and the version of the distribution or the Archive name (stable, testing, unstable).
--->8----
И действительно:
[root@archer root]# apt-get -s install qiv=2.0
Reading Package Lists... Done
Building Dependency Tree... Done
Selected version 2.0-alt2 for qiv
qiv is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
[root@archer root]#

А вот про выбор архитектуры нигде ничего не сказано.


А если сделать сначала 'apt-get remove qiv', а затем 'apt-get install qiv' то какой установится i586 or i686?

Или если просто внаглую сказать rpm -ivh qiv-2.0-alt2.i686.rpm что будет?

--
Best regards,
ArCher



             reply	other threads:[~2007-03-15 21:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15 21:03 Chernetskyy Olexander [this message]
2007-03-16  1:14 ` Denis G. Samsonenko
2007-03-16  1:16 ` Denis G. Samsonenko
2007-03-16  7:15 ` Alexey I. Froloff

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=20070315210307.93833.qmail@elec.ru \
    --to=archer@elec.com.ua \
    --cc=community@lists.altlinux.org \
    /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