I want to install firefox in linuxmint
I run this command:
sudo apt install firefox
It shows error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-65 linux-headers-5.4.0-65-generic linux-image-5.4.0-65-generic linux-modules-5.4.0-65-generic linux-modules-extra-5.4.0-65-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
xul-ext-ubufox
Suggested packages:
fonts-lyx
The following NEW packages will be installed:
firefox xul-ext-ubufox
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.5 MB/56.5 MB of archives.
After this operation, 223 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://mintmirror.netfirst.in ulyssa/upstream amd64 firefox amd64 86.0.1+linuxmint1+ulyssa [56.5 MB]
Err:1 https://mintmirror.netfirst.in ulyssa/upstream amd64 firefox amd64 86.0.1+linuxmint1+ulyssa
Hash Sum mismatch
Hashes of expected file:
Anything helpful information would be appreciable. Thanks in advance.
This happens because you didn't closed that port properly and the connection/port is still running in the background. (Maybe you exited by pressing ctrl+z instead of ctrl+c) You can use this to kill that process:
sudo fuser -k 8000/tcp
Note: 8000 is the port number.