We had this issue for some time now (cf.
https://phabricator.wikimedia.org/T92491); I found bug #1091137 which
says:

| When the landscape-client runs apt-get update, it can return an error
like this:

| E: Problem renaming the file /var/cache/apt/pkgcache.bin.PGPOhV to 
/var/cache/apt/pkgcache.bin - rename (2: No such file or directory)
| W: You may want to run apt-get update to correct these problems

| This can happen if someone is running apt-get clean, while the update is 
happening. apt-get clean
| removes all pkgcache.bin files, including the temporary ones that apt-get 
update uses
| to rebuild the cache. This error is harmless, since pkgcache.bin should also 
have been
| removed, and thus the next time the cache will be opened the cache will be 
rebuilt.

| I.e, we should ignore the error above as to not cause intermittent alerts in 
the Landscape
| server, that the user can't do anything to resolve.

So my reading is that apt-get clean removes temporary files of another
process, and it shouldn't do that (IMHO).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1366708

Title:
  unattended-upgrade crashed with SystemError in open(): E:Problem
  renaming the file /var/cache/apt/pkgcache.bin.guEChP to
  /var/cache/apt/pkgcache.bin - rename (2: No such file or directory),
  W:You may want to run apt-get update to correct these problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1366708/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to