Ubuntu Forums Archive Viewer

Update Manager problem

Archived thread 1000436 from New to Ubuntu. Markdown source: New_to_Ubuntu/thread_1000436_Update_Manager_problem.md

Original URL About this archive
#1

I just installed Ubuntu and was playing around installing aps and made a mistake along the way. I am getting a "Could not initialize the package information" message. Error message says 'E:Type '“deb' is not known on line 62 in source list /etc/apt/sources.list, E:The list of sources could not be read.'

I included my source list below, hope it's enough info.

Thanks for any help in advance

#deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid 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/ intrepid main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid main restricted

Major bug fix updates produced after the final release of the

distribution.

deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

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/ intrepid universe deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid universe deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid multiverse deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid-backports main restricted universe multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-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 intrepid partner

deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted deb http://security.ubuntu.com/ubuntu intrepid-security universe deb-src http://security.ubuntu.com/ubuntu intrepid-security universe deb http://security.ubuntu.com/ubuntu intrepid-security multiverse deb-src http://security.ubuntu.com/ubuntu intrepid-security 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 intrepid partner deb-src http://archive.canonical.com/ubuntu intrepid partner

“deb http://packages.dfreer.org feisty main”

#2

“deb http://packages.dfreer.org feisty main” that line is out of place, there should be no quotation marks at the beginning or end. unless you are using a specific package from this y ou could probably remove it all together because it is old. to edit the list type in alt+F2 and then ``` gksudo gedit /etc/apt/sources.list

#3

Easy way to find/fix your mistake Open terminal, enter this...

gksudo gedit /etc/apt/sources.list

Go to "Search>Go to line" and enter 62 This should get you to where Synaptic is hanging. Write down the entry for later. Put a # in front of line 62 or delete it, then go to File>Save and then Close or Quit. Enter this in terminal (with Synaptic closed)...

sudo apt-get update
#4

Worked great. Thank you!