Hi everyone! I’m trying to prepare a live iso with a USB stick including the additional rescuezilla package (or, alternatively, additional packages for a live rescuezilla .iso). Sadly rescuezilla does not support encryption, and so I’d like to be able to create/encrypt an image on one single live iso, not having to do a double iso boot just for this. I’m trying to do this in a manner that I won’t need internet once I need to use this USB stick. And hence…I found the most quoted command as:

apt-get download $(apt-rdepends |grep -v "^ ")

But this seems to work ONLY if your package is also part of the repo. If it’s an external .deb such as rescuezilla_2.4.2-1_all.deb is, then the command just fails with:

Reading state information... Done
W: Unable to locate package ./rescuezilla_2.4.2-1_all.deb
E: Handler silently failed

So…what can I do to download the many dependencies of rescuezilla onto a USB stick? Thanks!

  • Guenther_Amanita@feddit.de
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Install Distrobox first and work inside that container.

    Messing with dependencies of a program not in your package manager can result in bricking your OS (which will take some time to fix and that will be annoying).
    In DB, all dependencies will be self contained and your host OS will stay clean. You can imagine it similar to how Flatpaks work.

    Then, follow the other’s procedures.

    • iturnedintoanewt@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Thanks! How does this work with OS permissions? As it’s rescuezilla and veracrypt I’m trying to use, both need access to the system partitions in order to be able to mount/read/copy to them. Flatpak can be a bit limited regarding permissions…Moreso on a live iso I guess.

      • Guenther_Amanita@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        DB only gives you the dependencies, but is otherwise not sheltered. It still has access to all host OS files, including hard drives and other stuff.

        Sadly, I’m not super experienced with it, and I use it on an immutable distro, where can’t change that much, at least nothing on the root level.

        You would have to read the documentation or google it yourself sadly, I’m out of luck here for you.

        I still hope my suggestion was successful :)