解决dpkg: ../../src/packages.c:227: process_queue: Assertion `dependtry <= 4' failed
2015-11-17 23:28
441 查看
诡异的这个问题,只要安装npm就会遇到(sudo apt-get install npm):
dpkg: ../../src/packages.c:227: process_queue: Assertion `dependtry <= 4' failed.
E: Sub-process /usr/bin/dpkg exited unexpectedly
网上搜的方法都不能解决,导致git,npm都没法安装,但安装nodejs却没事。
后来发现可能是dpkg的问题,重新安装dpkg就好了:
dpkg: ../../src/packages.c:227: process_queue: Assertion `dependtry <= 4' failed.
E: Sub-process /usr/bin/dpkg exited unexpectedly
网上搜的方法都不能解决,导致git,npm都没法安装,但安装nodejs却没事。
后来发现可能是dpkg的问题,重新安装dpkg就好了:
$ sudo apt-get install dpkg
相关文章推荐
- UISlider
- 王学岗属性动画上(四)------ValueAnimator的应用
- LeetCode Longest Increasing Subsequence DP
- ios8 UITableView设置 setSeparatorInset:UIEdgeInsetsZero不起作用的解决办法
- Lesson2.2 & 2.3 Maya command reference & quick help
- LeetCode303——Range Sum Query - Immutable
- {Effective Java} Quick Guide
- 20151117《Unix环境高级编程》文件apue.h的获取与使用
- Quicksort
- duilib 如果获取listui 当前选择的项GetCursel
- 线段树(updata+query)
- LXC+PBS+集群调度 msg: 'Bad UID for job execution MSG=connection to mom timed out'
- UI Button
- UI_UITextField_UIButton
- Android源码阅读与理解(二):Android系统Build流程详解
- UI基础__ NSMutableAttributedString
- UIAlertController UIAlertAction (UIAlertView, UIActionSheet)(最好)
- 利用UISlider和 UIImageView实现跑图
- UI导航栏(UINavigation)相关属性left\rightButton,导航栏title,系统时间颜色的设置
- Lingo 做线性规划 - Revenue Management