Tag: 易于

如何在新系统上复制现有软件包?

我在一个单独的分区中安装了12.04。 现在,我想在我的12.04中安装我在10.04上安装的软件。 我希望有一个使用aptonCD的解决方法。 但我发现使用apt在CD上“恢复”只会将.debs复制到缓存文件中,这可能会给我带来很大的麻烦。 我的粗略想法是: 在10.04上运行’apt’命令,它将为我提供我当前在10.04上安装的所有软件包名称。 将这些名称带到12.04并告诉apt获取相同的软件,但它们的版本属于12.04。 安装它们。 反正有没有做上述步骤,还是有一种完全不同的方式来实现这一目标?

你如何取消(取消暂停)包裹?

我使用synaptic来锁定pidgin-data的版本 – 如何将状态从hold更改为正常,以便正确升级? PinningHowto表示,执行apt-get install packagename应该删除hold ,但运行dpkg -l | grep ^h dpkg -l | grep ^h仍然显示为持有: hi pidgin-data 1:2.10.6-0ubuntu1+pidgin1.12.04 multi-protocol instant messaging client – data files 如何正确撤消hold状态?

在64位上安装Wine

我试图通过软件中心和终端安装葡萄酒,我得到了这个错误。 chris@ubuntu:~$ sudo apt-get install wine1.5 [sudo] password for chris: 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 […]

选项“autoclean”,“autoremove”和“clean”之间有什么区别?

apt-get有一些看起来和我相同的选项: autoclean , autoremove和clean 。 他们每个人做什么?

如何绕过/删除/禁用不受信任的程序包身份validation

首先是图像: 然后我说“说什么!!怎么……什么……?”。 基本上我被惊呆了。 如何禁用/绕过/删除/爆炸不受信任的软件包的选项,不让我安装它们。 我的意思是它是葡萄酒的PPA。 这就像99%的官方^^。 无论如何,问题是所有PPA都有不可信的标志。

如何删除apt中的翻译条目?

这是aptitude update的输出: Ign http://archive.canonical.com natty InRelease Ign http://extras.ubuntu.com natty InRelease Ign http://dl.google.com stable InRelease Ign http://security.ubuntu.com natty-security InRelease Hit http://deb.torproject.org natty InRelease Get:1 http://dl.google.com stable Release.gpg [198 B] Ign http://us.archive.ubuntu.com natty InRelease Ign http://us.archive.ubuntu.com natty-updates InRelease Hit http://archive.canonical.com natty Release.gpg Hit http://extras.ubuntu.com natty Release.gpg Hit http://security.ubuntu.com natty-security Release.gpg Hit http://us.archive.ubuntu.com natty Release.gpg Hit http://security.ubuntu.com natty-security […]

为什么apt无法找到任何包的源代码?

我正在尝试下载某些软件包的源代码,例如rhythmbox,用于学习目的。 我想通过apt-get使用apt-get source命令来做到这一点。 出于某种原因, apt-get似乎找不到任何包。 我已经尝试了几个包,并且我一直从apt-get获得这个输出: $ apt-get source rhythmbox Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to find a source package for rhythmbox 我一直在寻找答案很长一段时间,但我找不到任何有同样问题的人。 apt-get在安装和更新时运行良好,所以apt-get在我看来运行正常。 在搜索期间,我还了解到我必须在软件源中启用“源代码存储库”,以便启用它。 我知道(可能只对某些软件包,不确定)源代码包也可以从Launchpad下载bzr ,但我想知道为什么这个方法不起作用。

“GPG错误:以下签名无效:KEYEXPIRED”

尝试更新我的包列表时遇到的错误。 W: GPG error: http://download.opensuse.org ./ Release: The following signatures were invalid: KEYEXPIRED 1436387333 E: Some index files failed to download. They have been ignored, or old ones used instead.

从终端设置代理

可能重复: apt-get不适用于代理 我尝试在终端中更改我的代理设置: export HTTP_PROXY=http://10.1.3.1:8080 和 export http_proxy=http://10.1.3.1:8080 但是当我尝试安装新软件包或更新apt-get时,apt-get开始显示消息,似乎它正在尝试连接到以前设置的代理: sudo apt-get update 0% [Connecting to 10.1.2.2 (10.1.2.2)] [Connecting to 10.1.2.2 (10.1.2.2) 我已经尝试通过bashrc文件设置代理但是din工作。 据我所知,10.1.2.2是使用GNOME GUI设置的,但我现在无法访问GUI,所以我试图从终端设置它。

坚持0%

谷歌搜索这个错误似乎很多人都有这个问题。 apt-get upgrade挂起0% [waiting for headers] apt-get install apache2挂起0% [waiting for headers] 。 一些apt-get命令正在运行,但只有某些包。 有任何想法吗? 我不认为这是一个缓慢回购的问题,因为我已经有很长一段时间了,它没有从0%开始。 我已经编辑了sources.list但我删除了我在这个问题出现时添加的行,并没有产生任何影响。 任何线索都非常有用。