Add button to repair broken update

未關閉
#1,100 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
linux, python
領域
desktop

研究方向

The issue asks that the update error message offer a button which runs sudo dpkg --configure -a, the command the message already suggests. Start by finding where the update manager displays the failed-update error, then check how it runs privileged package commands. Done means the error dialog has a working button that runs the repair command with privileges and reports the result. The issue does not settle which other failure cases should be covered or how the privilege prompt should work, so confirm scope with maintainers first.

由索引模型根據 Issue 內容生成。

描述

FEATURE REQUEST

Is your feature request related to a problem? Please describe.

It not so rare that an update will partially fail and break the system.
One of the most common problem can be fixed with the command "sudo dpkg --configure -a" as stated in the error message. There may be other common cases too.

Most ordinary people will not understand what to do. They do not even know what is a command or a terminal.
They will be stucked and will curse Linux for unreliability.

Describe the solution you'd like
Add to the error message a button that will process the required command to repair the system.

Thank you

主要語言
Python
星號
428
分支
196
平均合併
16 小時 9 分鐘
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

linuxmint/mintupdate 的其他 Issue

查看 linuxmint/mintupdate 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。