Page 1 of 1

checkAPT.py error

Posted: Sun Mar 03, 2013 6:17 pm
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

Re: checkAPT.py error

Posted: Wed Mar 13, 2013 8:35 am
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.

Re: checkAPT.py error

Posted: Sun Jan 05, 2014 1:28 pm
by goetzkluge
I solved a perhaps related checkAPT.py issue by by correcting clock settings: http://forums.linuxmint.com/viewtopic.p ... 21#p805421