Ok. I confirm this is invalid in MAAS as I have stopped using maas-proxy to test this against and I see this issue in Yakkety:
Reading package lists... Error!
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/yakkety/InRelease rename failed, Stale file handle (/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety_InRelease -> /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_InRelease).
E: Failed to fetch store:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety_main_binary-amd64_Packages.xz rename failed, Stale file handle (/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety_main_binary-amd64_Packages -> /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_main_binary-amd64_Packages).
E: Failed to fetch store:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety_main_i18n_Translation-en.xz rename failed, Stale file handle (/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety_main_i18n_Translation-en -> /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_main_i18n_Translation-en).
E: Failed to fetch store:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_binary-amd64_Packages.xz rename failed, Stale file handle (/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_binary-amd64_Packages -> /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_binary-amd64_Packages).
E: Failed to fetch store:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_i18n_Translation-en.xz rename failed, Stale file handle (/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_i18n_Translation-en -> /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_i18n_Translation-en).
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Problem renaming the file /var/cache/apt/srcpkgcache.bin.zwSNvh to /var/cache/apt/srcpkgcache.bin - rename (116: Stale file handle)
E: Problem renaming the file /var/cache/apt/pkgcache.bin.dbbXqV to /var/cache/apt/pkgcache.bin - rename (116: Stale file handle)
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
Ok. I confirm this is invalid in MAAS as I have stopped using maas-proxy to test this against and I see this issue in Yakkety:
Reading package lists... Error! archive. ubuntu. com/ubuntu/ dists/yakkety/ InRelease rename failed, Stale file handle (/var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_yakkety_ InRelease -> /var/lib/ apt/lists/ archive. ubuntu. com_ubuntu_ dists_yakkety_ InRelease) . var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_yakkety_ main_binary- amd64_Packages. xz rename failed, Stale file handle (/var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_yakkety_ main_binary- amd64_Packages -> /var/lib/ apt/lists/ archive. ubuntu. com_ubuntu_ dists_yakkety_ main_binary- amd64_Packages) . var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_yakkety_ main_i18n_ Translation- en.xz rename failed, Stale file handle (/var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_yakkety_ main_i18n_ Translation- en -> /var/lib/ apt/lists/ archive. ubuntu. com_ubuntu_ dists_yakkety_ main_i18n_ Translation- en). var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_yakkety_ restricted_ binary- amd64_Packages. xz rename failed, Stale file handle (/var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_yakkety_ restricted_ binary- amd64_Packages -> /var/lib/ apt/lists/ archive. ubuntu. com_ubuntu_ dists_yakkety_ restricted_ binary- amd64_Packages) . var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_yakkety_ restricted_ i18n_Translatio n-en.xz rename failed, Stale file handle (/var/lib/ apt/lists/ partial/ archive. ubuntu. com_ubuntu_ dists_yakkety_ restricted_ i18n_Translatio n-en -> /var/lib/ apt/lists/ archive. ubuntu. com_ubuntu_ dists_yakkety_ restricted_ i18n_Translatio n-en). apt/srcpkgcache .bin.zwSNvh to /var/cache/ apt/srcpkgcache .bin - rename (116: Stale file handle) apt/pkgcache. bin.dbbXqV to /var/cache/ apt/pkgcache. bin - rename (116: Stale file handle)
E: Failed to fetch http://
E: Failed to fetch store:/
E: Failed to fetch store:/
E: Failed to fetch store:/
E: Failed to fetch store:/
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Problem renaming the file /var/cache/
E: Problem renaming the file /var/cache/
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
So that seems to be a bug elsewhere