can someone please help me? my update manager is broken & my deb files are gone...I followed the command line advice from MARCOBRA 9thankyou for trying0, AND IT STILL SAYS "THE LIST OF SOURCES COULD NOT BE READ. DEN NOT KNOWN ON LINE 59 IN SOURCES LIST /ETC/APTSOURCES.LIST

Asked by Corina on 2009-02-06

MY LIST OF SOURCES HAS DISAPPEARED!!!!!!!!! EVERYTHING SEEMED TO HAVE STARTED WHEEN I DOWNLOADIED `WINE. phooey TO ms ANYWAY! THE BUG SAYS E: TYPE '"DEB IS NOT KNOWN ON LINE 59 IN SOURCE LIST /ETC/APT/SOURCES.LIST
E: TYPE '"DEB' IS NOT KNWN ON LINE 59 IN SOURCE LIST /ETC/APT/SOURCES.LIST
E: TYPE"'DEB" IS NOT KNOWN IN SOURCE LIST /ETC/APT/SOURCES.LIST
E: THE LIST OF SOURCES COULD NOT BE READ. THE SOURCES COULD NOT BE READ. DEB COULD NOT BE READ ON LINE 59 IN SOURCE LIST /ETC/APT/SOURCES.LIST.
i HAVE TRIED REBOOTING, FIXING BROKEN PACKAGES, EVERY CONCEIVABLE WAY TO UPDATE (TO NO AVAIL)

tHANKS FOR TRYING BEFORE TOO. iI AM RELATIVELY NEW, AND DESPITE THIS PROBLEM, I DONT KNOW HOW I COULD HAVE STANDED WINDOWS FOR SO LONG. ONLY REASON WHY I HAVE TO HAVE IT IS FOR MY HUSBAND.
TKS
CORINA *AT THIS POINT THE SUDO CAN'T EVEN UNINSTALL SO I CAN JUST REINSTALL AND GET THIS OVER ALREADY, BUT SUDO CAN'T FIND ANY PACKAGES AT ALL. I KNOW HOW UNLIKELY VIRUSES ARE, BUT THIS ONE IS WIERD. I WOULD GREATLY APPRECIATE ANY MORE SUGGESTIONS....I'M LOST WITHOUT MY PEWTER NOW. EVER SINCE I STARTED LINUX DISTROS I BEGAN TO STUDY PROGRAMMING. LINUX REALLY HAS INSPIRED ME. AS SOON AS MY ARM HEALS I WILL DEFINATELY VOLUNTEER WHATEVER I CAN.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
2009-02-06
Last reply:
2009-02-23
Corina (cdibisch) said : #1

SORRY, THAT'S DEB WONT LOAD. ONE OF MY ARMS IS BROKE AND I CANT TYPE WELL WITH ONE HAND.

Barry Warsaw (barry) said : #2

Hi Corina,

Are you able to upload your /etc/apt/sources.list file? Can you attach it to this bug report? If so, I can try to get someone from the Ubuntu team to help figure out what got corrupted.

Barry Warsaw (barry) said : #3

BTW, I'm sorry about your arm! I hope it heals quickly ;)

Kurt von Finck (mneptok) said : #4

Corina,

Could you please type:

cat /etc/apt/sources.list > ~/Desktop/sources.list

into a terminal? You will then find a file named "sources.list" on your Desktop. Could you paste the contents of that file in a comment? Or attach the file?

Thanks!

Tom (tom6) said : #5

or copy&paste - i don't know which arm is usable but CtrlC CtrlV is easiest with left obviously..

If your computer is working apart from this update issue then just leave the updates for a few weeks time. The chance of it being a virus is so remote that its not worth energy worrying about it. Most of the updates are about increasing functionality rather than all being about plugging holes in wobbly code.

Also don't worry about contributing to the community you probably are contributing in ways you don't even appreciate. This question may be read by other people who find the answer here, hopefully - (if/when the regulars give it), and that helps but also raises awareness for some of us noobs trying to answer questions.

Good luck and don't worry
Regards from
Tom :)

peter b (b1pete) said : #6

Corina, I just looked up marcobra's suggestions that you mentioned - it appears that they helped solve a similar kind of problem; unfortunately, in your case, in spite of your best efforts as mentioned they could not solve your situation - your problem seems to be quite drastic.

now, question pls - do you have any data on THIS install that you DO NOT want to lose ? if YES then save your data first to any media - usb pendrive, cd's, usb attached external HD etc, - then pure and simple do a new fresh install using either the ubuntu live CD or the alternate CD,

conversly, if you DON'T CARE about ANY data currently on this install then just proceed with a new install right away.

the url below shows a typical install procedure with a live CD

https://help.ubuntu.com/community/GraphicalInstall

hope this will get your problem solved and start enjoying ubuntu.

regards,
peter b

peter b (b1pete) said : #7

Corina,

just reread the whole thread and noticed .....'"THE LIST OF SOURCES COULD NOT BE READ. DEN NOT KNOWN ON LINE 59 IN SOURCES LIST ....'

it is quite possible that there is a misspelling in sources.list file - to be precise, the spelling MUST BE

deb

and NOT

DEN

as it appears above; so, pls open in a terminal this file first for checking purposes at this time with

gedit /etc/apt/sources.list

and go down to line 59 - it is quite possible that at the beginning of the line there MAY BE

DEN

or

den

INSTEAD OF

deb

just tell me what you've found; pending that we'll EITHER correct this and hopefully everything is back to normal OR we'll proceed with a new fresh install as mentioned in the previous post.

I'll direct you how to correct this after your answer - this a system file and care must be exercised when editing .

peter b

Tom (tom6) said : #8

Reinstall has 2 basic options for retaining data where there's only hard-drive space available

1. Fastest way to get basics working. Only needs 8Gb free hard-drive space. All favourite extra programs and settings would need installing/sorting afterwards. Basically just partition off 8Gb at the end of your drive and install Ubuntu 8.04 (or 8.10) to just add another OS into your multi-boot - edit the grub to delete the option of booting into your old Ubuntu. Once you have all your additional programs installed then you could just use the old Ubuntu partition as your "/home" data folder.

2. Risky but fastest way to get everything working. Probably requires too much hard-drive space, although only temporarily. Simply create a partition that you can copy all your "/home" folder too. Copy the "/home" folder onto it. Use Ubuntu 8.04 (or 8.10) disc to install as though overwriting the current Ubuntu but go for "Manual" partitioning instead of "Guided" or automatic. Make sure that for each partition you see the UNticked box "Format Partition?". This should just overwrite all the basic programs that a normal install setsup. It should retain your old settings and programs and also your /home folder should be ok. The problem is that if you miss 1 box on 1 partition then you could lose everything there and end up with a suddenly very empty drive. Once you have your data safe then you could either delete the backup partition you just made or the "/home" folder.

Good luck with this, if you take this route
Regards from
Tom :)

Tom (tom6) said : #9

If you are still having trouble with this then please post it as a new question. Only the most recent questions tend to get looked at so posting/reposting a question just before america arrives online after work/school gives the best chance of getting a good few answers.
https://answers.launchpad.net/ubuntu/+addquestion

If the problem has been resolved then please follow the link to the forum thread and mark it as Solved.

Good luck and many regards from
Tom :)

Can you help with this problem?

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

To post a message you must log in.