Dpkg安装失败

Warning: port definitions are more than two weeks old, consider updating them by running ‘port selfupdate’.
Warning: The Xcode Command Line Tools don’t appear to be installed; most ports will likely fail to build.
Warning: Install them by running `xcode-select --install’.
—> Computing dependencies for dpkg
—> Cleaning dpkg
—> Scanning binaries for linking errors
—> No broken files found.

xcode是8.2.1的 前几天新电脑来弄了很简单 直接装 因为个人原因重装了系统 然后就一直装不进去了

Xcode Command Line安装了吗?

还有就是你装了如果多个xcode的话,要选择一下