Tag: apt

更新存储库不起作用

当我运行sudo apt-get update获取此输出时: sudo apt-get update E: Type ‘<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/playonlinux.list E: The list of sources could not be read. Ubuntu软件中心也没有开通。

MySQL Workbench菜单显示加倍

我使用Software Center在Ubuntu 14.04 LTS中安装了mysql-workbench 。 它安装了MySQL Workbench 6.0.8版。 在这里,菜单加倍 所以我决定升级MySQL Workbench。 我添加了MySQL官方网站提供的存储库并对其进行了升级。 sudo apt-get install mysql-workbench-community 现在MySQL Workbench版本是 菜单仍然是重复的。 我该如何解决这个问题? 编辑: 这里问了同样的问题而没有任何答案: Ubuntu 14.10中的MySQL Workbench GUI问题

升级Firefox失败。 lzma错误:压缩数据已损坏

Firefox因下载损坏而无法更新(deb) Preparing to unpack …/firefox_32.0+build1-0ubuntu0.14.04.1_i386.deb … Unpacking firefox (32.0+build1-0ubuntu0.14.04.1) over (31.0+build1-0ubuntu0.14.04.1) … dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt dpkg-deb: error: subprocess returned error exit status 2 dpkg: error processing archive /var/cache/apt/archives/firefox_32.0+build1-0ubuntu0.14.04.1_i386.deb (–unpack): cannot copy extracted data for ‘./usr/lib/firefox/libxul.so’ to ‘/usr/lib/firefox/libxul.so.dpkg-new’: unexpected end of file or stream Please restart all running […]

列出当前安装的软件包的所有建议软件包

每次我安装一个包: sudo apt-get install apt-get显示建议的包列表。 到目前为止,我只是忽略了这些,但其中一些建议实际上是好的(有些则不是)。 我想将所有这些列表恢复到一个大的列表中(以便我可以查看它并确定是否有一些我想要安装的软件包),但我在/var/log/apt/history.log中看不到它们。 也就是说,我正在寻找类似的东西 list = [] for package in installed_packages: list.append(package.name) print list

“无法validation以下签名,因为公钥不可用:NO_PUBKEY 16126D3A3E5C1192”

$ sudo apt-get update W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com maverick Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192 W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release W: Some index files failed […]

dpkg:不可恢复的致命错误,中止:包’linux-generic’的文件列表文件缺少最终换行符

Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following packages will be upgraded: apt apt-transport-https apt-utils dpkg libapt-inst2.0 libapt-pkg5.0 ntpdate oracle-java8-installer oracle-java8-set-default thermald 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/4,389 kB of archives. After this operation, 8,192 B […]

运行sudo apt-get -f install时出错

我正在尝试删除一个包: sudo apt-get remove pgbouncer但是后来我收到了以下错误: 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: linux-server : Depends: linux-image-server (= 3.2.0.44.53) but 3.2.0.45.54 is to be installed Depends: linux-headers-server (= 3.2.0.44.53) but 3.2.0.45.54 is to be installed […]

这个突触错误信息是什么意思?

我在Synaptic Manager中更新后得到它 我最近从16.10开始干净安装了Ubuntu 17.04。 错误信息:- W: Download is performed unsandboxed as root as file ‘/var/cache/apt/archives/partial/samba-libs_2%3a4.5.8+dfsg-0ubuntu0.17.04.1_i386.deb’ couldn’t be accessed by user ‘_apt’. – pkgAcquire::Run (13: Permission denied)

下载失败:未安装Oracle JDK 7

当我尝试安装某些东西时,它会给我这个错误: HTTP request sent, awaiting response… 403 Forbidden 2014-04-23 09:32:53 ERROR 403: Forbidden. download failed Oracle JDK 7 is NOT installed…….. 但我安装了Oracle JDK 7: mostafa@mostafa-EP31-DS3L:~$ sudo update-alternatives –config java 0 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 auto mode 1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode \* 2 /usr/lib/jvm/java-7-oracle/jre/bin/java 1 manual mode Press enter to keep the current choice[*], or type selection […]

Ubuntu 12.04上出现’sudo apt-get update’错误

当我输入sudo apt-get update我得到了这个: mohd-arafat-hossain@TUD:~$ sudo apt-get update [sudo] password for mohd-arafat-hossain: Ign http://bd.archive.ubuntu.com precise InRelease Ign http://bd.archive.ubuntu.com precise-updates InRelease Ign http://bd.archive.ubuntu.com precise-backports InRelease Ign http://bd.archive.ubuntu.com precise Release.gpg Ign http://bd.archive.ubuntu.com precise-updates Release.gpg Ign http://bd.archive.ubuntu.com precise-backports Release.gpg Ign http://bd.archive.ubuntu.com precise Release Ign http://bd.archive.ubuntu.com precise-updates Release Ign http://bd.archive.ubuntu.com precise-backports Release Ign http://extras.ubuntu.com precise InRelease Ign http://ppa.launchpad.net precise InRelease […]