Add button to repair broken update

Aberta
#1,100 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
linux, python
Domínio
desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
428
Forks
196
Merge médio
16h 9min
PRs com merge (30d)
1

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de linuxmint/mintupdate

Todas as issues de linuxmint/mintupdate

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.