Upgrade failure

Asked by Michael Newey

I ran the upgrade for 24.04, it went well except front end froze, I waited some time but it remained frozen and I cancelled it. Now my screen is in terminal! Please can you advise me how to proceed, thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I do not know what went wrong, but I will try to help you in an attempt to repair the system.

I assume with "Now my screen is in terminal!" you want to tell that you do not get a graphical login screen, but a black-and-white screen that looks like a terminal window, probably with a text telling "login:".

At that prompt enter your username, press enter, and you should get a request to enter the password. Enter your password (you will not get any feedback) and press the enter key.
You should see a short welcome text and another input prompt that ends with a dollar sign.

Does that work this way?

When you enter the command
lsb_release -crid
at the command prompt, which Ubuntu release number is shown in the response?

Enter the command
sudo dpkg --configure -a
Type your password when asked for it (no feedback again) and press enter.
What happens? What is the gist of the last few lines of output (if any)?

If you want to shut down the system, you can do this with the command
sudo poweroff

Revision history for this message
Michael Newey (michael-theangelhouse) said :
#2

Dear Manfred
Logged in okay
But entered first command
No lsb modules available
Other lines
Ubuntu
Ubuntu 24.04.01 LTS
Code name noble
Many thanks Michael

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: Wednesday, September 4, 2024 2:20:39 PM
To: michael theangelhouse.ws <email address hidden>
Subject: Re: [Question #818650]: Upgrade failure

Your question #818650 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/818650

    Status: Open => Answered

Manfred Hampl proposed the following answer:
I do not know what went wrong, but I will try to help you in an attempt
to repair the system.

I assume with "Now my screen is in terminal!" you want to tell that you
do not get a graphical login screen, but a black-and-white screen that
looks like a terminal window, probably with a text telling "login:".

At that prompt enter your username, press enter, and you should get a request to enter the password. Enter your password (you will not get any feedback) and press the enter key.
You should see a short welcome text and another input prompt that ends with a dollar sign.

Does that work this way?

When you enter the command
lsb_release -crid
at the command prompt, which Ubuntu release number is shown in the response?

Enter the command
sudo dpkg --configure -a
Type your password when asked for it (no feedback again) and press enter.
What happens? What is the gist of the last few lines of output (if any)?

If you want to shut down the system, you can do this with the command
sudo poweroff

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/818650/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/818650

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

ok. This shows that the parts of the release upgrade have been executed.

What happens when you log in as before and enter the command

sudo dpkg --configure -a

What do you receive?
No output at all, but a new command prompt?
Or error messages? I am especially interested in the last few lines. Do they mention "fail" or something like that?

Revision history for this message
Michael Newey (michael-theangelhouse) said :
#4

Dear Manfred
Thank you, I did enter sudo dpkg etc as suggested but no response at all. I even powered off and restarted back it returned into terminal
Best wishes Michael
________________________________
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: 04 September 2024 15:10
To: michael theangelhouse.ws <email address hidden>
Subject: Re: [Question #818650]: Upgrade failure

Your question #818650 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/818650

    Status: Open => Needs information

Manfred Hampl requested more information:
ok. This shows that the parts of the release upgrade have been executed.

What happens when you log in as before and enter the command

sudo dpkg --configure -a

What do you receive?
No output at all, but a new command prompt?
Or error messages? I am especially interested in the last few lines. Do they mention "fail" or something like that?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/818650

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Please be exact.
What happens after the "sudo dpkg --configure -a" command?
Does it give no output, but a new command prompt in the next line?

If that is the case, then please execute the commands

sudo apt install -f
sudo apt full-upgrade

and report what is happening.

Revision history for this message
Michael Newey (michael-theangelhouse) said :
#6

Dear Manfred
Thank you
sudo dpkg – configure -a gave no output just returned to same prompt line.
So, sudo apt install -f gave the following
Reading package lists ... Done
Building dependency tree ... Done
Reading state information ... Done
The following packages were automatically installed and are no longer required:
acpid mailcap
Use 'sudo apt autoremove' to remove them
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Then did sudo apt full-upgrade this gave the same first three lines followed by Calculating upgrade ...Done
This was followed by the three lines about the same packages, removing them and the 0 line
I trust this is all clear, it all takes time as I just use a couple of fingers to type!
Best wishes Michael
________________________________
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: 04 September 2024 16:15
To: michael theangelhouse.ws <email address hidden>
Subject: Re: [Question #818650]: Upgrade failure

Your question #818650 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/818650

    Status: Open => Needs information

Manfred Hampl requested more information:
Please be exact.
What happens after the "sudo dpkg --configure -a" command?
Does it give no output, but a new command prompt in the next line?

If that is the case, then please execute the commands

sudo apt install -f
sudo apt full-upgrade

and report what is happening.

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/818650

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

ok. now try the following command twice

sudo apt update

This will probably show much output for the first run, but less output the second time.
Just look at the second output am interested the part of the lines that indicates the release name.
Do you get something that looks like this
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease

Does it say "noble", "noble-updates" and "noble-security" or something else?

Revision history for this message
Michael Newey (michael-theangelhouse) said :
#8

Dear Manfred
There were hit 1 and then get 2 to get 26 on the first run
on the second hit 1 noble InRelease
Hit 2 noble -updates InRelease
Hit 3 noble-backports InRelease
Hit 4 noble-security InRelease
Reading package list ...Done
Building dependency tree .. Done
Reading state information ... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them
Best wishes Michael

________________________________
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: 04 September 2024 18:00
To: michael theangelhouse.ws <email address hidden>
Subject: Re: [Question #818650]: Upgrade failure

Your question #818650 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/818650

    Status: Open => Needs information

Manfred Hampl requested more information:
ok. now try the following command twice

sudo apt update

This will probably show much output for the first run, but less output the second time.
Just look at the second output am interested the part of the lines that indicates the release name.
Do you get something that looks like this
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease

Does it say "noble", "noble-updates" and "noble-security" or something
else?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/818650

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

Ok. The software installation seems correct, all available updates are installed.

The next step must be trying to find out, why the graphical environment does not start.
The system logs are supposed to show information about problems, but I do not know what to look for.

when you execute the command

sudo dmesg | tail

do you see anything that you interpret as an error message?

(I do not expect that you retype the whole output)

Revision history for this message
Michael Newey (michael-theangelhouse) said :
#10

No error as such
Send auth to
Authentication with
Authenticate with
Send auth to
Send auth to
Authenticated
Associate with
Rx assocResp from
Associated
Limited tx power
Do you want more details?
Best wishes Michael

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: Wednesday, September 4, 2024 7:45:41 PM
To: michael theangelhouse.ws <email address hidden>
Subject: Re: [Question #818650]: Upgrade failure

Your question #818650 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/818650

    Status: Open => Needs information

Manfred Hampl requested more information:
Ok. The software installation seems correct, all available updates are
installed.

The next step must be trying to find out, why the graphical environment does not start.
The system logs are supposed to show information about problems, but I do not know what to look for.

when you execute the command

sudo dmesg | tail

do you see anything that you interpret as an error message?

(I do not expect that you retype the whole output)

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/818650

You received this question notification because you asked the question.

Revision history for this message
Michael Newey (michael-theangelhouse) said :
#11

Good morning, just rerun dmesg
Systemd-journald[324]:/var/log/journal following by long string of alfanumeric the. Journal file uses a different sequence number ID, rotating
Next line kauditd_printk_skb: 171.callbacks suppressed
Then three lines audit: long line of details
Do you want this?
Best wishes Michael

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: michael theangelhouse.ws <email address hidden>
Sent: Wednesday, September 4, 2024 8:06:51 PM
To: <email address hidden> <email address hidden>
Subject: Re: [Question #818650]: Upgrade failure

No error as such
Send auth to
Authentication with
Authenticate with
Send auth to
Send auth to
Authenticated
Associate with
Rx assocResp from
Associated
Limited tx power
Do you want more details?
Best wishes Michael

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: Wednesday, September 4, 2024 7:45:41 PM
To: michael theangelhouse.ws <email address hidden>
Subject: Re: [Question #818650]: Upgrade failure

Your question #818650 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/818650

    Status: Open => Needs information

Manfred Hampl requested more information:
Ok. The software installation seems correct, all available updates are
installed.

The next step must be trying to find out, why the graphical environment does not start.
The system logs are supposed to show information about problems, but I do not know what to look for.

when you execute the command

sudo dmesg | tail

do you see anything that you interpret as an error message?

(I do not expect that you retype the whole output)

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/818650

You received this question notification because you asked the question.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#12

The messages mentioned by you do not help finding the cause of your failure. (Those "authentication" messages are success messages from the network)

Meanwhile additional information has been published:
The upgrade offer from Ubuntu 22.04 to 24.04 has been blocked because of several users reporting problems with the upgrade or after it.

According to https://www.theregister.com/2024/09/03/ubuntu_24041/ the command
sudo apt install --reinstall ubuntu-desktop
can help in cases where the desktop does not load any more. I suggest that you try it on your system.

Revision history for this message
Michael Newey (michael-theangelhouse) said :
#13

I typed in sudo apt install --reinstall ubuntu-desktop and it has worked. I was stuck in Terminal after installing version 24.04. Now have the user friendly screen, thank yo Manfred Hampi for all your hard work and support

Revision history for this message
Michael Newey (michael-theangelhouse) said :
#14

Thank you, Manfred, for all your hard work and support. It has worked

With best wishes
Michael
________________________________
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: 06 September 2024 12:20
To: michael theangelhouse.ws <email address hidden>
Subject: Re: [Question #818650]: Upgrade failure

Your question #818650 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/818650

    Status: Open => Answered

Manfred Hampl proposed the following answer:
The messages mentioned by you do not help finding the cause of your
failure. (Those "authentication" messages are success messages from the
network)

Meanwhile additional information has been published:
The upgrade offer from Ubuntu 22.04 to 24.04 has been blocked because of several users reporting problems with the upgrade or after it.

According to https://www.theregister.com/2024/09/03/ubuntu_24041/ the command
sudo apt install --reinstall ubuntu-desktop
can help in cases where the desktop does not load any more. I suggest that you try it on your system.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/818650/+confirm?answer_id=11

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/818650

You received this question notification because you asked the question.