OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
-
zhuge000
- 帖子: 101
- 注册时间: 2008-04-18 17:06
#1
帖子
由 zhuge000 » 2009-07-26 14:09
如题
原因是原来用ubuntu时没什么问题,也保存了几个依赖包,不过是deb的
现在用fedora,装软件时找rpm依赖关系实在找不到,就想用deb包转为rpm包之后在fedora中安装……(不知这种想法可行否,各位见笑了)
现在fedora是11用的好好的,不想再换系统了。
怎么转?网上都是rpm转deb的,所以在此问一下……
望高手指点……先谢了~
另:网上说可以用alien转
sudo alien -r test deb
但是,yum中无alien呀:
代码: 全选
[root@aa aa]# yum install alien
载入插件: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.twaren.net
* livna: ftp-stud.fht-esslingen.de
* rpmfusion-free: ftp-stud.hs-esslingen.de
* rpmfusion-free-updates: ftp-stud.hs-esslingen.de
* rpmfusion-nonfree: ftp-stud.hs-esslingen.de
* rpmfusion-nonfree-updates: ftp-stud.hs-esslingen.de
* updates: ftp.twaren.net
设置安装进程
No package alien available.
无事可做
[root@aa aa]#
还有别的办法么?
-
photor
- 论坛版主
- 帖子: 11004
- 注册时间: 2008-04-26 12:41
#2
帖子
由 photor » 2009-07-26 15:20
在ubuntu下用alien转
-
zhuge000
- 帖子: 101
- 注册时间: 2008-04-18 17:06
#4
帖子
由 zhuge000 » 2009-07-27 12:14
谢谢楼上,但是……
我下载了alien,然后按照它说的步骤:
代码: 全选
perl Makefile.PL
make PREFIX=/usr
su -c 'make PREFIX=/usr install'
Finally try it out:
$ man alien
$ alien --version
$ su
# alien --to-rpm pwgen*.deb
# rpm -Uvh pwgen*.rpm
# exit
$ pwgen
执行到 alien --to-rpm pwgen*.deb时发生错误:
代码: 全选
./alien.pl -r ../pwgen_2.03-1_i386.deb
Package build failed. Here's the log of the command (cd pwgen-2.03; rpmbuild -bb --target i386 pwgen-2.03-2.spec):
Building target platforms: i386
Building for target i386
Processing files: pwgen-2.03-2.i386
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/bin
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/bin/pwgen
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/sbin
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/doc
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/doc/pwgen
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/doc/pwgen/copyright
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/doc/pwgen/changelog.Debian.gz
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/man
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/man/man1
error: File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/man/man1/pwgen.1.gz
RPM build errors:
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/bin
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/bin/pwgen
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/sbin
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/doc
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/doc/pwgen
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/doc/pwgen/copyright
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/doc/pwgen/changelog.Debian.gz
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/man
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/man/man1
File not found: /root/rpmbuild/BUILDROOT/pwgen-2.03-2.i386/usr/share/man/man1/pwgen.1.gz
请问这是怎么回事?
-
wangdu2002
- 帖子: 13284
- 注册时间: 2008-12-13 19:39
- 来自: 物华天宝人杰地灵
#5
帖子
由 wangdu2002 » 2009-07-27 12:15
yum不能自动解决依赖问题吗?
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
-
zhuge000
- 帖子: 101
- 注册时间: 2008-04-18 17:06
#6
帖子
由 zhuge000 » 2009-07-27 16:35
wangdu2002 写了:yum不能自动解决依赖问题吗?
不行,因为我用yum装时最终出现“rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed ……”之后便无法找相关库文件了,所以不得已只好找ubuntu下的包转换成rpm凑数……
-
Whistler
- 帖子: 157
- 注册时间: 2006-09-05 11:01
-
联系:
#7
帖子
由 Whistler » 2009-07-27 18:30
zhuge000 写了:wangdu2002 写了:yum不能自动解决依赖问题吗?
不行,因为我用yum装时最终出现“rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed ……”之后便无法找相关库文件了,所以不得已只好找ubuntu下的包转换成rpm凑数……
说明你那个 RPM 是 SuSE 的,不是 Fedora 的。
-
zhuge000
- 帖子: 101
- 注册时间: 2008-04-18 17:06
#8
帖子
由 zhuge000 » 2009-07-27 21:08
Whistler 写了:zhuge000 写了:wangdu2002 写了:yum不能自动解决依赖问题吗?
不行,因为我用yum装时最终出现“rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed ……”之后便无法找相关库文件了,所以不得已只好找ubuntu下的包转换成rpm凑数……
说明你那个 RPM 是 SuSE 的,不是 Fedora 的。
没办法啊,我只能找到带有我需要到库文件的这个rpm包了,fedora的找不到……不知道rpm包还要分这么清楚……linux百花齐放有时真让人觉得莫衷一是……
话说回来,怎么我的alien不能用呢?