E: Type '“deb' is not known on line 56 in source list /etc/apt/sources.list E: The list of sources could not be read.

Bug #236416 reported by Marc
14
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

I was trying to get the zsnes download and began receiving this error I am not sure why or how to fix it .I am very new to Linux I have been using Windows and DOS since I learned about computers. But I am trying to learn Linux to make a change I am pretty fed up with Microsoft. But any help with this error will be greatly appreciated.

E: Type '“deb' is not known on line 56 in source list /etc/apt/sources.list
E: The list of sources could not be read.

Thanks,
Marc

Revision history for this message
Connor Imes (ckimes) wrote :

That is probably because the sources.list file is malformed, can you please post the contents of that file
cat /etc/apt/sources.list
or
gedit /etc/apt/sources.list
Copy and paste the file or upload it as an attachment.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!.

Revision history for this message
PatrynXX (sage-patrynxx) wrote :
Download full text (3.4 KiB)

Got the same thing. Except in my case I know whats doing it. I'm kinda foggy on how to edit the source list. Tried to install automatix which doesn't seem to exist. It's that line thats causing me problems. Here's the cut and paste in full. See the very last line.

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

Read more...

Revision history for this message
Connor Imes (ckimes) wrote :

To open the file for editing in Ubuntu, run
 gksudo gedit /etc/apt/sources.list
Then delete the last line of the file, save and close. Then go to System->Administration->Software Sources and make sure the boxes are checked that you want. Close that, and run
 sudo apt-get update
 sudo apt-get upgrade
If you need further support, please post on the Ubuntu Forums since this bug report is closed - http://ubuntuforums.org/

Revision history for this message
PatrynXX (sage-patrynxx) wrote : Re: [Bug 236416] Re: E: Type'“deb' is not known on line 56 in source list /etc/apt/sources.list E: The list of sources could not be read.
Download full text (3.6 KiB)

finally got around to it. it worked.
PatrynXX wrote:
> Got the same thing. Except in my case I know whats doing it. I'm kinda
> foggy on how to edit the source list. Tried to install automatix which
> doesn't seem to exist. It's that line thats causing me problems.
> Here's the cut and paste in full. See the very last line.
>
>
> #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-secu...

Read more...

Revision history for this message
soho2014 (grburgess) wrote :

I had EXACTLY the same problem also from trying to install Automatix2, and it screwed up my install system royally, but thank God for the instructions here.

Connor Imes SAVED MY BUTT, thankyou very much. It worked beautifully. I'm so relieved.

Revision history for this message
aungminaye (aungminaye) wrote :

E: Type '“deb' is not known on line 57 in source list /etc/apt/sources.list
E: The list of sources could not be read.please help me this

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.