Hi,
Thanks for the reply....
Actually i want to install A2.deb and not B.deb.....
I cannot remove and install B.deb because lot of packages depends on B.deb

So, are you sure when i run
dpkg -i B.deb A2.deb, it does not remove B.deb but just update the
dependency list of B.deb from A1.deb to A2.deb?

Regards,
Srikumar B

On Thu, Feb 11, 2010 at 10:32 PM, Dmitrijs Ledkovs <[email protected]
> wrote:

> On 11 February 2010 16:19, Sri <[email protected]> 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 =)
>



-- 
Cheers,
Sri

Reply via email to