LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Upgrade problem (from Hardy to Jaunty) (http://www.linuxquestions.org/questions/ubuntu-63/upgrade-problem-from-hardy-to-jaunty-730172/)

ANO1453 06-02-2009 12:23 PM

Upgrade problem (from Hardy to Jaunty)
 
Hi!

After an interrupted update (it interrupted itself), I tried to restart the process. Problem: it can't boot on graphical screen (probably essential kde libraries that were deleted in the upgrade, that failed before installing the upgraded versions). Nothing works in graphical mode.

I tried solve broken dependencies, as suggested by the system, through apt-get -f install. In the end it outputs:
Quote:

dpkg: error processing /var/cache/apt/archives/kdebase-runtime-data(...).deb
Trying to overwrite 'usr/share/doc/kde/HTML/en/Kcontrol/Kcmkonsole/index.cache.bz2, which is also in package konsole
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archive/kdebase-runtime-data(...).deb
E: Sub-process /usr/bin/dpkg returned an error code (1).
I tried to remove konsole, but I got no better. In fact, more dependency issues arose.

How do I fix this? I would have made a clean install, but my BIOS has a problem and the keyboard doesn't work unless a linux image is loaded. As the acpi must be disabled for the boot to proceed successfully and I am required keyboard input to do that, what can I do?

tommcd 06-03-2009 02:16 AM

So you did a dist-upgrade over the internet for Hardy to Jaunty? Is that correct?
If so, then that is your problem right there. You should upgrade in sequence, without skipping versions. Skipping versions when upgrading Ubuntu is not recommended. (The only exception to this is upgrading from one LTS release to the next. For example, you can dist-upgrade from 6.06 LTS to 8.04 LTS).
So to go from Hardy to Jaunty you should dist-upgrade from Hardy > Intrepid > Jaunty.
The fastest and easiest way to fix your problems at this point would be to do a clean install of Ubuntu 9.04.

ANO1453 06-03-2009 09:38 AM

I only did what the upgrade manager asked me.

I would be happy to make a clean install, if I didn't need keyboard input. As I said before, most distros don't work unless acpi is disabled, and that requires a keyboard, that currently, due to, possibly, BIOS problems, doesn't work before a Linux Image has been loaded.

Then, I propose 2 possible solutions, that I don't know how to implement:

How can I set a Live CD to have acpi=off automatically, I mean, without needing keyboard input?
OR
How can I make a clean (almost clean) install with the command-line?

fseto 07-03-2009 03:45 AM

Hi,

You probably got this figured out (or did the re-install). But I ran into this problem also. Here's what I did to fix it.

I manually remove konsole using
Code:

sudo dpkg -r konsole
Then keep switching between
Code:

sudo apt-get dist-upgrade
and
Code:

sudo apt-get -f install
and using dpkg -r on whatever other package that was in conflict (kfind and a couple of others).

After all the package are done, I ran envyng to upgrade the graphics driver and everything started back up. It's not a very elegant solution, but it was better than the alternative (clean install and redo all the configurations).


Quote:

Originally Posted by ANO1453 (Post 3561654)
I only did what the upgrade manager asked me.

I would be happy to make a clean install, if I didn't need keyboard input. As I said before, most distros don't work unless acpi is disabled, and that requires a keyboard, that currently, due to, possibly, BIOS problems, doesn't work before a Linux Image has been loaded.

Then, I propose 2 possible solutions, that I don't know how to implement:

How can I set a Live CD to have acpi=off automatically, I mean, without needing keyboard input?
OR
How can I make a clean (almost clean) install with the command-line?



All times are GMT -5. The time now is 05:21 PM.