Score:0

unable to install netcat on wsl running ubuntu 18.04

tr flag

I am a beginner, I am trying to setup a wsl with basic tools. I am trying to install unzip, tree, netcat, nmap etc and everytime i run the command there is no error but this message is shown.

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  accountsservice apport-symptoms command-not-found-data gdisk gir1.2-glib-2.0 iso-codes libaccountsservice0
  libgirepository-1.0-1 libmspack0 libnetplan0 libxmlsec1 libxmlsec1-openssl python-apt-common run-one zerofree
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  netcat-traditional
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success

If someone could please explain the problem to me and help me install these.

ps: I tried the sudo apt autoremove dont know what it does but doesnt help.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.