You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Failer - Installing Updates

Author (Read 3270 times)

0 Members and 1 Guest are viewing this topic.

Re: Failer - Installing Updates
« Reply #4 on: August 28, 2017, 07:55:10 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8777
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
We should see a significant reduction in the reporting of this error from 3.6 onwards.
 

Re: Failer - Installing Updates
« Reply #3 on: August 28, 2017, 06:54:48 AM »
 

WytWun

  • PayPal Supporter
  • Occasional Poster
  • *****
  • 99
    Posts
  • Reputation: 14
  • Linux Lite Member
    • View Profile

  • CPU: Atom z8300

  • MEMORY: 2Gb

  • VIDEO CARD: Intel integrated

  • Kernel: 5.x
I've seen this happen when Install Updates is run immediately after logging in on startup, while the update check performed as part of startup is still running.  For some reason this is much easier to provoke in VMs than on real hardware for me, though I don't doubt it could happen on real hardware.

I can't recall the original source of the following, but the last time I encountered this I used the following sequence of commands:

Code: [Select]
# to clean up the lock issues, execute the following commands in order
sudo fuser -vki /var/lib/dpkg/lock
sudo fuser -vki /var/cache/apt/archives/lock
sudo fuser -vki /var/cache/debconf/config.dat
sudo dpkg --configure -a

To avoid a repeat, I now run the resource monitor and use its filter function (F4) to show process names containing "apt" (without quotes) and wait until none are shown before running Install Updates.
 

Re: Failer - Installing Updates
« Reply #2 on: August 27, 2017, 06:48:15 PM »
 

penglezos

  • Occasional Poster
  • **
  • 53
    Posts
  • Reputation: 2
    • View Profile

  • CPU: Intel Core i5-5200U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Integrated Graphics
Another resource is using this directory, maybe you have synaptic running? Happened to me couple of times 😁
Completely left Windows for Linux in July 2016.
 

Failer - Installing Updates
« Reply #1 on: August 27, 2017, 10:04:31 AM »
 

hgconrad

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel I5

  • MEMORY: 6Gb

  • VIDEO CARD: Intel
I received this error trying to install updates:

============ Log ===========

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?
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section