Tag: package management

如何在Ubuntu 12.04.3 LTS上安装Tomcat 7.0.42?

系统管理员给了我一个虚拟机,我通过终端访问。 我有root访问权限,它有Ubuntu 12.04.3 LTS 。 命令apt-cache policy tomcat7通知: tomcat7: Installed: (none) Candidate: 7.0.26-1ubuntu1.2 Version table: 7.0.26-1ubuntu1.2 0 500 http://br.archive.ubuntu.com/ubuntu/ precise-updates/universe amd64 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/universe amd64 Packages 7.0.26-1ubuntu1 0 500 http://br.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages root@mymachine:~# 但是,我想安装最新的Tomcat 7(7.0.42)。 它可行吗? 如果有,怎么样?

为什么Ubuntu会转向Snappy包?

为什么Ubuntu转储.deb包并转移到.snappy包? (至少目前他们正在保留正常发行版的.deb包)。 .deb已经是最受欢迎的包装了。 这给出了关于Snappy包格式是什么的想法。 但是现有的deb包会发生什么? 搬到Snappy有什么明显的优势吗? 值得痛苦吗?

尝试在16.10中安装Steam时,gcc-5-multilib和libc6-dev-x32的未满足依赖关系

以下是尝试在16.10中安装Steam的结果。 sudo apt-get install steam [sudo] password for micah: 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: gcc-5-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed libc6-dev-x32 : Depends: libc6-dev-i386 […]

无法使用apt-get install安装软件:hash sum mismatch并且无法获取错误

我有一台Ubuntu 16.10 64位机器。 当我尝试做sudo apt-get install cmake ,我收到以下错误: After this operation, 20.8 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 cmake amd64 3.5.2-2ubuntu1 [2,779 kB] Err:1 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 cmake amd64 3.5.2-2ubuntu1 Hash Sum mismatch Hashes of expected file: – SHA256:28f7a54d94e32027321460169ddf7c66d627e96a275612e371064192b4f1fe75 – SHA1:be57190df55b20ddfc192570cd225436fa60caf0 [weak] […]

使用apt-get install时出现dpkg错误

我从12.04升级到Ubuntu 14.04,每次我对任何软件包使用apt-get install ,都会因处理一些我的乳胶软件包而出现一堆错误。 包括以下代码段: Sometimes, not accepting conffile updates in /etc/texmf/updmap.d causes updmap-sys to fail. Please check for files with extension .dpkg-dist or .ucf-dist in this directory dpkg: error processing package tex-common (–configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of lmodern: lmodern depends on tex-common (>= […]

如何修复破损的包管理器? “软件指数被打破”

我正在使用Ubuntu 16.04。 我该如何解决以下问题? 软件索引被破坏了 这是您的软件管理系统的主要故障。 请检查带有突触的破损包,检查文件 ‘/etc/apt/sources.list’和。文件的权限和正确性 使用以下命令重新加载软件信息:’sudo apt-get update’和 ‘sudo apt-get install -f’。 除了这个错误之外,我在终端中仍然遇到了与我在上一个问题中尝试安装.rpm软件包时遇到的相同的错误: 为崩溃的安装恢复系统 。 我还收到一条关于过时的PPA和另一个无法进行身份validation的xenial存储库的错误消息。 我根本无法安装任何软件包。 我不能使用apt-get,不能使用gebi安装程序,我甚至无法打开Synaptic包管理器。

安装vlc播放器时出现问题

我无法在我的Ubuntu(14.04)上安装vlc播放器。 我已阅读此内容并尝试运行命令,但在运行此命令时: sudo apt-get install vlc 我有这样的事情: 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 been moved out […]

你能帮我修理破损的包裹吗?

我想从13.04升级到13.10,但是一些破损的软件包阻止了升级成功: grep Broken /var/log/dist-upgrade/apt.log输出: Broken libwayland-client0:amd64 Conflicts on libwayland0 [ amd64 ] ( libs ) (< 1.1.0) Broken libunity9:amd64 Breaks on unity-common [ amd64 ] ( gnome ) (< 7.1.2) Broken cups-filters:amd64 Conflicts on ghostscript-cups [ amd64 ] ( text ) Broken libpam-systemd:amd64 Conflicts on libpam-xdg-support [ amd64 ] ( admin ) Broken libharfbuzz0a:amd64 Breaks […]

命令接受VirtualBox PUEL(用于virtualbox-ext-pack安装)?

我正在创建一个脚本,用于下载和安装某些程序并调整其​​设置,而无需在整个过程中进行交互。 到目前为止这么好,但现在我停留在virtualbox-ext-pack :它停止整个过程并等待VirtualBox PUEL被接受或拒绝(类似于ttf-mscorefonts-installer , steam等)。 对于ttf-mscorefonts-installer , 在这个答案中找到了一个ttf-mscorefonts-installer的解决方案 ,但由于我不熟悉debconf (并且使用gkdebconf进行调查也没有让我更进一步)我不知道什么命令(s )用于安装virtualbox-ext-pack无人值守。

以下软件包具有未满足的依赖项:无法安装任何软件。 Ubuntu 16:04

尝试安装gitlab,VLC,GParted和其他软件包时,我有未满足的依赖项。 openssh-server : Depends: openssh-client (= 1:7.2p2-4) Depends: openssh-sftp-server but it is not going to be installed Recommends: ssh-import-id but it is not going to be installed 对于VLC: vlc : Depends: libgles1-mesa (>= 7.8.1) but it is not going to be installed or libgles1 Depends: libgles2-mesa (>= 7.8.1) but it is not going to be […]