LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-21-2006, 03:32 PM   #1
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Manually add depends to independent *.deb


Basically, I found a piece of software as an rpm say, hello.rpm, and converted it to hello.deb using alien. I know what the dependencies are and manually installed them using aptitude, then installed the *.deb with dpkg -i hello.deb.

Anyway, next I created a local apt repository containing hello.deb and the dependencies for my lan. That all works fine.

What I want to do now is make it so that I can just aptitude install hello.deb and it will install all the dependencies as well. I realize that I probably have to manually create the file with the dependencies. After doing some googling, I think what I need to do is create a meta pacakge using equivs to specify the dependencies.

Does that sound like the right way to skin this cat? The hello.deb program is just a simple test program right now. The idea is that I don't want to have to use deporphan or keep a list of what dependencies I installed separately just for this one program I converted using alien.

The reason for this exercise is to eventually use this method for setting up something more complex, like Compiz/XGL following this guide, which requires the use of alien.

Granted, I know the right way to do it is probably to learn how to build a proper debian package from source. But that seemed like a big leap for me at this point with something as large as compiz/xgl. I was thinking more along the lines of baby stepping...
 
Old 09-21-2006, 09:51 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,674

Rep: Reputation: 122Reputation: 122
I've read a bit on building .deb packages recently, and from what I can remember you have the possibility to add a file to the package containing the names of dependent packages. Apt will then treat these as dependencies and ask to install them. Not sure if you can manually add this to a converted package though. You might be tempted to study the TLPD page on building Debian packages here Offcourse Debian has their own page as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
manually edit FC4 grub.conf to add Ubuntu alar Linux - General 2 09-19-2006 04:45 PM
How to manually install .deb packages c19h28O2 Debian 2 04-29-2006 02:40 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM
Problems w/ manually add. a driver at install. time Toshi3 Linux - General 0 09-13-2004 11:35 PM
how do you add/remove Gnome menu entries manually? randomx Linux - General 2 10-16-2003 10:06 PM


All times are GMT -5. The time now is 01:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration