Fixed Ubuntu apt-get update issue

520阅读 0评论2014-07-31 weilanse
分类:LINUX

Problem :
    root@ubuntu:~# apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
         default-jre : Depends: default-jre-headless (= 1:1.6-43ubuntu2) b
    E: Unmet dependencies. Try using -f.

Fixed :
   using following command, force to dist-upgrade
   apt-get -o APT::Immediate-Configure=false -f dist-upgrade


上一篇:Install Windows 7 on MacBook Air via USB disk
下一篇:Convert Chinese character in svn URL