MintUpdate "Error in checkAPT.py" RESOLVED

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
red-e-made
Level 5
Level 5
Posts: 526
Joined: Sat Jul 14, 2007 11:31 am

MintUpdate "Error in checkAPT.py" RESOLVED

Post by red-e-made » Fri Jul 24, 2009 1:16 am

I can't refresh the list of packages anymore, as I'm getting this "Error in checkAPT.py" message when I check the Information setting of MintUpdate. There's this thread on the subject but the solution confuses me. Can someone shed some light on this?
Last edited by red-e-made on Fri Jul 24, 2009 11:58 am, edited 1 time in total.

User avatar
DrHu
Level 17
Level 17
Posts: 7537
Joined: Wed Jun 17, 2009 8:20 pm

Re: MintUpdate "Error in checkAPT.py"

Post by DrHu » Fri Jul 24, 2009 2:42 am

red-e-made wrote:I can't refresh the list of packages anymore, as I'm getting this "Error in checkAPT.py" message when I check the Information setting of MintUpdate.
My first thought, reinstall the offending application: mintupdate, synaptic makes that fairly easy (package manager)

Yeah, I don't know what that link is either, it is just the log of of mintupdate ?
--anyway a search in Mint with that error gets this hit list..
http://forums.linuxmint.com/search.php? ... heckapt+py
http://forums.linuxmint.com/viewtopic.p ... py#p107473

Anyway, try
In a terminal
  • sudo apt clean
    sudo apt autoremove

    or
    sudo aptitude clean
    sudo aptitude autoclean

red-e-made
Level 5
Level 5
Posts: 526
Joined: Sat Jul 14, 2007 11:31 am

Re: MintUpdate "Error in checkAPT.py"

Post by red-e-made » Fri Jul 24, 2009 3:27 am

DrHu wrote:
red-e-made wrote:I can't refresh the list of packages anymore, as I'm getting this "Error in checkAPT.py" message when I check the Information setting of MintUpdate.
My first thought, reinstall the offending application: mintupdate, synaptic makes that fairly easy (package manager)
Ah, funnily (actually not so funny) enough, when I hit Synaptic, I get this error message:

Code: Select all

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/deb.playonlinux.com_dists_hardy_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.
So I'm guessing this is a sources problem or what? I'm out of ideas.

User avatar
DrHu
Level 17
Level 17
Posts: 7537
Joined: Wed Jun 17, 2009 8:20 pm

Re: MintUpdate "Error in checkAPT.py"

Post by DrHu » Fri Jul 24, 2009 3:39 am


red-e-made
Level 5
Level 5
Posts: 526
Joined: Sat Jul 14, 2007 11:31 am

Re: MintUpdate "Error in checkAPT.py"

Post by red-e-made » Fri Jul 24, 2009 11:49 am

Nope, nothing there made a difference.

red-e-made
Level 5
Level 5
Posts: 526
Joined: Sat Jul 14, 2007 11:31 am

Re: MintUpdate "Error in checkAPT.py"

Post by red-e-made » Fri Jul 24, 2009 11:58 am

I did find a solution to this problem, though: I went into /var/lib/apt/lists and removed the offending file from the directory. To be on the safe side, I opened this directory in root and moved the file to Trash instead of flat-out deleting it. This made both MintUpdate and Synaptic work.

Paddy78
Level 1
Level 1
Posts: 8
Joined: Wed May 07, 2014 7:48 am

Re: MintUpdate "Error in checkAPT.py"

Post by Paddy78 » Fri Aug 07, 2015 5:58 am

DrHu wrote:
red-e-made wrote:I can't refresh the list of packages anymore, as I'm getting this "Error in checkAPT.py" message when I check the Information setting of MintUpdate.
My first thought, reinstall the offending application: mintupdate, synaptic makes that fairly easy (package manager)

Yeah, I don't know what that link is either, it is just the log of of mintupdate ?
--anyway a search in Mint with that error gets this hit list..
http://forums.linuxmint.com/search.php? ... heckapt+py
http://forums.linuxmint.com/viewtopic.p ... py#p107473

Anyway, try
In a terminal
  • sudo apt clean
    sudo apt autoremove

    or
    sudo aptitude clean
    sudo aptitude autoclean
I was having the same error message and tried this, all sorted now Thanks for the help

Post Reply

Return to “Software & Applications”