Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Environment inside SimpleAPTClient lacks $DISPLAY

オープン
#10 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python

調査の方向性

SimpleAPTClient のエントリーポイントから開始し、aptkit 1.0.4 と mintupdate 7.0.7.1 で問題を再現して、apt-listchanges が使用する環境に $DISPLAY が存在するか確認します。apt-listchanges がコンソールにフォールバックして更新の進行を停止するのではなく、独立したウィンドウを開けば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hello everyone

There is an issue from several months ago in mintupdate; $DISPLAY isn't propagated any more inside the SimpleAPTClient used: https://github.com/linuxmint/mintupdate/issues/918

This breaks e.g. apt-listchanges since it depends on $DISPLAY to open a separate window above mintupdate. Without $DISPLAY, apt-listchanges falls back to console and the update progress freezes. You have to open the detailed console view, quit the console pager that apt-listchanges opened and then confirm the prompt if installation should be continued.

This is currently reproducible on aptkit 1.0.4 and mintupdate 7.0.7.1. I first noticed it, AFAIR, after upgrading to Mint 22 or 22.1.

Using the git pickaxe I couldn't find anything about $DISPLAY in this repo. As I'm not familiar with both projects and on limited free time, I beg your pardon that I cannot provide more specific details. If I can do anything specific to help to diagnose and correct this, please let me know.

Best regards

Björn

主要言語
Python
スター
15
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/aptkit のほかの issue

linuxmint/aptkit の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。