Environment inside SimpleAPTClient lacks $DISPLAY

未关闭
#10 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxmint/aptkit 的其他 Issue

查看 linuxmint/aptkit 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。