LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Update Manager not working in Linux Mint 16 (https://www.linuxquestions.org/questions/linux-newbie-8/update-manager-not-working-in-linux-mint-16-a-4175494647/)

bumi 02-19-2014 11:44 AM

same error

W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ saucy/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_saucy_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ saucy/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_saucy_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.getdeb.net/ubuntu/ saucy-getdeb/apps amd64 Packages (/var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_saucy-getdeb_apps_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.getdeb.net/ubuntu/ saucy-getdeb/apps i386 Packages (/var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_saucy-getdeb_apps_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

fuorviato 02-19-2014 11:48 AM

Do you have 32 or 64 bit machine?
Also. Make sure /var/lib/apt/lists/ contains nothing

Quote:

ls /var/lib/apt/lists/
What does it show?

bumi 02-19-2014 11:57 AM

64 bit

/var/lib/apt/lists/ contains
mark@zareson-limbo6220a ~ $ ls /var/lib/apt/lists/
archive.canonical.com_ubuntu_dists_saucy_partner_binary-amd64_Packages
archive.canonical.com_ubuntu_dists_saucy_partner_binary-i386_Packages
archive.canonical.com_ubuntu_dists_saucy_Release
archive.canonical.com_ubuntu_dists_saucy_Release.gpg
archive.getdeb.net_ubuntu_dists_saucy-getdeb_apps_binary-amd64_Packages
archive.getdeb.net_ubuntu_dists_saucy-getdeb_apps_binary-i386_Packages
archive.getdeb.net_ubuntu_dists_saucy-getdeb_games_binary-amd64_Packages
archive.getdeb.net_ubuntu_dists_saucy-getdeb_games_binary-i386_Packages
archive.getdeb.net_ubuntu_dists_saucy-getdeb_InRelease
archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages
archive.ubuntu.com_ubuntu_dists_saucy_main_binary-i386_Packages
archive.ubuntu.com_ubuntu_dists_saucy_main_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_saucy_multiverse_binary-amd64_Packages
archive.ubuntu.com_ubuntu_dists_saucy_multiverse_binary-i386_Packages
archive.ubuntu.com_ubuntu_dists_saucy_multiverse_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_saucy_Release
archive.ubuntu.com_ubuntu_dists_saucy_Release.gpg
archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-amd64_Packages
archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-i386_Packages
archive.ubuntu.com_ubuntu_dists_saucy_restricted_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-amd64_Packages
archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-i386_Packages
archive.ubuntu.com_ubuntu_dists_saucy_universe_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_saucy-updates_main_binary-amd64_Packages
archive.ubuntu.com_ubuntu_dists_saucy-updates_main_binary-i386_Packages
archive.ubuntu.com_ubuntu_dists_saucy-updates_main_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_saucy-updates_multiverse_binary-amd64_Packages
archive.ubuntu.com_ubuntu_dists_saucy-updates_multiverse_binary-i386_Packages
archive.ubuntu.com_ubuntu_dists_saucy-updates_multiverse_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_saucy-updates_Release
archive.ubuntu.com_ubuntu_dists_saucy-updates_Release.gpg
archive.ubuntu.com_ubuntu_dists_saucy-updates_restricted_binary-amd64_Packages
archive.ubuntu.com_ubuntu_dists_saucy-updates_restricted_binary-i386_Packages
archive.ubuntu.com_ubuntu_dists_saucy-updates_restricted_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_saucy-updates_universe_binary-amd64_Packages
archive.ubuntu.com_ubuntu_dists_saucy-updates_universe_binary-i386_Packages
archive.ubuntu.com_ubuntu_dists_saucy-updates_universe_i18n_Translation-en
extra.linuxmint.com_dists_petra_main_binary-amd64_Packages
extra.linuxmint.com_dists_petra_main_binary-i386_Packages
extra.linuxmint.com_dists_petra_Release
extra.linuxmint.com_dists_petra_Release.gpg
lock
packages.linuxmint.com_dists_petra_import_binary-amd64_Packages
packages.linuxmint.com_dists_petra_import_binary-i386_Packages
packages.linuxmint.com_dists_petra_main_binary-amd64_Packages
packages.linuxmint.com_dists_petra_main_binary-i386_Packages
packages.linuxmint.com_dists_petra_Release
packages.linuxmint.com_dists_petra_Release.gpg
packages.linuxmint.com_dists_petra_upstream_binary-amd64_Packages
packages.linuxmint.com_dists_petra_upstream_binary-i386_Packages
partial
security.ubuntu.com_ubuntu_dists_saucy-security_main_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_saucy-security_main_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_saucy-security_main_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_saucy-security_multiverse_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_saucy-security_multiverse_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_saucy-security_multiverse_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_saucy-security_Release
security.ubuntu.com_ubuntu_dists_saucy-security_Release.gpg
security.ubuntu.com_ubuntu_dists_saucy-security_restricted_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_saucy-security_restricted_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_saucy-security_restricted_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_saucy-security_universe_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_saucy-security_universe_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_saucy-security_universe_i18n_Translation-en

fuorviato 02-19-2014 12:09 PM

You have duplicated entries. There should be only the ~amd64 ones. This is causing the problem and can corrupt your system in the long run.
Go to that dir
Quote:

/var/lib/apt/lists/
, once again and rm -rf * everything so it is empty, then update again.
After rm, launch
Quote:

ls /var/lib/apt/lists/
to make sure it's been cleared.

bumi 02-19-2014 12:16 PM

same error
lists was empty
now it says this
/var/lib/apt/lists/partial
/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_saucy_partner_binary-amd64_Packages
/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_saucy_partner_binary-i386_Packages
/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_saucy_Release
/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_saucy_Release.gpg
/var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_saucy-getdeb_apps_binary-amd64_Packages
/var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_saucy-getdeb_apps_binary-i386_Packages
/var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_saucy-getdeb_games_binary-amd64_Packages
/var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_saucy-getdeb_games_binary-i386_Packages
/var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_saucy-getdeb_InRelease
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_main_binary-i386_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_main_i18n_Translation-en
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_multiverse_binary-amd64_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_multiverse_binary-i386_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_multiverse_i18n_Translation-en
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_Release
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_Release.gpg
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-amd64_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-i386_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_i18n_Translation-en
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-amd64_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-i386_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_universe_i18n_Translation-en
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_main_binary-amd64_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_main_binary-i386_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_main_i18n_Translation-en
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_multiverse_binary-amd64_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_multiverse_binary-i386_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_multiverse_i18n_Translation-en
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_Release
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_Release.gpg
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_restricted_binary-amd64_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_restricted_binary-i386_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_restricted_i18n_Translation-en
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_universe_binary-amd64_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_universe_binary-i386_Packages
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_universe_i18n_Translation-en
/var/lib/apt/lists/extra.linuxmint.com_dists_petra_main_binary-amd64_Packages
/var/lib/apt/lists/extra.linuxmint.com_dists_petra_main_binary-i386_Packages
/var/lib/apt/lists/extra.linuxmint.com_dists_petra_Release
/var/lib/apt/lists/extra.linuxmint.com_dists_petra_Release.gpg
/var/lib/apt/lists/lock
/var/lib/apt/lists/packages.linuxmint.com_dists_petra_import_binary-amd64_Packages
/var/lib/apt/lists/packages.linuxmint.com_dists_petra_import_binary-i386_Packages
/var/lib/apt/lists/packages.linuxmint.com_dists_petra_main_binary-amd64_Packages
/var/lib/apt/lists/packages.linuxmint.com_dists_petra_main_binary-i386_Packages
/var/lib/apt/lists/packages.linuxmint.com_dists_petra_Release
/var/lib/apt/lists/packages.linuxmint.com_dists_petra_Release.gpg
/var/lib/apt/lists/packages.linuxmint.com_dists_petra_upstream_binary-amd64_Packages
/var/lib/apt/lists/packages.linuxmint.com_dists_petra_upstream_binary-i386_Packages
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_main_binary-amd64_Packages
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_main_binary-i386_Packages
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_main_i18n_Translation-en
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_multiverse_binary-amd64_Packages
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_multiverse_binary-i386_Packages
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_multiverse_i18n_Translation-en
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_Release
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_Release.gpg
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_restricted_binary-amd64_Packages
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_restricted_binary-i386_Packages
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_restricted_i18n_Translation-en
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_universe_binary-amd64_Packages
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_universe_binary-i386_Packages
/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_universe_i18n_Translation-en

fuorviato 02-19-2014 12:33 PM

OK. I've found something. In mint /etc/sources/list isn't necessary (Sorry, I use to use Ubuntu which Mint is based on)
So, remove sources.list and try to update again.

bumi 02-19-2014 12:36 PM

OK, so this time we remove the contents of sources.list and don't replace it with anything?

bumi 02-19-2014 12:42 PM

OK, that's what I did and there is no error! What about that checkAPT.py file? Should I just leave it out?

fuorviato 02-19-2014 12:48 PM

Move it back where it was. Now that we know the root of the problem, we can't take for granted it was involved.
If you have no other problems, mark your thread as [SOLVED] please.

bumi 02-19-2014 12:55 PM

Thanks again, I really appreciate your help.


All times are GMT -5. The time now is 11:57 AM.