Problem installing from deb file and ignoring dependencies
Colin Law
clanlaw at googlemail.com
Mon Aug 27 13:18:48 UTC 2012
On 27 August 2012 10:03, Nils Kassube <kassube at gmx.net> wrote:
> Colin Law wrote:
>> I am trying to install a package A (from a .deb file) that depends on
>> package B, but B is not available for my platform so I have built B
>> from source. I cannot install A by using
>> dpkg -i A.deb
>> as it complains about the missing dependency. I can install it by
>> using dpkg -i --ignore-depends=B A.deb
>> but this is not a good solution as the next time I install something
>> it complains about the package being broken.
>>
>> I have got over the problem by unpacking A.deb, removing the
>> dependency and repackaging but I feel this cannot be that unusual a
>> requirement and there must be a better way. As it stands I will have
>> to repeat the exercise to install an upgrade to A. Is there a better
>> way?
>
> Use checkinstall to install your package B as a deb package. Then your
> dependency for package A is fulfilled.
That looks like a viable solution, thanks.
Colin
>
>
> Nils
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list