无法安装 GNOME Boxes

无法安装 GNOME Boxes

我无法安装 GNOME Boxes:

$ sudo apt-get install gnome-boxes
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gnome-boxes is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gnome-boxes' has no installation candidate

我尝试编译 GNOME Boxes:

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
[...]
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
checking for gobject-introspection... configure: error: gobject-introspection-1.0 is not installed

gobject-introspection已经安装:

$ sudo apt-get install gobject-introspection 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gobject-introspection is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

为什么我无法安装 GNOME Boxes?

答案1

我在 Ubuntu 12.10 Quantal Quetzal(实际上是激活了 GNOME3 PPA 的 Ubuntu Gnome Remix)上安装并运行了 GNOME Boxes。

根据发射台,您可以gnome-boxes宇宙默认情况下激活的存储库。检查是否仍然如此,重新同步包索引文件,升级并再次尝试安装 GNOME Boxes:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gnome-boxes

如果它不起作用,也许您可​​以添加 GNOME3 PPA 并尝试再次安装它,因为它似乎是我们配置之间的唯一区别:

sudo add-apt-repository ppa:gnome3-team/gnome3

此 PPA 提供 Ubuntu 默认不包含的软件包。如果您不需要它,请小心不要升级,并在升级后将其删除。

雷米。

答案2

这可能是因为你运行的是 32 位版本的 Ubuntu。根据启动板入口对于 GNOME Boxes,它仅适用于 64 位版本的 Ubuntu 12.10(一篇关于webupd8.org说这是由于错误造成的)。

幸运的是,这个问题似乎将在 Ubuntu 13.04 中得到修复,因为发射台表示该软件包将适用于 i386 和 amd64 架构。

答案3

引用另一个,这修复了我运行时的问题./configure

您安装了该软件包libgirepository1.0-dev吗?我认为它是包含执行配置脚本时所需文件的软件包 gobject-introspection-1.0.pc。我不确定它是如何为 Linux Mint12 命名的(该名称适用于 Ubuntu)。

答案4

尝试通过以下方式安装平板集线器,点击链接,该问题已讨论过

相关内容