LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Software index is broken (https://www.linuxquestions.org/questions/linux-newbie-8/software-index-is-broken-772304/)

ravi12355 11-29-2009 02:49 PM

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.

tredegar 11-29-2009 03:34 PM

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?

ravi12355 11-30-2009 12:22 PM

Quote:

Originally Posted by tredegar (Post 3773583)
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.

matsvw 11-30-2009 12:48 PM

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

ravi12355 11-30-2009 12:53 PM

Quote:

Originally Posted by tredegar (Post 3773583)
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 "

mrrangerman 11-30-2009 07:58 PM

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.

tredegar 12-01-2009 09:04 AM

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.

UncleCyrus 01-02-2010 07:53 PM

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.

Bratmon 01-02-2010 08:05 PM

Did you try "sudo apt-get clean" yet?

evo2 01-02-2010 10:02 PM

Quote:

Originally Posted by Bratmon (Post 3812025)
Did you try "sudo apt-get clean" yet?

To what end?

Evo2.

evo2 01-02-2010 10:06 PM

Quote:

Originally Posted by UncleCyrus (Post 3812017)
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.

paulsm4 01-02-2010 10:11 PM

UncleCyrus -

Please try the "sudo apt-get clean": it's good advice.

evo2 01-02-2010 10:18 PM

Quote:

Originally Posted by paulsm4 (Post 3812083)
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.

UncleCyrus 01-02-2010 10:45 PM

Quote:

Originally Posted by evo2 (Post 3812089)

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.

UncleCyrus 01-02-2010 10:54 PM

Quote:

Originally Posted by evo2 (Post 3812081)

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.


All times are GMT -5. The time now is 04:38 PM.