Tag: apt

在这个特定的场景中使用命令apt-get autoremove是否安全?

我最后一次使用sudo apt-get autoremove ,几乎所有重要的显示驱动程序或部件都被删除了。 这使我对再次使用该命令非常苛刻。 但是,每次我安装或使用apt-get update ,终端都会读取: The following packages were automatically installed and are no longer required: devilspie libturbojpeg:i386 libxrandr-ltsr2 language-pack-kde-en kde-l10n-engb language-pack-kde-en-base libxv1:i386 libllvm3.2 libllvm3.2:i386 linux-generic-lts-raring Use ‘apt-get autoremove’ to remove them. 我尝试了命令clean ,消息停止显示一段时间。 我的问题是它是否可以安全地运行autoremove命令,还是会再次丢失所有内容? 有没有办法检查在这个特定(或任何)情况下使用autoremove是多么安全?

无法在Ubuntu 16.04上安装php5

所以我最近在我的新笔记本电脑上安装了我的第一个Ubuntu,确切地说是每天16.04的版本,因为硬件是新的15.10。 现在我正在设置它,我想安装php5和一些扩展。 当我执行sudo apt-get install libapache2-mod-php5我收到错误消息,说明没有可用于php5和libapache2的安装包。 错误信息是德语,所以我怀疑这会有所帮助,但无论如何它是。 🙂 E: For package »libapache2-mod-php5« existiert kein Installationskandidat. 我是否需要添加apt-get存储库? 或者我做错了什么?

我怎么知道apt-get包中包含哪些程序?

我想知道一些特定的软件包安装的内容,例如,在安装ncurses ,我发现TAB密钥扩展了: sudo apt-get install ncurses- 显示: ncurses-base ncurses-doc ncurses-hexedit ncurses-bin ncurses-examples ncurses-term 我怎么知道ncurses-term installs呢? 我主要对程序感兴趣,但库和任何其他文件类型也可能有用。 如果可能, 命令行方法将是首选( 任何其他方法也被接受)。

丢失/删除dpkg(Debian的包管理器)。 我怎样才能找回来?

操作系统:Ubuntu 12.04 意外删除了dpkg 。 现在,无法安装软件包。 因此,需要安装软件包的dpkg安装程序。

Ubuntu 16.04慢启动(apt-daily.service)

我的靴子非常慢,我不知道为什么。 $ systemd-analyze Startup finished in 10.975s (kernel) + 49.732s (userspace) = 1min 708ms $ systemd-analyze blame 34.971s apt-daily.service 20.590s snapd.refresh.service 17.113s grub-common.service 16.033s apport.service 16.027s networking.service 15.894s ondemand.service 15.860s irqbalance.service 15.655s speech-dispatcher.service 11.695s ModemManager.service 9.772s accounts-daemon.service 8.626s NetworkManager-wait-online.service 8.058s systemd-logind.service 8.053s bluetooth.service 7.944s gpu-manager.service 7.896s alsa-restore.service 7.892s pppd-dns.service 7.882s rsyslog.service 7.860s avahi-daemon.service 7.844s dev-sda1.device […]

如何在不安装某些依赖项的情况下安装软件包?

我正在尝试安装LaTeXila包,输出如下所示: $ sudo apt-get install latexila –no-install-recommends Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: latexila-data latexmk luatex tex-common texlive-base texlive-binaries texlive-common texlive-doc-base texlive-latex-base Suggested packages: rubber texlive-latex-extra debhelper Recommended packages: texlive texlive-latex-recommended texlive-luatex lmodern texlive-latex-base-doc The following NEW packages will be installed: latexila latexila-data […]

如何在16.04上安装Firefox 52 ESR?

这个问题询问如何在保持64位的同时安装FF32位。 我想要更简单的事情:是否有一种规范的方法在我的16.04中安装firefox 52 ESR作为“默认”firefox? 我找到了这个启动板团队 ……但是没有包裹; 鉴于链接的博客文章的历史可以追溯到2012年,这也许就不足为奇了。 那么,2017年,Ubuntu 16.04; 如何安装FF 52 ESR(因为我只需要java插件为我工作)。 (我目前的解决方案:我从mozilla下载了TAR文件,将其解压缩到/ opt;然后将/ usr / bin / firefox更改为火狐的ESR版本的链接。但是很难看)

如何列出我从特定存储库安装的所有软件包?

如何列出我从特定存储库安装的所有软件包? 如何列出Ubuntu主存档中不可用的所有已安装软件包,还可以查看它们来自哪些存储库? (如果我知道这个问题的答案,我可以在特定的PPA名称列表中查找我的第一个问题的答案。)

apt获取更新缺失发布文件

执行apt-get-update后,我总是收到以下错误消息: Reading package lists… Done W: The repository ‘http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu xenial Release’ does not have a Release file. N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. N: Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘http://dl.google.com/linux/chrome/deb stable […]

如何在ubuntu中删除损坏的包

我无法删除破损的包裹。 使用以下命令: sudo apt-get -f install但我得到以下响应: Preparing to unpack …/nodejs_0.10.28-1chl1~trusty1_amd64.deb … Unpacking nodejs (0.10.28-1chl1~trusty1) over (0.10.25~dfsg2-2ubuntu1) … dpkg: error processing archive /var/cache/apt/archives/nodejs_0.10.28-1chl1~trusty1_amd64.deb (–unpack): trying to overwrite ‘/usr/share/man/man1/node.1.gz’, which is also in package nodejs-legacy 0.10.25~dfsg2-2ubuntu1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Processing triggers for man-db (2.6.7.1-1) … Errors were encountered while processing: […]