设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Debian Linux
›
依赖关系求助!
返回列表
查看:
780
|
回复:
5
依赖关系求助!
[复制链接]
dajun
dajun
当前离线
积分
511
IP卡
狗仔卡
发表于 2007-6-2 09:32:44
|
显示全部楼层
|
阅读模式
ubuntu7。04我想删了gaim安装pidgin,他依赖desktop什么的,我用dpkg强制删了
可是每次用aptitude的时候非要我安装他们(gaim gaim-data) :comp
还想问问从pidgin上下载的源代码(没有debian的编译配置文件)改用什么办法做成deb包好?
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
tommy007
tommy007
当前离线
积分
382
IP卡
狗仔卡
发表于 2007-6-2 11:15:54
|
显示全部楼层
用checkinstall就好了。不过我貌似只会checkinstall= =求其他方法。
回复
支持
反对
使用道具
举报
显身卡
dajun
dajun
当前离线
积分
511
IP卡
狗仔卡
楼主
|
发表于 2007-6-2 12:37:30
|
显示全部楼层
恩 我也只会用checkinstall
但是pidgin的包已经打好了
我想作个虚拟包(gaim)
可是搞了半天还没搞好 气死我了
版本号不好确定,装上了机器还要升级到默认的那个,
而且gaim_1%3a2.0.0+beta6-1ubuntu4 里面还有个%3a,其实就是个冒号,
这个也很麻烦了
哎,这个依赖也太bt了,要是有的人不用gaim聊天,还不可以删!
回复
支持
反对
使用道具
举报
显身卡
d00m3d
d00m3d
当前离线
积分
14541
IP卡
狗仔卡
发表于 2007-6-2 22:18:00
|
显示全部楼层
这是很多时候使用发行版的二进包及自行编译软件之间的烦恼(茅盾),即使用 checkinstall 制成 deb 包来安装,同样是免不了楼主面对的问题,後来我的做法是干脆使用 LFS 的方式与及 LFS 的包管理工具 paco 在 Debian 系统上使用
这明显不是正宗 Debian 或 Ub 忠实拥护者能认同的做法,但我的原则是系统是供人使用的,应该是我在玩系统,不是系统在玩我!
当然,前题是自己清楚知道自己在干什麽,如有冲突或出问题的情况下如何修复,掌握如何玩好系统
回复
支持
反对
使用道具
举报
显身卡
tommy007
tommy007
当前离线
积分
382
IP卡
狗仔卡
发表于 2007-6-2 23:05:14
|
显示全部楼层
试试看后面的修订版本号 +1 或者干脆乱写版本,比源里面的新就好
回复
支持
反对
使用道具
举报
显身卡
dajun
dajun
当前离线
积分
511
IP卡
狗仔卡
楼主
|
发表于 2007-6-3 11:27:23
|
显示全部楼层
最后还是用checkinstall作出的虚拟包 很简单:
root@box:/tmp/z# mkdir gaim
root@box:/tmp/z# cd gaim
root@box:/tmp/z/gaim# ls
root@box:/tmp/z/gaim# cat >Makefile
all:
install:
root@box:/tmp/z/gaim# checkinstall
checkinstall 1.6.0, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]:
Preparing package documentation...OK
*** No known documentation files were found. The new package
*** won't include a documentation directory.
Please write a description for the package.
End your description with an empty line or EOF.
>> fake gaim package
>>
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 - Maintainer: [ root@box ]
1 - Summary: [ fake gaim package ]
2 - Name: [ gaim ]
3 - Version: [ 20070603 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ gaim ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
Enter a number to change any of them or press ENTER to continue: 3
Enter new version:
>> 1:2.0.0+beta6-1ubuntu4
This package will be built according to these values:
0 - Maintainer: [ root@box ]
1 - Summary: [ fake gaim package ]
2 - Name: [ gaim ]
3 - Version: [ 1:2.0.0+beta6-1ubuntu4 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ gaim ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
Enter a number to change any of them or press ENTER to continue:
Installing with make install...
========================= Installation results ===========================
make: Nothing to be done for `install'.
======================== Installation successful ==========================
cp: cannot stat `//var/tmp/aHMeIdMAjalZUVfhMKdHN/newfiles.tmp': No such file or directory
Copying files to the temporary directory...OK
Striping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list... FAILED!
Building Debian package...OK
Installing Debian package...OK
Erasing temporary files...OK
Deleting temp dir...OK
**********************************************************************
Done. The new package has been installed and saved to
/tmp/z/gaim/gaim_1:2.0.0+beta6-1ubuntu4-1_amd64.deb
You can remove it from your system anytime using:
dpkg -r gaim
**********************************************************************
root@box:/tmp/z/gaim# ls
Makefile description-pak gaim_1:2.0.0+beta6-1ubuntu4-1_amd64.deb
root@box:/tmp/z/gaim# dpkg -P --force-depends gaim
dpkg: gaim: dependency problems, but removing anyway as you request:
nautilus-sendto depends on gaim (>= 1:2.0.0+beta6).
(Reading database ... 115021 files and directories currently installed.)
Removing gaim ...
root@box:/tmp/z/gaim# dpkg -P --force-depends gaim-data
(Reading database ... 115021 files and directories currently installed.)
Removing gaim-data ...
Purging configuration files for gaim-data ...
root@box:/tmp/z/gaim# dpkg -i gaim_1\:2.0.0+beta6-1ubuntu4-1_amd64.deb
Selecting previously deselected package gaim.
(Reading database ... 114509 files and directories currently installed.)
Unpacking gaim (from gaim_1:2.0.0+beta6-1ubuntu4-1_amd64.deb) ...
Setting up gaim (2.0.0+beta6-1ubuntu4-1) ...
复制代码
这个世界终于清静了,
不过编译出来的pidgin还是没办法上qq,
不过这样可以删除许多不想要的软件
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
Gentoo Linux
SuSE Linux
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表