Results 1 to 10 of 10
Well it seems I did something stupid , and can't fix it, when I try to add programs on ubuntu using the add remove programs thing I get the following ...
- 06-04-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 11
[SOLVED] Software won't install
Well it seems I did something stupid , and can't fix it, when I try to add programs on ubuntu using the add remove programs thing I get the following error
"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'."
How do I fix this?
Sorry if this is a really stupid question , but I have only been running ubuntu for a week now
- 06-04-2009 #2
Did you run the suggested commands? That would be the first step. To do so you need to open a terminal (I believe Ubuntu has it under Applications->Accesories). You can just copy and paste this.
Post any error messages.Code:sudo apt-get update && sudo apt-get install -f
- 06-04-2009 #3Just Joined!
- Join Date
- May 2009
- Posts
- 11
Well I did that and this is what I got
For "sudo apt-get update"
I got "E: Type 'ntu/' is not known on line 45 in source list /etc/apt/sources.list"
For "sudo apt-get install -f"
I got
"E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?"
- 06-04-2009 #4
Seems wrong (typo) entry in sources.list file. Can you open the /etc/apt/sources.list file and copy and post the contents here.
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 06-04-2009 #5
It looks like there is an error in your sources.list. Please post the contents of /etc/apt/sources.list. (This is a text file, so you can open it in any text editor. Ubuntu has gedit installed by default.)
For the second error, it means some other package manager is using it. Make sure you don't have add/remove programs, synaptic, or the update manager running.
https://help.ubuntu.com/community/Repositories/Ubuntu
- 06-04-2009 #6Just Joined!
- Join Date
- May 2009
- Posts
- 11
I can't post it ,cause it contains website URLs ,so I have attached it to this message ,and changed it from "sources.list" to "sources.txt"
- 06-04-2009 #7
The last line in your file should be like this
Edit this file as root. To do so follow these stepsCode:deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
Press Alt + F2
Type gksu "gedit /etc/apt/sources.list" (with out the quotes) and press enter
Make the change and save the file.
Open a terminal and run the following command.
"sudo apt-get update" (again without the quotes).If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 06-04-2009 #8Just Joined!
- Join Date
- May 2009
- Posts
- 11
Well , when I come to the save part it says :
"You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again."
- 06-04-2009 #9If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 06-04-2009 #10Just Joined!
- Join Date
- May 2009
- Posts
- 11
Thanks , everything is working again!



