Don't do that. I have no idea why the wiki says so (I've just fixed it), but setting CCACHEDIR to an appropriate directory is enough to have pbuilder do everything.
I actually believe (because you didn't copied here your pbuilderrc) that CCACHEDIR is not even set to a non-empty value. What you're experiencing is installing a package that pbuilder is trying to remove, it is trying to do this: apt-get install ccache ccache- ending up in refusing to act, of course. Now, if you try with pbuilder >= 0.225.1 you'd see that ccache would be installed, but you wouldn't benefit from it because you're not configuring a target directory. In short, don't do anything special, just set CCACHEDIR to a directory in pbuilderrc and drop any EXTRAPACKAGES=ccache you're setting. ** Changed in: pbuilder (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634685 Title: Cannot install ccache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/1634685/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs