Update Manager says apt cache corrupted switch to different mirror

Archived topics about LMDE 1 and LMDE 2
Locked
narnie

Update Manager says apt cache corrupted switch to different mirror

Post by narnie »

Hello,

I am having a problem with GUI updates of LMDE.

As can be seen from this picture, I have an error that says :

Image

If it is too small to read, it says:

Please switch to another Linux Mint Mirror
Your APT cache is corrupted

If you would like to see a larger picture, you can see one here

Which, of course, I have done without resolution.

I have run:

Code: Select all

# apt-get clean

Code: Select all

# cd /var/cache/apt/
# ls
archives  pkgcache.bin  srcpkgcache.bin
# rm -rd *
# ls
#
I can do a apt-get update and apt-get upgrade without problem.

I have changed to the default apt sources and below are my /etc/apt pertinent files:

Code: Select all

dell-desktop apt # cat /etc/apt/sources.list
#/etc/apt/sources.list

# cat /etc/apt/sources.list
#/etc/apt/sources.list

# cat /etc/apt/sources.list.d/official-package-repositories.list 
deb http://packages.linuxmint.com betsy main upstream import 

deb ftp://debian.mirror.frontiernet.net/debian/ jessie main contrib non-free
deb ftp://debian.mirror.frontiernet.net/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free

deb http://www.deb-multimedia.org jessie main non-free

deb http://extra.linuxmint.com betsy main
However, I still have the error. Any idea how to get update manager working again?

Note:

Code: Select all

# uname -a
Linux dell-desktop 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux

Code: Select all

# cat /etc/linuxmint/info 
RELEASE=2
CODENAME=betsy
EDITION="Cinnamon 64-bit"
DESCRIPTION="LMDE 2 Betsy"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=http://www.linuxmint.com/rel_betsy_whatsnew.php
RELEASE_NOTES_URL=http://www.linuxmint.com/rel_betsy.php
USER_GUIDE_URL=help:linuxmint
GRUB_TITLE=LMDE 2 Cinnamon 64-bit
Kind regards,
Narnie
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.
Crewp

Re: Update Manager says apt cache corrupted switch to different mirror

Post by Crewp »

Try going to Menu/Administration/Software Sources and change the mirrors in your ( Base ) and ( Main ) click on update cache and re-launch Update Manager and see if that fixed your problem.
narnie

Re: Update Manager says apt cache corrupted switch to different mirror

Post by narnie »

That what I was saying I had already done. I actually changed it serveral times, but the offending one is the Linux Mint Betsy side (not the debian jessie side).

Also, both are find when doing a apt-get update && apt-get upgrade. I can install a deb with:

Code: Select all

dpkg -i packagename.deb
Without a hitch. The database doesn't seem to be corrupted as far as the apt system is concerned, only as far as mint-update is concerned.

I haven't tried purging mint-update yet for fear of cascading removals of other packages, but I guess I could try it.
Crewp

Re: Update Manager says apt cache corrupted switch to different mirror

Post by Crewp »

Hey yea sorry, I missed that you said you tried that already, I checked my system to compare output. And all is the same except for I have 2 repo's in my list that you don't.

Code: Select all

 $ cat /etc/apt/sources.list.d/official-package-repositories.list 
deb http://packages.linuxmint.com betsy main upstream import 

deb ftp://debian.mirror.frontiernet.net/debian/ jessie main contrib non-free
deb ftp://debian.mirror.frontiernet.net/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free

deb http://www.deb-multimedia.org jessie main non-free

deb http://extra.linuxmint.com betsy main
I don't know what else to tell you, except add those 2 and see if it help's ?
Otherwise maybe someone with more know how will post.
PS you could go to maintenance and do the purge etc. like you said, but I am not sure of the outcome.
narnie

Re: Update Manager says apt cache corrupted switch to different mirror

Post by narnie »

Thanks for trying. Those 2 other repos are on my list above, but you have to scroll in the code text pane. I added a little more to my code segment to show that there was nothing in /etc/apt/sources.list.

I appreciate your trying to help!

Kindly,
Narnie
Crewp

Re: Update Manager says apt cache corrupted switch to different mirror

Post by Crewp »

Wow, that's twice I missed something you posted, I guess it's time for me to get a pair of glasses. :lol:
Hang in there, I know someone on the forum who can help, I will pm him, and have him take a look at your situation. So, my and your repo's are the same, and so is everything else you posted, it's gotta be something obscure. Don't give up.
mintor

Re: Update Manager says apt cache corrupted switch to different mirror

Post by mintor »

I had a similar problem. Check this thread explaining how it got solved:
viewtopic.php?f=234&t=218545
Locked

Return to “LMDE Archive”