[arch-general] Updating multiple Arch OS's at once

Mark Lee mark at markelee.com
Thu Apr 23 19:02:53 UTC 2015


Salutations,

I wrote a script to update some USB OS's of mine per instance. The idea's that 
multiple instances can be run. The script is located at :
<https://github.com/bluerider/mkportarch/blob/master/update-usb>
However, I get the following error : 

------------
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to synchronize any databases
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck
------------

Those are separate chroot environments so they wouldn't  be sharing 
/var/lib/pacman/db.lck.

Regards,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20150423/927cf22b/attachment-0001.asc>


More information about the arch-general mailing list