Kolbu

Computers, Gadgets and Beyond!
Subscribe


Ubuntu Hardy upgrade woes

February 20, 2008 By: webmaster Category: Tech Problems, Technology

This week, two showstoppers appeared in the Ubuntu Hardy upgrade system. First one was a botched upgrade of a language package under OpenOffice and the other was a problem related to Python/APT/dpkg.

First one looked like this:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  language-support-writing-en: Depends: openoffice.org-hyphenation-en-us but it is not installed
E: Unmet dependencies. Try using -f.

The easy fix out of this one is to start up System->Administration->Synaptics Package Manager and uninstall “openoffice.org-hyphenation”. This will trigger a removal of about 85 packages including OpenOffice itself. When that is done, use the same Package Manager to install OpenOffice again and in goes the 85 packages again.

The second one looked like this:

Setting up python-apt (0.7.4ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in 
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 624, in byte_compile
    rt.byte_compile(files, bc_option, exclude_regex)
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error processing python-apt (--configure):
 subprocess post-installation script returned error exit status 1

This has now been fixed, and a new python-central should be available at the repositories. I hacked my python-apt to bypass this before the official fix was out, but all you should have to do is update/upgrade as normal and everything will be fine.

Leave a Reply

  • Hit me

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Default test

    • Flash flood risk for the Midwest
      Flash flooding continues to be a threat as severe storms develop from the the southern Plains towards the Ohio Valley. Pedram Javaheri has the forecast.
    • Morning news briefing from CNN
      Morning news briefing from CNN on Wednesday, June 19.
    • CrossFit: Patrick Vellner, 2nd Fittest Man
      Canadian Patrick Vellner is the second fittest man on the planet, but does the chiropractor student think he can take down Mat Fraser at CrossFit Games?
    • Trump Jr.: Why didn't you cure cancer decades ago, Joe?
      The President's son, Donald Trump Jr., slammed former Vice President Joe Biden over his decades in Washington and delivered what many consider to be a low blow.
    • The World’s Best Blind Mountain Biker
      Anyone who rides a mountain bike on downhill terrain knows how perilous it can be. Well, imagine riding downhill without being able to see. Brian Bushway is a pro at it. Known as the world’s best blind mountain biker, he lost his sight when he was 14. He didn’t want to navigate the world with a cane, so Bushway learned how to see with sound. Like bats, he relies on echolocation when he mountain bikes, using sound to locate objects. If you would like to share this story with someone who is visually impaired, check out this version with audio descriptions: https://youtu.be/Rmdig8xfris