Score:0

Problem with update-manager: Cannot successfully implement command - sudo apt-get update

$ sudo apt-get update
Hit:1 http://ppa.launchpad.net/atareao/telegram/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                                                                                
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                   
Hit:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease                                                                                                                     
Hit:5 http://it.archive.ubuntu.com/ubuntu focal InRelease                                             
Hit:6 http://it.archive.ubuntu.com/ubuntu focal-updates InRelease               
Hit:7 http://it.archive.ubuntu.com/ubuntu focal-backports InRelease             
Hit:8 https://download.sublimetext.com apt/stable/ InRelease
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 8, in <module>
    from CommandNotFound.db.creator import DbCreator
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 12, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.