[Bug 1634685] Re: Cannot install ccache
Mattia Rizzolo
mattia at mapreri.org
Sat Jan 14 16:14:36 UTC 2017
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
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/1634685
Title:
Cannot install ccache
Status in pbuilder package in Ubuntu:
Incomplete
Bug description:
According to
https://wiki.ubuntu.com/PbuilderHowto#Speeding_up_the_package_installation
one may use ccache to speed up the compilation. However,
# pbuilder --create --override-config --components "main restricted
universe multiverse" --extrapackages "ccache"
fails with the error
E: Held packages were changed and -y was used without --allow-change-
held-packages.
The full build log is attached.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: pbuilder 0.223
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: KDE
Date: Wed Oct 19 01:50:36 2016
InstallationDate: Installed on 2016-08-15 (64 days ago)
InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release i386 (20160420.1)
PackageArchitecture: all
SourcePackage: pbuilder
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/1634685/+subscriptions
More information about the foundations-bugs
mailing list