There is a glitch on the Ubuntu Software Center and whenever I open it an error appears and it keeps loading and never opens. Why does this happen? I have installed Ubuntu 13.04 on a disk and partitioned it. Please help me and ask for excess information if you need it. If you know of any duplicates please show me them!!

I get the following error in a terminal

SystemError: E:Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

What is the error saying? Please edit your question with this information.
–
minerz029Oct 15 '13 at 0:42

It would be better if you provide the errors you are getting. Although you can try this command in terminal once: sudo dpkg-reconfigure software-center Reply what did you get..
–
Saurav KumarOct 15 '13 at 1:20

SystemError: E:Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list I got this error doing both commands. It happened on the first one then I tried the second one and this happened too.
–
askubuntu7639Oct 15 '13 at 1:30

If your /etc/apt/sources.list.d/medibuntu.list file contains a full HTML page, then this is really not the content it should have. This really does not happen by itself - you probably have put it there without knowing what you were doing. Try removing the offending file. sudo rm /etc/apt/sources.list.d/medibuntu.list and try again.
–
gertvdijkOct 20 '13 at 16:16

The Medibuntu repository, which is referred to in your SystemError output, has now been shut down, the packages were either obsolete, unnecessary or moved to the official Ubuntu archive. Now that you can no longer pull packages down from the Medibuntu archive, you no longer need the medibuntu.list file in the /etc/apt/sources.list.d/ directory.

Open the terminal and open the /etc/apt/sources.list file for editing in the nano editor:

sudo nano '/etc/apt/sources.list'

Delete any lines in sources.list that have medibuntu in them. Press the keyboard combination Ctrl+O and after that press Enter to save the sources.list file. Press the keyboard combination Ctrl+X to exit nano.

Remove the medibuntu.list file from its location in the /etc/apt/sources.list.d/ directory. This command will create a backup directory and save a backup of the medibuntu.list file called medibuntu.list.bak in it:

I typed in the command and there weren't any lines that said medibuntu in them. Can you give me any more help?
–
askubuntu7639Oct 19 '13 at 0:54

Maybe your sources.list file is OK the way it is, so it doesn't need to be edited. In that case step 1. doesn't apply because it does nothing, so skip step 1. and just do step 2. and step 3.
–
karelOct 19 '13 at 4:01

I tried step 2 and it said no such file exists. Then I got step three and I got the original error.
–
askubuntu7639Oct 20 '13 at 16:02