Skip to main content

Error: “/usr/local/cpanel/bin/python-packman” reported error code “1” when it ended:

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey there!  You mentioned you have already opened a ticket - can you post that number here so I can follow along?

    0
  • Unnamed User

    I'm encountering the same problem. How was this resolved? Thank you!

    0
  • cPRex Jurassic Moderator

    I don't see that it was as the user never posted that ticket number so I wasn't able to follow along and track down the issue.

    If you're still seeing that issue today, it would be best to create a ticket.

    0
  • CharlesGLondon

    Update

    There was no solution found and it was easier for me to move to new server than fixing the mess. Didn't have time to investigate further to pinpoint who is the culprit, cPanel/OVH/Repo or whatever?

    It was a total nightmare to fix that issue so I dumped entire CentOS 7 server and moved to a new AL9 server.

    1
  • ThatHostingCo

    Not to kick dead horses, but you may fix this by cleaning out rpm database. The situation is going to be caused by a python update being available, but not able to be downloaded or installed. Typically this is because your yum database is broken and needs to be rebuilt.

    In order to minimize the risk, make sure you create a backup of files in /var/lib/rpm/ using cp command:

    mkdir /root/backups.rpm.mm_dd_yyyy/
    cp -avr /var/lib/rpm/ /root/backups.rpm.mm_dd_yyyy/
    

    Then try this to fix this problem:

    # rm -f /var/lib/rpm/__db*
    # db_verify /var/lib/rpm/Packages
    # rpm --rebuilddb
    # yum clean all
    

    And finally verify that error has gone with the following yum command

    # yum update
    0

Please sign in to leave a comment.