On Wednesday, December 6, 2017 at 5:15:25 PM UTC+2, Unman wrote:
> On Wed, Dec 06, 2017 at 06:02:01AM -0800, [email protected] wrote:
> > 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?
> > 
> 
> In my experience it isnt updating the system. You could check this with
> ps aux|grep apt . That's why I said "stale lock file"
> (This is with a built Debian9, not an upgraded 8)
> 
> Op could of course, just start a template and see if it updates
> automatically. It shouldn't.

Sorry, I didn't notice the stale part. I am using an upgraded 8 to 9 Debian and 
in my case it is actually updating. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/79e1e9dc-8021-47af-99b2-a33048b8d405%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to