Project

Profile

Help

Issue #8173

Updated by pulpbot about 1 year ago

 

 **Ticket moved to GitHub**: "pulp/pulp_deb/398":https://github.com/pulp/pulp_deb/issues/398 




 ---- 


 A katello user here: https://projects.theforeman.org/issues/31701    reported this.    When syncing a deb repo (unsure which one), it errors with: 

 /usr/lib/python3.6/site-packages/debian/deb822.py:727    UserWarning: Parsing of Deb822 data with python3-apt's apt_pkg was requested but this package is not importable. Is python3-apt installed? 

 Looking at the code, the default value for use_apt_pkg is True:    https://salsa.debian.org/python-debian-team/python-debian/-/blob/master/lib/debian/deb822.py#L2331 

 and pulp isn't overriding it:    https://github.com/pulp/pulp_deb/blob/ff7bf434b0c3aabdf165f2f9793f4acce668c724/pulp_deb/app/tasks/synchronizing.py#L546 

 so its defaulting to True.   

 A full traceback isn't available, nor what repository they were syncing, but we could ask for that info if needed. 

 

Back