[问题]64bit系统安装32bit程序的问题

为当前最终发行版之前的所有版本提供支持
回复
chineseli
帖子: 117
注册时间: 2008-01-05 18:34
送出感谢: 0
接收感谢: 0

[问题]64bit系统安装32bit程序的问题

#1

帖子 chineseli » 2008-07-20 17:24

Package ia32-libs-gtk is a virtual package provided by:
ia32-libs 2.2ubuntu11
You should explicitly select one to install.


装32位库时出现的。虚拟包?这是什么东东???
全部情况是这样的:

sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version.
Package ia32-libs-gtk is a virtual package provided by:
ia32-libs 2.2ubuntu11
You should explicitly select one to install.
E: Package ia32-libs-gtk has no installation candidate
上次由 chineseli 在 2008-07-21 3:16,总共编辑 1 次。
头像
bocelli99
帖子: 525
注册时间: 2007-07-10 12:16
送出感谢: 0
接收感谢: 0

#2

帖子 bocelli99 » 2008-07-20 19:01

http://flits102-126.flits.rug.nl/~erik/ ... ml#virtual

6.8 What's a Virtual Package?

A virtual package is a generic name that applies to any one of a group of packages, all of which provide similar basic functionality. For example, both the tin and trn programs are both news readers, and should therefore satisfy any dependency of a program that required a news reader on a system in order to work. They are therefore both said to provide the "virtual package" called news reader.

Similary, smail and sendmail both provide the functionality of a mail transport agent. They are therefore said to provide the virtual package, "mail transport agent". If either one is installed, then any program depending on the installation of a mail transport agent will be satisfied by the existence of this virtual package.

Debian provides a mechanism so that, if more than one package which provide the same virtual package is installed on a system, then system administrators can set one as the preferred package. The relevant command is update-alternatives, and is described further in the section on diversions.
像一条秋天的道路:还未来得及扫干净,它又为干枯的树叶所覆盖。

The Kafka Project http://www.kafka.org
头像
bocelli99
帖子: 525
注册时间: 2007-07-10 12:16
送出感谢: 0
接收感谢: 0

#3

帖子 bocelli99 » 2008-07-20 19:12

代码: 全选

sudo apt-get install ia32-libs*
像一条秋天的道路:还未来得及扫干净,它又为干枯的树叶所覆盖。

The Kafka Project http://www.kafka.org
chineseli
帖子: 117
注册时间: 2008-01-05 18:34
送出感谢: 0
接收感谢: 0

#4

帖子 chineseli » 2008-07-20 23:15

bocelli99 写了:

代码: 全选

sudo apt-get install ia32-libs*


这样作的结果是这样,为什么阿?我用官方的源和电信的源都这样
sudo apt-get install ia32-libs*
[sudo] password for chineseli:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting ia32-libs for regex 'ia32-libs*'
Note, selecting ia32-libs-dev for regex 'ia32-libs*'
Note, selecting ia32-libs-gtk for regex 'ia32-libs*'
Note, selecting ia32-libs instead of ia32-libs-gtk
Note, selecting ia32-libs-sdl for regex 'ia32-libs*'
Note, selecting ia32-libs instead of ia32-libs-sdl
Note, selecting ia32-libs-openoffice.org for regex 'ia32-libs*'
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
chineseli
帖子: 117
注册时间: 2008-01-05 18:34
送出感谢: 0
接收感谢: 0

#5

帖子 chineseli » 2008-07-21 3:08

现在又这样了:

代码: 全选

chineseli@chineseli-laptop:~$ sudo apt-get install ia32-libs*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting ia32-libs for regex 'ia32-libs*'
Note, selecting ia32-libs-dev for regex 'ia32-libs*'
Note, selecting ia32-libs-gtk for regex 'ia32-libs*'
Note, selecting ia32-libs-sdl for regex 'ia32-libs*'
Note, selecting ia32-libs-openoffice.org for regex 'ia32-libs*'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


另外是不是装好之后就可以直接安装使用32位程序了?我的是64bit的
头像
syrano
帖子: 4313
注册时间: 2007-10-06 18:40
送出感谢: 0
接收感谢: 5 次

#6

帖子 syrano » 2008-07-21 8:15

E=m c^2
回复

回到 “老旧版本支持”