iturnedintoanewt, (edited )
@iturnedintoanewt@lemm.ee avatar

apt-get download $(dpkg -I rescuezilla_2.4.2-1_all.deb)

Thanks a lot! While it wasn’t as simple as that, it did indeed point me onto the right direction. This command did the trick for me:

apt download $(dpkg -I rescuezilla_2.4.2-1_all.deb | grep -oP ‘(?<=Depends: ).*’ | tr -d ‘,’)

The grep goes there to list only what comes after “Depends:”. The -oP enables the python command to remove the string matching itself, so it leaves the whole list after the match… otherwise it also tries to download a package named “Depends:”. And the tr -d ‘,’ is to remove the commas separating each package, otherwise it fails to find them.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #