apt-get install libgoogle-perftools-dev
报错:Depends: libgoogle-perftools0 (= 0.98-1ubuntu1) but 0.8-5.1 is to be installed
说明安装时发现版本不正确,这里偷个懒:
vim /var/lib/dpkg/status
编辑这里面的版本号 改成
Package: libgoogle-perftools-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 1464
Maintainer: Ubuntu MOTU Developers
Architecture: amd64
Source: google-perftools
Version: 0.98-1ubuntu1
Depends: libgoogle-perftools0 (= 0.98-1ubuntu1)
Description: libraries for CPU and heap analysis, plus an efficient thread-caching malloc
阅读(4166) | 评论(0) | 转发(0) |