I get errors when installing mingw-w64

So I use Parrot 4.9, Secure Edition on a virtual machine.
Recently I wanted to setup a keylogger and I needed mingw-w64. When I type apt-get install mingw-w64, it gives me this:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package mingw-w64

Thanks!

May not work, but try this

sudo apt update; sudo apt upgrade

sudo apt-get install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64

I tried apt update and upgrade with and without anonsurf and it gives me this:
#sudo apt update

apt upgrade is unsafe on rolling release distributions.

using apt full-upgrade instead

use apt upgrade --force to override

Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

And this is when I type sudo apt-get install gcc-mingw-w64-x86-64 g+±mingw-w64-x86-64
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package gcc-mingw-w64-x86-64
E: Unable to locate package g+±mingw-w64-x86-64

Did you change your Sources.list?
(because it’s in my repository, see summary)

try : sudo apt install mingw-w64

apt-get is Not Recommended on Rolling Distributions

Summary

└──╼ $sudo apt install mingw-w64
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 g+±mingw-w64
g+±mingw-w64-i686 g+±mingw-w64-i686-posix g+±mingw-w64-i686-win32
g+±mingw-w64-x86-64 g+±mingw-w64-x86-64-posix g+±mingw-w64-x86-64-win32
gcc-mingw-w64 gcc-mingw-w64-base gcc-mingw-w64-i686 gcc-mingw-w64-i686-posix
gcc-mingw-w64-i686-posix-runtime gcc-mingw-w64-i686-win32
gcc-mingw-w64-i686-win32-runtime gcc-mingw-w64-x86-64
gcc-mingw-w64-x86-64-posix gcc-mingw-w64-x86-64-posix-runtime
gcc-mingw-w64-x86-64-win32 gcc-mingw-w64-x86-64-win32-runtime
mingw-w64-common mingw-w64-i686-dev mingw-w64-x86-64-dev
Suggested packages:
gcc-9-locales wine wine64
The following NEW packages will be installed:
binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 g+±mingw-w64
g+±mingw-w64-i686 g+±mingw-w64-i686-posix g+±mingw-w64-i686-win32
g+±mingw-w64-x86-64 g+±mingw-w64-x86-64-posix g+±mingw-w64-x86-64-win32
gcc-mingw-w64 gcc-mingw-w64-base gcc-mingw-w64-i686 gcc-mingw-w64-i686-posix
gcc-mingw-w64-i686-posix-runtime gcc-mingw-w64-i686-win32
gcc-mingw-w64-i686-win32-runtime gcc-mingw-w64-x86-64
gcc-mingw-w64-x86-64-posix gcc-mingw-w64-x86-64-posix-runtime
gcc-mingw-w64-x86-64-win32 gcc-mingw-w64-x86-64-win32-runtime mingw-w64
mingw-w64-common mingw-w64-i686-dev mingw-w64-x86-64-dev
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 171 MB of archives.
After this operation, 989 MB of additional disk space will be used.
Do you want to continue? [Y/n]

some days ago it worked, I saw that thing with yes/no, but now idk what`s happening

Try this apt search mingw | grep -w mingw
And see if it shows mingw-w64 if it does and that’s what you want install that by simply copy pasting name of the package

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.