problem accessing repositories from natty narwhal 11.04

Asked by Toni Smith on 2012-04-09

i am having trouble adding the medibuntu packages to synaptic. i have tried both command line and also adding directly to synaptic and it keeps coming up with various error messages
in synaptic i now get this message

E: Malformed line 18 in source list /etc/apt/sources.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.

and when i close out of that message synaptic just closes not allowing me to remove the medibuntu lines from it

i am using natty narwhal 11.04 satanic edition

using the terminal i was always getting 404 error no matter what i tried.

have come back to linux after a couple years away

Question information

Language:
English Edit question
Status:
Solved
For:
Medibuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Toni Smith
Solved:
2012-04-12
Last query:
2012-04-12
Last reply:
Gauvain Pocentek (gpocentek) said : #1

Can you paste the content of /etc/apt/sources.list and /etc/apt/sources.list.d/medibuntu.list ?

Toni Smith (hembrasalvaje) said : #2

these are the files you were talking about that i found using mc in the terminal

  GNU nano 2.2.6 File: /etc/apt/sources.list Modified

deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiv$
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe mu$
deb-src http://archive.ubuntu.com/ubuntu/ natty-updates main restricted univers$
deb http://security.ubuntu.com/ubuntu natty-security main restricted universe m$
deb-src http://security.ubuntu.com/ubuntu natty-security main restricted univer$

# deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ natty-updates main restricted
# deb-src http://security.ubuntu.com/ubuntu natty-security main restricted

# deb http://archive.ubuntu.com/ubuntu/ natty-backports main restricted univers$
deb http://archive.canonical.com/ubuntu natty partner

# Ubuntu Satanic Edition
deb http://ubuntusatanic.org/hell natty main
deb-src http://ubuntusatanic.org/hell natty main
deb http://packages.medibuntu.org/ oneric
deb-src http://packages.medibuntu.org/ oneric

  GNU nano 2.2.6 File: /etc/apt/sources.list.save

deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse #Added by software-prope$
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse #Added by softwa$
deb http://security.ubuntu.com/ubuntu natty-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu natty-security main restricted universe multiverse #Added by softw$

# deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ natty-updates main restricted
# deb-src http://security.ubuntu.com/ubuntu natty-security main restricted

# deb http://archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu natty partner

# Ubuntu Satanic Edition
deb http://ubuntusatanic.org/hell natty main
deb-src http://ubuntusatanic.org/hell natty main
deb http://packages.medibuntu.org/ oneric
deb-src http://packages.medibuntu.org/ oneric

Toni Smith (hembrasalvaje) said : #3

dont worry i worked it out myself and took out the medibuntu through mc.