Tag: apt

如何降级smbclient

我正在尝试降级smbclient,因为不再使用backuppc。 我已按照本文中的说明如何降级Ubuntu上的软件包? 但它似乎没有用。 我跑了 sudo apt-cache showpkg smbclient sudo apt-get install smbclient=2:4.1.6+dfsg-1ubuntu2 但这没有任何作用。 smbclient版本仍然是版本4.3.9-Ubuntu。 我试过清除smbclient然后重新安装。 这导致未满足的依赖性。 vagrant@vagrant-ubuntu-trusty-64:~$ sudo apt-get install smbclient=2:4.1.6+dfsg-1ubuntu2 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 […]

在较新的Ubuntu上从旧版本的存储库安装软件包

针对Ubuntu 11.10的Snmpd存在一些问题,所以我想从Ubuntu 10.04 lucid存储库安装snmpd。 如何才能做到这一点?

apt-get命令因libpython3.3 unmet依赖而失败

操作系统:Ubuntu 14.04,amd_x64。 apt-get命令如install,remove和purge失败,错误与下面所示相同 但是update和clean等命令工作正常。 不确定如何解决问题。 看看我的终端会议。 $ sudo apt-get install –reinstall lightdm Reading package lists… Building dependency tree… Reading state information… You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: libpython3.3 : Depends: python3.3 (= 3.3.6-1+trusty1) but 3.3.2-7ubuntu4 is to be installed E: Unmet dependencies. Try ‘apt-get […]

PostgreSQL 9.4在安装过程中挂起“删除过时的字典文件:”

美好的一天。 我试图在Ubuntu服务器(15.04)64位上安装PostgreSQL。 我检查/更新了sources.list并运行: # apt-get update 其次是: # apt-get install postgresql 安装开始,直到“删除过时的字典文件:”它挂起: #apt-get install postgresql 阅读包裹清单……完成 构建依赖树 阅读国家信息……完成 将安装以下额外包: libpq5 postgresql-9.4 postgresql-client-9.4 postgresql-client-common postgresql-common ssl-cert 推荐套餐: postgresql-doc oidentd ident-server locales-all postgresql-doc-9.4 openssl-blacklist 将安装以下新软件包: libpq5 postgresql postgresql-9.4 postgresql-client-9.4 postgresql-client-common postgresql-common ssl-cert 0升级,7新安装,0删除,0未升级。 需要获得3,934 kB的档案。 执行此操作后,将使用16.3 MB的额外磁盘空间。 你想继续吗? [Y / N] 获取:1 http://mirror.hetzner.de/ubuntu/packages/ vivid-updates / main libpq5 […]

在存储库之外更新

我们假设,我有一个应用程序(称为abc),即在当前存储库中,版本1.0。 所以我今天在互联网上找到了新闻’BREAKING:abc 1.5版发布,IT修复一切’,每个人都疯了。 当然,我想尝试一下。 如果我下载一个deb文件并立即安装abc 1.5(并假设没有依赖性问题),那么当版本1.5或1.6进入存储库时,这将如何影响我的系统? 我是否仍然可以正常更新存储库,或者那个软件然后以某种方式奇怪地“切出”? 奇怪的问题,我希望有人理解。

Freshlight PPA的软件更新程序“404 Not Found”错误

我正在使用Ubuntu 16.04。 当我运行软件更新程序时,它检查更新,最后给出错误Failed to download repository information, check your internet connection 。 但是,如果单击左下角的“设置”按钮,然后关闭打开的新GUI,则软件更新程序将显示可更新软件的列表(如果有),这通常是预期的。 这种情况在过去的几个月里一直在发生。 运行sudo apt update似乎会出现以下错误: Err:8 http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial Release 404 Not Found Get:9 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] Reading package lists… Done E: The repository ‘http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial Release’ does not have a Release file. N: Updating from such a repository can’t be done […]

dpkg:error handling包mail-stack-delivery

在安装这个mail-stack-delivery我想清除配置文件并重新开始,但似乎已经破坏了它: thufir@mordor:~$ thufir@mordor:~$ sudo dpkg –configure -a Setting up mail-stack-delivery (1:2.2.18-2ubuntu2) … grep: /etc/dovecot/conf.d/10-ssl.conf: No such file or directory grep: /etc/dovecot/conf.d/10-ssl.conf: No such file or directory ln: failed to create symbolic link ‘/etc/dovecot/private/dovecot.pem’: No such file or directory dpkg: error processing package mail-stack-delivery (–configure): subprocess installed post-installation script returned error exit status 1 Errors were […]

如何在Ubuntu 14.04上添加Red5后台启动?

我按照这里的说明通过tarball手动安装red5 ,因为apt-get不适用于Ubuntu 14.04: Ubuntu Trusty red5-server安装无法启动 即使手动安装依赖项,服务器也总是会失败。 red5服务器现在可以工作,但终端必须打开并挂在那里。 我需要一个启动脚本来在后台运行该过程。 这里的对话: http : //chat.stackexchange.com/rooms/29197/discussion-between-umi-and-pl-rock 我跟着,但它不能正常工作。 结果是: 在init.d/red5我有两行 – start on filesystem & exec /bin/bash /usr/share/red5.sh 。 update rc.d red5 defaults返回: missing LSB information sudo service red5 stop返回: stop: Unknown instance sudo service red5 start返回: red5 stop/waiting

/ usr / bin / dpkg在删除和安装损坏的软件包时返回错误

我试图删除不稳定的openoffice并重新安装libreoffice然而我在清除它之前意外删除了/opt下的openoffice目录。 现在我无法清理损坏的包,也无法删除/安装libreoffice 。 apt-get -f install不能用于错误: …. Errors were encountered while processing: /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu2_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 我按照如何通过dpkg手动删除包来修复损坏的包 ,但它没有将其删除干净。 同样的问题仍然存在。 我有无法满足的依赖关系,我无法清理或向上移动: dpkg: error processing package libreoffice-calc (–configure): dependency problems – leaving unconfigured Errors were encountered while processing: libreoffice-java-common libreoffice-sdbc-hsqldb libreoffice-core python3-uno libreoffice-math libreoffice-impress libreoffice-writer libreoffice-base-core libreoffice-gnome libreoffice-base libreoffice-sdbc-firebird libreoffice-report-builder-bin libreoffice-pdfimport libreoffice-avmedia-backend-gstreamer […]

升级Ubuntu 18.04时出现dpkg错误(1)

这是apt-get upgrade输出: Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 6 not fully installed or removed. After this operation, 0 B of additional disk space will be […]