Installed gcc-multilib conflicts with gcc-5-arm-linux-gnueabihf when using --target-arch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
$ snapcraft --target-arch=armhf pull
[...]
Installing build dependencies: binutils-
[...]
g++-multilib is already the newest version (4:5.3.1-1ubuntu1).
g++-multilib set to manually installed.
gcc-multilib is already the newest version (4:5.3.1-1ubuntu1).
gcc-multilib set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gcc-5-
gcc-multilib : Conflicts: gcc-5-arm-
E: Unable to correct problems, you have held broken packages.
I'm logging this to investigate it later because I've seen it before, some time ago, and ended up in this situation again but I don't know how this happened.
The fix (or work-around?) is "sudo apt remove gcc-multilib".