Sterling Butters
Sterling Butters

Reputation: 1175

Download apt-get binary (deb) and all dependencies for target architecture: armhf

I need ppp for a project I am working on but for a different architecture on device which does not have internet access. The actual problem is pretty explanatory from title. Things I've done:

Why is nothing downloading? It's hard for me to give the full output message because I'm running it in a VM and I can't get the copy/paste feature to work.

Thanks in advance for the help

Upvotes: 1

Views: 5711

Answers (1)

atb00ker
atb00ker

Reputation: 1105

My solution for the same problem looks like this (replace THE_PACKAGE_YOU_WANT with ppp):

dpkg --add-architecture armhf
apt update
apt download $(apt-cache depends --recurse --no-recommends --no-suggests \
                                 --no-conflicts --no-breaks --no-replaces --no-enhances \
                                 --no-pre-depends {{ THE_PACKAGE_YOU_WANT }}:armhf | grep "^\w");

The question is 2 years old, but I hope it works for future googlers! :-)

Upvotes: 2

Related Questions