Monday, August 27, 2018

installation - Upgrading to Ubuntu 11.04 failed


Today Ubuntu asked me to upgrade to 11.04. The installation went completely fine until right at the end when the following packages failed:


install-info
ubuntu-standard

The installer hung so I had to shut it down manually. Ubuntu still works fine but it says that the upgrade didn't work properly so I am hesitant to restart it until I have resolved the problem in case I can't get back in.


I am running Ubuntu inside the latest version of Virtual Box and was previously running version 10.10.


I have tried installing install-info manually with apt-get but I get the following error:


Unhandled exception: [#]
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:842:in `block in ': undefined method `backtrace' for [#]:Array (NoMethodError)
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:828:in `[]'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:828:in `block in hook'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:828:in `each'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:828:in `any?'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:828:in `hook'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:344:in `rescue in run'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:320:in `run'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:241:in `run'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/bin/autotest:6:in `'
from /usr/local/ruby/bin/autotest:19:in `load'
from /usr/local/ruby/bin/autotest:19:in `
'
dpkg: error processing install-info (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of info:
info depends on install-info; however:
Package install-info is not configured yet.
dpkg: error processing info (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-standard:
ubuntu-standard depends on info; however:
Package info is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Errors were encountered while processing:
install-info
info
ubuntu-standard
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas on what I should try next?



Okay I figured out the problem. In my /etc/environment file I had a line for RSPEC beneath the PATH variable. Deleting this solved the problem.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...