Debian
為什麼提示 No manual entry for pthread_mutex_lockerror?
我想檢查pthread_mutex_lock函式的使用情況,所以我執行命令 man pthread_mutex_lock,結果出現No manual entry for pthread_mutex_lock。我查了網上的資料,說有一個No manual entry for pthread_mutex_lock提示,需要安裝manpages-posix-dev。
於是我準備安裝manpages-posix-dev(我執行命令:apt-get install manpages-posix-dev),但是E: Unable to locate package manpages-posix-dev再次提示我。為什麼?我使用的是debian 10系統。
gyz@debian:~$ man pthread_mutex_lock No manual entry for pthread_mutex_lock gyz@debian:~$ sudo apt-get install manpages-posix-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package manpages-posix-dev gyz@debian:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster gyz@debian:~$ getconf LONG_BIT 64 gyz@debian:~$ cat /proc/version Linux version 4.19.0-9-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07)
sudo apt-get install glibc-doc.