Tag: 适合

如何在Firefox中添加“apt”链接的应用程序?

刚刚安装了Ubuntu 17.10。 aptitude和apturl已安装 但是当我点击apt链接时,我得到的唯一消息是“这个地址不存在”。 Firefox不会问我必须使用哪个应用程序来打开这样的链接。 我的问题是:如何在Firefox和apturl之间建立链接(因为Firefox不会问我该怎么做)?

E:无法找到包git

我正在尝试安装git,我使用了sudo apt-get install git命令,结果如下: E: Unable to locate package git 很多人都问过这个问题,但没有一个答案解决了我的问题,我试过: sudo apt-get update sudo apt-get upgrade Ps:我正在使用ubuntu 14.04

管道apt和grep时发出警告

我正在运行Ubuntu 14.04, apt 1.0.1ubuntu2 for amd64使用apt 1.0.1ubuntu2 for amd64 。 我注意到跑步: sudo apt search lib | grep nss 返回此警告消息: WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts. 并在搜索结果输出后,由grep过滤(这与apt-cache search lib | grep nss获得的结果相同) 这个警告到底是什么意思?

使用通过APT安装的POV-Ray

我通过运行sudo apt-get install povray安装了POV-Ray,但现在每当我运行时: povray Jmol.pov.ini 我收到错误: povray: cannot open the user configuration file /home/fusion809/.povray/3.7/povray.conf: No such file or directory Problem with option setting povray /home/fusion809/Chem Structures/Crystal structures/Jmol.pov.ini Failed to parse command-line option 其中Jmol.pov.ini是ini文件,与其对应的pov文件位于同一目录中,两者都是由Jmol生成的。 我担心我可能愚蠢地删除了我的.povray目录(因为该错误消息中指定的位置不存在该目录)所以我通过运行重新安装了povray: sudo apt-get install povray –reinstall 但不幸的是.povray目录仍然不存在,我仍然得到相同的错误。

ARM ubuntu无法获得某些软件包

我在一个chroot下运行ARM ubuntu,一切似乎都已设置好并且工作正常,但是当我去安装某些软件包时,我最终无法获取错误,这种情况并非发生。 例如,当我尝试安装xfce4时,我得到: Failed to fetch http://ports.ubuntu.com/pool/main/f/fuse/libfuse2_2.9.2-4ubuntu2_armhf.deb 404 Not Found [IP: 91.189.88.140 80] Failed to fetch http://ports.ubuntu.com/pool/main/s/systemd/libsystemd-daemon0_204-0ubuntu15_armhf.deb 404 Not Found [IP: 91.189.88.140 80] Failed to fetch http://ports.ubuntu.com/pool/main/a/apparmor/libapparmor1_2.8.0-0ubuntu30_armhf.deb 404 Not Found [IP: 91.189.88.140 80] Failed to fetch http://ports.ubuntu.com/pool/main/s/systemd/libsystemd-login0_204-0ubuntu15_armhf.deb 404 Not Found [IP: 91.189.88.140 80] Failed to fetch http://ports.ubuntu.com/pool/main/d/dbus/dbus_1.6.12-0ubuntu8_armhf.deb 404 Not Found [IP: 91.189.88.140 80] Failed to […]

如何阻止dist-upgrade删除MariaDB?

在Partial升级中提出了类似的问题- 为什么删除MariaDB? 。 这个问题的答案基本上是表明dist-upgrade是问题所在。 这个问题是询问是否有一些解决方法(或修复)。 有时需要进行dist-upgrade而不仅仅是升级。 我们可以在sources.list(或其他地方)中更改某些内容,告诉Ubuntu不要删除MariaDB吗? marc@db01:~$ dpkg –get-selections | grep mysql libdbd-mysql-perl install libmysqlclient18 install mysql-common install marc@db01:~$ dpkg –get-selections | grep maria libmariadbclient18 install mariadb-client-10.0 deinstall mariadb-client-5.5 install mariadb-client-core-5.5 install mariadb-common install mariadb-server install mariadb-server-10.0 deinstall mariadb-server-5.5 install mariadb-server-core-5.5 install marc@db01:~$ sudo apt-get check Reading package lists… Done Building dependency tree Reading […]

如何检查谁在系统中安装了什么?

我怎么知道: 系统中安装了哪些软件包? 安装它们的用户?

“套餐’docker-ce’在18.04没有安装候选人”

我正在关注Ubuntu上docker-ce 的官方Docker安装指南 。 当我到达sudo apt install docker-ce我得到E: Package ‘docker-ce’ has no installation candidate : $ sudo apt-get update Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease Reading package lists… Done $ sudo apt-get install \ > apt-transport-https \ > ca-certificates \ > curl \ > software-properties-common Reading […]

即使不足够安全,我如何强制16.04添加存储库?

我真的需要安装Nvidia Cuda,但我收到了错误 E: Failed to fetch file:/var/cuda-repo-7-5-local/Release No Hash entry in Release file /var/lib/apt/lists/partial/_var_cuda-repo-7-5-local_Release which is considered strong enough for security purposes 我可以强迫它安装它吗? 我真的需要使用它,即使它不安全。 我怀疑Nvidia将很快更新回购以便与16.04一起工作。

为什么apt-cache这么慢?

从Saucy(13.10)升级到Trusty(14.04)之后,所有的操作都很慢。 即使那些不包括下载任何东西,或连接到任何服务器。 例如,显示apt策略 # time apt-cache policy […] real 0m8.951s user 0m5.069s sys 0m3.861s 大约需要十秒钟! 发出命令后,大部分都是奇怪的延迟。 即使我再次发出相同的命令,它也是一样的。 在另一个系统上它不需要十分之一秒 real 0m0.096s user 0m0.070s sys 0m0.023s 另一个系统更加强大,但在升级之前没有明显的差异。 这与apt-get是一样的,任何与之相关的东西。 我如何找出这种滞后的来源并修复它? 附加信息: # cat /etc/nsswitch.conf # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference’ and `info’ packages installed, try: # […]