1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【NVIDIA Jetson】アップグレード後にブラウザが起動できなくなった時の対処方法

Last updated at Posted at 2025-09-07

はじめに

NVIDIA Jetson AGX Orinをアップグレード後に、突如、FirefoxやChromiumが起動しなくなった。エラーの原因を特定し、エラーの解決方法が見つかったので紹介する。

動作確認環境

現象と原因

現象

Jetsonをアップグレード(sudo apt update && sudo apt upgrade)した後に、突如、FirefoxやChromiumが起動しなくなる。

ターミナルで起動すると以下のエラーが確認できる。

YYYY/MM/dd HH:mm:ss.sssss cmd_run.go:1344: WARNING: cannot create user data directory: failed to verify SELinux context of /home/{username}/snap: exec: “matchpathcon”: executable file not found in $PATH
cannot set capabilities: Operation not permitted

原因

ブラウザ(FirefoxやChromium)をSnapで配布・管理している環境で、v2.70以降に必要なカーネルモジュールがJetsonに組み込まれていないため。

Jetsonをアップグレードしたことにより、Snapのバージョンがv2.6xからv2.7xに上がり、上記の問題でブラウザが起動しなくなる。

解決方法

大きく4つの解決方法がある。

  • 【方法1】Snapのバージョンをv2.6x系統に下げる
  • 【方法2】Snapではないパッケージ管理ソフト「Flatpak」を利用する(参考
  • 【方法3】Snap経由で起動せず、直接起動する (参考)
  • 【方法4】Jetsonカーネルをビルドし直して初期化する(参考

ここでは、実際に試して問題がなく簡単に解決した【方法1】を紹介する。

現状のSnap(snapd)のバージョンを確認する。

snap info snapd

以下のように、v2.70以降がインストールされているか確認する。

name:      snapd
summary:   Daemon and tooling that enable snap packages
publisher: Canonical✓
store-url: https://snapcraft.io/snapd
contact:   https://github.com/snapcore/snapd/issues
license:   GPL-3.0
description: |
  Install, configure, refresh and remove snap packages. Snaps are
  'universal' packages that work across many different Linux systems,
  enabling secure distribution of the latest apps and utilities for
  cloud, servers, desktops and the internet of things.
  
  Start with 'snap list' to see installed snaps.
type:         snapd
snap-id:      PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4
tracking:     latest/stable
refresh-date: 13 days ago, at 22:37 JST
channels:
  latest/stable:    2.71              2025-08-23 (25205) 46MB -
  latest/candidate: 2.71              2025-08-13 (25205) 46MB -
  latest/beta:      2.71              2025-07-31 (25205) 46MB -
  latest/edge:      2.71+g148.288302b 2025-09-03 (25487) 46MB -
installed:          2.71                         (25205) 46MB snapd

Snapをダウングレードする。

  1. 旧バージョンのダウンロード

    cd /tmp
    snap download snapd --revision=24724
    

    以下のようなメッセージが出れば成功。

    Fetching snap "snapd"
    Fetching assertions for "snapd"
    Install the snap with:
       snap ack snapd_24724.assert
       snap install snapd_24724.snap
    
  2. インストール

    sudo snap ack snapd_24724.assert 
    sudo snap install snapd_24724.snap 
    

    以下のようなメッセージが出れば成功。

    2025-09-03T16:12:50+09:00 INFO Waiting for automatic snapd restart...
    snapd 2.68.5 from Canonical✓ installed
    
  3. バージョン固定
    今後、アップグレードされないようにバージョンを固定する。

    sudo snap refresh --hold snapd
    

    以下のようなメッセージが出れば成功。

    General refreshes of "snapd" held indefinitely
    
  4. バージョンの確認

    snap info snapd
    

    v2.68.5がインストールされていれば成功。

    name:      snapd
    summary:   Daemon and tooling that enable snap packages
    publisher: Canonical✓
    store-url: https://snapcraft.io/snapd
    license:   GPL-3.0
    description: |
      Install, configure, refresh and remove snap packages. Snaps are
      'universal' packages that work across many different Linux systems,
      enabling secure distribution of the latest apps and utilities for
      cloud, servers, desktops and the internet of things.
      
      Start with 'snap list' to see installed snaps.
    type:         snapd
    snap-id:      PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4
    tracking:     latest/stable
    refresh-date: today at 16:12 JST
    hold:         forever
    channels:
      latest/stable:    2.71              2025-08-23 (25205) 46MB -
      latest/candidate: 2.71              2025-08-13 (25205) 46MB -
      latest/beta:      2.71              2025-07-31 (25205) 46MB -
      latest/edge:      2.71+g148.288302b 2025-09-03 (25487) 46MB -
    installed:          2.68.5                       (24724) 46MB snapd,held
    

ブラウザが通常通り起動すれば成功。うまくいかない場合は、ブラウザを再インストールして再起動する。

まとめ

NVIDIA Jetson AGX Orinをアップグレード後に、突如FirefoxやChromiumが起動しなくなったエラーの原因を特定し、エラーの解決方法を紹介した。同様の不具合でお困りの方は試してみてほしい。

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?