Upgrade 8.0 to 9.0 questions

17 respuestas [Último envío]
IBM1130
Desconectado/a
se unió: 09/24/2020

Is the procedure posted by Magic Bananas the best way to upgrade from 8.0 to 9.0?

"sudo sed -i s/flidas/etiona/ /etc/apt/sources.list && sudo apt update && sudo apt full-upgrade"

I am running a Libreboot Thinkpad X200 with disk encryption. Will this create any special issues?

I appreciate the assistance.

Thanks.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

The normal procedure would be to have the "Update Manager" propose the upgrade (but, as far as I know, nobody has seen it done that on Trisquel 8) or to execute 'sudo do-release-upgrade' (has it worked for somebody?). 'sudo do-release-upgrade -d' worked for me (although the option -d should not have been necessary) but not for some users, who had to run the command line you gave (it edits /etc/apt/sources.list, substituting "flidas" with "etiona").

If you use PPAs, executing ppa-purge (in Trisquel's repository) before the upgrade may avoid some problems.

Avron

I am a translator!

Desconectado/a
se unió: 08/18/2020

I did not notice any proposal of the update manager but it was a rather fresh install of Trisquel 8 and I did not use it so much before trying 'sudo do-release-upgrade' which worked fine. That was on my D8 (which seems to be more stable after switching to the default kernel).

strypey
Desconectado/a
se unió: 05/14/2015

Magic Banana:
> The normal procedure would be to have the "Update Manager" propose the upgrade (but, as far as I know, nobody has seen it done that on Trisquel 8)

I have, on a fresh install on Flidas on a Compaq laptop I just got. Just after running the system updates for the first time, the update manager proposed the upgrade to Etiona. I ran it and so far it seems to be working fine.

In the software update options there is a setting for whether or not the user wants the Update Manager to inform them of new Trisquel versions. Perhaps a lot of people's systems have this set to 'never', after problems with previous version upgrades?

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Good to know it at least works on some systems. I believe the default for "Notify me of a new Trisquel version" is "For long-term support versions" (all Trisquel releases have been LTS since Trisquel 6) and I am sure I checked that it was not set to "Never" on my Trisquel 8 months after the official release of Trisquel 9.

lanun
Desconectado/a
se unió: 04/01/2021

I am left speculating that maybe the default option is to notify on every new version, but many users change that to LTS only out of Ubuntu-based habits, which in turn might trigger Trisquel never to notify.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

"For *any* new version" should include "For long-term support versions".

lanun
Desconectado/a
se unió: 04/01/2021

I think we all agree about that, although the opposite is probably not true.

If LTS versions are not identified as such for some reason, then only the "always notify" option will propose the upgrade.

But then again, this is pure speculation based on the above testimony from strypey that upgrade was proposed on what I understand to have been a default configuration. I upgraded to Trisquel 9 at some point last summer, so I cannot testify on the topic. Keeping the "always notify" option sounds reasonable, given that they are all LTS anyway, as you mentioned.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

I had misread your previous comment. Sorry.

IBM1130
Desconectado/a
se unió: 09/24/2020

Thanks everyone.I will give it a try and see what happens.

IBM1130
Desconectado/a
se unió: 09/24/2020

Upgrade failed.

The machine stalls during boot.

The disk decryption succeeds. The machine then commences booting. The wireless starts, as indicated by the icon light on the machine and a cursor appears. But the screen remains blank.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Can you log in a text session after typing Ctrl+Alt+F1 or Ctrl+Alt+F2 or ...?

strypey
Desconectado/a
se unió: 05/14/2015

IBM1130:

> The disk decryption succeeds. The machine then commences booting. The wireless starts, as indicated by the icon light on the machine and a cursor appears. But the screen remains blank.

This sounds remarkably similar to the problem I had with my x60, as described here:
https://trisquel.info/en/forum/x60-hanging-after-entering-disk-encryption-password

Although in my case it happened on a Flidas system after I updated it, and ctrl-alt-f2 etc only produces a black screen with a blinking cursor. I would really appreciate any help recovering this system, in that original thread of course :)

IBM1130
Desconectado/a
se unió: 09/24/2020

Hi Strypey- Luckily I had backed up all my data before attempting the upgrade. In retrospect, it probably would gave been easier and quicker to follow my normal practice of doing a clean install.

When my trouble with the install first occurred, I tried CNTL-ALT-F1, then CNTL-ALT-F2 and CNTL-ALT-F6. No luck. I rebooted again. This time CNTL-ALT-F2 worked and gave me a terminal. My procedure from that point is outlined in my message thread. Per Magic Bananas I ran:
"sudo apt update && sudo apt upgrade".

This failed and suggested that I run "apt --fix-broken install". This produced an error message referencing a file in /var/cache/apt/archives/...

The problem apparently involved the installer having two conflicting versions of a file. To fix, I ran:
"sudo dpkg -i --force overwrite /var/cache/apt/archives/..."(insert complete file name and path.)

Unfortunately I no longer have the conflicting file name at hand, but your error message should reference it. The goal is to overwrite an existing file with the installer's new file. The command above does this and fixes the error message.

I next ran "sudo apt -f install" and rebooted. This reboot got me to the login screen. I entered my password and stalled at a blank page.
So, back to the terminal, CNTL-ALT-F2. I ran "sudo apt upgrade" again. This time, it upgraded 600 files.
I rebooted and managed to get to a mostly working desktop. The system tray was missing, so I rebooted again. Finally, everything was working perfectly.

I omitted one step from the above saga. When the Trisquel update failed, I booted a live version of Linux Mint to check my hardware and data. Mint Live worked perfectly on my Libreboot x200, including wireless. If you need to retrieve some data on your x60, you can probably use Mint as a rescue disk. Good luck.

IBM1130
Desconectado/a
se unió: 09/24/2020

Thank you for your reply, Magic Bananas.

I was just able to log into a text session.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Your problem only affects the graphical session. Start with the usual:
$ sudo apt update && sudo apt upgrade

IBM1130
Desconectado/a
se unió: 09/24/2020

The command worked. It is telling me to run "apt --fix-broken install"

IBM1130
Desconectado/a
se unió: 09/24/2020

Ran apt fix-broken install. Still having problems. See attached screenshot.

********

Update: some progress.

I ran sudo dpkg -i --force overwrite/var/cache/apt/archives/and all...
Then sudo apt -f install

This appeared to fix much of what is wrong. No error messages.

Rebooted and got to the login screen with the sea and clouds. I logged in and files continued to load, but stopped at a blank desktop screen,
Now trying sudo apt upgrade again. It appears that it cannot connect to some archives, but reported 600 files to upgrade. Strange that so many files need to be upgraded, because I already did an upgrade a an hour ago.

Wireless and Ethernet appear to be connected,

Update 2:

Well, I have managed to get the desktop working!

Problems: the system tray is missing.
Wireless is working, but the Wireless applet is gone. HP printer icon cannot be loaded due to missing tray,

Update 3: Tray reappeared after reboot, along with Network connections and firewall applets. HP printer applet is still missing for now.

My system seems faster than before and all looks good.

screenshot1.jpg