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

Re: How to replaces the conflicting package with new package



On 11 February 2010 16:19, Sri <srikumar.b@gmail.com> wrote:
> Hi,
> I want to replace existing package A1.deb with new package A2.deb and should
> update the dependencies of the package B.deb with A2.deb instead of A1.deb.
> For that, i mentioned the Conflicts & Replaces tags with A1.deb in
> DEBIAN/control file of A2.deb
> But when i try to install A2.deb using dpkg -i command, i am getting error
> saying "A2.deb conflicts with A1.deb but it cannot remove A1.deb because
> B.deb depends on A1.deb"
> So, what options i have to add to dpkg command to remove A1.deb, install
> A2.deb, update dependency of B.deb from A1.deb with A2.deb.
> Please help me in this regard...
> Thanks in advance...
> Regards,
> Srikumar B
>

This is how all so-name bumps are done actually.

You want to dpkg -i B.deb A2.deb

Where B.deb is new package B which depends on A2 instead of A1.

This is more of debian-mentors question though nothing to do with
*developing* dpkg =)


Reply to: