update manager crash and add/remove applications crash

Asked by wolf

Binary package hint: update-manager

 Ubuntu 8.04.1
        Release: 8.04
upon start up update manage posts a message saying ""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:Type '$' is not known on line 39 in source list /etc/apt/sources.list, E:The list of sources could not be read.'"" after reading that i tried opening add/remove applications and receive another error saying ""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'."" from there went to terminal window and got this ""user@ubuntu:~$ /etc/apt/sources.list bash: /etc/apt/sources.list: Permission denied user@ubuntu:~$ sudo apt-get update [sudo] password for user: E: Type '$' is not known on line 39 in source list /etc/apt/sources.list user@ubuntu:~$ sudo apt-get install -f E: Type '$' is not known on line 39 in source list /etc/apt/sources.list E: The list of sources could not be read. user@ubuntu:~$...... please help.. thank you..

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
wolf
Solved:
Last query:
Last reply:
Revision history for this message
Michael Vogt (mvo) said :
#1

Thanks for your bugreport.

This looks like your /etc/apt/sources.list file got damaged, could you please attach it to this bugreport? Could you also please remove line 39 in that file and see if that fixes the issue? I convert this to a question as it looks like its not a bug in update-manager as such.

Revision history for this message
wolf (prospectfireman) said :
#2

sorry for being numb.. first time using ubuntu... how do i remove line 39 from /ect/apt/sources.list?

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

Open a Terminal from the menu Applications → Accessories → Terminal and type:

gksudo gedit /etc/apt/sources.list

Please give your user password when requested, you don't see nothing when you type it, then press enter.

Modify, save, exit.

Then still using terminal type:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Hope this helps

Revision history for this message
wolf (prospectfireman) said :
#4

Thank you very much.. all fixed... come to find out it was an error in a wine deb that was messing everything up.... and again... thank you so much... BTW.. sorry for reporting this as a bug... little did i know that it was going to be one of my mistakes... thanks again..