Confirm update 2 times?
Tofloor
poster avatar
edson1967
deepin
2020-11-21 11:49
Author

Hello Deepin Team

Do any updates need to be confirmed twice? Why does this happen with the Deepin V20 1003?


sudo apt update
Senha
[sudo] senha para edson:
Verificação Bem-sucedida
Atingido:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Atingido:2 https://repo.skype.com/deb stable InRelease
Atingido:3 http://packages.microsoft.com/repos/edge stable InRelease
Atingido:4 https://community-store-packages.deepin.com/appstore eagle InRelease
Atingido:5 https://community-packages.deepin.com/deepin apricot InRelease
Atingido:6 https://community-packages.deepin.com/printer eagle InRelease
Atingido:7 https://deb.opera.com/opera-stable stable InRelease
Atingido:8 https://download.sublimetext.com apt/stable/ InRelease
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
1 package can be upgraded. Run 'apt list --upgradable' to see it.
edson@edson-PC6450br:~$ apt list --upgradable
Listing... Pronto
brave-browser/stable 1.17.73 amd64 [upgradable from: 1.16.76]
N: There are 8 additional versions. Please use the '-a' switch to see them.
edson@edson-PC6450br:~$ sudo apt upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Calculando atualização... Pronto
Os pacotes a seguir serão atualizados:
brave-browser
1 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 77,9 MB de arquivos.
Depois desta operação, 2.146 kB adicionais de espaço em disco serão usados.
Você quer continuar? [S/n] s
Obter:1 https://brave-browser-apt-release.s3.brave.com stable/main amd64 brave-browser amd64 1.17.73 [77,9 MB]
Baixados 77,9 MB em 3min 37s (359 kB/s)
E: Falhou ao buscar https://brave-browser-apt-release.s3.brave.com/pool/main/b/brave-browser/brave-browser_1.17.73_amd64.deb renomeação falhou, Arquivo ou diretório inexistente (/var/cache/apt/archives/partial/brave-browser_1.17.73_amd64.deb -> /var/cache/apt/archives/brave-browser_1.17.73_amd64.deb).
E: Impossível buscar alguns arquivos, talvez executar apt-get update ou tentar com --fix-missing?
sudo apt upgrade -y
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Calculando atualização... Pronto
Os pacotes a seguir serão atualizados:
brave-browser
1 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 0 B/77,9 MB de arquivos.
Depois desta operação, 2.146 kB adicionais de espaço em disco serão usados.
(Lendo banco de dados ... 291281 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../brave-browser_1.17.73_amd64.deb ...
A descompactar brave-browser (1.17.73) sobre (1.16.76) ...
Configurando brave-browser (1.17.73) ...
A processar 'triggers' para desktop-file-utils (0.23-4) ...
A processar 'triggers' para mime-support (3.62) ...
A processar 'triggers' para lastore-daemon (5.1.0.21-1) ...
A processar 'triggers' para man-db (2.8.5-2) ...
A processar 'triggers' para bamfdaemon (0.5.4.1-1+eagle) ...
Rebuilding /usr/share/applications/bamf-2.index...


Reply Favorite View the author
All Replies
Ziggy
deepin
2020-11-22 02:17
#1

Upadate is different from Upgrade.Update just check the sources,upgrade is the true update.You should try sudo apt update && sudo apt upgrade,or just type "sudo apt upgrade" directly.

Reply View the author
edson1967
deepin
2020-11-22 08:14
#2
Ziggy

Upadate is different from Upgrade.Update just check the sources,upgrade is the true update.You should try sudo apt update && sudo apt upgrade,or just type "sudo apt upgrade" directly.

Whatever, as much as it did, the result is always the same.

I need to confirm the updates most times, twice, as shown in the report above.

sudo apt update or sudo apt-get update is to know which updates will be performed and / or presented.

sudo apt upgrade -y or sudo apt-get upgrade -y is to confirm updates without the need for additional confirmation, sudo apt dist-upgrade -y or sudo apt-get dist-upgrade -y, ditto.



Reply View the author
Ziggy
deepin
2020-11-22 08:35
#3
edson1967

Whatever, as much as it did, the result is always the same.

I need to confirm the updates most times, twice, as shown in the report above.

sudo apt update or sudo apt-get update is to know which updates will be performed and / or presented.

sudo apt upgrade -y or sudo apt-get upgrade -y is to confirm updates without the need for additional confirmation, sudo apt dist-upgrade -y or sudo apt-get dist-upgrade -y, ditto.



Could you upload some English screenshots plz?

Reply View the author
edson1967
deepin
2020-11-22 09:07
#4
Ziggy

Could you upload some English screenshots plz?


Just use google translator, but I will do it for you.

1º ok

sudo apt update
password
[sudo] password for edson:
Verification Successful
Hit: 1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit: 2 https://repo.skype.com/deb stable InRelease
Hit: 3 http://packages.microsoft.com/repos/edge stable InRelease
Hit: 4 https://community-store-packages.deepin.com/appstore eagle InRelease
Hit: 5 https://community-packages.deepin.com/deepin apricot InRelease
Hit: 6 https://community-packages.deepin.com/printer eagle InRelease
Hit: 7 https://deb.opera.com/opera-stable stable InRelease
Hit: 8 https://download.sublimetext.com apt / stable / InRelease
Reading package lists ... Done
Building dependency tree
Reading status information ... Ready
1 package can be upgraded. Run 'apt list --upgradable' to see it.
edson @ edson-PC6450br: ~ $ apt list --upgradable
Listing ... Ready
brave-browser / stable 1.17.73 amd64 [upgradable from: 1.16.76]
N: There are 8 additional versions. Please use the '-a' switch to see them.

2º ok
edson @ edson-PC6450br: ~ $ sudo apt upgrade
Reading package lists ... Done
Building dependency tree
Reading status information ... Ready
Calculating update ... Ready
The following packages will be updated:
brave-browser
1 updated packages, 0 new packages installed, 0 to be removed and 0 not updated.
You need to download 77.9 MB of files.
After this operation, an additional 2,146 kB of disk space will be used.

1º First confirmation normal:

 Do you want to continue? [Y / n] s

Get: 1 https://brave-browser-apt-release.s3.brave.com stable / main amd64 brave-browser amd64 1.17.73 [77.9 MB]
Downloaded 77.9 MB in 3min 37s (359 kB / s)
E: Failed to fetch https://brave-browser-apt-release.s3.brave.com/pool/main/b/brave-browser/brave-browser_1.17.73_amd64.deb rename failed, File or directory does not exist (/ var / cache / apt / archives / partial / brave-browser_1.17.73_amd64.deb -> /var/cache/apt/archives/brave-browser_1.17.73_amd64.deb).
E: Unable to fetch some files, maybe run apt-get update or try --fix-missing?

2º This is the second confirmation to be able to update the browser, as the first one up there failed, there is always most of the time.

sudo apt upgrade -y
Reading package lists ... Done
Building dependency tree
Reading status information ... Ready
Calculating update ... Ready
The following packages will be updated:
brave-browser
1 updated packages, 0 new packages installed, 0 to be removed and 0 not updated.
You need to download 0 B / 77.9 MB of files.
After this operation, an additional 2,146 kB of disk space will be used.
(Reading database ... 291281 files and directories currently installed.)
Preparing to unpack ... / brave-browser_1.17.73_amd64.deb ...
Unzipping brave-browser (1.17.73) on (1.16.76) ...
Configuring brave-browser (1.17.73) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for lastore-daemon (5.1.0.21-1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for bamfdaemon (0.5.4.1-1 + eagle) ...
Rebuilding /usr/share/applications/bamf-2.index ...


Note: Image of the terminal can only be made available in a next update when it occurs.

Reply View the author
Ziggy
deepin
2020-11-22 19:17
#5
edson1967


Just use google translator, but I will do it for you.

1º ok

sudo apt update
password
[sudo] password for edson:
Verification Successful
Hit: 1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit: 2 https://repo.skype.com/deb stable InRelease
Hit: 3 http://packages.microsoft.com/repos/edge stable InRelease
Hit: 4 https://community-store-packages.deepin.com/appstore eagle InRelease
Hit: 5 https://community-packages.deepin.com/deepin apricot InRelease
Hit: 6 https://community-packages.deepin.com/printer eagle InRelease
Hit: 7 https://deb.opera.com/opera-stable stable InRelease
Hit: 8 https://download.sublimetext.com apt / stable / InRelease
Reading package lists ... Done
Building dependency tree
Reading status information ... Ready
1 package can be upgraded. Run 'apt list --upgradable' to see it.
edson @ edson-PC6450br: ~ $ apt list --upgradable
Listing ... Ready
brave-browser / stable 1.17.73 amd64 [upgradable from: 1.16.76]
N: There are 8 additional versions. Please use the '-a' switch to see them.

2º ok
edson @ edson-PC6450br: ~ $ sudo apt upgrade
Reading package lists ... Done
Building dependency tree
Reading status information ... Ready
Calculating update ... Ready
The following packages will be updated:
brave-browser
1 updated packages, 0 new packages installed, 0 to be removed and 0 not updated.
You need to download 77.9 MB of files.
After this operation, an additional 2,146 kB of disk space will be used.

1º First confirmation normal:

 Do you want to continue? [Y / n] s

Get: 1 https://brave-browser-apt-release.s3.brave.com stable / main amd64 brave-browser amd64 1.17.73 [77.9 MB]
Downloaded 77.9 MB in 3min 37s (359 kB / s)
E: Failed to fetch https://brave-browser-apt-release.s3.brave.com/pool/main/b/brave-browser/brave-browser_1.17.73_amd64.deb rename failed, File or directory does not exist (/ var / cache / apt / archives / partial / brave-browser_1.17.73_amd64.deb -> /var/cache/apt/archives/brave-browser_1.17.73_amd64.deb).
E: Unable to fetch some files, maybe run apt-get update or try --fix-missing?

2º This is the second confirmation to be able to update the browser, as the first one up there failed, there is always most of the time.

sudo apt upgrade -y
Reading package lists ... Done
Building dependency tree
Reading status information ... Ready
Calculating update ... Ready
The following packages will be updated:
brave-browser
1 updated packages, 0 new packages installed, 0 to be removed and 0 not updated.
You need to download 0 B / 77.9 MB of files.
After this operation, an additional 2,146 kB of disk space will be used.
(Reading database ... 291281 files and directories currently installed.)
Preparing to unpack ... / brave-browser_1.17.73_amd64.deb ...
Unzipping brave-browser (1.17.73) on (1.16.76) ...
Configuring brave-browser (1.17.73) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for lastore-daemon (5.1.0.21-1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for bamfdaemon (0.5.4.1-1 + eagle) ...
Rebuilding /usr/share/applications/bamf-2.index ...


Note: Image of the terminal can only be made available in a next update when it occurs.

There might be something wrong with the source of Brave,you could try to delete that source  or bear it if you really have to use Brave.

Reply View the author
edson1967
deepin
2020-11-23 05:57
#6
Ziggy

There might be something wrong with the source of Brave,you could try to delete that source  or bear it if you really have to use Brave.

Hi

The source of the brave is from its official website, as follows: ( https://brave.com/linux/ )

This occurs regardless of whether it is a browser, brave, opera, chromium, vivaldi or the installation of any other application. It is often necessary to confirm twice for the .deb package to be installed. In a next update I will put a screen image (terminal). If you still want to.

Can't the user be free to choose their default browser? Brave is a browser excellence.

Reply View the author
Ziggy
deepin
2020-11-23 07:45
#7
edson1967

Hi

The source of the brave is from its official website, as follows: ( https://brave.com/linux/ )

This occurs regardless of whether it is a browser, brave, opera, chromium, vivaldi or the installation of any other application. It is often necessary to confirm twice for the .deb package to be installed. In a next update I will put a screen image (terminal). If you still want to.

Can't the user be free to choose their default browser? Brave is a browser excellence.

Ok,I'm waiting for your image,and I would get the Brave to test.

Reply View the author
edson1967
deepin
2020-11-26 03:48
#8
Ziggy

Ok,I'm waiting for your image,and I would get the Brave to test.

Hello @Ziggy


It follows what you asked for showing that it is necessary in the vast majority of times to confirm the update twice for it to occur.




The update report follows, showing two confirmations:

Atualização Deepin V20 1003 em 25/11/2020 as 08:17h

https://pastebin.com/uE464gfY

https://pastebin.com/raw/uE464gfY



Reply View the author
Ziggy
deepin
2020-11-26 05:25
#9
edson1967

Hello @Ziggy


It follows what you asked for showing that it is necessary in the vast majority of times to confirm the update twice for it to occur.




The update report follows, showing two confirmations:

Atualização Deepin V20 1003 em 25/11/2020 as 08:17h

https://pastebin.com/uE464gfY

https://pastebin.com/raw/uE464gfY



It should be the issue of this package,I will report

Reply View the author
edson1967
deepin
2020-11-26 06:48
#10
Ziggy

It should be the issue of this package,I will report


Thank You



Reply View the author
edson1967
deepin
2020-11-26 09:39
#11

Hello @Ziggy


Here's another example (!)
I believe that the issue is not summarized in just one specific package.



Reply View the author