forums.xandros.com Forum Index forums.xandros.com
Xandros User Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"EXTRA TERRESTRIAL" converts "DEB-TO-DEB"

 
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Packaging
View previous topic :: View next topic  
Author Message
Doctore
Xandrosianschwing


Joined: 13 Jun 2006
Posts: 2696
Location: Finland

PostPosted: Mon Mar 31, 2008 6:43 pm    Post subject: "EXTRA TERRESTRIAL" converts "DEB-TO-DEB" Reply with quote

HOWTO CONVERT DEB PACKAGES - THE EASY WAY

When attempting to install "KDE 3.5.X" packages to the heavely enhanced
"Xandros KDE 3.4.2" from "Debian Etch/Lenny/Sid" repositories, you will
run in to the "broken packages" situation. Which makes "Xandros" unusable
if executing the upgrades.

Fortunately is "Alien" http://kitenet.net/~joey/code/alien/ installed in "Xandros"
by default. Its normally used to convert "deb", "rpm", "slp" and "tgz" packages to
another. But can also be used one step furter - converting "DEB-to-DEB"!
This trick works with other packages than "KDE", also...

How? Just convert an newer "package.deb" to "rpm" (first code line) and then
convert that new "package.rpm" back to "deb" again (second code line). Of course,
this doesnt work in all situations, but at least some newer packages compiled
against "Debian Etch" can be converted for use in "XD4.5/EEE/XS2.0".
Code:
alien -r -c <package.deb>
alien -c <package.rpm>

For more istructions, type "alien" in "Console".

Those "DEB" packages can also be hacked and changed. More here:
http://forums.xandros.com/viewtopic.php?p=192743&highlight=#192743
Many thanks to Arne Anka and redrum for this.

And now, have fun while experimenting.
_________________
Linux User #432929
Visit our sites :
http://www.pcds.fi/
http://www.djn.fi/
Back to top
View user's profile Send private message Visit poster's website
aldube
Xandrosianschwing


Joined: 02 Jan 2005
Posts: 2332
Location: Calgary, Alberta, Canada

PostPosted: Sun Oct 12, 2008 9:22 am    Post subject: Reply with quote

Is this a true conversion? Or does this version of Alien simply just wipe out the list of required Dependencies in the DEB's control file allowing you to install it anyways which does lead to the broken dependencies problem... Neutral
_________________
Linux simply works for me...
Registered Linux User 384461
Back to top
View user's profile Send private message
Doctore
Xandrosianschwing


Joined: 13 Jun 2006
Posts: 2696
Location: Finland

PostPosted: Sun Oct 12, 2008 10:43 am    Post subject: Reply with quote

This "Lazy Mans Trick" changes dependies in the "control" file. And works
when the package is compiled against "Debian Etch" or older libraries.
_________________
Linux User #432929
Visit our sites :
http://www.pcds.fi/
http://www.djn.fi/
Back to top
View user's profile Send private message Visit poster's website
aldube
Xandrosianschwing


Joined: 02 Jan 2005
Posts: 2332
Location: Calgary, Alberta, Canada

PostPosted: Sun Oct 12, 2008 11:47 am    Post subject: Reply with quote

OK; I've only ever resorted to the Alien trick as a last resort when the source isn't available on any Debian/Ubuntu deb-src repositories or in plain .tar.gz/.tar.bz2 archive anywhere else like Sourceforge...

I like stability, so I usually go the extra distance to build my own packages... Wink
_________________
Linux simply works for me...
Registered Linux User 384461
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Packaging All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group