gusty下安装kde4 出错,导致无法升级
-
- 帖子: 33
- 注册时间: 2006-09-14 20:23
gusty下安装kde4 出错,导致无法升级
xx@xx:~$ sudo apt-get install -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package install
kevin@zxq:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
cmake
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
kde-icons-oxygen kdebase-runtime-bin kdebase-runtime-bin-kde4
kdebase-runtime-data kdebase-runtime-data-common
Suggested packages:
kdebase-kde4
The following NEW packages will be installed:
kde-icons-oxygen kdebase-runtime-bin kdebase-runtime-bin-kde4
kdebase-runtime-data kdebase-runtime-data-common
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
Need to get 0B/58.6MB of archives.
After unpacking 87.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
kde-icons-oxygen kdebase-runtime-data-common kdebase-runtime-data
kdebase-runtime-bin-kde4 kdebase-runtime-bin
Install these packages without verification [y/N]? y
(Reading database ... 219465 files and directories currently installed.)
Unpacking kde-icons-oxygen (from .../kde-icons-oxygen_4%3a3.96.0-1ubuntu1~gutsy1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kde-icons-oxygen_4%3a3.96.0-1ubuntu1~gutsy1_all.deb (--unpack):
trying to overwrite `/usr/lib/kde4/share/icons/oxygen/128x128/apps/phonon-xine.png', which is also in package kde4base-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking kdebase-runtime-data-common (from .../kdebase-runtime-data-common_4%3a3.96.0-1ubuntu1~gutsy1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdebase-runtime-data-common_4%3a3.96.0-1ubuntu1~gutsy1_all.deb (--unpack):
trying to overwrite `/usr/lib/kde4/share/icons/crystalsvg/scalable/apps/hwinfo.svgz', which is also in package kde4base-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking kdebase-runtime-data (from .../kdebase-runtime-data_4%3a3.96.0-1ubuntu1~gutsy1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdebase-runtime-data_4%3a3.96.0-1ubuntu1~gutsy1_all.deb (--unpack):
trying to overwrite `/usr/lib/kde4/share/applications/kde4/knetattach.desktop', which is also in package kde4base-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking kdebase-runtime-bin-kde4 (from .../kdebase-runtime-bin-kde4_4%3a3.96.0-1ubuntu1~gutsy1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdebase-runtime-bin-kde4_4%3a3.96.0-1ubuntu1~gutsy1_all.deb (--unpack):
trying to overwrite `/usr/lib/kde4/bin/kdebugdialog', which is also in package kde4base
Unpacking kdebase-runtime-bin (from .../kdebase-runtime-bin_4%3a3.96.0-1ubuntu1~gutsy1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/kdebase-runtime-bin_4%3a3.96.0-1ubuntu1~gutsy1_i386.deb (--unpack):
trying to overwrite `/usr/lib/kde4/bin/kde4-menu', which is also in package kde4base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kde-icons-oxygen_4%3a3.96.0-1ubuntu1~gutsy1_all.deb
/var/cache/apt/archives/kdebase-runtime-data-common_4%3a3.96.0-1ubuntu1~gutsy1_all.deb
/var/cache/apt/archives/kdebase-runtime-data_4%3a3.96.0-1ubuntu1~gutsy1_all.deb
/var/cache/apt/archives/kdebase-runtime-bin-kde4_4%3a3.96.0-1ubuntu1~gutsy1_all.deb
/var/cache/apt/archives/kdebase-runtime-bin_4%3a3.96.0-1ubuntu1~gutsy1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package install
kevin@zxq:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
cmake
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
kde-icons-oxygen kdebase-runtime-bin kdebase-runtime-bin-kde4
kdebase-runtime-data kdebase-runtime-data-common
Suggested packages:
kdebase-kde4
The following NEW packages will be installed:
kde-icons-oxygen kdebase-runtime-bin kdebase-runtime-bin-kde4
kdebase-runtime-data kdebase-runtime-data-common
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
Need to get 0B/58.6MB of archives.
After unpacking 87.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
kde-icons-oxygen kdebase-runtime-data-common kdebase-runtime-data
kdebase-runtime-bin-kde4 kdebase-runtime-bin
Install these packages without verification [y/N]? y
(Reading database ... 219465 files and directories currently installed.)
Unpacking kde-icons-oxygen (from .../kde-icons-oxygen_4%3a3.96.0-1ubuntu1~gutsy1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kde-icons-oxygen_4%3a3.96.0-1ubuntu1~gutsy1_all.deb (--unpack):
trying to overwrite `/usr/lib/kde4/share/icons/oxygen/128x128/apps/phonon-xine.png', which is also in package kde4base-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking kdebase-runtime-data-common (from .../kdebase-runtime-data-common_4%3a3.96.0-1ubuntu1~gutsy1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdebase-runtime-data-common_4%3a3.96.0-1ubuntu1~gutsy1_all.deb (--unpack):
trying to overwrite `/usr/lib/kde4/share/icons/crystalsvg/scalable/apps/hwinfo.svgz', which is also in package kde4base-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking kdebase-runtime-data (from .../kdebase-runtime-data_4%3a3.96.0-1ubuntu1~gutsy1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdebase-runtime-data_4%3a3.96.0-1ubuntu1~gutsy1_all.deb (--unpack):
trying to overwrite `/usr/lib/kde4/share/applications/kde4/knetattach.desktop', which is also in package kde4base-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking kdebase-runtime-bin-kde4 (from .../kdebase-runtime-bin-kde4_4%3a3.96.0-1ubuntu1~gutsy1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdebase-runtime-bin-kde4_4%3a3.96.0-1ubuntu1~gutsy1_all.deb (--unpack):
trying to overwrite `/usr/lib/kde4/bin/kdebugdialog', which is also in package kde4base
Unpacking kdebase-runtime-bin (from .../kdebase-runtime-bin_4%3a3.96.0-1ubuntu1~gutsy1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/kdebase-runtime-bin_4%3a3.96.0-1ubuntu1~gutsy1_i386.deb (--unpack):
trying to overwrite `/usr/lib/kde4/bin/kde4-menu', which is also in package kde4base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kde-icons-oxygen_4%3a3.96.0-1ubuntu1~gutsy1_all.deb
/var/cache/apt/archives/kdebase-runtime-data-common_4%3a3.96.0-1ubuntu1~gutsy1_all.deb
/var/cache/apt/archives/kdebase-runtime-data_4%3a3.96.0-1ubuntu1~gutsy1_all.deb
/var/cache/apt/archives/kdebase-runtime-bin-kde4_4%3a3.96.0-1ubuntu1~gutsy1_all.deb
/var/cache/apt/archives/kdebase-runtime-bin_4%3a3.96.0-1ubuntu1~gutsy1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
- 帖子: 42
- 注册时间: 2006-12-13 22:20
可怜的兄弟。是不是之前装过kde4base?
我这两天也是被这个问题搞得头痛,后来终于解决啦。
我最头痛的问题就是下kde-icons-oxygen这个包,49M,我下了好多遍啊。。。每次要下一个小时,痛苦啊,所以首先你需要备份 /var/cache/apt/archives/ 下所有的deb文件包到你的个人目录,特别是kde-icons-oxygen这个包。
首先,这个问题是老版本的kde4base-data引起的,所以我们要卸载这个包。但是由于之前的设置没有完成,所以会出现很多依赖关系不足的情况,所以直接在shell下用sudo apt-get remove kde4base-data是没用的,我们需要用软件包管理器,就是 Adept Manager 进行这个工作。
打开Adept Manager,在搜索框里面填入kde4base,会找到几个kde4base相关的包,在kde4base-data包上面点右键,选择卸载,应用,等到管理器自动卸载kde4base-data成功就算成功了一半了。
然后进入shell,
sudo apt-get autoclean
清理一下无用的包,这个时候如果你清理过了/var/cache/apt/archives/文件夹的话,把上面备份的都拷贝进来吧。
然后就可以按照 http://kubuntu.org/announcements/kde4-rc1.php 的说明正常进行安装设置KDE4了。
sudo apt-get install kdebase-dev-kde4 kdebase-workspace-dev kdebase-runtime
需要注意的,安装kdm-kde4,设置的时候他问你选择默认的kdm,不要选择kdm-kde4,否则配置的时候会出错。
安装完以后就注销,到登录界面会话选择KDE4来体验一把KDE4 RC1吧。
KDE4可能要重新设置字体,默认的太小了。
我这两天也是被这个问题搞得头痛,后来终于解决啦。
我最头痛的问题就是下kde-icons-oxygen这个包,49M,我下了好多遍啊。。。每次要下一个小时,痛苦啊,所以首先你需要备份 /var/cache/apt/archives/ 下所有的deb文件包到你的个人目录,特别是kde-icons-oxygen这个包。
首先,这个问题是老版本的kde4base-data引起的,所以我们要卸载这个包。但是由于之前的设置没有完成,所以会出现很多依赖关系不足的情况,所以直接在shell下用sudo apt-get remove kde4base-data是没用的,我们需要用软件包管理器,就是 Adept Manager 进行这个工作。
打开Adept Manager,在搜索框里面填入kde4base,会找到几个kde4base相关的包,在kde4base-data包上面点右键,选择卸载,应用,等到管理器自动卸载kde4base-data成功就算成功了一半了。
然后进入shell,
sudo apt-get autoclean
清理一下无用的包,这个时候如果你清理过了/var/cache/apt/archives/文件夹的话,把上面备份的都拷贝进来吧。
然后就可以按照 http://kubuntu.org/announcements/kde4-rc1.php 的说明正常进行安装设置KDE4了。
sudo apt-get install kdebase-dev-kde4 kdebase-workspace-dev kdebase-runtime
需要注意的,安装kdm-kde4,设置的时候他问你选择默认的kdm,不要选择kdm-kde4,否则配置的时候会出错。
安装完以后就注销,到登录界面会话选择KDE4来体验一把KDE4 RC1吧。
KDE4可能要重新设置字体,默认的太小了。
- ljj_jjl2008
- 论坛版主
- 帖子: 14256
- 注册时间: 2007-09-16 8:29
- ljj_jjl2008
- 论坛版主
- 帖子: 14256
- 注册时间: 2007-09-16 8:29
安装成功了,也可以启动,但是下载千里提供提供的语言包,执行cmake时,有错误,提示:
应该如何处理?
代码: 全选
de-l10n-zh_CN-3.96.0$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
CMake Error: The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring done
-
- 帖子: 42
- 注册时间: 2006-12-13 22:20
- ljj_jjl2008
- 论坛版主
- 帖子: 14256
- 注册时间: 2007-09-16 8:29
谢谢,已经解决,安装成功,汉化成功,可应用了,还算稳定,不过不太习惯,暂时只是进去看看,没有实际使用。
现在最大的缺点是基本不能定制状态栏,K菜单也比较难用。
现在最大的缺点是基本不能定制状态栏,K菜单也比较难用。
闻到死太贵, 麦克价更高。 有了笨笨兔, 二者皆可抛。
+ 我的六轮折腾
+ 折腾6轮的结果(对40余种WM的测试和分析,多种DE和WM并存的方案)
+ 折腾的中间成果:可以独立运行的一个Wharf(图标化的启动菜单)
+ 强烈推荐----折腾的终极成果:一个自己开发的DE环境
+ 签名空闲链接位置招租
+ 我的六轮折腾
+ 折腾6轮的结果(对40余种WM的测试和分析,多种DE和WM并存的方案)
+ 折腾的中间成果:可以独立运行的一个Wharf(图标化的启动菜单)
+ 强烈推荐----折腾的终极成果:一个自己开发的DE环境
+ 签名空闲链接位置招租
- ljj_jjl2008
- 论坛版主
- 帖子: 14256
- 注册时间: 2007-09-16 8:29
楼上,我可是一直用kde的,现在用3.5.8,可以设置的很漂亮的。
如下图:说明,左边是一个可以自动隐藏的面板,平时不显示。
如下图:说明,左边是一个可以自动隐藏的面板,平时不显示。
闻到死太贵, 麦克价更高。 有了笨笨兔, 二者皆可抛。
+ 我的六轮折腾
+ 折腾6轮的结果(对40余种WM的测试和分析,多种DE和WM并存的方案)
+ 折腾的中间成果:可以独立运行的一个Wharf(图标化的启动菜单)
+ 强烈推荐----折腾的终极成果:一个自己开发的DE环境
+ 签名空闲链接位置招租
+ 我的六轮折腾
+ 折腾6轮的结果(对40余种WM的测试和分析,多种DE和WM并存的方案)
+ 折腾的中间成果:可以独立运行的一个Wharf(图标化的启动菜单)
+ 强烈推荐----折腾的终极成果:一个自己开发的DE环境
+ 签名空闲链接位置招租
-
- 帖子: 67
- 注册时间: 2007-11-06 20:34