gnuradio / pybombs

PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.

Home Page:https://gnuradio.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing pybombs starts to play pacman

TylerTucker opened this issue · comments

When installing PyBOMBS on Ubuntu, something strange happens...the installer starts to play Pacman. The system I was installing on so happens to have the classic game installed, but I guess the installer tries executing this expecting this to be an Arch Linux system! The installer hangs as its trying to beat my high score - even closing it causes it to reopen again and again.

image

I used pyBOMBS 2.3.4a0 on Ubuntu 18.04 LTS for reference.

To fix, I uninstalled pacman: sudo apt remove pacman

Yeah, the problem seems to be at https://github.com/gnuradio/pybombs/blob/master/pybombs/packagers/pacman.py#L37

Judging by the looks it just checks to see if a program called pacman can be run, and, if so, assumes Arch Linux's pacman is available and runs it with various commands.

This is the most hilarious bug I've ever seen.

I'm very torn between fixing this and keeping this open forever because it's so amazing. Who doesn't like a surprise game of pacman... :D