Problem with update manager

Asked by Daniel

I just wrote a command in the terminal and had a total disaster! I'm having these messages now!

UPDATE MANAGER'S MESSAGE
A unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type '--09:02:53--' 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.'

ADD REMOVE PROGRAMS' MESSAGE: This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.

SYNAPTIC MANAGER'S MESSAGE
E: Type '--09:02:53--' 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.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

I'm sending my sources list too.

deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://mt.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://mt.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mt.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://mt.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://mt.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://mt.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://mt.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://mt.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mt.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://mt.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://mt.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://mt.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://mt.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://mt.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb http://security.ubuntu.com/ubuntu/ gutsy-security restricted main multiverse universe
deb http://blognux.free.fr/debian unstable main
deb http://download.tuxfamily.org/syzygy42/ gutsy avant-window-navigator

deb-src http://download.tuxfamily.org/syzygy42/ gutsy avant-window-navigator

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel
Solved:
Last query:
Last reply:
Revision history for this message
Albert Damen (albrt) said :
#1

The instruction given by update-manager is a bit misleading, as the problem reported is not in /etc/apt/sources.list but in /etc/apt/sources.list.d/medibuntu.list. Please check the first line of /etc/apt/sources.list.d/medibuntu.list. If you don't see the problem, please paste /etc/apt/sources.list.d/medibuntu.list here so we can have a look.

Revision history for this message
Daniel (danbar) said :
#2

I typed in the terminal the following....gksudo gedit /etc/apt/sources.list.d/medibuntu.list

And I got this answer.......

--09:02:53-- http://www.medibuntu.org/sources.list.d/gutsy.list
           => `gutsy.list'
Resolving www.medibuntu.org... 87.98.242.10
Connecting to www.medibuntu.org|87.98.242.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 223 [text/plain]

    0K 100% 21.16 MB/s

09:02:53 (21.16 MB/s) - `gutsy.list' saved [223/223]

Thanks for your attention.

Revision history for this message
Albert Damen (albrt) said :
#3

OK, that file does not look good indeed, so first delete it: sudo rm /etc/apt/sources.list.d/medibuntu.list
Now, if you want to install packages from medibuntu, you have to get the correct sources for medibuntu. You can do that by giving the following command in a terminal window: sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list

You can find more information about medibuntu on the ubuntu wiki: https://help.ubuntu.com/community/Medibuntu#head-7486ed038a9becc1dff10a24cc07a38a00d70e9f

Revision history for this message
Daniel (danbar) said :
#4

Surprisingly it said that no such file exists!

@-desktop:~$ sudo rm /etc/apt/sources.list.d/medibuntu.list
[sudo] password for :
@-desktop:~$ rm /etc/apt/sources.list.d/medibuntu.list
rm: cannot remove `/etc/apt/sources.list.d/medibuntu.list': No such file or directory
@-desktop:~$

Revision history for this message
Albert Damen (albrt) said :
#5

If the file has already gone, you can do the second step: sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list

After that command completed, do the command: sudo apt-get update
That will tell us if your source lists are OK now.

Revision history for this message
Daniel (danbar) said :
#6

This is what I got. Is it ok? With medibuntu it is saying that it cannot verify the public key.........but I can tell you that now adding programs and synaptic manager ARE WORKING!! Thanks a million! You're an ubuntu wizard for sure!

:~$ sudo apt-get update
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-mt
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-mt
Get:1 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://blognux.free.fr unstable Release.gpg
Get:2 http://mt.archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/restricted Translation-mt
Ign http://mt.archive.ubuntu.com gutsy/main Translation-mt
Get:3 http://download.tuxfamily.org gutsy Release.gpg [189B]
Get:4 http://archive.canonical.com gutsy Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/main Translation-mt
Ign http://mt.archive.ubuntu.com gutsy/restricted Translation-mt
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-mt
Ign http://mt.archive.ubuntu.com gutsy/universe Translation-mt
Ign http://security.ubuntu.com gutsy-security/universe Translation-mt
Ign http://mt.archive.ubuntu.com gutsy/multiverse Translation-mt
Get:5 http://security.ubuntu.com gutsy-security Release [51.2kB]
Ign http://download.tuxfamily.org gutsy/avant-window-navigator Translation-mt
Get:6 http://mt.archive.ubuntu.com gutsy-updates Release.gpg [191B]
Ign http://mt.archive.ubuntu.com gutsy-updates/main Translation-mt
Ign http://mt.archive.ubuntu.com gutsy-updates/restricted Translation-mt
Hit http://download.tuxfamily.org gutsy Release
Ign http://mt.archive.ubuntu.com gutsy-updates/universe Translation-mt
Get:7 http://security.ubuntu.com gutsy-security/restricted Packages [14B]
Err http://download.tuxfamily.org gutsy Release

Ign http://archive.canonical.com gutsy/partner Translation-mt
Ign http://mt.archive.ubuntu.com gutsy-updates/multiverse Translation-mt
Get:8 http://security.ubuntu.com gutsy-security/main Packages [45.9kB]
Hit http://mt.archive.ubuntu.com gutsy Release
Hit http://archive.canonical.com gutsy Release
Hit http://mt.archive.ubuntu.com gutsy-updates Release
Ign http://blognux.free.fr unstable/main Translation-mt
Get:9 http://security.ubuntu.com gutsy-security/multiverse Packages [2903B]
Get:10 http://security.ubuntu.com gutsy-security/universe Packages [25.7kB]
Get:11 http://download.tuxfamily.org gutsy Release [10.9kB]
Hit http://archive.canonical.com gutsy/partner Packages
Hit http://mt.archive.ubuntu.com gutsy/main Packages
Hit http://mt.archive.ubuntu.com gutsy/restricted Packages
Hit http://mt.archive.ubuntu.com gutsy/main Sources
Hit http://mt.archive.ubuntu.com gutsy/restricted Sources
Hit http://mt.archive.ubuntu.com gutsy/universe Packages
Hit http://mt.archive.ubuntu.com gutsy/universe Sources
Hit http://archive.canonical.com gutsy/partner Sources
Hit http://mt.archive.ubuntu.com gutsy/multiverse Packages
Hit http://mt.archive.ubuntu.com gutsy/multiverse Sources
Hit http://mt.archive.ubuntu.com gutsy-updates/main Packages
Hit http://mt.archive.ubuntu.com gutsy-updates/restricted Packages
Ign http://download.tuxfamily.org gutsy Release
Hit http://mt.archive.ubuntu.com gutsy-updates/main Sources
Hit http://mt.archive.ubuntu.com gutsy-updates/restricted Sources
Hit http://mt.archive.ubuntu.com gutsy-updates/universe Packages
Hit http://mt.archive.ubuntu.com gutsy-updates/universe Sources
Hit http://mt.archive.ubuntu.com gutsy-updates/multiverse Packages
Hit http://download.tuxfamily.org gutsy/avant-window-navigator Packages
Hit http://mt.archive.ubuntu.com gutsy-updates/multiverse Sources
Hit http://download.tuxfamily.org gutsy/avant-window-navigator Sources
Ign http://blognux.free.fr unstable Release
Ign http://blognux.free.fr unstable/main Packages
Hit http://blognux.free.fr unstable/main Packages
Get:12 http://packages.medibuntu.org gutsy Release.gpg [189B]
Ign http://packages.medibuntu.org gutsy/free Translation-mt
Ign http://packages.medibuntu.org gutsy/non-free Translation-mt
Get:13 http://packages.medibuntu.org gutsy Release [2723B]
Ign http://packages.medibuntu.org gutsy Release
Ign http://packages.medibuntu.org gutsy/free Packages
Ign http://packages.medibuntu.org gutsy/non-free Packages
Get:14 http://packages.medibuntu.org gutsy/free Packages [4400B]
Err http://packages.medibuntu.org gutsy/non-free Packages
  503 Service Temporarily Unavailable [IP: 88.191.13.100 80]
Fetched 144kB in 25s (5625B/s)
Failed to fetch http://packages.medibuntu.org/dists/gutsy/non-free/binary-i386/Packages.gz 503 Service Temporarily Unavailable [IP: 88.191.13.100 80]
Reading package lists... Done
W: GPG error: http://download.tuxfamily.org gutsy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3E231AC7F4ECF181
W: GPG error: http://packages.medibuntu.org gutsy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
@-desktop:

Revision history for this message
Lynne Stevens (jackie40d) said :
#7

And none of the above worked

Revision history for this message
Lynne Stevens (jackie40d) said :
#8

'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

I now have a big RED NO ENTRY sign on the bar and will not update !