update manger

Asked by HASmith

An 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 'deb:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/' is not known on line 1 in source list /etc/apt/sources.list, E:The list of sources could not be read.'

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
J. Austin Rodriguez
Solved:
Last query:
Last reply:
Revision history for this message
J. Austin Rodriguez (jeanaustinr) said :
#1

It seems you have left a check mark on the Cdrom with Ubuntu 9.10 'Karmic Koala' on your Software Sources. Please confirm and reload your sources.list.

Revision history for this message
HASmith (4coopersmith) said :
#2

OK thanks

I un-checked the box in my Software Sources and the following is the message I get.

Could not initialize the package information

An 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 'deb:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/' is not known on line 1 in source list /etc/apt/sources.list, E:The list of sources could not be read.'

Revision history for this message
HASmith (4coopersmith) said :
#3

This is what my source list file looks like.

deb:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ karmic universe
deb http://us.archive.ubuntu.com/ubuntu/ karmic-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://us.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ karmic-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://us.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
deb-src http://archive.canonical.com/ubuntu karmic partner

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb http://security.ubuntu.com/ubuntu karmic-security main universe
deb http://archive.ubuntu.com/ubuntu/ karmic main
deb-src http://archive.ubuntu.com/ubuntu/ karmic main #Added by software-properties
# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted

Revision history for this message
George Standish (george-standish-deactivatedaccount) said :
#4

HASmith,

There is a problem with the first line in your /etc/apt/sources.list!

   deb:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted

Does NOT match the standard format as all the other lines.

You need to put a # at the start of that line like:

  # deb:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted

Which will "comment" the line out so apt will ignore it.

To edit the file in the graphical program gedit you could use the following command:

   sudo gedit /etc/apt/sources.list

Good luck,
George

Revision history for this message
George Standish (george-standish-deactivatedaccount) said :
#5

HASmith,

I have made a mistake! DO NOT USE "sudo gedit /etc/apt/sources.list" instead use "gksu gedit /etc/apt/sources.list"

You should never use the regular sudo command with graphical apps!

Sorry for my error,

George

Revision history for this message
Best J. Austin Rodriguez (jeanaustinr) said :
#6

In addition to what George has said, put # also before the "See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to" and "newer versions of the distribution."

So your sources.list should look like

# deb:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

Revision history for this message
HASmith (4coopersmith) said :
#7

Thank you guy's very much. Everthing looks good the Uupdate Manger is doing it's thing.