Tag: 包管理

如何启用“合作伙伴”存储库?

我一直看到地方引用“合作伙伴”存储库作为我可以获得软件的地方,我该如何启用此存储库? 请通过命令行以图形方式指定如何执行此操作。

如何处理软件中心中的“未经身份validation的来源”错误?

我正在通过软件中心尝试的任何安装都告诉我: 需要安装不受信任的软件包:该操作需要从未经过身份validation的源安装软件包。 我从命令行进行了apt-get update ,然后删除了密钥错误的软件源(我自己添加了PPA),并在软件中心的软件源中取消选中它们,但无济于事。 我不能再从软件中心安装任何东西了 – 只能从apt-get命令行安装。 卸载/安装唯一的选项? 我不想破坏我拥有的其他PPA。 附加信息: 这是来自apt-get update的粘贴: Reading package lists… Done W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B725097B3ACC3965 W: GPG error: http://us.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing […]

如何设置APT存储库?

我想在服务器上设置一个APT存储库,它将提供几个包。 有没有办法在服务器上安装任何软件时设置一个? 如何组织文件? 编辑:我一定做错了什么……有人可以帮我吗? 我有http://quickmediasolutions.com/apt/dists的存储库 我不知道在哪里或什么,但有些东西是错误配置的。 我目前只有一个包,它适用于所有架构。 这是我的/etc/apt/sources.list添加的内容: deb http://quickmediasolutions.com/apt stable main

如何在我的Ubuntu上安装最新的HPLIP以支持我的HP打印机和/或扫描仪?

假设有一些现代HP打印机和/或扫描仪,HPLIP软件包不支持官方存储库。 目前,Ubuntu版本在Universe pocket中有以下版本 : trusty (14.04LTS) (utils): 3.14.3-0ubuntu3.4 xenial (16.04LTS) (utils): 3.16.3+repack0-1 artful (17.10) (utils): 3.17.7+repack0-3 bionic (18.04LTS) (utils): 3.17.10+repack0-5 如果在较新版本的HPLIP中支持打印机,可以做些什么(在HP Developer Portal |所有支持的打印机型号中进行了检查 )?

N:忽略目录’/etc/apt/apt.conf.d/’中的’50unattended-upgrades.ucf-dist’文件,因为它的文件扩展名无效

昨天我升级了发行版,今天当我使用apt-get安装任何东西或更新时,我收到一个错误: N: Ignoring file ’50unattended-upgrades.ucf-dist’ in directory ‘/etc/apt/apt.conf.d/’ as it has an invalid filename extension 据我所知,当一些新的配置/设置与旧配置/设置混合时会发生此错误。 所以我尝试通过移动到文件夹ls -l /etc/apt/apt.conf.d/来调试它 total 52 -rw-r–r– 1 root root 82 May 19 07:59 00CDMountPoint -rw-r–r– 1 root root 40 May 19 07:59 00trustcdrom -rw-r–r– 1 root root 769 Sep 2 23:56 01autoremove -r–r–r– 1 root root 1936 Sep 25 […]

包装系统坏了。 怎么解决?

我刚刚买了一个arduino并需要gcc-avr / avrdude来编译软件。 我刚刚为另一个微处理器组件安装了avr,但显然是一个过时的版本(gcc版本3.3 20030512(预发布))所以我继续更新这些但它没有用。 (请注意,事先我通过不完整的葡萄酒装置破坏了我的aptdaemon(无法通过字体安装协议)但我通过重新安装然后接受协议来修复它。) 我试图通过运行bingo的构建脚本来更新这些,但由于avr …终端报告,无法安装它所需的依赖项 Reading package lists… Done Building dependency tree Reading state information… Done build-essential is already the newest version. libncurses5-dev is already the newest version. libncurses5-dev set to manually installed. libusb-0.1-4 is already the newest version. libx11-dev is already the newest version. You might want to run ‘apt-get -f […]

如何检查是否已安装软件包(没有超级用户权限)?

在我们的大学,我们几乎可以安装任何我们想要的ubuntu软件包,但我们自己不是超级用户(我们需要请求安装软件包)。 对于某些库,要知道软件包是否已安装并不总是很容易。 有没有简单的方法/命令来检查这个?

什么:错误破碎计数> 0是什么意思?

我有消息: Error Broken count >0 Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f Details: The following packages have unmet dependencies: firefox-globalmenu: Depends: firefox (= 19.0+build1-0ubuntu0.12.04.2) but 19.0+build1-0ubuntu0.12.04.1 is installed 有什么建议?

如何通过命令行安装更新?

当我通过SSH登录我的Web服务器时,我看到了以下信息: 88 packages can be updated. 80 updates are security updates 我尝试了apt-get update然后apt-get upgrade但每次登录时我仍然会看到有关更新的消息。 我该如何安装它们?

如何从包中获取已安装文件的列表?

当我使用包管理器在Ubuntu上安装应用程序时,我想知道在哪里可以找到我安装的应用程序。 我安装了RabbitMQ并运行了locate rabbitmq ,它给了我以下结果: /home/anupamg/.m2/repository/com/rabbitmq /home/anupamg/.m2/repository/com/rabbitmq/amqp-client /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2 /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/_maven.repositories /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.jar /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.jar.lastUpdated /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.jar.sha1 /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.pom /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.pom.lastUpdated /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.pom.sha1 /home/anupamg/Downloads/rabbitmq-server-generic-unix-2.4.0.tar.gz