ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] How to install the same packet but for different architecture
@ 2007-03-15 21:03 Chernetskyy Olexander
  2007-03-16  1:14 ` Denis G. Samsonenko
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chernetskyy Olexander @ 2007-03-15 21:03 UTC (permalink / raw)
  To: ALT Linux Community

> Привет!
> 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-16  7:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-15 21:03 [Comm] How to install the same packet but for different architecture Chernetskyy Olexander
2007-03-16  1:14 ` Denis G. Samsonenko
2007-03-16  1:16 ` Denis G. Samsonenko
2007-03-16  7:15 ` Alexey I. Froloff

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