I had the same problem, with apt-get persistently reporting 'Size mismatch' errors when fetching files from a local repository containing .debs naughtily rebuilt without revving the version number.
In my case, my ~/.dput.cf post_upload_command calls 'debarchiver -x', which in turn calls apt-ftparchive, which is generating incorrect size information in the Packages file. The solution was to delete /var/cache/debarchiver/cache.db, which I assume debarchiver tells apt- ftparchive to use. -- Generates incorrect Packages file https://bugs.launchpad.net/bugs/307494 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs