Spyke

Posts

archlinux·Arch Linuxbyegsaqmojz

python-polib moves from aur to extra

Hi all,

I have reason to believe a package I use (python-polib) was moved from the aur to the official extra repo. I'm now having trouble getting it installed.

The old page gives a 404: https://aur.archlinux.org/packages/python-polib This now seems to be the right source for this package: https://archlinux.org/packages/extra/any/python-polib/

However, I do a # pacman -Syyu python-polib and pacman can't find the target. Do I need to do something here that I'm missing?

My pacman.conf includes the "extra" repo and it updates during the Syyu command.

View original on lemmy.ml

Pipe wget output into bzip2 for decompression

Hi all,

I'm trying to put a command together to download a bz2 archive containing an img file and decompress it immediately, basically without saving it to the filesystem. Can this be done?

This is what I've come up with so far, but it's incomplete: wget -qO- "https://opnsense.com/.../img.bz2" | bzip2 -dv

Background: Trying to install OPNsense on Linode. Their hacky official guide says the best way to install FreeBSD is via the rescue mode. But FreeBSD posts their images as .img, so the filesystem size limitation of 1GB for the rescue image isn't an issue. But with OPNsense I need to decompress it.

I have a few different options on how to install this but I see it as a good reason to learn more about stdin/out, piping commands, etc.

Thanks in advance.

View original on lemmy.ml

You reached the end