我正在尝试跑步
sudo apt-get install libcairo2-dev libpng12-dev libossp-uuid-dev libfreerdp-dev libpango1.0-dev libssh2-1-dev libssh-dev tomcat7 tomcat7-admin tomcat7-user
当我这样做时,我收到警告
The following packages will be REMOVED: libatk1.0-dev:i386 libcairo2-dev:i386 libfontconfig1-dev:i386 libfreetype6-dev:i386 libgdk-pixbuf2.0-dev:i386 libglib2.0-dev:i386 libgtk2.0-dev:i386 libharfbuzz-dev:i386 libpango1.0-dev:i386 libpixman-1-dev:i386 libxft-dev:i386
The packages there are used for 32bit development and I need them as well. Why does this happen. I though they are meant to be separate and independent especially as they are development libraries.
我之前问过类似的问题,但我不知道这个问题的答案是否相关 -为什么在 64 位系统上安装 32 位软件包时会出现有关删除关键 64 位软件包的警告?
答案1
到目前为止,multiarch 的重点是库的可共同安装性,而不是开发包的可共同安装性;虽然它适用于某些软件包,但在大多数情况下,您最终会遇到您所遇到的情况。
对于跨架构开发,推荐的方法是使用 chroot,可以手动使用debootstrap
和,或者使用或schroot
等工具。sbuild
pbuilder