Category Archives: debian

Multiple projects advanced as PostX Gnu/Linux 0.9 approaches

Based on Debian Bookworm having X11 and Openbox. PostX Gnu/Linux release is likely to happen in next 3 weeks or so.

https://github.com/postman721/Spin-Fm

https://github.com/postman721/Quick-Terminal-generic

https://github.com/postman721/Albix

https://github.com/postman721/Metapad

Have already had their new releases.

Also, I have created a new repository: https://github.com/postman721/PostX

Which for now, has some source materials in it. When release is done, I will also likely release the PostX Gnu/Linux building script. In these days it is good to share. And of course, after more than a decade of Debian I am considering to go ahead and building something else for awhile, maybe OpenSuse derivative is on the horizon. Whatever the future holds, PostX Gnu/Linux will stay active on Debian side and will see an increase on automated builds(currently working on it), which means easier and more predictable times of release.

Fixing error on Debian 11: No module named py_compile

The root cause of an error is: /usr/bin/python3.9: No module named py_compile.

This will prevent python3 packages from installing as the dpkg errors out during configuration.

A more complete error example, will look something like this:


Setting up python3.9-minimal (3.9.2-1) …
/usr/bin/python3.9: can’t open file ‘/usr/lib/python3.9/py_compile.py’: [Errno
2] No such file or directory
dpkg: error processing package python3.9-minimal (–configure):
installed python3.9-minimal package post-installation script subprocess return
ed error exit status 2
Errors were encountered while processing:
python3.9-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

/usr/bin/python3.9: No module named py_compile

Regardless of the package name, missing the py_compile will give plenty of issues. Here comes an easy fix.

Continue reading