执行apt-getdist-upgrade时出现“E:Sub-process/usr/bin/dpkgreturnedanerrorcode(1)”,新内核就是不能完成设置,解决办法如下:cd/var/lib/dpkg
mvinfoinfobak;mkdirinfo然后重新来过就没问题了。
分类:
其他好文 时间:
2014-08-26 03:00:06
阅读次数:
197
题目链接You are given an arrayAof sizeN. You are asked to answerQqueries.Each query is of the form :i j xYou need to printYesifxdivides the value returned...
分类:
其他好文 时间:
2014-08-17 14:15:32
阅读次数:
239
Twilight Sparkle was playing Ludo with her friends Rainbow Dash, Apple Jack and Flutter Shy. But she kept losing. Having returned to the castle, Twili...
分类:
其他好文 时间:
2014-08-15 20:56:29
阅读次数:
215
readdir, readdir_r - 读一个目录readdir函数: struct dirent *readdir(DIR*dirp);The data returned by readdir() may be overwritten by subsequent callsto readdi.....
分类:
编程语言 时间:
2014-08-13 22:06:57
阅读次数:
386
08-11 19:22:35.028: W/MemoryDealer(2123): madvise(0x43e16000, 12288, MADV_REMOVE) returned Operation not supported on transport endpoint08-11 19:22:35...
分类:
移动开发 时间:
2014-08-11 21:04:53
阅读次数:
2405
ncurses是字符终端下屏幕控制的基本库,在编译grub时出现如下错误:
/usr/bin/ld:can not find -lncurses
collect2: ld returned 1 exit status
.
首先安装ncurses。
Fedora:
yum install ncurses-devel
Ubantu:
apt-get install libncu...
分类:
其他好文 时间:
2014-08-11 17:48:02
阅读次数:
158
I am having problems with a bit of code that accesses a restful web service. Running this code, it errors out at var httpResponse = (HttpWebResponse)h...
分类:
Web程序 时间:
2014-08-08 20:56:16
阅读次数:
1149
Database returned an invalid value in QuerySet.dates(). Are time zone definitions and pytz installed?错误的解决方法!...
分类:
数据库 时间:
2014-08-05 22:37:00
阅读次数:
250
Database returned an invalid value in QuerySet.datetimes(). Are time zone definitions for your database and pytz installed?
这种问题一般出现在时差配置的问题上
首先错误信息提示是否定义你数据库的时区,是否安装pytz
网络上有说是因为mysql时区的问题,但是修改了貌似...
分类:
数据库 时间:
2014-08-04 21:34:38
阅读次数:
251
当使用gradle时,添加.so和jar包遇到报错:java.lang.UnsatisfiedLinkError: Couldn't load faceppapi: findLibrary returned null解决办法是将build.gradle写成如下形式:apply plugin: 'an...
分类:
移动开发 时间:
2014-07-31 19:43:57
阅读次数:
227