
The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
E: Malformed line 1 in source list /etc/apt/sources.list.d/local-repository.list (URI parse)
E: Unable to lock the list directory
E: Malformed line 1 in source list /etc/apt/sources.list.d/local-repository.list (URI parse)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.


PC_load_letter wrote:I haven't been able to update at all, although I'm getting a different error than the OP. First I get this message:The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
and when I close it, it gives this error:E: Malformed line 1 in source list /etc/apt/sources.list.d/local-repository.list (URI parse)
E: Unable to lock the list directory
then:E: Malformed line 1 in source list /etc/apt/sources.list.d/local-repository.list (URI parse)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
I have changed the repo to a local one (it suggested a Canadian server. I live in Kansas, USA), but nothing has changed. Any help is appreciated.
Thanks.

gedit /etc/apt/sources.list.d/local-repository.list
E: Malformed line 1 in source list /etc/apt/sources.list.d/local-repository.list (dist parse)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.



sudo dpkg --configure -a
$ sudo apt-get update
[sudo] password for grouchygaijin:
Ign file: binary/ InRelease
Ign file: binary/ Release.gpg
Ign file: binary/ Release
Ign file: binary/ Translation-en_US
Ign file: binary/ Translation-en
Ign http://extras.ubuntu.com natty InRelease
Hit http://packages.medibuntu.org natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security Release
Hit http://packages.medibuntu.org natty/free i386 Packages
Hit http://extras.ubuntu.com natty/main i386 Packages
Hit http://security.ubuntu.com natty-security/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://packages.medibuntu.org natty/non-free i386 Packages
Hit http://security.ubuntu.com natty-security/restricted i386 Packages
Hit http://security.ubuntu.com natty-security/universe i386 Packages
Hit http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://packages.medibuntu.org natty/free TranslationIndex
Ign http://packages.medibuntu.org natty/non-free TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en_US
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://security.ubuntu.com natty-security/main Translation-en_US
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_US
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_US
Ign http://security.ubuntu.com natty-security/universe Translation-en
Ign http://packages.linuxmint.com katya InRelease
Ign http://archive.canonical.com natty InRelease
Ign http://archive.ubuntu.com natty InRelease
Get:1 http://packages.linuxmint.com katya Release.gpg [198 B]
Hit http://archive.canonical.com natty Release.gpg
Get:2 http://packages.linuxmint.com katya Release [16.5 kB]
Hit http://archive.canonical.com natty Release
Get:3 http://packages.linuxmint.com katya/main i386 Packages [8,500 B]
Hit http://archive.canonical.com natty/partner i386 Packages
Get:4 http://packages.linuxmint.com katya/upstream i386 Packages [16.0 kB]
Ign http://archive.canonical.com natty/partner TranslationIndex
Get:5 http://packages.linuxmint.com katya/import i386 Packages [5,910 B]
Ign http://packages.linuxmint.com katya/import TranslationIndex
Ign http://packages.linuxmint.com katya/main TranslationIndex
Ign http://packages.linuxmint.com katya/upstream TranslationIndex
Ign http://archive.ubuntu.com natty-updates InRelease
Hit http://archive.ubuntu.com natty Release.gpg
Hit http://archive.ubuntu.com natty-updates Release.gpg
Hit http://archive.ubuntu.com natty Release
Hit http://archive.ubuntu.com natty-updates Release
Hit http://archive.ubuntu.com natty/main i386 Packages
Hit http://archive.ubuntu.com natty/restricted i386 Packages
Hit http://archive.ubuntu.com natty/universe i386 Packages
Hit http://archive.ubuntu.com natty/multiverse i386 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Hit http://archive.ubuntu.com natty-updates/main i386 Packages
Hit http://archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.canonical.com natty/partner Translation-en_US
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://archive.canonical.com natty/partner Translation-en
Ign http://packages.linuxmint.com katya/import Translation-en_US
Ign http://packages.linuxmint.com katya/import Translation-en
Ign http://packages.linuxmint.com katya/main Translation-en_US
Ign http://packages.linuxmint.com katya/main Translation-en
Ign http://packages.linuxmint.com katya/upstream Translation-en_US
Ign http://packages.linuxmint.com katya/upstream Translation-en
Ign http://packages.medibuntu.org natty/free Translation-en_US
Ign http://archive.ubuntu.com natty/main Translation-en_US
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en_US
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en_US
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://packages.medibuntu.org natty/free Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://packages.medibuntu.org natty/non-free Translation-en_US
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://packages.medibuntu.org natty/non-free Translation-en




sudo rm /var/lib/apt/lists/* -vf sudo apt-get clean all sudo apt-get update

Users browsing this forum: No registered users and 1 guest