相关文章推荐
刀枪不入的甘蔗  ·  .NET Framework と ...·  5 天前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

Traceback (most recent call last): File "/usr/lib/update-notifier/package-data-downloader", line 29, in

import apt_pkg

ModuleNotFoundError: No module named 'apt_pkg'

dpkg: error processing package update-notifier-common (--configure): installed update-notifier-common package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of update-notifier: update-notifier depends on update-notifier-common (= 3.192.54); however: Package update-notifier-common is not configured yet.

dpkg: error processing package update-notifier (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of ubuntu-desktop: ubuntu-desktop depends on update-notifier; however: Package update-notifier is not configured yet.

dpkg: error processing package ubuntu-desktop (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of ubuntu-desktop-minimal: ubuntu-desktop-minimal depends on update-notifier; however: Package update-notifier is not configured yet.

dpkg: error processing package ubuntu-desktop-minimal (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because MaxReports is reached already Errors were encountered while processing:

update-notifier-common

update-notifier

ubuntu-desktop

ubuntu-desktop-minimal

E: Sub-process /usr/bin/dpkg returned an error code (1)

I am facing the above error, While running : $ sudo apt-get install python3-apt --reinstall

Some one please Help

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Jul 31, 2022 at 14:44

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.