发出时收到以下错误消息:
sudo apt-get update
Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [95.8 kB]
Ign:2 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 InRelease
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://ppa.launchpad.net/canonical-x/vulkan/ubuntu xenial InRelease
Hit:5 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 Release
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease
Ign:7 http://dl.google.com/linux/talkplugin/deb stable InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:9 http://linux.dropbox.com/ubuntu wily InRelease
Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
Get:12 http://dl.google.com/linux/chrome/deb stable Release [782 B]
Hit:13 http://dl.google.com/linux/talkplugin/deb stable Release
Ign:14 https://apt.dockerproject.org/repo ubuntu-wily InRelease
Hit:15 https://apt.dockerproject.org/repo ubuntu-wily Release
Get:16 http://dl.google.com/linux/chrome/deb stable Release.gpg [181 B]
Hit:17 http://linux.dropbox.com/ubuntu wily Release
Get:20 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,191 …
Run Code Online (Sandbox Code Playgroud) 该ia32-libs
软件包不再存在于 64 位系统的 Ubuntu 12.04 存储库中。是否有任何可用的替换包可供下载?
我有一个在 64 位硬件上运行的 32 位 Ubuntu 安装。既然已经实现了多架构,我想切换到 64 位,而不必重新安装操作系统。
Shawn 使用 32 位版本的 Ubuntu 安装了他的系统,但他的硬件是 64 位的,他想切换。他手动安装了amd64版本的dpkg和apt,替换了i386版本,更改了默认使用的架构;然后他安装了 amd64 ubuntu-minimal 包;然后他安装 amd64 ubuntu-desktop 包。随着时间的推移,剩余的 i386 软件包会在升级时自动替换。
但是,当尝试按照那里的说明进行操作时,我找不到任何 dpkg 或 apt 的 64 位版本。
这个用户故事是在最终规范中以不同的方式实现的,还是我需要做一些不同的事情?
简而言之,如何将我的 32 位安装切换到 64 位?
我刚刚下载了 Ubuntu 13.10 final beta 64 位,我使用的每个程序都可以完美运行,除了“Machinarium”一个非常酷的 Flash 游戏。游戏没有 .deb 包,我以前可以玩它。我尝试安装 lib32 和 ia32,它说它安装到最后一个版本,或者如果我尝试 lib32-dev,它说它不再可用。这是我的 ldd 命令结果:
fz@Unknown:~/Games/Machinarium$ ldd Machinarium
linux-gate.so.1 => (0xf77c8000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf76c0000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76a5000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf756f000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf755c000)
libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xf7500000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf7461000)
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xf7427000)
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libatk-1.0.so.0 => not found
libgdk_pixbuf-2.0.so.0 => not found
libpangocairo-1.0.so.0 => not found
libpango-1.0.so.0 => not found
libcairo.so.2 => not found
libgobject-2.0.so.0 …
Run Code Online (Sandbox Code Playgroud) 我不知道为什么我不能安装 ia32-libs。它声称在 repos 上找不到依赖项。
junior@mediacenter:~$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch
E: Unable …
Run Code Online (Sandbox Code Playgroud) 尝试在 64 位系统上编译即使是最简单的 ( int main(){}
) 程序也会-m32
失败:
$ gcc -m32 test.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
Run Code Online (Sandbox Code Playgroud)
-m32
指定时似乎仍然在错误的目录中错误地搜索。
libgcc-4.8-dev:i386
已安装,并且我已验证 32 位库位于/usr/lib/gcc/i686-linux-gnu/4.8/
.
我试过设置和导出LD_INCLUDE_PATH
,LD_LIBRARY_PATH
但无济于事。
我正在尝试使用do-release-upgrade
. 下载 wily 的软件包列表后,我看到以下错误:
Unknown Multi-Arch type 'no' for package 'compiz-core'
Unknown Multi-Arch type 'no' for package 'compiz-gnome'
Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
Unknown Multi-Arch type 'no' for package 'libkf5akonadisearch-bin'
Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
Ignoring Provides line with DepCompareOp …
Run Code Online (Sandbox Code Playgroud) 我的笔记本电脑上安装了 64 位 12.10。运行 apt-get update 时,它会下载 32 位软件包的软件包列表(以及源代码和 64 位软件包列表)。为什么它在 64 位系统上寻找 32 位包列表?我已经包含了它试图在下面找到的项目之一。
http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/binary-i386/Packages
Run Code Online (Sandbox Code Playgroud) 我知道 Guitar pro 不支持 64 位,但我确实让它与这个命令一起工作
jeggy@jeggy-XPS:~$ sudo dpkg --force-architecture -i GuitarPro6-rev9063.deb
[sudo] password for jeggy:
Selecting previously unselected package guitarpro6:i386.
(Reading database ... 285729 files and directories currently installed.)
Unpacking guitarpro6:i386 (from GuitarPro6-rev9063.deb) ...
dpkg: dependency problems prevent configuration of guitarpro6:i386:
guitarpro6:i386 depends on gksu.
dpkg: error processing guitarpro6:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
guitarpro6:i386
Run Code Online (Sandbox Code Playgroud)
即使在我收到该错误后,该程序也可以正常运行,并且更新和向系统添加 …