我无法在Linux 16下安装mintupdate 4.5.6-1。
当mintupdate试图将版本4.5.6升级到4.5.6-1版本时,会弹出以下错误:
E: Could not open lock file /var/cache/apt/archives/lock - open (21: Is a directory)
E: Could not open file descriptor -1
E: Unable to lock the download directory
我能做些什么来解决这个问题?
当我试图下载新软件或更新(终端)时,我会收到以下错误.
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - setupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not lock the fi
如何在bitnami星火对接器映像中安装其他软件包:最新版本,附带一个小型版本,
我也不能做苏多秀-
I have no name!@83b7ecb6a567:/opt/bitnami/spark$ apt install iproute2
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
I h
当我尝试用apt或apt安装任何东西(Ubuntu16.04)时,我得到以下信息:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
这是ps aux | grep apt的输出:
root 23906 0.0 0.0 4504
我无法在kali linux中更新msf控制台,我如何解决这个问题?我用了这个命令
apt update; apt install metasploit-framework
得到了这个错误
#E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
在p2.xlarge实例上使用Amazon Linux AMI (2017.03.1),并尝试sudo apt install {somepackage},我得到以下错误:
Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
我已经试过了
sudo rm /var/lib/apt/lists/lock
和
sudo rm /var/cache/apt/archives/lock
我刚加入linux。
但是我在应用程序的安装上有个问题。我使用的是薄荷16。我试过的第一个应用程序已经安装好了,但是在安装其他应用程序时我会收到这个警告。
📷
但我上网了。
我怎么才能修好它?
当我试图通过终端安装时,我得到了这个
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
此外,
我今天有个Linux操作系统。我在终端上玩,下载一些我觉得有趣的东西,但我想我已经运行了一个命令,它破坏了apt-get命令。每当我尝试安装某件东西时,我都会收到一条错误消息:
$ E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
$ E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
没有进程更新任何内容,我已经尝试手动删除锁文件。
我试图使用W
我在试着装奶酪
ubuntu@ubuntu:/usr/src/linux-headers-3.5.0-23-generic$ sudo apt-get install cheese
[sudo] password for ubuntu:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it
我最近安装了Ubuntu12.04,但是现在更新不会安装。这是错误消息:
The following packages have unmet dependencies:
linux-image-generic-lts-saucy: Depends: linux-image-3.11.0-19-generic but it is not installed
我尝试了AskUbuntu答案中列出的几个终端命令,但是得到了:
E: Could not open lock file /var/lib/dpkg/lock - open (13 - Permission denied)
E: unabl
对于debian linux主机(OVH pro),当我运行apt-get install supervisor时,我得到
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
而且,当我运行su时,它会询问一个似乎与我的ftp不同的密码,然后我得到(身份验证失败),我该如何解决这个问题?请
当我试图安装时,使用命令
apt-get install giggle
我收到一条错误消息
sudhanshu@Jai-Hind:~/Shaan/Edu/web Spider$ apt-get install giggle
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
任何人都不知道如何克服这个问题,我是linux新手。
我想检查p线程_mutex_lock函数的使用情况,所以我执行命令man _mutex_lock,结果显示为No _mutex_lock手动条目。我查看了互联网上的信息,并说p线程_mutex_lock提示符有一个No手动条目,需要安装<#>手册-posix-dev。
因此,我准备好安装手册-posix-dev(我执行命令:apt-获取安装手册页-posix-dev),但是E:无法定位包手册页-posix-dev再次提示我。为什么?我在用debian 10系统。
gyz@debian:~$ man pthread_mutex_lock
No manual entry for pt
我只是尝试更新到Ubuntu14.04.5在我的戴尔Inspiron 8600运行Ubuntu12.02 LTS,我收到一个错误,说PAE没有启用。我查看了对在奔腾M系统上启用PAE的支持,但是当我试图运行命令apt-get install linux-image-generic-pae时,我收到了一个错误消息:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/),
我有两个主要问题:
当我打开Synaptic时,它说包linux-image-5.3.0-26-generic坏了。我试图使用按钮Fix破坏包修复它,并删除它。但它给了我这样的信息:
E: linux-image-5.3.0-26-generic: installed linux-image-5.3.0-26-generic package pre-removal script subprocess returned error exit status 1``
我尝试了在其他答案中看到的一些控制台命令,但它们没有工作:
$ sudo apt install -f
E: Could not g
我最近安装了Ubuntu,我一直试图使用apt-get安装一些程序,但它似乎从来都不起作用,甚至apt-get更新也不起作用,下面是我尝试安装一些东西时得到的结果,在本例中:java的jdk-7使用:
apt-get install openjdk-7-jre-headless
我得到的是:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and a
我是一个新的kali Linux用户,在安装kali linux之后,我试图安装git,但是我收到了一条消息,上面写着
E: Could not open lock file/var/lib/dpkg/lock -fronted -open (13: permission denied )
E: are you root ?
我使用的命令:
apt install git
有人能帮我克服这个问题吗?
为了能够安装cURL版本管理器,我正在尝试安装红宝石。
我写这个:
sudo apt-get update && apt-get install curl
得到这个输出:
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the adminis
目录排列
早些时候,我以root用户的身份运行了apt更新和升级,从那时起,这个问题就一直存在。
Running with gitlab-runner 12.3.0 (a8a019e0)
on test runner XXXXXXXX
Using Shell executor...
Running on IP-XX-XXX-XXX-XXX…
Fetching changes with git depth set to 50...
Initialized empty Git repository in /home/gitlab-runner/builds/XXXXXXXX/0/XXXXXXX
当删除未使用的内核(在/boot上腾出空间)时,我得到以下消息:
The following packages were automatically installed and are no longer required:
gnome-mplayer hardinfo libgda-5.0-4 libgda-5.0-common libgmlib1 libgmtk1
libgmtk1-data libmusicbrainz3-6 libwxsqlite3-3.0-0 linux-headers-3.19.0-30
linux-headers-3.19.0-30-generic l
在Ubuntu14.04上,我在运行sudo apt-get install mysql-server时得到了这个错误
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-image-extra-3.19.0-49-generic :
我的azure函数需要一些linux包才能工作,但我不能通过apt-get安装它们,因为我得到错误"sudo command not file“或”( cant not open lock file /var/lib/dpkg/lock - open (13:权限被拒绝)“。 所以我的问题是:有没有可能在没有sudo的情况下安装这些包?即时消息在Azure应用服务中使用Bash (Kudu)
我有一个新的Ubuntu22.04安装。我安装了编译必需品和python3-dev。
当我尝试pip install uwsgi时,我得到了以下输出:
Collecting uwsgi
Using cached uwsgi-2.0.20.tar.gz (804 kB)
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for uwsgi, since package 'wheel' is not installed.
Installing collected pa
我有Vmware工作站播放器15安装卡利Linux 2020.1。
当我试图更新vmware kali时,我得到了以下错误:
Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
我也尝试过sudo rm /var/lib/apt/lists/命令,但是它也不起作用,它给了我这个错误:
rm: cannot remove '/var/lib/apt/lists/': Is a directory.
有什么建议吗?
错误:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
大家好,每当我试图安装某件东西时,我都会收到上面的错误。我在Linux上还是新手,所以我真的不知道发生了什么。我实际上是想安装git。
每当我试图使用apt-get安装安装任何东西时,我都会得到以下错误:
liam@Liam-Tosh-Linux:~$ sudo apt-get install chromium-browser
[sudo] password for liam:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using
我已经看到了这些答案,所以请不要把它们与解决方案联系起来:
我已经为ubuntu16.04添加了所需的存储库
当我运行sudo apt-get install -y mongodb-org时,它会抛出错误:
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
我刚刚从osboxes下载了Debian9.6.0以便在VM上运行它。然而,我遇到了一些问题。
我做不到。好的,你必须先安装它。没问题..。我想。事实证明,对我来说确实有一些。在查找谷歌之后,我发现:
apt-get install sudo -y
最终出现在Could not get lock /var/lib/dpkg/lock - open (11: Resoruce temporarily unavailable和Unable to lock the admin directory /var/lib/dpkg/, is another process using it?中。请记住,我
在Debian11 11/KDE上,当尝试升级包(以及早期的sudo apt-get update )时,它会显示以下错误消息:
Cannot get the exclusive lock on the package backend.
Please close any other legacy packaging tools that may be open.
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process {id} (unattended-upgr)
W: Be aware that rem
我在笔记本电脑上安装双引导系统遇到了一些麻烦。我使用了引导修复,现在这两个系统(Windows 10和Kali Linux2.0)都出现在Grub中。
我的问题是,每当我启动Linux,它就会启动一个终端。我试过检查桌面环境是否仍然安装,但我只得到:
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.
我已经尝试安装Powershell几个小时了。我在root下运行这个程序:
apt update && apt -y install powershell
这是我最后得到的,在它运行和似乎下载。
Package powershell is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package
我目前使用的是ubuntu14.04,我正在尝试下载蒸汽发射器,但当我尝试时,我得到一个屏幕,读。
"The package system is broken
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f"
当我打开细节的时候它会读到。
"The