2026-01-18

XLibre の PPA で警告っぽいものが出ていたので修正してみた

XLibre Xserver を使用するために PPA を追加しているのですが今頃になって警告っぽいものが出力されていたことに気づきました。

PPA の警告っぽいものは以下の通りです。この種類のメッセージは初めて見ました。

$ apt update
ヒット:1 https://repository.spotify.com stable InRelease
ヒット:2 https://xlibre-debian.github.io/debian main InRelease                               
無視:3 http://ftp.jaist.ac.jp/pub/Linux/linuxmint/packages gigi InRelease                    
ヒット:4 http://ftp.riken.jp/Linux/debian/debian trixie InRelease
ヒット:5 http://ftp.riken.jp/Linux/debian/debian trixie-updates InRelease
ヒット:6 http://security.debian.org trixie-security InRelease                       
ヒット:7 http://ftp.riken.jp/Linux/debian/debian trixie-backports InRelease            
ヒット:8 http://ftp.jaist.ac.jp/pub/Linux/linuxmint/packages gigi Release              
パッケージはすべて最新です。                               
Notice: リポジトリ 'https://xlibre-debian.github.io/debian main InRelease' がアーキテクチャ 'i386' をサポートしないため設定ファイル 'stable/binary-i386/Packages' の取得をスキップ

 

なんか apt でアーキテクチャを amd64 だけに限定する方法があったような気もする・・・。

ということで、Gemini くんに相談してみました。

これを、以下のように [arch=amd64] を書き加えた形に修正します:
deb [arch=amd64] https://xlibre-debian.github.io/debian main

Gemini くん、それは古い指定の仕方だよ。ということで「.list ファイルではなく .sources ファイルで指定する方法を教えてよん」とお願いしたところ、今度は正解が返ってきました。

Types: deb
URIs: https://xlibre-debian.github.io/debian/
Suites: main
Components: stable
Architectures: amd64
Signed-By: /usr/share/keyrings/NexusSfan.pgp
X-Repolib-ID: xlibre-debian
X-Repolib-Name: xlibre-debian
Enabled: yes

いいじゃない。

ということで、この内容を /etc/apt/sources.list.d/xlibre-debian.sources に反映しました。

反映後の結果はこちら。

$ apt update
無視:1 http://ftp.jaist.ac.jp/pub/Linux/linuxmint/packages gigi InRelease
ヒット:2 https://repository.spotify.com stable InRelease    
ヒット:3 http://ftp.riken.jp/Linux/debian/debian trixie InRelease                                  
ヒット:4 http://ftp.riken.jp/Linux/debian/debian trixie-updates InRelease                          
ヒット:5 http://ftp.jaist.ac.jp/pub/Linux/linuxmint/packages gigi Release                          
ヒット:7 https://xlibre-debian.github.io/debian main InRelease                                     
ヒット:8 http://security.debian.org trixie-security InRelease 
ヒット:9 http://ftp.riken.jp/Linux/debian/debian trixie-backports InRelease
パッケージはすべて最新です。

いいですね。これにて対応完了です。