Docker Error

I have this error trying to add the docker repository to the apt

┌─[francisco@parrot]─[~]
└──╼ $sudo add-apt-repository
“deb [arch=arm64] https://download.docker.com/linux/debian
$(lsb_release -cs)
stable”

Traceback (most recent call last):
 File “/usr/bin/add-apt-repository”, line 95, in <module>
   sp = SoftwareProperties(options=options)
 File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 109, in init
   self.reload_sourceslist()
 File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 599, in reload_sourceslist
   self.distro.get_sources(self.sourceslist)     
 File “/usr/lib/python3/dist-packages/aptsources/distro.py”, line 93, in get_sources
   (self.id, self.codename))

aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Parrot/n/a

do NOT add the docker repo, install the docker.io package from the official parrot repo instead

sudo apt update
sudo apt install docker.io

3 Likes