Tag: apt

如何通过ssh访问我的Ubuntu手机?

每当我尝试运行apt-get install openssh-server我都会收到以下错误: root@ubuntu-phablet:/home/hablet# apt-get install openssh-server W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt E: The package lists or status file could not be parsed or opened.

跳过获取已配置文件’main / binary-i386 / Packages’作为存储库’xxx’不支持架构’i386′

发出时收到以下错误消息: sudo apt-get update Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [95.8 kB] Ign:2 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 InRelease Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease Hit:4 http://ppa.launchpad.net/canonical-x/vulkan/ubuntu xenial InRelease Hit:5 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 Release Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease Ign:7 http://dl.google.com/linux/talkplugin/deb stable InRelease Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease Ign:9 http://linux.dropbox.com/ubuntu wily InRelease Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease Get:12 http://dl.google.com/linux/chrome/deb stable Release [782 B] Hit:13 http://dl.google.com/linux/talkplugin/deb stable […]

尝试安装phpmyadmin时“无法获取某些存档”

Err http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 194.169.254.10 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main mysql-common all 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main libmysqlclient18 i386 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main mysql-client-core-5.5 i386 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main mysql-client-5.5 i386 5.5.34-0ubuntu0.12.04.1 404 […]

无法在Ubuntu 14.04 64位上安装Skype 4.3

首先,我认为这个问题没有重复,因为我已经尝试了我在这里找到的所有其他解决方案,但没有解决我的问题。 我使用Ubuntu 14.04 64位。 我一直试过直到现在: sudo apt-get install skype – >它没用 。 错误是: The following packages have unmet dependencies: skype : Depends: skype-bin E: Unable to correct problems, you have held broken packages. 我已经尝试了sudo dpkg add-architecture && sudo dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386.deb但它也没有用。 错误是: dpkg: dependency problems prevent configuration of skype: skype depends on libqt4-dbus (>= 4:4.5.3); […]

如何以非交互方式安装apt软件包?

如果我跑: sudo apt-get –yes install postfix 要么 sudo bash -c ‘yes | apt-get –yes install postfix’ 出现交互式提示以配置postfix。 我需要自动安装postfix(我可以在安装后修改配置文件)。 是否有一些魔法可以让我在没有人为干预的情况下安装postfix(和其他软件包)?

如何禁止安装特定的包?

我是否可以将Ubuntu配置为永远不会安装特定的包,即使我安装的另一个包需要它?

如何使用apt安装最新版本的Git?

我读到了Git中的一个安全漏洞,它已在2.2.1版中修复。 我目前在我的系统上使用Git 2.1.0(Ubuntu 14.10),并试图用apt重新安装它。 但是,apt告诉我,我目前有最新版本。 Git网站没有Linux的预建版本。 他们说你可以用包管理器安装它。 如果没有源代码构建,我将如何安装最新版本的Git?

“debconf:DbDriver”config“:config.dat被另一个进程锁定:资源暂时不可用”,同时安装软件包

我正在尝试安装flashybrid但是当我输入apt-get install flashybrid命令时,我收到此错误: root@user-desktop:/home/user# apt-get install flashybrid Reading package lists… Done Building dependency tree Reading state information… Done flashybrid is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. debconf: DbDriver […]

W:GPG错误:http://ppa.launchpad.net exact发布:无法validation以下签名,因为公钥不可用:

当我做sudo apt-get update时,我收到以下错误 W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 6AF0E940624A220 在阅读了各种问题并通过谷歌搜索后,我尝试了以下方法。 我试过了 sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 6AF0E1940624A220 它没有帮助。 我也试过了 sudo gpg –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys 思考端口11371(默认)可能因防火墙而被阻止。 我还尝试按如下方式重置所有内容 sudo rm /var/lib/apt/lists/* -vf sudo apt-get update && sudo apt-get upgrade 我仍然得到相同的错误或获得更新。 我可以尝试其他任何可能的解决方案

找不到最新版Ubuntu的boot-repair软件包

在将Ubuntu 13.10升级到14.04之后,grub无法加载Ubuntu并且symbol ‘grub_term_highlight_color’ not found错误symbol ‘grub_term_highlight_color’ not found 。 我遵循了Bug报告中提供的解决方案,但这对我来说失败了,抛出错误failed to get canonical path of /cow 。 现在,我正在尝试使用这些命令安装Boot-Repair以在现场笔式驱动器上修复此问题。 sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install -y boot-repair && (boot-repair &) 但是在添加和更新存储库之后,它显示了ppa:yannubuntu/boot-repair 404 Not Found错误。 W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found 这个问题是否可以解决,或者是否有替代PPA用于引导修复?