Public bug reported: Since upgrading to Bionic (18.04) our apt-cacher-ng often reports this error in its log: "storage error [503 Inconsistent file state], last errno: File exists"
This results in the client not being served the file in question, and 'apt update' failing. The problem happens especially often with some 'local' repositories, where the 'Release' file sometimes gets cached properly, and moments later, is not available anymore on the next 'apt update' run. And a few minutes later, the file may be available again. Running acng with 'Debug: 7' results in this: Returning to last state, 6 Decoded request URI: http://install/Xenial-16.04-amd64/binary/Release Processing new job, GET http://install/Xenial-16.04-amd64/binary/Release HTTP/1.1 Download started, storeHeader for install/Xenial-16.04-amd64/binary/Release, current status: 1 install/Xenial-16.04-amd64/binary/Release storage error [503 Inconsistent file state], last errno: File exists Response header to be sent in the next cycle: HTTP/1.1 503 Inconsistent file state Content-Length: 145 Content-Type: text/html Date: Thu Apr 25 13:02:08 2019 Server: Debian Apt-Cacher NG/3.1 X-Original-Source: http://install/Xenial-16.04-amd64/binary/Release Connection: Keep-Alive A few minutes later (from the same client, and without restarting acng, it works again: Returning to last state, 6 Decoded request URI: http://install/Xenial-16.04-amd64/binary/Release Processing new job, GET http://install/Xenial-16.04-amd64/binary/Release HTTP/1.1 Download started, storeHeader for install/Xenial-16.04-amd64/binary/Release, current status: 1 Response header to be sent in the next cycle: HTTP/1.1 200 OK Content-Length: 1658 Content-Type: application/octet-stream Date: Thu Apr 25 13:04:30 2019 Server: Debian Apt-Cacher NG/3.1 X-Original-Source: http://install/Xenial-16.04-amd64/binary/Release Connection: Keep-Alive apt policy apt-cacher-ng: apt-cacher-ng: Installed: 3.1-1build1 Candidate: 3.1-1build1 lsb_release -rd: Description: Ubuntu 18.04.2 LTS Release: 18.04 The apt-cacher-ng is running on a virtual machine, with the above configuration. There is plenty of diskspace available. The problem even occurs after removing acng, clearing /var/cache/apt-cacher-ng/, and re- installing the package. ** Affects: apt-cacher-ng (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1826405 Title: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs