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-12-2014 09:16 AM

Update Manager not working in Linux Mint 16
 
Hello, just starting this. I'm using Linux Mint 16 Cinnamon, for about 4 days now. Can't get the update manager to work. It says Error in checkAPT.py, could not refresh the list of packages

fuorviato 02-13-2014 12:21 PM

The solution can be easily googled.

bumi 02-13-2014 02:21 PM

Yes

bumi 02-13-2014 02:24 PM

Inc

fuorviato 02-13-2014 03:16 PM

Did the solution I gave you solve your problem?

bumi 02-13-2014 08:52 PM

Not the ones on top. I'm trying to figure which is "the offending file". I'm new to linux, about 4 days, so it's all a bit confusing for me..... I have tried a few things and none of them have worked so far. I'm at the bottom of that page now, trying to find out which file it is....

fuorviato 02-14-2014 12:39 PM

The file should be
Quote:

checkAPT.py
. It's a python file. For safety, don't remove it but just move it somewhere else then relaunch update manager.

bumi 02-14-2014 02:24 PM

don't see it under var/lib/apt/lists
here's what's there
/var/lib/apt/lists/partial/archive.getdeb.net_ubuntu_dists_saucy-getdeb_InRelease.reverify
/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_saucy-updates_Release.gpg.reverify
/var/lib/apt/lists/partial/extra.linuxmint.com_dists_petra_Release.gpg.reverify
/var/lib/apt/lists/partial/packages.linuxmint.com_dists_petra_Release.gpg.reverify
/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_saucy-security_Release.gpg.reverify
/var/lib/apt/lists/partial/_usr_repo_linuxmint_dists_petra_Release.gpg.reverify
/var/lib/apt/lists/partial/_usr_repo_ubuntu_dists_saucy_Release.gpg.reverify
/var/lib/apt/lists/partial/_usr_repo_ubuntu_dists_saucy-security_Release.gpg.reverify
/var/lib/apt/lists/partial/_usr_repo_ubuntu_dists_saucy-updates_Release.gpg.reverify
/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_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
/var/lib/apt/lists/_usr_repo_linuxmint_dists_petra_import_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_linuxmint_dists_petra_main_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_linuxmint_dists_petra_Release
/var/lib/apt/lists/_usr_repo_linuxmint_dists_petra_Release.gpg
/var/lib/apt/lists/_usr_repo_linuxmint_dists_petra_upstream_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy_main_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy_multiverse_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy_Release
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy_Release.gpg
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy_restricted_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-security_main_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-security_multiverse_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-security_Release
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-security_Release.gpg
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-security_restricted_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-security_universe_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy_universe_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-updates_main_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-updates_multiverse_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-updates_Release
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-updates_Release.gpg
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-updates_restricted_binary-amd64_Packages
/var/lib/apt/lists/_usr_repo_ubuntu_dists_saucy-updates_universe_binary-amd64_Packages

fuorviato 02-15-2014 10:39 AM

Does your system have "locate" command? If not, install it and issue:

Quote:

sudo updatedb && locate checkAPT.py
. The output tell you the file location

bumi 02-16-2014 12:26 PM

I went ahead and moved the checkAPT.py file to another folder. The updater now has a green check instead of a red X, but I don't know if it's actually working. If you open the update manager and try to reload the cache, you get the same error as before. I guess I'll give it a few days and see if it does anything.

bumi 02-16-2014 10:03 PM

OK, actually if you try to update with the terminal, you still get the error. It does, however, have a green check instead of a red X, whatever that is worth.

fuorviato 02-17-2014 06:36 AM

Can you show me what your
Quote:

/etc/apt
dir contains?

bumi 02-17-2014 06:46 AM

/etc/apt/apt.conf.d
/etc/apt/preferences.d
/etc/apt/sources.list.d
/etc/apt/trusted.gpg.d
/etc/apt/sources.list
/etc/apt/sources.list.orig
/etc/apt/trustdb.gpg
/etc/apt/trusted.gpg

fuorviato 02-17-2014 06:50 AM

Paste this
Quote:

/etc/apt/sources.list
here please.

USE [QUOTE] tags

bumi 02-17-2014 02:14 PM

deb file:///usr/repo/linuxmint/ petra main upstream import
deb file:///usr/repo/ubuntu/ saucy main restricted universe multiverse
deb file:///usr/repo/ubuntu/ saucy-updates main restricted universe multiverse
deb file:///usr/repo/ubuntu/ saucy-security main restricted universe multiverse

# deb cdrom:[Linux Mint 16 _petra_ - Release amd64 20131126]/ saucy contrib main non-free


All times are GMT -5. The time now is 04:48 AM.