Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6046

Error while installing dockers in kubuntu 23.10 [closed]

$
0
0

This was an error that I encounteredE: Malformed entry 1 in list file /etc/apt/sources.list.d/docker.list (Suite)E: The list of sources could not be read.

I wrote the following commands:

Step 1: sudo apt updateStep 2: sudo apt upgradeStep 3 : sudo install -m 0755 -d /etc/apt/keyringsStep 4: sudo curl  -fsSl https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpgStep 5: sudo chmod a+r /etc/apt/keyrings/docker.gpgStep 6: echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu  "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" |sudo tee /etc/apt/sources.list.d/docker.list > /dev/nullThis command ran properly without any errorStep 7: sudo apt updateAfter step 7 I encountered the error E: Malformed entry 1 in list file /etc/apt/sources.list.d/docker.list (Suite)E: The list of sources could not be read.

Viewing all articles
Browse latest Browse all 6046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>