Ubuntu 12.04 中是否有 Totem 3.6?

Ubuntu 12.04 中是否有 Totem 3.6?

我可以在不使用 webupd8 ppa 的情况下将 Ubuntu 12.04 中的 Totem 升级到版本 3.6.3 吗?我尝试了以下过程这里,但我在获取依赖项时遇到了一些问题。我想要 Totem 3.6.3 的原因当然是为了最新的变化和速度改进。

解决方案Wilf不起作用!以下是我按照以下步骤操作后发生的情况:

david@david-VirtualBox:~$ wget
http://launchpadlibrarian.net/136994659/totem_3.6.3-0ubuntu6_amd64.deb
--2014-02-01 14:54:55--  http://launchpadlibrarian.net/136994659/totem_3.6.3-0ubuntu6_amd64.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)...
91.189.89.229, 91.189.89.228 Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.229|:80... connected. HTTP request
sent, awaiting response... 200 OK Length: 104032 (102K)
[application/x-debian-package] Saving to:
`totem_3.6.3-0ubuntu6_amd64.deb'

100%[======================================>] 104,032     --.-K/s   in
0.005s  

2014-02-01 14:54:56 (18.2 MB/s) - `totem_3.6.3-0ubuntu6_amd64.deb'
saved [104032/104032]

david@david-VirtualBox:~$ sudo dpkg -i totem_3.6.3-0ubuntu6_amd64.deb
[sudo] password for david:  (Reading database ... 238277 files and
directories currently installed.) Preparing to replace totem 3.4.3-0ubuntu1~precise1 (using totem_3.6.3-0ubuntu6_amd64.deb) ...
Unpacking replacement totem ...
dpkg: dependency problems prevent configuration of totem:
totem depends on libcogl12 (>= 1.7.4); however: Package libcogl12 is not installed.
totem depends on libtotem0 (>= 3.6.3-0ubuntu6); however: Version of libtotem0 on system is 3.4.3-0ubuntu1~precise1.
totem depends on gstreamer1.0-clutter; however: Package gstreamer1.0-clutter is not  installed.
totem depends on gstreamer1.0-plugins-base (>= 0.11.93); however: Package gstreamer1.0-plugins-base is not installed.
totem depends on gstreamer1.0-plugins-good (>= 0.11.93); however: Package gstreamer1.0-plugins-good is not installed.
totem depends on gstreamer1.0-x; however:  Package gstreamer1.0-x is not installed. 
totem depends on totem-common (= 3.6.3-0ubuntu6); however: Version of totem-common on system is 3.4.3-0ubuntu1~precise1.
dpkg: error processing totem (--install):  dependency problems - leaving
unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ... Rebuilding
/usr/share/applications/bamf.index... Processing triggers for
gnome-menus ... Errors were encountered while processing:  totem

我收到来自sudo apt-get build-dep totem

david@david-VirtualBox:~/Downloads$ sudo apt-get build-dep totem
Reading package lists... Done Building dependency tree        Reading
state information... Done The following packages have unmet
dependencies:
librsvg2-dev : Depends: librsvg2-2 (= 2.36.1-0ubuntu1) but 2.36.3-0ubuntu1~precise1 is to be installed
libtotem-plparser-dev : Depends: libtotem-plparser17 (= 3.4.1-1) but 4.2-1~precise1 is to be installed
Depends: gir1.2-totem-plparser-1.0 (= 3.4.1-1) but 3.4.2-1~precise1 is to be installed E: Build-dependencies for totem could not be satisfied. david@david-
VirtualBox:~/Downloads$

我似乎在安装Wilf建议的依赖项时遇到了错误,我在安装新版本之前确实卸载了它们。这是我在终端中得到的结果:

david@david-VirtualBox:~$ cd ~/Downloads/
david@david-VirtualBox:~/Downloads$ sudo dpkg -i totem-common_3.6.3-0ubuntu6_all.deb 
[sudo] password for david: 
Selecting previously unselected package totem-common.
(Reading database ... 269477 files and directories currently installed.)
Unpacking totem-common (from totem-common_3.6.3-0ubuntu6_all.deb) ...
Setting up totem-common (3.6.3-0ubuntu6) ...
Processing triggers for man-db ...
Processing triggers for gconf2 ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for libglib2.0-0 ...
david@david-VirtualBox:~/Downloads$ sudo dpkg -i libtotem0_3.6.3-0ubuntu6_amd64.deb 
Selecting previously unselected package libtotem0.
(Reading database ... 269887 files and directories currently installed.)
Unpacking libtotem0 (from libtotem0_3.6.3-0ubuntu6_amd64.deb) ...
dpkg: dependency problems prevent configuration of libtotem0:
 libtotem0 depends on libcogl12 (>= 1.7.4); however:
  Package libcogl12 is not installed.
 libtotem0 depends on libglib2.0-0 (>= 2.35.9); however:
  Version of libglib2.0-0 on system is 2.34.1-0ubuntu1~12.04~ricotz0.
dpkg: error processing libtotem0 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libtotem0
david@david-VirtualBox:~/Downloads$ sudo dpkg -i libcogl12_1.14.0-0ubuntu1_amd64.deb 
Selecting previously unselected package libcogl12.
(Reading database ... 269896 files and directories currently installed.)
Unpacking libcogl12 (from libcogl12_1.14.0-0ubuntu1_amd64.deb) ...
dpkg: dependency problems prevent configuration of libcogl12:
 libcogl12 depends on libc6 (>= 2.17); however:
  Version of libc6 on system is 2.15-0ubuntu10.5.
 libcogl12 depends on libegl1-mesa (>= 7.8.1) | libegl1-x11; however:
  Package libegl1-mesa is not installed.
  Package libegl1-x11 is not installed.
dpkg: error processing libcogl12 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libcogl12 

看起来我缺少一些 dep,而且libglib2.0-0我系统上的(2.34.1)比 raring 页面上的要新(2.33.14),它说我需要2.35.9,看起来我必须在 Saucy 或 Trusty 的页面上查找。好的,我检查了一下,Saucy 使用的和 raringlibglib2.0-0 v.2.35的 完全相同,因为它仍然是。但是 Trusty 使用的是,而我使用的是,那么我应该使用什么呢?libglib2.0-02.33.142.39.32.34.1

编辑

忽略我说的话,他们在描述中输入了错误的版本号,但当你进入页面时,它实际上是2.36.0针对 Raring、2.38.0Saucy 和2.39.3Trusty 的。所以我应该直接使用2.36.0还是应该获得2.35.92.36.0效果不好?我要选择 v。2.35.9找到这里。

好的,所有这些依赖关系都会导致更多的依赖关系,这看起来像是一个无限循环,而 Synaptic 无法再删除损坏的包!在再次开始升级 Totem 之前,我将先备份我的虚拟机,然后才能再次获得帮助。

Gdebi 似乎不喜欢 Totem 3.6.3,因为其中有 mozilla-totem 插件。

david@david-VirtualBox:~/Downloads$ sudo apt-get install gdebi-core
[sudo] password for david: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  indicator-printers gir1.2-timezonemap-1.0 libdiscid0 unity-lens-video
  linux-headers-3.2.0-56 unity-scope-video-remote gir1.2-json-1.0
  librhythmbox-core5 libpcrecpp0 linux-headers-3.2.0-56-generic
  language-pack-kde-en kde-l10n-engb libcmis-0.2-0 libmusicbrainz3-6
  libpcre3-dev language-pack-kde-en-base gir1.2-xkl-1.0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  gdebi-core
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 159 kB of archives.
After this operation, 1,198 kB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu/ precise/universe gdebi-core all 0.8.5build1 [159 kB]
Fetched 159 kB in 1s (139 kB/s)
Selecting previously unselected package gdebi-core.
(Reading database ... 238277 files and directories currently installed.)
Unpacking gdebi-core (from .../gdebi-core_0.8.5build1_all.deb) ...
Processing triggers for man-db ...
Setting up gdebi-core (0.8.5build1) ...
david@david-VirtualBox:~/Downloads$ sudo gdebi totem_3.6.3-0ubuntu6_amd64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
This package is uninstallable
Breaks existing package 'totem-mozilla' dependency totem (= 3.4.3-0ubuntu1~precise1)
david@david-VirtualBox:~/Downloads$

当我安装 totem-mozilla 3.6.3 时:

david@david-VirtualBox:~/Downloads$ sudo gdebi totem-mozilla_3.6.3-0ubuntu6_amd64.deb 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
This package is uninstallable
Dependency is not satisfiable: totem (= 3.6.3-0ubuntu6)

好的,那么如何在不破坏任何软件包的情况下安装 Totem 3.6 + 所有需要的依赖项?

答案1

您可以.deb3.6.3下载64 位版本, 或者32位版本,并使用软件中心进行安装。您也可以使用以下命令进行安装:

64 位:

wget http://launchpadlibrarian.net/136994659/totem_3.6.3-0ubuntu6_amd64.deb
sudo dpkg -i totem_3.6.3-0ubuntu6_amd64.deb

32位:

wget http://launchpadlibrarian.net/136992776/totem_3.6.3-0ubuntu6_i386.deb
sudo dpkg -i totem_3.6.3-0ubuntu6_i386.deb

这样做的好处是你不必编译任何东西,就像你链接的答案一样。缺点是它可能没有正确的依赖项,所以你可能还必须从Ubuntu 更新, 或者Ubuntu 软件包

我目前没有运行任何搭载 12.04 的机器,所以我无法测试这个答案,但它应该可以工作。如果上述软件包都不适用于正确的架构(32 位/64 位/powerpc/其他),你应该能找到它们这里

答案2

安装方法很简单,直接使用 Gdebi 就可以了:

sudo apt-get install gdebi-core
sudo gdebi totem_3.6.3-0ubuntu6_amd64.deb

就这样。现在,如果需要,您也可以从源代码构建它。

相关内容