Update Manager says apt cache corrupted switch to different mirror

Archived topics about LMDE 1
Forum rules
Locked
narnie
Level 1
Level 1
Posts: 24
Joined: Tue Feb 02, 2010 12:09 am
Location: Texas, USA

Update Manager says apt cache corrupted switch to different mirror

Post by narnie » Tue Mar 29, 2016 3:24 pm

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

User avatar
Crewp
Level 9
Level 9
Posts: 2521
Joined: Sat Dec 01, 2012 8:36 pm
Location: Connecticut,USA

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

Post by Crewp » Thu Mar 31, 2016 5:53 pm

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.
Image

narnie
Level 1
Level 1
Posts: 24
Joined: Tue Feb 02, 2010 12:09 am
Location: Texas, USA

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

Post by narnie » Thu Mar 31, 2016 7:00 pm

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.

User avatar
Crewp
Level 9
Level 9
Posts: 2521
Joined: Sat Dec 01, 2012 8:36 pm
Location: Connecticut,USA

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

Post by Crewp » Thu Mar 31, 2016 8:27 pm

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.
Image

narnie
Level 1
Level 1
Posts: 24
Joined: Tue Feb 02, 2010 12:09 am
Location: Texas, USA

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

Post by narnie » Fri Apr 01, 2016 12:12 am

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

User avatar
Crewp
Level 9
Level 9
Posts: 2521
Joined: Sat Dec 01, 2012 8:36 pm
Location: Connecticut,USA

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

Post by Crewp » Fri Apr 01, 2016 7:35 am

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.
Image

mintor
Level 1
Level 1
Posts: 8
Joined: Mon Mar 14, 2016 2:19 pm

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

Post by mintor » Sat Apr 02, 2016 4:37 pm

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

Locked

Return to “LMDE 1 Archive”