ubuntu 无法更新问题

在学习 linux 多线程  是想要查找  pthread_rwlock_init()  函数时 : man  pthread_rwlock_init  

 问题:No manual entry for pthread_rwlock_init 

于是找了方法:

sudo apt-get install manpages-posix-dev  来自博客:http://blog.csdn.net/flyqwang/article/details/7855695
但是问题: {  apt-get install manpages-posix-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  debugedit librpmbuild3 librpmsign1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  manpages-posix
The following NEW packages will be installed:
  manpages-posix manpages-posix-dev
0 upgraded, 2 newly installed, 0 to remove and 723 not upgraded.
Need to get 2,291 kB of archives.
After this operation, 6,459 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://cn.archive.ubuntu.com/ubuntu/ trusty/multiverse manpages-posix all 2.16-1
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com/ubuntu/ trusty/multiverse manpages-posix-dev all 2.16-1
  Could not resolve 'cn.archive.ubuntu.com'
E: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/multiverse/m/manpages-posix/manpages-posix_2.16-1_all.deb  Could not resolve 'cn.archive.ubuntu.com'
E: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/multiverse/m/manpages-posix/manpages-posix-dev_2.16-1_all.deb  Could not resolve 'cn.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
}
解决:
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值