PDA

View Full Version : [ubuntu] Could not initialize the package information



Alaxandar
July 11th, 2008, 09:18 PM
hey I am getting this error message when I try to open my Update manager.
Below this it says: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 '“deb' is not known on line 60 in source list /etc/apt/sources.list, E:The list of sources could not be read.'

And when I open my add/remove programs I get this error: Failed to check for installed and available applications

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'.

An when I open my synaptic pacage manager I get this error: E: Type '“deb' is not known on line 60 in source list /etc/apt/sources.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 am new to tis and I have no I dea what to do

Pumalite
July 11th, 2008, 09:24 PM
Post:
cat /etc/apt/sources.list

Alaxandar
July 11th, 2008, 11:23 PM
what am I supposed to do there?
I put it in terminal but I kinda knew that would do nothing

Pumalite
July 11th, 2008, 11:35 PM
Copy the output and paste it here.

Alaxandar
July 11th, 2008, 11:47 PM
alexander@alexander-desktop:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy 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/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-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://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
deb http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
deb-src http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
“deb http://packages.dfreer.org feisty main”
alexander@alexander-desktop:~$

Pumalite
July 12th, 2008, 02:48 AM
Comment out (put a # in front) the feisty lines.
sudo cp /etc/apt/sources.list /etc/apt/sources.list.old
gksudo gedit /etc/apt/sources.list
Save, exit.
sudo apt-get update
Try again.

Alaxandar
July 12th, 2008, 04:15 AM
whats the feisty lines

Partyboi2
July 12th, 2008, 05:40 AM
As Pumalite has mentioned. Open a terminal (Applications>Accessories>Terminal)
backup your current sources.list

sudo cp /etc/apt/sources.list /etc/apt/sources.list.oldthen open up your sources.list by typing in the terminal

gksudo gedit /etc/apt/sources.listlook for these lines that have the word fiesty in them

deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
deb http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
deb-src http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
“deb http://packages.dfreer.org (http://packages.dfreer.org/) feisty main”and put a # infront of them like this:

#deb http://download.tuxfamily.org/3v1deb feisty eyecandy
#deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
#deb http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
#deb-src http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
#deb http://packages.dfreer.org (http://packages.dfreer.org/) feisty mainThen save the changes and back in the terminal

sudo apt-get update

Alaxandar
July 12th, 2008, 04:33 PM
It worked perfect thank you so much, sorry I was so slow at it.