Tag: 包管理

如何手动删除/删除添加的存储库?

请帮帮我:我手动添加了这个存储库,我不能删除它们 echo ‘deb http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0/ /’ > /etc/apt/sources.list.d/vertex-theme.list wget http://download.opensuse.org/repositories/home:Horst3180/Debian_8.0/Release.key 我尝试使用apt-key list删除apt-key list ,然后使用id删除,它成功删除了密钥,但是当我使用apt update我得到了这个输出: W: GPG error: http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0 Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5A7D1D38BEB6D886 E: The repository ‘http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0 Release’ is not signed. N: Updating from such a repository can’t be done securely, and is therefore […]

Apt升级并将所有软件包降级到当前版本

我最近从Ubuntu 12.04升级到14.04。 使用12.04时,我通过PPA安装了几个软件包。 现在我升级到14.04,我发现仍然安装了12.04的一些PPA包。 升级过程中删除了所有这些PPA存储库。 我想卸载Ubuntu存储库中存在的任何软件包的PPA软件包版本。 例如,我有一个SVN版本的Audacity比Ubuntu存储库中的版本更新,但我想用Ubuntu存储库版本替换它。 我想对所有PPA安装包执行相同的操作。 我尝试在/etc/apt/preferences.d/main固定它 Package: * Pin: release a=trusty Pin-Priority: 2001 Package: * Pin: release a=trusty-updates Pin-Priority: 2002 Package: * Pin: release a=trusty-security Pin-Priority: 2003 然后 apt-get update; apt-get upgrade 不幸的是,它没有像我希望的那样降级任何软件包。 例如,运行apt-cache show catfish显示版本1.0.2-2可以从Ubuntu存储库中获得,但我仍然安装了1.0.82-1~precision~ppa1。 我想将所有软件包降级到Ubuntu存储库中的当前版本。

如何申请升级包裹?

Arduino支持站点刚刚发布了其开发环境的1.6版本。 Muon存储库只有1:1.05.dfsg2(我已安装) 我看到强烈的建议,除了使用Muon之外我不安装软件 – 那么如何请求将存储库升级到当前版本?

如何将Debian实验回购添加到Ubuntu?

我想从实验库中安装cups-1.6.1-2 ( link )。 我想我必须在/etc/apt/sources.list上添加一些内容,但我无法弄清楚是什么。 谁能想出(或知道)如何添加实验回购?

为什么我不能在unisalling Python 2.7和安装Python 3后登录?

我卸载了Python 2.7软件包以尝试升级到Python 3.我卸载了Python 2.7,并注意到我的一些启动器项目已经完全消失了。 此时我安装了Python 3.现在重启时,我无法登录,登录屏幕的背景为黑色,带有白点。 任何帮助将不胜感激。 PS – 这是运行11.10 Oneiric Ocelot。 我仍然有相同版本的Live CD。 编辑:感谢您的反馈! 但我无法启动进入文本模式,只能从Live CD启动,因为我为移动宽带安装了Debian .tar.gz软件包usb_modeswitch,所以无法连接到互联网。 有没有办法从Live CD复制操作系统的Python 2.7部分并将它们注入我的系统? 我唯一能想到的就是获得一张12.04 Live CD并点击“从11.10升级到12.04”选项,但由于我没有进入这个原因对我来说是不切实际的。

php和php7.2包有什么区别?

我要安装它们和它的两个模块吗? apt-cache depends php php Depends: php7.2 php cli有两个包: apt-cache policy php7.2-cli php7.2-cli: Installed: (none) Candidate: 7.2.7-0ubuntu0.18.04.2 Version table: 7.2.7-0ubuntu0.18.04.2 500 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 7.2.3-1ubuntu1 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages 下一个: apt-cache policy php-cli php-cli: Installed: (none) Candidate: 1:7.2+60ubuntu1 Version table: 1:7.2+60ubuntu1 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 […]

无法再安装任何东西,linux-image-的未满足依赖项

每当我尝试安装任何东西时,我都会收到以下消息: Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: clang : Depends: clang-3.4 (>= 3.4~rc3-1~) but it is not going to be installed linux-image-extra-3.16.0-52-generic : Depends: linux-image-3.16.0-52-generic but it is not going to be installed […]

Ubuntu 14.04从13.10升级:使用ubuntu未提供的非官方软件包

我有一个问题从13.10(Saucy Salamander)升级到14.04(Trusty Tahr),我收到消息Could not calculate the upgrade ,我相信这是由于我的非官方软件包。 有人可以建议我应该解决哪些软件包,以及如何解决这些软件包? 我的问题与此处的问题类似,但我需要帮助实现解决程序包的解决方案。 在尝试通过Software Updater升级时,我已经取消选中了“ Software and Updates菜单中“其他”下的所有软件包。 运行grep Broken /var/log/dist-upgrade/apt.log向我展示了多个软件包,但我不确定哪些软件包已损坏以及如何在升级之前解决它们。 我怀疑我对Bumblebee和Nvidia Optimus的配置增加了一些PPA和其他不支持的软件。 这是我的grep Broken /var/log/dist-upgrade/apt.log输出: Broken libqt5core5a:amd64 Breaks on libqt5core5 [ amd64 ] ( libs ) (< 5.2.0+dfsg~) Broken libharfbuzz0b:amd64 Conflicts on libharfbuzz0a [ amd64 ] ( libs ) Broken cups-filters:amd64 Conflicts on foomatic-filters [ amd64 ] […]

如何安装Estru3D – Structural Analysis Software?

我在安装Estru3D时遇到问题。 它需要安装Gambas3作为先决条件。 但它不适用于Ubuntu 16.04中安装的最新Gambas3。

为什么“包可以更新”和“apt list –upgradeable”之间存在不匹配?

当我登录到我的Ubuntu VM时,收到以下消息,通知我8个软件包可以升级: Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-112-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage 8 packages can be updated. 0 updates are security updates. Last login: Mon Jan 29 14:55:34 2018 from 172.16.117.1 但是,当我发布一个apt list –upgradeable我得到26个包。 $ apt list –upgradeable Listing… Done cloud-initramfs-copymods/xenial-updates,xenial-updates 0.27ubuntu1.5 all [upgradable from: 0.27ubuntu1.4] cloud-initramfs-dyn-netconf/xenial-updates,xenial-updates 0.27ubuntu1.5 […]