E: 无法找到软件包 nepomuk-core-dev

E: 无法找到软件包 nepomuk-core-dev

我已经安装了 Ubuntu 12.04,我想安装它nepomuk-core-dev来构建等离子媒体中心(http://sinny.in/node/25),但我收到以下错误:

vijay13@ubuntu:~/plasma-mediacenter/build$ sudo apt-get install nepomuk-core-devReading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nepomuk-core-dev

and following error while building :
-- Found KDE4Workspace: /usr/lib/cmake/KDE4Workspace/KDE4WorkspaceConfig.cmake 
CMake Error at CMakeLists.txt:7 (find_package):
  Could not find module FindNepomukCore.cmake or a configuration file for
  package NepomukCore.

  Adjust CMAKE_MODULE_PATH to find FindNepomukCore.cmake or set
  NepomukCore_DIR to the directory containing a CMake configuration file for
  NepomukCore.  The file will have one of the following names:

    NepomukCoreConfig.cmake
    nepomukcore-config.cmake

-- Found Soprano: /usr/include  (found version "2.7.5", required is "1.99")
-- Found taglib: -L/usr/lib/x86_64-linux-gnu -ltag
-- Taglib found: -L/usr/lib/x86_64-linux-gnu -ltag
-- Found taglib: -L/usr/lib/x86_64-linux-gnu -ltag
-- Taglib found: -L/usr/lib/x86_64-linux-gnu -ltag
*** QtMultimediaKit (included in Qt-Mobility) is required at runtime to play multimedia.
*** You can download it from http://get.qt.nokia.com/qt/add-ons/qt-mobility-opensource-src-1.2.0.zip .
-- Configuring incomplete, errors occurred!

答案1

sudo add-apt-repository ppa:kubuntu-ppa/backports然后sudo apt-get update解决问题。

Vijay13 在评论中解决了这个问题。

答案2

您所遵循的指南仅适用于 12.10 及更高版本。它不适用于 12.04。该nepomuk-core-dev软件包未包含在 Precise (12.04) 存储库中。您必须使用 Quantal 或更高版本才能直接在您的存储库中获取软件包。对于构建软件,建议使用最新版本的 Ubuntu,而不是长期支持 (LTS),因为较新的版本具有较新的软件包,如果您从源代码构建,您将需要这些软件包(通常,软件开发人员会保持其库的更新)。

要查看该软件包包含在哪些版本的 Ubuntu 中,请检查http://packages.ubuntu.com/nepomuk-core-dev

相关内容