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

* Re: [Comm] How to install the same packet but for different architecture
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Denis G. Samsonenko @ 2007-03-16  1:14 UTC (permalink / raw)
  To: ALT Linux Community

Привет!

15 Mar 2007 21:03:07 -0000, Chernetskyy Olexander:
> А вот про выбор архитектуры нигде ничего не сказано.
> А если сделать сначала 'apt-get remove qiv', а затем 'apt-get install qiv' то какой установится i586 or i686?
> Или если просто внаглую сказать rpm -ivh qiv-2.0-alt2.i686.rpm что будет?

Поставится, если ещё не был установлен и если не тянет за собой
зависимостей. Естественно, что выполнять эту команду надо в каталоге,
в котором лежит данный rpm.

Если же тянутся зависимости, то можно воспользоваться apt-get:

apt-get install qiv-2.0-alt2.i686.rpm

тоже в каталоге с этим rpm.

-- 
Всего доброго,

Денис.

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

* Re: [Comm] How to install the same packet but for different architecture
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Denis G. Samsonenko @ 2007-03-16  1:16 UTC (permalink / raw)
  To: ALT Linux Community

Привет!

15 Mar 2007 21:03:07 -0000, Chernetskyy Olexander:
> > Я точно не помню, но помоему было что-то вроде этого:
> > 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

Версия у пакета не 2.0, а 2.0-alt2.

-- 
Всего доброго,

Денис.

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

* Re: [Comm] How to install the same packet but for different architecture
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Alexey I. Froloff @ 2007-03-16  7:15 UTC (permalink / raw)
  To: ALT Linux Community

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

* Chernetskyy Olexander <archer@> [070316 00:05]:
> А если сделать сначала 'apt-get remove qiv', а затем 'apt-get
> install qiv' то какой установится i586 or i686?
Тот, который в sources.list выше.

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

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

^ 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