checkAPT.py error

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

checkAPT.py error

Postby Gandalf the Wizard on Sun Mar 03, 2013 6:17 pm

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
Main: i7-975@3.33GHz, DFI LP UT X58-T3eH8 X58, 2x EVGA GeForce GTX 285, Win7
2nd: i7-950@3.06GHz, ASUS Sabertooth X58, 2x EVGA GeForce GTX 650, LinuxMint

Add a [SOLVED] at the header beginning, if your question has been answered and solved.
User avatar
Gandalf the Wizard
Level 1
Level 1
 
Posts: 1
Joined: Mon Feb 04, 2013 6:46 am
Location: Middle Earth

Linux Mint is funded by ads and donations.
 

Re: checkAPT.py error

Postby JeDie2004 on Wed Mar 13, 2013 8:35 am

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.
JeDie2004
Level 1
Level 1
 
Posts: 1
Joined: Wed Mar 13, 2013 8:22 am

Re: checkAPT.py error

Postby goetzkluge on Sun Jan 05, 2014 1:28 pm

I solved a perhaps related checkAPT.py issue by by correcting clock settings: http://forums.linuxmint.com/viewtopic.php?f=76&t=119540&p=805421#p805421
User avatar
goetzkluge
Level 2
Level 2
 
Posts: 59
Joined: Thu Nov 15, 2007 9:41 am
Location: Germany


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher, Joey743, kost, PatH57 and 28 guests