On Wednesday, December 6, 2017 at 3:58:57 PM UTC+2, Unman wrote: > On Tue, Dec 05, 2017 at 10:33:19AM +0100, cubit wrote: > > Hello Qubers, > > > > I am having problems with a Debian 9 template on Qubes R3.2 > > > > The Debian 9 template is an upgraded Debian 8 from the repos as there is no > > prebuilt D9 yet. Each time I try to update it from Qubes VM Manager it > > fails the first time every time with error > > > > Reading package lists... Done > > E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource > > temporarily unavailable) > > E: Unable to lock directory /var/lib/apt/lists/ > > Done. > > Press Enter to shutdown the template, or Ctrl-C to just close this window. > > > > The only way to get around this is to shutdown the template and immediately > > try an update again. > > > > Starting it up again, it it is very slow to connect, sitting at "0% > > [Working]" for up to a minute before connecting to the repos and then > > slowly goes thorugh them. > > > > Any person know how to fix this so it updates first time with out problems? > > > > Cubit > > > > This has been mentioned before - it isnt really a Qubes issue because it > can be seen on a vanilla Debian install. > > It isnt neccessary to shtdown the template - have you tried simply > clearing the stale lock file? 'sudo rm /var/lib/apt/lists/lock ' should > do it.
Is deleting the lock file a good idea? Since it is actually using apt and updating the system? -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/b99e9dac-b12c-4555-a539-c9acb4dfca47%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.