Start package manager如下
Could not initialize the package information
An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message:
'E:Type 'unchpad.net/danielrichter2007/grub-customizer/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/danielrichter2007-grub-customizer-maverick.list'
start package manager 如下:
E: Type 'unchpad.net/danielrichter2007/grub-customizer/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/danielrichter2007-grub-customizer-maverick.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
Help ! 请帮我看看,我不能更新了,因为装了Grub-customizer, 我想卸载掉他,求解,谢谢了!
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 4
- 注册时间: 2010-12-19 17:55
- astolia
- 论坛版主
- 帖子: 6447
- 注册时间: 2008-09-18 13:11
Re: Help ! 请帮我看看,我不能更新了,因为装了Grub-customizer, 我想卸载掉他,求解,谢谢了!
估计你是用vi编辑/etc/apt/sources.list.d/danielrichter2007-grub-customizer-maverick.list时没弄好,把这个文件删掉就可以了
-
- 帖子: 4
- 注册时间: 2010-12-19 17:55
Re: Help ! 请帮我看看,我不能更新了,因为装了Grub-customizer, 我想卸载掉他,求解,谢谢了!
确实,我在安装apt add repository 后,应该是 apt-get update ,结果不成功,我就直接 install 了。后来就出现了不能更新,不能打开software centre . 后来我就copy 了代码 ,想把这个源删掉。所有的源我都删掉了,还是没结果。我确实是菜鸟,不懂乱弄,给自己找了麻烦。后悔之。待我找到办法再回复。谢谢。
-
- 帖子: 4
- 注册时间: 2010-12-19 17:55
Re: Help ! 请帮我看看,我不能更新了,因为装了Grub-customizer, 我想卸载掉他,求解,谢谢了!
有直接明了的办法告诉我下,具体问题如下:
Distribution: Ubuntu 10.10 maverick
Application: Ubuntu Tweak 0.5.8
Desktop: gnome
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/ubuntutweak/mainwindow.py", line 425, in setup_notebook
page = module()
File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
self.update_list()
File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
PACKAGE_WORKER.update_apt_cache(init=True)
File "/usr/lib/python2.6/dist-packages/ubuntutweak/common/package.py", line 216, in update_apt_cache
self.cache = apt.Cache()
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 88, in __init__
self.open(progress)
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 130, in open
self._list.read_main_list()
SystemError: E:Type 'unchpad.net/danielrichter2007/grub-customizer/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/danielrichter2007-grub-customizer-maverick.list
Distribution: Ubuntu 10.10 maverick
Application: Ubuntu Tweak 0.5.8
Desktop: gnome
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/ubuntutweak/mainwindow.py", line 425, in setup_notebook
page = module()
File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
self.update_list()
File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
PACKAGE_WORKER.update_apt_cache(init=True)
File "/usr/lib/python2.6/dist-packages/ubuntutweak/common/package.py", line 216, in update_apt_cache
self.cache = apt.Cache()
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 88, in __init__
self.open(progress)
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 130, in open
self._list.read_main_list()
SystemError: E:Type 'unchpad.net/danielrichter2007/grub-customizer/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/danielrichter2007-grub-customizer-maverick.list
-
- 帖子: 4
- 注册时间: 2010-12-19 17:55
Re: Help ! 请帮我看看,我不能更新了,因为装了Grub-customizer, 我想卸载掉他,求解,谢谢了!
谢谢你 ,我解决了。删除了。