Questions tagged [lock]

233 questions
295
votes
6 answers

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)

I'm trying to run this command in the terminal: sudo apt install software-properties-common This is the error message I get: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the…
GoodNite
  • 2,951
60
votes
4 answers

Could not get lock /var/lib/apt/lists/lock

when I try to apt-get update I'm getting the below error, E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/
hari
  • 601
54
votes
7 answers

Folders showing lock icon

Whenever I open my documents, all the folders in it are displayed with a lock icon. Therefore, I cannot delete any file or folder in it. I tried changing the root access using sudo chmod user:directory/ but it fails. I am not able to delete or…
Saket
  • 893
48
votes
6 answers

How to unlock locked session?

I'm using xubuntu 14.04 on AMD based hardware. It is configured not to lock a session and not to power down automatically on longer idle times. There have been no recent changes or new software installations other than notified security updates. I…
user215199
  • 673
  • 2
  • 7
  • 9
47
votes
5 answers

Can't format / delete locked partition from GParted?

I can't format my hard disk for Ubuntu installation. It has Fedora installed in it. I wonder how to unlock the locked partition to delete and format it, since I am stuck at installing Ubuntu. I am now using a live CD to do the task. No options are…
owl
  • 4,991
38
votes
1 answer

'sudo apt-get install' is showing "Not using locking for read only file /var/lib/dpkg/lock" warning on Ubuntu Touch

I just installed Ubuntu Touch on my Nexus 7. Unfortunately I can't install anything from the terminal app: If I enter: sudo apt-get install yasm -y git make g++ build-essential libminiupnpc-dev I get: W: Not using locking for read only lock file…
34
votes
3 answers

How do I unlock /var/lib/dpkg/lock?

I attempted to install dropbox on my Ubuntu system, but now I am unable to install or uninstall any software. I get this error: E: Unable to lock the administration directory /var/lib/dpkg/lock? I have already tried killing dpkg and restarting it…
akp234
  • 443
22
votes
4 answers

How do I enable Scroll Lock?

I need to enable scroll lock so I can toggle lights on my keyboard. This works on Arch.Funny thing it doesn't work on Ubuntu. http://linuxtechie.wordpress.com/2008/04/07/getting-scroll-lock-to-work-in-ubuntu/ $ xmodmap -e ‘add mod3 =…
17
votes
3 answers

Lock and Unlock from USB disk (pendrive)

Is there Any program for locking and unlocking my Ubuntu machine using a flash- drive? For instance, when I take out the usb flash drive, the computer locks automatically and when I put in the flash drive, the computer unlocks automatically. Thank…
17
votes
1 answer

Ubuntu 22.04 won't wake after screen lock / screen dim

I have a fresh installation of Ubuntu 22.04 and it won't wake after screen lock. This is true for both, X11 and Wayland (also disabling Wayland for gdm3 doesn't help). System suspend works fine, only screen-lock or screen dim cause the system to…
Leszek
  • 3,209
15
votes
4 answers

iOS 7 Locked Bug via Ubuntu 13.10

I wanted to bring up an issue with the latest Ubuntu release that I hope can be solved. Although I will agree with the community that iOS 7 is not the most open platform release, it still is my desire to be able to grab Photos, Music, and Files off…
15
votes
2 answers

Lock Tmux Session With Vlock

I have just installed tmux and vlock. When I try to perform the lock-session command, my terminal flashes and then nothing happens. Is there something in my .tmux.conf that must be added to tell tmux that I have a locking utility? If so, what is…
kzh
  • 866
15
votes
4 answers

Unable to use package manager due to "exclusive lock" error

My synaptic package manager in ubuntu is giving error: Unable to get exclusive lock This usually means that another package management application(like apt-get or aptitude) is already running. Please close that application first.
dashingvimeet
  • 151
  • 1
  • 1
  • 3
13
votes
2 answers

How to disable the lock screen on Lubuntu?

I want to disable the lock screen after suspend session of Lubuntu. But it seems Lubuntu doesn't have a lot of fans. Can anyone help me on this issue? I don't want to lock the screen after suspension. Does anyone know which file deals this locking…
13
votes
6 answers

Lubuntu enforces screen lock

I can't disable screen lock in Lubuntu. In Power management I have it unchecked. There is another option "Enable light locker" in the "Light locker settings". I also have this unchecked but I still see black screen after 10 minutes and when I move…
user568021
  • 584
  • 3
  • 7
  • 23
1
2 3
15 16