Bug#1052125: nala cannot install the debreate package
hello. thank you for responding quickly. Then with your permission, I will create a bug in their Git with a reference to this bug. 18 сентября 2023 г. 05:31:47 GMT+03:00, Blake Lee пишет: >I was able to reproduce this on my system. First this is the error that >happens when installing. This is what crashes Nala because of the formatter. > >``` >Traceback (most recent call last): > File "/usr/bin/debreate", line 230, in > main() > File "/usr/bin/debreate", line 27, in main > import globals.paths > File "/usr/share/debreate/globals/paths.py", line 16, in > import libdbr.paths > File "/usr/share/debreate/lib/libdbr/paths.py", line 18, in > from . import sysinfo > File "/usr/share/debreate/lib/libdbr/sysinfo.py", line 37, in > if not __os_name: > ^ >NameError: name '__os_name' is not defined >``` > >This portion happens with apt as well, although apt doesn't crash. If you use >--raw-dpkg switch with Nala it will complete. I have already fixed this crash >upstream but haven't released yet. > >I would say you should likely report this to the debreate devs, even getting >the install to complete with apt, the same error is thrown when I try to run >the program.
Bug#1052125: nala cannot install the debreate package
I was able to reproduce this on my system. First this is the error that happens when installing. This is what crashes Nala because of the formatter. ``` Traceback (most recent call last): File "/usr/bin/debreate", line 230, in main() File "/usr/bin/debreate", line 27, in main import globals.paths File "/usr/share/debreate/globals/paths.py", line 16, in import libdbr.paths File "/usr/share/debreate/lib/libdbr/paths.py", line 18, in from . import sysinfo File "/usr/share/debreate/lib/libdbr/sysinfo.py", line 37, in if not __os_name: ^ NameError: name '__os_name' is not defined ``` This portion happens with apt as well, although apt doesn't crash. If you use --raw-dpkg switch with Nala it will complete. I have already fixed this crash upstream but haven't released yet. I would say you should likely report this to the debreate devs, even getting the install to complete with apt, the same error is thrown when I try to run the program.
Bug#1052125: nala cannot install the debreate package
Package: nala Version: 0.12.2 saber716rus@BOM-WXX9 ~/ÐагÑÑзки> sudo nala install debreate_0.8-dev9_all.deb Уведломение: The following will be installed to satisfy debreate: python3-pip Installing ÐакеÑ:ÐеÑÑиÑ: РазмеÑ: debreate 0.8-dev9 2 KB python3-pip 23.0.1+dfsg-1 1.3 MB python3-wheel 0.38.4-2 31 KB Summary Install 3 ÐакеÑÑ Disk space required 7.0 MB Do you want to continue? [Ð/н] y ââ УÑÑановка пакеÑов âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ® âUnpacking: python3-wheel (0.38.4-2) â âUnpacking: python3-pip (23.0.1+dfsg-1) â âSetting up: python3-wheel (0.38.4-2) â âSetting up: python3-pip (23.0.1+dfsg-1) â âProcessing: triggers for man-db (2.11.2-2) â âUnpacking: debreate (0.8-dev9) â âSetting up: debreate (0.8-dev9) â âAn unhandled exception occurred and Debreate shut down: â âTraceback (most recent call last): â âFile "/usr/bin/debreate", line 230, in â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ®â âââ ¦ Running dpkg ⦠ââââââââââââââââââââââââââââ¸âââââââââ 75.0% ⢠0:00:02 ⢠6/8ââ ââ°âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¯â â°ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ⯠ââââââââââââââââââââââ Traceback (most recent call last) âââââââââââââââââââââââ® â /usr/lib/python3/dist-packages/nala/nala.py:364 in install â â â â 361 â man_help: bool = MAN_HELP, â â 362 ) -> None: â â 363 â """Install packages.""" â â â± 364 â _install(pkg_names, ctx) â â 365 â â 366 â â 367 @nala.command(help=_("Remove packages.")) â â â â âââââââââââââââââââââââââââââââ locals âââââââââââââââââââââââââââââââ® â â â assume_yes = None â â â âauto_remove = None â â â âctx = â â â â debug = None â â â â download_only = None â