Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.misc > #37589

Re: Release upgrade problems

From Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups comp.os.linux.misc
Subject Re: Release upgrade problems
Date 2023-03-22 17:51 +0000
Organization The Pitcher Digital Freehold
Message-ID <tvff7d$msu8$1@dont-email.me> (permalink)
References <tvf2ii$ldf8$1@dont-email.me>

Show all headers | View raw


On Wed, 22 Mar 2023 15:15:46 +0100, db wrote:

> I am running Kubuntu 18.04 lts and it's about time to upgrade
> to a more recent release, like 20.04 or later. So I typed in
> the command, but I get a lot of complaints and an abort:
> 
> ~> sudo do-release-upgrade
> Checking for a new Ubuntu release
> Get:1 Upgrade tool signature [1554 B] 
> 
> Get:2 Upgrade tool [1338 kB] 
> 
> Fetched 1340 kB in 0s (0 B/s) 
> 
> authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
> extracting 'focal.tar.gz'
> 
> 
> Traceback (most recent call last):
[snip]
> "/tmp/ubuntu-release-upgrader-a6q413z4/DistUpgrade/DistUpgradeViewText.py",
> line 161, in updateStatus
>     print(msg)
> UnicodeEncodeError: 'ascii' codec can't encode character '\xe6' in 
> position 1: ordinal not in range(128)
[snip]
> UnicodeEncodeError: 'ascii' codec can't encode character '\xe6' in 
> position 1: ordinal not in range(128)

These are the relevant errors. They tell you that some text in
the focal.tar.gz package contains a character that cannot be
translated to ASCII, which breaks DistUpgradeViewText.py

It is not evident why DistUpgradeViewText.py is trying to translate a
string into ASCII. However, it is likely that it tries to do this because
the locale it is working under specifies ASCII.

> What can I do to make it work?

I can't guarantee anything, as there's precious little information in
your post to work from, but... follow Pancho's advice, and change your
locale to use some encoding other than ASCII, then try the command again

HTH
-- 
Lew Pitcher
"In Skills We Trust"

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Release upgrade problems db <dieterhansbritz@gmail.com> - 2023-03-22 15:15 +0100
  Re: Release upgrade problems The Natural Philosopher <tnp@invalid.invalid> - 2023-03-22 15:07 +0000
  Re: Release upgrade problems Pancho <Pancho.Jones@proton.me> - 2023-03-22 15:34 +0000
  Re: Release upgrade problems Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2023-03-22 17:51 +0000
    Re: Release upgrade problems Marco Moock <mo01@posteo.de> - 2023-03-22 19:27 +0100
      Re: Release upgrade problems Pancho <Pancho.Jones@proton.me> - 2023-03-23 08:28 +0000
  Re: Release upgrade problems Joerg Lorenz <hugybear@gmx.ch> - 2023-03-22 19:15 +0100
    Re: Release upgrade problems Joerg Lorenz <hugybear@gmx.ch> - 2023-03-25 18:28 +0100
  Re: Release upgrade problems Marco Moock <mo01@posteo.de> - 2023-03-22 19:27 +0100
    Re: Release upgrade problems db <dieterhansbritz@gmail.com> - 2023-03-25 15:36 +0100
      Re: Release upgrade problems Marco Moock <mo01@posteo.de> - 2023-03-25 17:16 +0100
        Re: Release upgrade problems Andreas Kohlbach <ank@spamfence.net> - 2023-03-25 15:23 -0400
          Re: Release upgrade problems The Natural Philosopher <tnp@invalid.invalid> - 2023-03-25 21:01 +0000
            Re: Release upgrade problems TJ <TJ@noneofyour.business> - 2023-03-25 18:57 -0400
  Re: Release upgrade problems Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2023-03-23 15:20 +0200
  Re: Release upgrade problems Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2023-03-26 20:07 +0300

csiph-web