Synaptic and Update screwed in UP8

Post your update and upgrade related errors here
Forum rules
Before you post please read how to get help

Synaptic and Update screwed in UP8

Postby DougB on Tue Mar 18, 2014 11:42 am

I've updated to UP8 and it seems to be running OK, but the update icon shows "X" and I get the error "could not refresh the list of packages".
Synaptic manager shows:
Code: Select all
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/packages.linuxmint.com_dists_debian_import_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

..........................................................................................
I tried
Code: Select all
rm -fvr /var/lib/apt/lists/*
apt-get update


after this, update manager showed the system is up to date; but on re-booting the PC, update icon has gone back to "X".
................................................................................................
I tried commenting out the entries in the /etc/apt/sources.list.d/official..... files; sudo apt-get update; removing the comments and re-running sudo apt-get update and get these messages:.

Code: Select all
Hit http://lmde-mirror.gwendallebihan.net testing InRelease
Hit http://lmde-mirror.gwendallebihan.net testing/updates InRelease           
Hit http://lmde-mirror.gwendallebihan.net testing InRelease                   
Hit http://lmde-mirror.gwendallebihan.net testing/main Sources/DiffIndex       
Ign http://packages.linuxmint.com debian InRelease                   
Hit http://lmde-mirror.gwendallebihan.net testing/contrib Sources/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/non-free Sources/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/main amd64 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/contrib amd64 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/non-free amd64 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/contrib i386 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/contrib Translation-en/DiffIndex
Ign http://extra.linuxmint.com debian InRelease                     
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-en/DiffIndex
Get:1 http://packages.linuxmint.com debian Release.gpg [198 B]       
Hit http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/updates/main Sources
Hit http://lmde-mirror.gwendallebihan.net testing/updates/contrib Sources
Hit http://lmde-mirror.gwendallebihan.net testing/updates/non-free Sources
Hit http://lmde-mirror.gwendallebihan.net testing/updates/main amd64 Packages
Ign http://extra.linuxmint.com debian Release.gpg                   
Hit http://lmde-mirror.gwendallebihan.net testing/updates/contrib amd64 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/updates/non-free amd64 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/updates/main i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/updates/contrib i386 Packages
Get:2 http://extra.linuxmint.com debian Release [2,275 B]           
Hit http://lmde-mirror.gwendallebihan.net testing/updates/non-free i386 Packages
Get:3 http://packages.linuxmint.com debian Release [16.8 kB]                   
Hit http://lmde-mirror.gwendallebihan.net testing/updates/contrib Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/updates/main Translation-en 
Hit http://lmde-mirror.gwendallebihan.net testing/updates/non-free Translation-en
Ign http://extra.linuxmint.com debian/main Sources/DiffIndex                   
Hit http://lmde-mirror.gwendallebihan.net testing/main Sources                 
Hit http://lmde-mirror.gwendallebihan.net testing/non-free Sources             
Hit http://lmde-mirror.gwendallebihan.net testing/main amd64 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/non-free amd64 Packages
Ign http://extra.linuxmint.com debian/main amd64 Packages/DiffIndex   
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages 
Get:4 http://packages.linuxmint.com debian/main Sources [22.4 kB]     
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages     
Ign http://extra.linuxmint.com debian/main i386 Packages/DiffIndex             
Get:5 http://packages.linuxmint.com debian/upstream Sources [3,246 B]         
Get:6 http://packages.linuxmint.com debian/import Sources [28.4 kB]           
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-en_GB     
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-en         
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en_GB
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en     
Get:7 http://packages.linuxmint.com debian/main amd64 Packages [26.1 kB]       
Get:8 http://packages.linuxmint.com debian/upstream amd64 Packages [16.8 kB]   
Get:9 http://packages.linuxmint.com debian/import amd64 Packages [53.6 kB]
Get:10 http://packages.linuxmint.com debian/main i386 Packages [26.1 kB]
Get:11 http://packages.linuxmint.com debian/upstream i386 Packages [16.8 kB]
Get:12 http://packages.linuxmint.com debian/import i386 Packages [53.7 kB]     
Get:13 http://extra.linuxmint.com debian/main Sources [20 B]                   
Get:14 http://extra.linuxmint.com debian/main amd64 Packages [20 B]           
Get:15 http://extra.linuxmint.com debian/main i386 Packages [20 B]           
Ign http://extra.linuxmint.com debian/main Translation-en_GB                   
Ign http://extra.linuxmint.com debian/main Translation-en                     
Ign http://packages.linuxmint.com debian/import Translation-en_GB             
Ign http://packages.linuxmint.com debian/import Translation-en                 
Ign http://packages.linuxmint.com debian/main Translation-en_GB               
Ign http://packages.linuxmint.com debian/main Translation-en                   
Ign http://packages.linuxmint.com debian/upstream Translation-en_GB           
Ign http://packages.linuxmint.com debian/upstream Translation-en               
Fetched 266 kB in 9s (27.5 kB/s)                                               
Encountered a section with no Package: header
Problem with MergeList /var/lib/apt/lists/packages.linuxmint.com_dists_debian_import_i18n_Translation-en
The package lists or status file could not be parsed or opened.
Can't call method "policy" on an undefined value at /usr/bin/apt-show-versions line 56.
E: Problem executing scripts APT::Update::Post-Invoke-Success 'test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i'
E: Sub-process returned an error code

..................................................................................................................

I'm stuck. What should I do?
Last edited by karlchen on Tue Mar 18, 2014 1:20 pm, edited 1 time in total.
Reason: [code] tags added to make reading easier
DougB
Level 2
Level 2
 
Posts: 51
Joined: Thu Oct 27, 2011 8:14 am

Linux Mint is funded by ads and donations.
 

Re: Synaptic and Update screwed in UP8

Postby gtsfer on Tue Mar 18, 2014 2:16 pm

Try this first... Open "Software Sources" from Control Center. Click the Maintenance button and then click the "Fix MergeList Issue" button.

I guess you more or less did this next one already. But If that doesn't work try a doing cleanup using these commands from a terminal window.

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get update
There's no Windows in my house. And it's a brighter and happier place now.
LMDE Mate, Cinnamon 17, KDE 17, Debian 7.6.0. Edit your first post and add SOLVED to the Subject if it's resolved.
User avatar
gtsfer
Level 7
Level 7
 
Posts: 1692
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

[SOLVED] Re: Synaptic and Update screwed in UP8

Postby DougB on Wed Mar 19, 2014 7:03 am

Many thanks, Fix MergeList Problems did the trick - not immediately, however.
On rebooting after fixing the mergelist I still got error messages, but the second re-boot cleared these.
Thanks again!
DougB
Level 2
Level 2
 
Posts: 51
Joined: Thu Oct 27, 2011 8:14 am


Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 7 guests