[Bug 1875744] [NEW] xdg-user-dir does for root does not return the locale names of the directories

Gonzalo Garramuno 1875744 at bugs.launchpad.net
Tue Apr 28 20:16:59 UTC 2020


Public bug reported:

When upgrading from Ubuntu 18.04 to 20.04, the root user does not
receive the file ~/.config/user-dirs.dirs and thus the locale names are
not translated.

Example:

$ sudo bash
[sudo] password for gga:

# xdg-user-dir DESKTOP
/root/Desktop

With the proper (Spanish) .config/user-dirs.dirs:

$ sudo bash
[sudo] password for gga:

# xdg-user-dir DESKTOP
/root/Escritorio

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.18
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 28 17:09:45 2020
InstallationDate: Installed on 2020-04-25 (2 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2020-04-27 (1 days ago)
VarLogDistupgradeXorgFixuplog:
 INFO:root:/usr/bin/do-release-upgrade running
 INFO:root:No xorg.conf, exiting

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1875744

Title:
  xdg-user-dir does for root does not return the locale names of the
  directories

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  When upgrading from Ubuntu 18.04 to 20.04, the root user does not
  receive the file ~/.config/user-dirs.dirs and thus the locale names
  are not translated.

  Example:

  $ sudo bash
  [sudo] password for gga:

  # xdg-user-dir DESKTOP
  /root/Desktop

  With the proper (Spanish) .config/user-dirs.dirs:

  $ sudo bash
  [sudo] password for gga:

  # xdg-user-dir DESKTOP
  /root/Escritorio

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.18
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Apr 28 17:09:45 2020
  InstallationDate: Installed on 2020-04-25 (2 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to focal on 2020-04-27 (1 days ago)
  VarLogDistupgradeXorgFixuplog:
   INFO:root:/usr/bin/do-release-upgrade running
   INFO:root:No xorg.conf, exiting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1875744/+subscriptions



More information about the foundations-bugs mailing list