LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 889|回复: 13

升级到dapper进不了X了?

[复制链接]
发表于 2006-4-10 11:53:23 | 显示全部楼层 |阅读模式
前面好像有个帖子,用gentoo的chroot什么的,我没有什么gentoo,也搞不懂啊, 我有一张debian 的 livecd 不知能不能用阿,请高手能详细解答。
 楼主| 发表于 2006-4-10 14:41:17 | 显示全部楼层
怎么没人给个答案阿?我是从breezy5.10通过修改源后,用apt-get dist-upgrade 升级的
回复 支持 反对

使用道具 举报

发表于 2006-4-10 14:50:43 | 显示全部楼层
你有些包没有装上,就是x的好多驱动,用livecd启动,然后,继续升级之后就好了,我没有livecd,我是用其他的linux   chroot到ubuntu,
如果你的机子上有其他linux,这样进
linux,把你的ubuntu挂在  /mnt/ubuntu
mount -t proc none     /mnt/ubuntu/proc
chroot  /mnt/ubuntu   /bin/bash  
然后
apt-get update
apt-get upgrade
apt-get dist-upgrage
就可以了,要是升级过内核,还要重新显卡驱动
用livecd,原理不多,但我没有cd,不清楚
回复 支持 反对

使用道具 举报

发表于 2006-4-10 14:58:39 | 显示全部楼层
我考虑了一下,用livecd启动,
把ubuntu的分区挂载上
比如
mount   /dev/hda?   /mnt/ubuntu
然后
chroot /mnt/ubuntu  /bin/bash
然后
apt-,,,,,,
试试吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-10 17:20:02 | 显示全部楼层
那我试试再说。先谢谢楼上的那位兄弟!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-10 19:17:49 | 显示全部楼层
sudo chroot /mnt/ubuntu /bin/bash后,apt-get update不成功:
Get:2 http://archive.ubuntu.com dapper Release.gpg [189B]                                             
Get:3 http://archive.ubuntu.com dapper-backports Release.gpg [189B]                                    
Hit http://security.ubuntu.com dapper-security Release                                                     
Hit http://archive.ubuntu.com dapper Release                                                         
Hit http://archive.ubuntu.com dapper-backports Release                                                                     
Hit http://security.ubuntu.com dapper-security/main Packages                                          
Hit http://archive.ubuntu.com dapper/multiverse Packages                                               
Hit http://archive.ubuntu.com dapper/multiverse Sources                                                
Hit http://security.ubuntu.com dapper-security/restricted Packages                                    
Hit http://security.ubuntu.com dapper-security/main Sources                                            
Hit http://archive.ubuntu.com dapper-backports/main Packages                                          
Hit http://archive.ubuntu.com dapper-backports/restricted Packages                                    
Hit http://security.ubuntu.com dapper-security/restricted Sources                                      
Hit http://security.ubuntu.com dapper-security/universe Packages                                       
Hit http://security.ubuntu.com dapper-security/universe Sources                                       
Hit http://archive.ubuntu.com dapper-backports/universe Packages                                       
Hit http://archive.ubuntu.com dapper-backports/multiverse Packages               
Err http://us.archive.ubuntu.com dapper Release.gpg         
Get:2 http://archive.ubuntu.com dapper Release.gpg [189B]                                             
Get:3 http://archive.ubuntu.com dapper-backports Release.gpg [189B]                                    
Hit http://security.ubuntu.com dapper-security Release                                                     
Hit http://archive.ubuntu.com dapper Release                                                         
Hit http://archive.ubuntu.com dapper-backports Release                                                                     
Hit http://security.ubuntu.com dapper-security/main Packages                                          
Hit http://archive.ubuntu.com dapper/multiverse Packages                                               
Hit http://archive.ubuntu.com dapper/multiverse Sources                                                
Hit http://security.ubuntu.com dapper-security/restricted Packages                                    
Hit http://security.ubuntu.com dapper-security/main Sources                                            
Hit http://archive.ubuntu.com dapper-backports/main Packages                                          
Hit http://archive.ubuntu.com dapper-backports/restricted Packages                                    
Hit http://security.ubuntu.com dapper-security/restricted Sources                                      
Hit http://security.ubuntu.com dapper-security/universe Packages                                       
Hit http://security.ubuntu.com dapper-security/universe Sources                                       
Hit http://archive.ubuntu.com dapper-backports/universe Packages                                       
Hit http://archive.ubuntu.com dapper-backports/multiverse Packages               
Err http://us.archive.ubuntu.com dapper Release.gpg         
Could not connect to us.archive.ubuntu.com:80 (216.165.129.138), connection timed out
99% [Connecting to us.archive.ubuntu.com (216.165.129.138)
到这就不动了
回复 支持 反对

使用道具 举报

发表于 2006-4-10 22:59:40 | 显示全部楼层
换一个源试试,可能是源的问题
deb http://ftp.sjtu.edu.cn/sites/ubuntu.org.cn/ubuntu  dapper main restricted
deb-src http://ftp.sjtu.edu.cn/sites/ubuntu.org.cn/ubuntu  dapper main restricted

deb http://ftp.sjtu.edu.cn/sites/ubuntu.org.cn/ubuntu dapper-updates main restricted
deb-src http://ftp.sjtu.edu.cn/sites/ubuntu.org.cn/ubuntu dapper-updates main restricted
deb http://ftp.sjtu.edu.cn/sites/ubuntu.org.cn/ubuntu dapper-security main restricted
deb-src http://ftp.sjtu.edu.cn/sites/ubuntu.org.cn/ubuntu dapper-security main restricted

deb http://ftp.sjtu.edu.cn/sites/ubuntu.org.cn/ubuntu dapper-security universe
deb-src http://ftp.sjtu.edu.cn/sites/ubuntu.org.cn/ubuntu dapper-security universe

deb http://ftp.sjtu.edu.cn/sites/ubuntu.org.cn/ubuntu dapper multiverse
这是我的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-11 09:01:41 | 显示全部楼层
apt-get update好了,apt-get upgrade出现~
root@Morphix:/# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  gstreamer0.8-plugins: Depends: gstreamer0.8-misc (>= 0.8.12) but 0.8.11-0unofficialubuntu3 is installed
  gstreamer0.8-vorbis: Depends: gstreamer0.8-misc (>= 0.8.12) but 0.8.11-0unofficialubuntu3 is installed
E: Unmet dependencies. Try using -f

root@Morphix:/# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gstreamer0.8-misc
The following packages will be upgraded:
  gstreamer0.8-misc
1 upgraded, 0 newly installed, 0 to remove and 533 not upgraded.
717 not fully installed or removed.
Need to get 0B/1253kB of archives.
After unpacking 147kB of additional disk space will be used.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "zh_CN.GBK"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 115268 files and directories currently installed.)
Preparing to replace gstreamer0.8-misc 0.8.11-0unofficialubuntu3 (using .../gstr                                                              eamer0.8-misc_0.8.12-1ubuntu1_i386.deb) ...
Unpacking replacement gstreamer0.8-misc ...
dpkg: error processing /var/cache/apt/archives/gstreamer0.8-misc_0.8.12-1ubuntu1                                                              _i386.deb (--unpack):
trying to overwrite `/usr/lib/gstreamer-0.8/libgstgoom.so', which is also in pa                                                              ckage gstreamer0.8-visuals
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/gstreamer0.8-misc_0.8.12-1ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Morphix:/#
回复 支持 反对

使用道具 举报

发表于 2006-4-11 09:13:29 | 显示全部楼层
Post by gentoofans
apt-get update好了,apt-get upgrade出现~
root@Morphix:/# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  gstreamer0.8-plugins: Depends: gstreamer0.8-misc (>= 0.8.12) but 0.8.11-0unofficialubuntu3 is installed
  gstreamer0.8-vorbis: Depends: gstreamer0.8-misc (>= 0.8.12) but 0.8.11-0unofficialubuntu3 is installed

把有依赖关系的包先卸掉,试试先删除gstreamer0.8-plugins,gstreamer0.8-vorbis这两个包,再升级,说错了,应该是删除gstreamer0.8-misc的那个非官方包,呵呵,自己试试吧,我也是
这么升级过来的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-11 10:14:42 | 显示全部楼层
用apt-get remove命令吗,我试试再说
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表