[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: installing dependencies along with deb package



Hi Thibaut,

On Tue, Oct 11, 2011 at 01:55:33PM +0200, Thibaut Paumard wrote:
> Hi
> 
> Le 11/10/11 13:15, karunakar medamoni a ?crit :
> > 
> > Hello.
> > This is karunakar. I was developed one package. i want convert that
> > package into deb package. i was created deb package with my source code.
> > i got the error when i install that package. it saying this package
> > needs apache2  package . how can i install dependencies which are
> > mentioned in control  file. i need to install all packages which are
> > required and mentioned in  control file at the time of deb package
> > installation automatically .
> > 
> 
> aptitude -f install

IMO this is not good way, because conflicting packages will be removed too.
But may be acceptable this time. As for me, good way is to install
dependencies manually(using aptitude install <depname> or same for apt-get).
> will install the dependencies of the packages you installed with dpkg -i.
> 
> Example:
> dpkg -i my_own_package_1-1_i386.deb
> aptitude -f install
> 
> Regards, Thibaut.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: 4E942EB5.7000204@free.fr">http://lists.debian.org/4E942EB5.7000204@free.fr
> 


Reply to: