checkAPT.py error

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Gandalf the Wizard

checkAPT.py error

Post by Gandalf the Wizard »

My Cinnamon LinuxMint shows the Update Manager with a red X in its shield indicating Error in checkAPT.py, could not refresh the list of packages.

Extract from mintUpdate log:
++ MintUpdate is in tray mode, performing auto-refresh
++ Starting refresh
++ Auto-refresh timer is going to sleep for 15 minutes, 0 hours and 0 days
-- Error in checkAPT.py, could not refresh the list of packages

How do I fix this?

When I manually run the Update Manager, the red X clears and the green checkmark appears.
However, if left alone, the red X will reappear.

Thanks...Gandalf
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeDie2004

Re: checkAPT.py error

Post by JeDie2004 »

Hi!

It seems that I got almost same problem but with one more not good thing:
checkAPT.py locks the database and I am not able to run update check manually
using GUI or do other package related things.

As I figured out the problem is in proxy settings, which was set system wide and should
be available to all who depends on it. But for some reason when I do

Code: Select all

sudo bash
./checkAPT.py
I get stalled for reasonable ammount of time and finish with error. checkAPT tries to connect
directly rather using proxy. After issuing

Code: Select all

export http_proxy=http://here.goes.my.proxy:port/
./checkAPT.py
I see how it connects and do update checks as normal.

For now I see no solution other than dirty hack into checkAPT.py or configuration files located
at /etc/apt/.

---
WBR.

PS: Using Maya x86 within virtual machine and there no option to get direct internet connection.
goetzkluge
Level 3
Level 3
Posts: 117
Joined: Thu Nov 15, 2007 9:41 am
Location: Germany
Contact:

Re: checkAPT.py error

Post by goetzkluge »

I solved a perhaps related checkAPT.py issue by by correcting clock settings: http://forums.linuxmint.com/viewtopic.p ... 21#p805421
Locked

Return to “Beginner Questions”