Pi5 and the AWUS036ACH Alfa adapter

On a basic sudo apt upgrade I get this error

What is the error: sub-process /urs/bin/dpkg returned an error code (1)

What device is this on: Kali arm 64 8gb rbp

The error sub-process /usr/bin/dpkg returned an error code (1) typically occurs due to issues with package installation, broken dependencies, or missing configuration files.You might try this:
Check for Partial or Broken Packages: Run the following command to fix or clean up any broken packages:

sudo apt --fix-broken install

Still have the same error. now run out of ideas. Can any onehelp with this error.
error sub-process /usr/bin/dpkg returned an error code (1)

RPi5-8GB, 1TB nvme ssd

cat /etc/os-release
PRETTY_NAME=“Kali GNU/Linux Rolling”
NAME=“Kali GNU/Linux”
VERSION_ID=“2024.4”
VERSION=“2024.4”
VERSION_CODENAME=kali-rolling
ID=kali
ID_LIKE=debian

You’re going to have a hard time with any realtek chipsets in linux. Better to just use a properly supported adapter.

1 Like

should be
sudo apt update
sudo apt full-upgrade -y

Nahh come on i just bought a new wireless adapter

From my own experience, before these chipsets were supported in kernel, installing drivers worked easily, since they have been included, I have had to plug in and unplug a Realtek USB adapter more than once for it to be properly seen and configured, in several Linux distros, not just Kali.

Once it has properly installed though, works OK from then on, but doesn’t ‘just work’ like when manually installing drivers did initially.

1 Like