Update manager can't start in UBUNTU 10.10

Asked by Jason33

I have no idea how to fix it because I'm just switch from a Windows's user to be Linux's user.
A problem I've got , also happened in Update manager and Synaptic package manager

'E:Malformed line 5 in source list /etc/apt/sources.list (URI parse)'

When I try to open both program they always warns me
I guessed a problem exists after I try to change a server to download too many time.

Thank you for accept my post.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please open a terminal from Applications→Accessories→Terminal and type:

gedit /etc/apt/sources.list

copy and paste here the first 10 rows of that file...

Revision history for this message
Jason33 (nipatoy) said :
#2

Ummm
Excuse me. I don't get it

"copy and paste here (?) the first 10 rows of that file (sources.list)..."

If I wanna paste 'gedit /etc/apt/sources.list', a file allow me to paste only in txt editor.
and the truth is I can't remember any command but sudo.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Please open a terminal from Applications→Accessories→Terminal and type:

gedit /etc/apt/sources.list

the sources.list content come in front of you...

Select from the open sources.list file the first 10 rows, right click and select copy then paste them into this page...

Revision history for this message
Jason33 (nipatoy) said :
#4

OK. Just take a look from my captures.

On Mon, Nov 29, 2010 at 11:07 AM, Jason33 <
<email address hidden>> wrote:

> Your question #135867 on update-manager in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/135867
>
> Status: Needs information => Open
>
> You gave more information on the question:
> Ummm
> Excuse me. I don't get it
>
> "copy and paste here (?) the first 10 rows of that file
> (sources.list)..."
>
> If I wanna paste 'gedit /etc/apt/sources.list', a file allow me to paste
> only in txt editor.
> and the truth is I can't remember any command but sudo.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Please don't use mail to manage your question but visit your question link
https://answers.launchpad.net/ubuntu/+source/update-manager/+question/135867
using a browser

Revision history for this message
Jason33 (nipatoy) said :
#6

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/
maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb Thailand maverick main restricted multiverse

## Major bug fix updates produced after the final release of the
## distribution.
deb Thailand maverick-updates main restricted multiverse

## 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 Thailand maverick universe
deb Thailand maverick-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

OK.

On Mon, Nov 29, 2010 at 11:14 AM, marcobra (Marco Braida) <
<email address hidden>> wrote:

> Your question #135867 on update-manager in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/135867
>
> marcobra (Marco Braida) posted a new comment:
> Please don't use mail to manage your question but visit your question link
>
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/135867
> using a browser
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#7

Sorry the rows copied here are not enough to see the row number 5 there are too many comment in the file
so please copy and paste here the entire file content...

Revision history for this message
Jason33 (nipatoy) said :
#8

Sorry for my mistake

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/
maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb Thailand maverick main restricted multiverse

## Major bug fix updates produced after the final release of the
## distribution.
deb Thailand maverick-updates main restricted multiverse

## 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 Thailand maverick universe
deb Thailand maverick-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.

## 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://th.archive.ubuntu.com/ubuntu/ maverick-backports main
restricted universe multiverse
# deb-src http://th.archive.ubuntu.com/ubuntu/ maverick-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 maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
# deb-src http://extras.ubuntu.com/ubuntu maverick main

deb Thailand maverick-security main restricted multiverse
deb Thailand maverick-security universe
deb http://mirror1.ku.ac.th/ubuntu/ maverick main universe restricted
multiverse
deb http://security.ubuntu.com/ubuntu/ maverick-security universe main
multiverse restricted
deb http://mirror1.ku.ac.th/ubuntu/ maverick-updates universe main
multiverse restricted

all above is the whole things in a file.
Anyway, Thanks for you answers.

On Mon, Nov 29, 2010 at 12:03 PM, marcobra (Marco Braida) <
<email address hidden>> wrote:

> Your question #135867 on update-manager in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/135867
>
> Status: Open => Needs information
>
> marcobra (Marco Braida) requested for more information:
> Sorry the rows copied here are not enough to see the row number 5 there are
> too many comment in the file
> so please copy and paste here the entire file content...
>
> --
> 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/ubuntu/+source/update-manager/+question/135867
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Jason33 (nipatoy) said :
#9

Could you please help me ?
What am I suppose to do now?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

Please open a terminal and type:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bad

the system will ask you a password: give your user password, you will not see nothing when you type it, then press enter

gksudo gedit /etc/apt/sources.list

Empty the actual content of the file
Then copy the content below and put into the opened file, save, exit and update your system...

deb http://archive.ubuntu.com/ubuntu/ maverick main restricted
deb http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted

deb http://archive.ubuntu.com/ubuntu/ maverick universe
deb http://archive.ubuntu.com/ubuntu/ maverick-updates universe

deb http://archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-updates multiverse

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

deb http://archive.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://archive.ubuntu.com/ubuntu/ maverick-security universe
deb http://archive.ubuntu.com/ubuntu/ maverick-security multiverse

deb http://archive.ubuntu.com/ubuntu/ maverick-proposed restricted main multiverse universe

Revision history for this message
Jason33 (nipatoy) said :
#11

Are u sure?
Because after I typed "sudo cp /etc/apt/sources.list /etc/apt/sources.list.bad"
terminal respond me nothing, just waiting for next commmand?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#12

yes, no error and no output on cp command mean command execute with success

Revision history for this message
Jason33 (nipatoy) said :
#13

Almost success, I think.
Terminal just tell me 'E:Type 'multiverse' is not known on line 18 in source list /etc/apt/sources.list' (another clue for me).
Could you give me a hand again ?

Revision history for this message
Launchpad Janitor (janitor) said :
#14

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
rajeeb lochan dash (rl-dash-9) said :
#15

See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
 newer versions of the distribution.

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

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