Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1052125: nala cannot install the debreate package

6 views
Skip to first unread message

Blake Lee

unread,
Sep 17, 2023, 10:40:04 PM9/17/23
to
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 <module>
   main()
 File "/usr/bin/debreate", line 27, in main
   import globals.paths
 File "/usr/share/debreate/globals/paths.py", line 16, in <module>
   import libdbr.paths
 File "/usr/share/debreate/lib/libdbr/paths.py", line 18, in <module>
   from . import sysinfo
 File "/usr/share/debreate/lib/libdbr/sysinfo.py", line 37, in <module>
   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.

Nikolay Sabelnikov

unread,
Sep 18, 2023, 6:40:05 AM9/18/23
to
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 <volian...@volian.org> пишет:
0 new messages