LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2009, 03:49 PM   #1
ravi12355
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Rep: Reputation: 0
Software index is broken


whenever i opened the add/remove programs from applications the following message is displaying.

Software index is broken

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

could anyone tell me how to solve this problem.
 
Old 11-29-2009, 04:34 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
could anyone tell me how to solve this problem.
It looks to me as though you have already been given the solution:
Quote:
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
Did you try this?

If so, what happened?
 
Old 11-30-2009, 01:22 PM   #3
ravi12355
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tredegar View Post
It looks to me as though you have already been given the solution:

Did you try this?

If so, what happened?

will u explain me clearly, i am new to linux.
 
Old 11-30-2009, 01:48 PM   #4
matsvw
Member
 
Registered: Jul 2007
Location: Oregon
Distribution: Ubuntu, mostly.
Posts: 43

Rep: Reputation: 15
You'll need to open a command shell to execute the commands. I don't know which distro you're using, but with Fedora, from the desktop you go to 'Applications -> System Tools -> Terminal'. It's similar, if not exact, with most systems. From there, run the commands as indicated in the posts above. They should rebuild the software index.

BTW, running the command 'uname -a' will tell us a lot about your system.

-Mats
 
Old 11-30-2009, 01:53 PM   #5
ravi12355
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tredegar View Post
It looks to me as though you have already been given the solution:

Did you try this?

If so, what happened?

no it doesn't work. "Could not get lock /var/lib/apt/lists/lock "
 
Old 11-30-2009, 08:58 PM   #6
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Go to your upper task bar to Applications > Accessories > Terminal press Terminal this will start a terminal. Now at the prompt type the commands the error message told you to.

type sudo apt-get update you will be asked for a password give the password you log in with.
After the first command finishes type the second command sudo apt-get install -f

Note: Linux is case sensitive, so dog, Dog, DOG are seen as three separate words.
 
Old 12-01-2009, 10:04 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
"Could not get lock /var/lib/apt/lists/lock "
This usually means that another application (like synaptic) is using the database.

Close synaptic, then give the commands in a terminal.
 
Old 01-02-2010, 08:53 PM   #8
UncleCyrus
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Hello,

I found this thread doing a search for a very similar problem. I have tried the above steps also with no results.

When I enter "sudo apt-get install -f" I get "E: The package symphony needs to be reinstalled, but I can't find an archive for it." This is probably from a failed attempt to load IBM Lotus Symphony, but now the system will not let me install or uninstall anything. I tried to re-install from a new Symphony .deb file, but I get an error dialog saying the file is corrupted.

Is there a way to remove the corrupted Symphony package that has apparently only partially installed?

FYI - My system is a Compaq Presario 2100 laptop running Ubuntu 8.04.

Thank you.
 
Old 01-02-2010, 09:05 PM   #9
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Did you try "sudo apt-get clean" yet?
 
Old 01-02-2010, 11:02 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by Bratmon View Post
Did you try "sudo apt-get clean" yet?
To what end?

Evo2.
 
Old 01-02-2010, 11:06 PM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by UncleCyrus View Post
I tried to re-install from a new Symphony .deb file, but I get an error dialog saying the file is corrupted.
Did you try redownloading the file?

Quote:
Is there a way to remove the corrupted Symphony package that has apparently only partially installed?
Yes, please try:
Code:
sudo dpkg --purge symphony
If that fails, try:
Code:
sudo dpkg --purge --force-remove-reinstreq symphony
Evo2.
 
Old 01-02-2010, 11:11 PM   #12
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
UncleCyrus -

Please try the "sudo apt-get clean": it's good advice.
 
Old 01-02-2010, 11:18 PM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by paulsm4 View Post
Please try the "sudo apt-get clean": it's good advice.
Why?

It is my understanding that this is a package downloaded by hand from
http://symphony.lotus.com/software/l...tallGuide#5333

Can UncleCyrus please confirm where the package came from?

Evo2.

Last edited by evo2; 01-02-2010 at 11:19 PM.
 
Old 01-02-2010, 11:45 PM   #14
UncleCyrus
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by evo2 View Post

Can UncleCyrus please confirm where the package came from?

Evo2.
I downloaded directly from the IBM Lotus site, as linked above. I did download the file again, before I wrote the last post.

I will try some of the suggestions and let you know what happens.

Thank you.
 
Old 01-02-2010, 11:54 PM   #15
UncleCyrus
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by evo2 View Post

Yes, please try:
Code:
sudo dpkg --purge symphony
If that fails, try:
Code:
sudo dpkg --purge --force-remove-reinstreq symphony
Evo2.
Thanks! That worked. Update and package manager are working again. I had to perform both steps.

Thanks again to all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software index is broken wanjiwz Linux - Software 4 06-05-2008 03:03 AM
LXer: Handheld Linux software index launches LXer Syndicated Linux News 0 04-30-2006 10:33 PM
Magazine article index software highway Linux - Software 2 03-13-2003 02:09 PM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration