PDA

View Full Version : [ubuntu] software index broken



Falc7
April 24th, 2008, 07:49 PM
I have fairly major problems it seems at the moment. It seems the add new software and install updates parts of my system are broken. When i installed some security and program updates i get error messages.
When i download programs i get this error message:

E: soundconverter: subprocess post-installation script returned error exit status 139
E: avg75fld: subprocess post-installation script returned error exit status 1

The program i downloaded was the .ace file archive opener. After i get this error, it says the program was sucessfully installed, but when i try to unarchive something it says an error occured. When i click command line output it says nothing.

When i try and remove sound converter, it won't let me saying an error occured.

When i click update manager it says

Software index is broken

It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.

So this happens:
wer@wer-laptop:~$ sudo apt-get install -f
[sudo] password for wer:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
soundconverter
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 438kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 112652 files and directories currently installed.)
Removing soundconverter ...

(update-desktop-database:7353): GLib-CRITICAL **: g_key_file_get_string_list: assertion `group_name != NULL' failed
Segmentation fault (core dumped)
dpkg: error processing soundconverter (--remove):
subprocess post-removal script returned error exit status 139
Errors were encountered while processing:
soundconverter
E: Sub-process /usr/bin/dpkg returned an error code (1)

tamoneya
April 24th, 2008, 07:51 PM
sudo apt-get clean

Falc7
April 24th, 2008, 07:54 PM
hm, nothing seems to happen in the terminal
wer@wer-laptop:~$ sudo apt-get clean
wer@wer-laptop:~$

tamoneya
April 24th, 2008, 08:04 PM
it doesnt typically have any output i think. What happens when you try the install now?

Falc7
April 24th, 2008, 08:11 PM
I still get this message when running update manager

Software index is broken

It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.

jmagsho
April 24th, 2008, 08:49 PM
Have you tried uninstalling the .ace archive program, and then running the sudo apt-get -f command? It sounds like you either have a missing dependency or something got stepped on or installed incorrectly...

Falc7
April 24th, 2008, 09:04 PM
yep, it makes no difference whether i have the ace program installed or not, i think that is a symptom rather than a cause. I am pretty sure it has something to do with soundconverter, when i look at the package in package manager it is highlighted red. But it won't let me uninstall it

spiderbatdad
April 24th, 2008, 09:12 PM
sudo dpkg-configure -a
sudo apt-get install -f

Falc7
April 24th, 2008, 09:42 PM
wer@wer-laptop:~$ sudo dpkg-configure -a
[sudo] password for wer:
sudo: dpkg-configure: command not found

Oldsoldier2003
April 24th, 2008, 09:54 PM
wer@wer-laptop:~$ sudo dpkg-configure -a
[sudo] password for wer:
sudo: dpkg-configure: command not found


sudo dpkg --configure -a
sudo apt-get install -f

spiderbatdad
April 24th, 2008, 10:05 PM
sudo dpkg --configure -a
sudo apt-get install -f

:oops:

Falc7
April 24th, 2008, 10:20 PM
wer@wer-laptop:~$ sudo dpkg --configure -a
wer@wer-laptop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
soundconverter
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 438kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 112468 files and directories currently installed.)
Removing soundconverter ...

(update-desktop-database:7162): GLib-CRITICAL **: g_key_file_get_string_list: assertion `group_name != NULL' failed
Segmentation fault (core dumped)
dpkg: error processing soundconverter (--remove):
subprocess post-removal script returned error exit status 139
Errors were encountered while processing:
soundconverter
E: Sub-process /usr/bin/dpkg returned an error code (1)
wer@wer-laptop:~$

spiderbatdad
April 24th, 2008, 10:23 PM
looks like you need to
sudo apt-get remove soundconverterbased on the error message.

Falc7
April 24th, 2008, 10:30 PM
wer@wer-laptop:~$ sudo apt-get remove soundconverter
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
soundconverter
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 438kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 112468 files and directories currently installed.)
Removing soundconverter ...

(update-desktop-database:7244): GLib-CRITICAL **: g_key_file_get_string_list: assertion `group_name != NULL' failed
Segmentation fault (core dumped)
dpkg: error processing soundconverter (--remove):
subprocess post-removal script returned error exit status 139
Errors were encountered while processing:
soundconverter
E: Sub-process /usr/bin/dpkg returned an error code (1)

spiderbatdad
April 24th, 2008, 10:36 PM
sorry about that. I see that was your first post. Maybe try with --purge option instead of remove.
sudo apt-get --purge soundconverter

Was soundconverter installed as part of another package? Is there another package that needs to be uninstalled?

Falc7
April 24th, 2008, 10:40 PM
Nope sound converter was just installed the normal way through add/remove applications. thanks for your time trying to help me with this :)

wer@wer-laptop:~$ sudo apt-get --purge soundconverter
E: Invalid operation soundconverter

Oldsoldier2003
April 24th, 2008, 10:46 PM
well here is something you can try:
first clear your apt cache

sudo apt-get clean

the go to /var/lib/dpkg/info and remove anything thats got soundconverter in its name

sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade

and if all your errors are cleared up you can move on to business.

Falc7
April 24th, 2008, 10:54 PM
I found 4 files with sound converter in the name, but i get this message when trying to delete them

"/var/lib/dpk...rter.postrm" cannot be moved because you do not have permissions to change it or its parent folder.

Oldsoldier2003
April 24th, 2008, 11:05 PM
I found 4 files with sound converter in the name, but i get this message when trying to delete them

"/var/lib/dpk...rter.postrm" cannot be moved because you do not have permissions to change it or its parent folder.

sorry i should have been more explicit. If you would rather use the Gui to delete the files and are using Ubuntu type
gksu nautilus to launch nautilus as root/superuser. you will then be able to delete the files.

If you are doing it by command line just


cd /var/lib/dpkg/info
sudo rm <filename>
inserting the correct filename in place of <filename>

spiderbatdad
April 24th, 2008, 11:07 PM
You need to be superuser. You can use
gksu nautilus to graphically move files in the root file system, but be very careful. You can break your system removing the wrong files.

Falc7
April 24th, 2008, 11:22 PM
thanks very much! All fixed
Am i okay to install soundconvertner again later?

When looking updates like just then, is 'hit' a good thing?

Oldsoldier2003
April 25th, 2008, 12:05 AM
thanks very much! All fixed
Am i okay to install soundconvertner again later?

When looking updates like just then, is 'hit' a good thing?

you can try again the servers are under high load right now, if it botches up again you now know how to fix it .