this post was submitted on 10 Nov 2023
29 points (91.4% liked)

Linux

47660 readers
1152 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] ipsirc@lemmy.ml 0 points 11 months ago* (last edited 11 months ago) (1 children)

I think you have confused the apt command with the apt-get command. apt-get doesn't handle files, while apt has it since the very first version. This is one of the important differences between the two commands. This was one of the main reasons why I have been using only apt for years.

[–] iturnedintoanewt@lemm.ee 1 points 11 months ago* (last edited 11 months ago)

Again, incorrect. The answer is above. And still, you haven't read the thread. This is NOT about getting rescuezilla to install in the current PC. This is to get it to install in a DIFFERENT PC, which happens to be OFFLINE. So apt by itself will FAIL when it tries to resolve dependencies.