update manager failure

Asked by Nayr165

Binary package hint: update-manager

'E:Type '--21:21:02--' is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list, E:The list of sources could not be read.'
Ubuntu 8.04

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Connor Imes
Solved:
Last query:
Last reply:

This question was originally filed as bug #297425.

Revision history for this message
Best Connor Imes (ckimes) said :
#1

Hi, this is not really a bug, but a malformed file. You can fix the file by running
   gksudo gedit /etc/apt/sources.list.d/medibuntu.list
The contents should be as follows in Hardy Heron:

## Medibuntu - Ubuntu 8.04 LTS "hardy heron"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ hardy free non-free
deb-src http://packages.medibuntu.org/ hardy free non-free

Copy and paste that in, save and close, then run
   sudo apt-get update

Alternatively (with perhaps a higher probability of success), you can follow the directions on https://help.ubuntu.com/community/Medibuntu and run:
   sudo wget http://www.medibuntu.org/sources.list.d/hardy.list --output-document=/etc/apt/sources.list.d/medibuntu.list
   sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

That will overwrite the broken file and re-apply the necessary settings.
Cheers.

Revision history for this message
Nayr165 (nayr165) said :
#2

Thanks Connor Imes, that solved my question.