CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 10863|回复: 6

lubuntu1.05&1.06 无法更新

[复制链接]
发表于 2014-7-16 22:55:55 | 显示全部楼层 |阅读模式
root@cubier:~# sudo apt-get update
Ign http://ports.ubuntu.com quantal InRelease
Ign http://ppa.launchpad.net quantal InRelease
Ign http://ports.ubuntu.com quantal Release.gpg
Hit http://ppa.launchpad.net quantal Release.gpg
Ign http://ports.ubuntu.com quantal Release
Hit http://ppa.launchpad.net quantal Release
Ign http://ports.ubuntu.com quantal/main Sources/DiffIndex
Hit http://ppa.launchpad.net quantal/main Sources
Ign http://ports.ubuntu.com quantal/universe Sources/DiffIndex
Hit http://ppa.launchpad.net quantal/main armhf Packages
Ign http://ports.ubuntu.com quantal/main armhf Packages/DiffIndex
Ign http://ports.ubuntu.com quantal/universe armhf Packages/DiffIndex
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://ports.ubuntu.com quantal/main Translation-en
Ign http://ports.ubuntu.com quantal/universe Translation-en
Err http://ports.ubuntu.com quantal/main Sources
  404  Not Found
Err http://ports.ubuntu.com quantal/universe Sources
  404  Not Found
Err http://ports.ubuntu.com quantal/main armhf Packages
  404  Not Found
Err http://ports.ubuntu.com quantal/universe armhf Packages
  404  Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-p ... main/source/Sources  404  Not Found

W: Failed to fetch http://ports.ubuntu.com/ubuntu-p ... erse/source/Sources  404  Not Found

W: Failed to fetch http://ports.ubuntu.com/ubuntu-p ... nary-armhf/Packages  404  Not Found

W: Failed to fetch http://ports.ubuntu.com/ubuntu-p ... nary-armhf/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
回复

使用道具 举报

 楼主| 发表于 2014-7-16 23:09:38 | 显示全部楼层
本帖最后由 zixi0007 于 2014-7-17 00:06 编辑

找到原因了,是ubuntu已经没有了部分quantal的更新内容了。
期待老大出一个新的cb2的lubuntu固件。
我把更新源quantal换成了        utopic 就可以了。
vi /etc/apt/sources.list
deb http://ports.ubuntu.com/ubuntu-ports/ utopic main universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ utopic main universe


远程监控摄像头终于也搞定了。

$sudo apt-get install libv4l-dev
$sudo apt-get install libjpeg8-dev
$sudo apt-get install subversion
$sudo apt-get install imagemagick
$sudo apt-get install make

下载mjpg-streamer和编译
$svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer mjpg-streamer
$cd mjpg-streamer/mjpg-streamer
$make USE_LIBV4L2=true clean all
$sudo make DESTDIR=/usr install

开启服务
$mjpg_streamer -i "/usr/lib/input_uvc.so -d /dev/video0  -y -r 320x240 -f 10" -o "/usr/lib/output_http.so -p 8090 -w /usr/www"

浏览器上 输入地址192.168.1.88:8090/?action=steam 来访问实时视频
回复 支持 反对

使用道具 举报

发表于 2014-7-17 18:17:54 | 显示全部楼层
感谢作者
回复 支持 反对

使用道具 举报

发表于 2014-7-18 09:22:02 | 显示全部楼层
先谢谢楼主
换了软件源之后更新出入

W: Failed to fetch http://ppa.launchpad.net/linaro- ... ists/raring/Release  

W: Some index files failed to download. They have been ignored, or old ones used instead.

什么情况楼主
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-7-18 14:04:14 | 显示全部楼层
zhangd_347 发表于 2014-7-18 09:22
先谢谢楼主
换了软件源之后更新出入

我没有发现这个问题,我也不太懂。
期待官方出个新固件吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-7-24 13:39:56 | 显示全部楼层
root@cubier:/# apt-get update
Ign http://ports.ubuntu.com saucy InRelease                              
Ign http://ppa.launchpad.net quantal InRelease                           
Get:1 http://ports.ubuntu.com saucy Release.gpg [933 B]
Hit http://ppa.launchpad.net quantal Release.gpg           
Get:2 http://ports.ubuntu.com saucy Release [49.6 kB]
Hit http://ppa.launchpad.net quantal Release           
Hit http://ppa.launchpad.net quantal/main Sources         
Hit http://ppa.launchpad.net quantal/main armhf Packages
Get:3 http://ports.ubuntu.com saucy/main Sources [1009 kB]
Ign http://ppa.launchpad.net quantal/main Translation-en
Get:4 http://ports.ubuntu.com saucy/universe Sources [6108 kB]
Get:5 http://ports.ubuntu.com saucy/main armhf Packages [1217 kB]              
Get:6 http://ports.ubuntu.com saucy/universe armhf Packages [5495 kB]         
Get:7 http://ports.ubuntu.com saucy/main Translation-en [711 kB]               
Get:8 http://ports.ubuntu.com saucy/universe Translation-en [3885 kB]         
Fetched 18.5 MB in 1min 12s (254 kB/s)                                         
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
root@cubier:/# rm /var/lib/apt/lists/* -vf
removed `/var/lib/apt/lists/lock'
rm: cannot remove `/var/lib/apt/lists/partial': Is a directory
removed `/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_saucy_Release'
removed `/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_saucy_Release.gpg'
removed `/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_saucy_main_binary-armhf_Packages'
removed `/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_saucy_main_i18n_Translation-en'
removed `/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_saucy_main_source_Sources'
removed `/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_saucy_universe_binary-armhf_Packages'
removed `/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_saucy_universe_i18n_Translation-en'
removed `/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_saucy_universe_source_Sources'
removed `/var/lib/apt/lists/ppa.launchpad.net_linaro-maintainers_overlay_ubuntu_dists_quantal_Release'
removed `/var/lib/apt/lists/ppa.launchpad.net_linaro-maintainers_overlay_ubuntu_dists_quantal_Release.gpg'
removed `/var/lib/apt/lists/ppa.launchpad.net_linaro-maintainers_overlay_ubuntu_dists_quantal_main_binary-armhf_Packages'
removed `/var/lib/apt/lists/ppa.launchpad.net_linaro-maintainers_overlay_ubuntu_dists_quantal_main_source_Sources'
root@cubier:/# apt-get update
Ign http://ports.ubuntu.com saucy InRelease                              
Ign http://ppa.launchpad.net quantal InRelease                           
Get:1 http://ports.ubuntu.com saucy Release.gpg [933 B]
Get:2 http://ppa.launchpad.net quantal Release.gpg [316 B]
Get:3 http://ports.ubuntu.com saucy Release [49.6 kB]
Get:4 http://ppa.launchpad.net quantal Release [11.9 kB]
Get:5 http://ppa.launchpad.net quantal/main Sources [19.0 kB]     
Get:6 http://ports.ubuntu.com saucy/main Sources [1009 kB]            
Get:7 http://ppa.launchpad.net quantal/main armhf Packages [42.6 kB]
Ign http://ppa.launchpad.net quantal/main Translation-en         
Get:8 http://ports.ubuntu.com saucy/universe Sources [6108 kB]
Get:9 http://ports.ubuntu.com saucy/main armhf Packages [1217 kB]              
Get:10 http://ports.ubuntu.com saucy/universe armhf Packages [5495 kB]         
Get:11 http://ports.ubuntu.com saucy/main Translation-en [711 kB]              
Get:12 http://ports.ubuntu.com saucy/universe Translation-en [3885 kB]         
Fetched 18.5 MB in 1min 22s (224 kB/s)                                         
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

更新错误解决方法
sudo rm /var/lib/dpkg/status
sudo touch /var/lib/dpkg/status
sudo apt-get update
回复 支持 反对

使用道具 举报

发表于 2014-7-25 16:39:44 | 显示全部楼层
有点紧张更改源的版本后会不会有什么意料不到的问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-23 00:51 , Processed in 0.022509 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部