'Software index is broken' after upgrade from Feisty to Gutsy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xsp (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After upgrading from Feisty to Gutsy an error appears to have occurred with upgrade of mono-xsp
that now has the 'software index' broken leaving me unable to Add/Remove software.
Error message is...
-------
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.
-------
Neither Synaptic nor apt-get will fix the problem for me (information provided below).
So how do I proceed?
When I run the Synaptic package manager it shows the following 'Broken Dependencies'
-------
Package | Installed Version | Latest Version | Description
mono-xsp 1.2.1-1ubuntu1 1.2.4-1.1ubunutu1 simple web server to run...
-------
The Synaptic package manager allows options of 'upgrade', 'removal' and 'complete removal'
but attempts to perform these options all result in failure.
Apply 'upgrade' and we get
-------
E: /var/cache/
pre-installation script returned error exit status 2
-------
Apply 'removal' or 'complete removal' and we get
-------
E: mono-xsp: subprocess pre-removal script returned error exit status 2
-------
When I run "sudo apt-get install -f" I get the following information
-------
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libcairo-ruby libatk1-ruby libswfdec0.3 libflac++5c2 liboggflac3 libjack0.100.0-0 libglib2-ruby
libpango1-ruby libgdk-pixbuf2-ruby librexml-ruby mono-xsp-base mono-xsp libgtk2-ruby
libquicktime0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
mono-xsp
The following packages will be upgraded:
mono-xsp
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/69.7kB of archives.
After unpacking 4096B of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 150523 files and directories currently installed.)
Preparing to replace mono-xsp 1.2.1-1ubuntu1 (using .../mono-
* Stopping XSP WebServer mono-xsp /etc/init.
invoke-rc.d: initscript mono-xsp, action "stop" failed.
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 2
postinst failed `abort-upgrade'
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------
It seems like stopping the old mono-xsp service fails.
I could not reproduce it by installing it from gutsy and stopping it.
Do you have manually edited the init script?
Please attach your current /etc/init. d/mono- xsp.