gpt4 book ai didi

c - 找不到 pidgin 的源码包 (Linux Mint)

转载 作者:行者123 更新时间:2023-12-02 06:38:56 24 4
gpt4 key购买 nike

我想在 Linux Mint 下开始开发 Pidgin 插件13.

我读过 the official tutorial一开始说我应该使用以下命令安装 pidgin 的开发依赖项:apt-get build-dep pidgin

但最终会出现以下错误消息:

E: Unable to find a source package for pidgin

我必须添加一个特殊的存储库吗?或者我怎样才能让 Linux Mint 找到这个包?

这是 sources.list 的转储:

deb http://packages.linuxmint.com/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free

# deb http://archive.getdeb.net/ubuntu precise-getdeb apps
# deb http://archive.getdeb.net/ubuntu precise-getdeb games

最佳答案

编辑/etc/apt/sources.list,添加deb-src:

deb http://packages.linuxmint.com/ maya main upstream import
deb-src http://packages.linuxmint.com/ maya main upstream import

deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse

deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free

然后尝试:

apt-get update
apt-get build-dep pidgin

关于c - 找不到 pidgin 的源码包 (Linux Mint),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11940834/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com