unresolvable problem!

Asked by Debbie Smoot on 2007-07-29

Could not initialize the package information

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:Malformed line 48 in source list /etc/apt/sources.list (dist parse), E:The list of sources could not be read.'

I'm sorry if I don't understand your telling me this is not a bug but above message says otherwise. Pls give me a step by step instruction on how to resolve this issue. I do not know how to fix this on my own. What is the update manager package? This came from Update manager. How do I fix this? I can't get into Update manager w/o getting this error message.

Question information

Language:
English Edit question
Status:
Answered
For:
Software Updater Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Debbie Smoot (djsmoot6) said :
#1

this problem still is not solved your telling me this is not a bug issue but it states that it is. Pls advise....

Revision history for this message
Saša Bodiroža (jazzva) said :
#2

Hello,

It isn't a bug, it says that there is a malformed line in /etc/apt/sources.list. The line number is 48. Because it is malformed, the update-manager can not work. If you wish, you can post your /etc/apt/sources.list here and I will edit it for you.

Revision history for this message
Debbie Smoot (djsmoot6) said :
#3

I'm sorry this computer was given to me as a gift, it is a brand new program
for me, I am only use to windows and can do just about anything down to
formatting the hard drive on windows. But this program is like a foreign
language to me with no skills to operate it.
I'm sorry I seem so dumb about this. The only reason I said that it was a
bug is because when it gives me the message it tells me to report the bug.
Do I go to terminal to do this? Thank you for your help.

>From: Saša Bodiroža <email address hidden>
>Reply-To: Saša Bodiroža<email address hidden>
>To: <email address hidden>
>Subject: Re: [Question #10605]: unresolvable problem!
>Date: Wed, 01 Aug 2007 01:32:21 -0000
>
>Your question #10605 on update-manager changed:
>https://answers.launchpad.net/update-manager/+question/10605
>
> Status: Open => Answered
>
>Saša Bodiroža proposed the following answer:
>Hello,
>
>It isn't a bug, it says that there is a malformed line in
>/etc/apt/sources.list. The line number is 48. Because it is malformed,
>the update-manager can not work. If you wish, you can post your
>/etc/apt/sources.list here and I will edit it for you.
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https://answers.launchpad.net/update-manager/+question/10605/+confirm?answer_id=1
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https://answers.launchpad.net/update-manager/+question/10605
>
>You received this question notification because you are a direct
>subscriber of the question.

Revision history for this message
Saša Bodiroža (jazzva) said :
#4

Go to terminal and type "gedit /etc/apt/sources.list" (if you use GNOME) or "kate /etc/apt/sources.list" (if you use KDE). The text editor will start up and open sources.list. Then select all and copy/paste it here.

Revision history for this message
Debbie Smoot (djsmoot6) said :
#5

Hello,
Thank you for writing me back and helping me.
I went to terminal and typed gedit /ect/apt/sources.list
After I did that it opened a seperate window
I clicked on open sources.list and this is the error message it gave me

It wouldnt let me copy and paste but this is what it said:

THE FOLDER CONTENTS COULD NOT BE DISPLAYED
Error Accessing 'file:///ect/apt':File not found

>From: Saša Bodiroža <email address hidden>
>Reply-To: Saša Bodiroža<email address hidden>
>To: <email address hidden>
>Subject: Re: [Question #10605]: unresolvable problem!
>Date: Wed, 01 Aug 2007 13:29:28 -0000:
>
>Your question #10605 on update-manager changed:
>https://answers.launchpad.net/update-manager/+question/10605
>
> Status: Open => Needs information
>
>Saša Bodiroža requested for more information:
>Go to terminal and type "gedit /etc/apt/sources.list" (if you use GNOME)
>or "kate /etc/apt/sources.list" (if you use KDE). The text editor will
>start up and open sources.list. Then select all and copy/paste it here.
>
>--
>To answer this request for more information, you can either reply to
>this email or enter your reply at the following page:
>https://answers.launchpad.net/update-manager/+question/10605
>
>You received this question notification because you are a direct
>subscriber of the question.

Revision history for this message
Saša Bodiroža (jazzva) said :
#6

You mistyped the directory name. It's "etc", not "ect". So, what you need to type is:
gedit /etc/apt/sources.list

Or you can do it this way: click on Applications -> Accessories -> Text Editor. That will open up GEdit, a text editor. Point to File, then Open. Go up, until you are in "/". Enter "etc" directory, then "apt" and then open "sources.list".

When you open sources.list copy and paste it's contents here.

Revision history for this message
forensicmaj (forensicmaj) said :
#7

#
# deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415)]/ feisty main restricted

deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415)]/ feisty 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/ feisty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted

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

deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
deb http://ftp.debian.org.sarge main

Revision history for this message
Saša Bodiroža (jazzva) said :
#8

This is the malformed line:
deb http://ftp.debian.org.sarge main

The correct line is this:
deb http://ftp.debian.org sarge main

There is one extra dot, between "org" and "sarge" and there should be a space instead.
By the way, it's a Debian repository. You can use it in Ubuntu, but there is a possibility of system breaking. I would advise you not to use it.

If you want to edit sources.list, go to Terminal and type in:

gksudo gedit /etc/apt/sources.list

When the system asks you for a password, enter the one you use to log on. After that the text editor will start up and you will be able to edit sources.list. Once again, I would advise you to remove the last line (that is "deb http://ftp.debian.org.sarge main"). If you still want to use that repository, then just replace the dot between "org" and "sarge" with a space. After that save your changes.

Can you help with this problem?

Provide an answer of your own, or ask Debbie Smoot for more information if necessary.

To post a message you must log in.