Wednesday, September 21, 2016

Re: [Discuss-gnuradio] How to properly add a pybombs packager

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJX425wAAoJEGWN+Rd1Jc2dOsYP/j69+lPB2l/0uCkIRHmSvgsi
g6vZFSCjgPFoendv+0mAQOC+rX55BP5AVa3rVZsN4GtihiaK/EANrktGosSAiLvr
2RbvkcwVv6102wWPBnsR5+RIWf6WXniIxg/p7g8BdT3BPWXYWIDMM0GQxnPgyd/t
TcTwlYpSyXgR2XNopnPKGaFu8zES4J6yu2SHPrJZypextNEZSCbWFx1D+MYpdhR/
HA9/wEUGrR7e/WZ4svamd1t3ygjMLBftZd7QOxMzjfRXPkf5wTiuuFulb4ziG9jv
cC+jFwwwp2ikZgLmVHliKCfpjMvmBuqDdJoNg1WPDj8cvajFO2wO4zpbIus9K14x
qRIOwbXzLFeF2PDp2XUW5pPDDVR/cDjH2SkvKYHyuzu3rd4027lI8ndSt3JXi4z0
zEv5CKnexOp9PXN9EEO2288Q82h1KwtUnpA3KqXNOfugTxY6xWZm1Pysv20LSHFo
Hm2FyyJFLbcQ7zAr0jc9YLMY0rM7HeMeoXBrlkhvlCcIQzRpwqPhsTNP2QlKX8lw
dlOTe1/WXgMfJNAgChfAM8rm9RGiEbOB+nVCWcEA9Z3iKU52wChgmFOxKUUH2toG
KK0skuDUiD+3N2uV6/iKSlBChJrKZ28nujEIziwkkdV/LfbV2s3tvggct8m4s4Fp
uZ8MVScsbPLdDbF/fzqi
=iuCN
-----END PGP SIGNATURE-----
Hey Jared,

nice you want to add another package manager to PyBOMBS. I recently
added portage package manager to PyBOMBS.

Based on your output these lines [0] give a clue what's happening.
I'd guess your functions do not properly report the installation status
back to PyBOMBS.Therefore PyBOMBS keeps trying to install wget with
every possible package manager left.

Cheers,
Andrej


[0]
```
PyBOMBS.PackageManager - DEBUG - Using packager zypper
PyBOMBS.Packager.zypper - OBNOXIOUS - install(wget,
static=False)
PyBOMBS.ReqScanner - OBNOXIOUS - Adding package with name wget
PyBOMBS.ReqScanner - OBNOXIOUS - End of requirements list
PyBOMBS.ReqScanner - OBNOXIOUS - Done parsing requirements
string `wget`
PyBOMBS.Packager.zypper - OBNOXIOUS - Calling ev for recursive
satisfier rule evaluation
PyBOMBS.Packager.zypper - DEBUG - Package wget has version
1.18-2.2 in zypper
PyBOMBS.monitor_process() - DEBUG - Running with elevated
privileges.
PyBOMBS._process_thread() - DEBUG - Executing command `['sudo',
'-H', 'zypper', 'install', '-y', 'wget']'
Loading repository data...
Reading installed packages...
'wget' is already installed.
No update candidate for 'wget-1.18-2.2.x86_64'. The highest available
version is already installed.
Resolving package dependencies...

Nothing to do.
PyBOMBS.monitor_process() - DEBUG - Thread signaled termination
or returned
PyBOMBS.monitor_process() - DEBUG - Return value: 0
PyBOMBS.PackageManager - INFO - getattr(zypper,
install)(Recipe: wget
category: baseline
```

No comments:

Post a Comment