Tag: apt

update-alternatives:错误:/ var / lib / dpkg / alternatives / vim corrupt:无效状态

每当我尝试使用apt-get进行安装,更新或执行任何操作时,我总会得到类似于此的错误消息,关注vim: 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up vim (2:7.3.154+hg~74503f6ee649-2ubuntu3.1) … update-alternatives: error: /var/lib/dpkg/alternatives/vim corrupt: invalid status dpkg: error processing vim (–configure): subprocess […]

maas / stable / ubuntu xenial存储库没有Release文件

当我在安装了MAAS的Ubunutu 16.04 LTS服务器上运行sudo apt update ,我收到以下错误消息: graeme@MAAS:~$ sudo apt update Hit:1 http://gb.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease Ign:3 http://ppa.launchpad.net/maas/stable/ubuntu xenial InRelease Hit:4 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease Err:5 http://ppa.launchpad.net/maas/stable/ubuntu xenial Release 404 Not Found Hit:6 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease Reading package lists… Done E: The repository ‘http://ppa.launchpad.net/maas/stable/ubuntu xenial Release’ does not have a Release file. N: Updating […]

在Ubuntu 18.04中打包php7.2-mbstring unmet依赖项

尝试为mediawiki安装程序安装php-mbstring 。 在第一次尝试Universe存储库后添加: 在Ubuntu 18.04中缺少软件包php7.2-mbstring 但是给我带来的困难在这里详情: usertilo@myserver4:~$ sudo apt-get install php-mbstring 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 […]

dpkg-deb:错误:子进程粘贴被信号杀死(断管)

软件最新选项自动下载GIMP的upgarde。 但在安装它时给了我错误。 如何升级相同 Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following extra packages will be installed: gimp Suggested packages: gimp-help-en gimp-help libgimp-perl gimp-gap gimp-console The following packages will be upgraded: gimp 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 […]

清除并重新安装后apache2无法启动

首先 – 我已经看过并尝试了几种方法,包括https://askubuntu.com/questions/94805/apache-server-not-starting/ 我正在使用Ubuntu 14.04 64位 我在serverfault使用了一个回答 sudo服务apache2停止 sudo apt-get –purge删除apache2 sudo apt-get删除apache2-common sudo apt-get autoremove where apache2(给3个地点) sudo rm -rf / etc / apache2 sudo rm -rf / usr / sbin / apache2 sudo rm -rf / usr / lib / apache2 我做到了 sudo apt-get -y install apache2 – 说它是最新版本 所有conf文件都在/ etc / apache2 […]

我不能使用apt-get update

我在虚拟盒上有Ubuntu 13.04服务器 ,它使用2GB内存和20GB空间。 它是新安装的,我不能使用apt-get update。 我在Ubuntu 12.10服务器上尝试过相同但它仍然无效。 每次我输入apt-get update我都会得到 0% [Connecting to ca.archive.ubuntu.com (91.189.92.202)] [Connecting to security.ubuntu.com (91.189.91.15)] 然后挂起大约20分钟,然后显示 Err http://security.ubuntu.com raring-security Release.gpg Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8c01::1a). – connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::1a 80] Err http://ca.archive.ubuntu.com raring Release.gpg Cannot initiate the connection to ca.archive.ubuntu.com:80 (2001:67c:1360:8c01::1a). – connect (101: Network is […]

Avant Window Navigator适用于Ubuntu 14.04吗?

我想在Ubuntu 14.04上安装avant-window-navigator。 我尝试通过以下命令安装: sudo add-apt-repository ppa:awn-testing/ppa sudo apt-get update sudo apt-get install avant-window-navigator 但sudo apt-get update获取错误: W: Failed to fetch http://ppa.launchpad.net/awn-testing/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found 和sudo apt-get install avant-window-navigator获取错误: E: Unable to locate package avant-window-navigator 那么,AWN在任何新的PPA上都可用于14.04吗? 或者我应该避免安装avant-window-navigator?

由于GPG错误无法更新我的系统Clearsigned文件无效,得到’NODATA’

我无法更新…… 我一直试图解决这个问题一段时间……我发现的唯一方法是重新安装Ubuntu … sudo apt-get update -o Debug::Acquire::http=true 0% [Connecting to mirror.bytemark.co.uk (212.110.161.69)] [Connecting to archivGET /ubuntu/dists/trusty/InRelease HTTP/1.1 Host: archive.canonical.com Cache-Control: max-age=0 Accept: text/* Range: bytes=213- If-Range: Mon, 02 Jun 2014 21:50:58 GMT User-Agent: Debian APT-HTTP/1.3 (1.0.1ubuntu2) 0% [Connecting to mirror.bytemark.co.uk (212.110.161.69)] [Waiting for headers]GET /ubuntu/dists/trusty/InRelease HTTP/1.1 Host: mirror.bytemark.co.uk Cache-Control: max-age=0 Accept: text/* Range: bytes=213- […]

重新安装Ubuntu 13.10后无法添加任何PPA

重新安装Ubuntu 13.10后,我无法添加任何PPA。 这是它说的: michael@MikesKomputer:~$ sudo add-apt-repository ppa:atareao/atareao Cannot add PPA: ‘ppa:atareao/atareao’. Please check that the PPA name or format is correct. 据我所知,此存储库正在运行。 问题是我无法添加任何新的存储库。 即使我可以使用软件中心,我的系统也无法使用add-apt-repository命令。

如何让Chromium与xdg-open打开链接?

我安装了这个扩展程序,因为我想用xdg-open在Chromium中点击的apt链接。 我看过这个帮助页面但没有成功。 我怎样才能做到这一点?