Add button to repair broken update

Đang mở
#1,100 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, python
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
428
Fork
196
Merge trung bình
16 giờ 9 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/mintupdate

Tất cả issue của linuxmint/mintupdate

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.