My Ubuntu was missing apt-add-repositoy.
This is was I solved if…
Has a newbie I’v started to run apt-get install software-properties-common, but has you can see I got some erros
root@digitalwhores:/home/# apt-get install software-properties-common Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libdirac-encoder0 libmp3lame0 libopencore-amrnb0 libopencore-amrwb0 libopenjpeg2 libvo-aacenc0 libvo-amrwbenc0 libx264-123 libxvidcore4 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: python3-software-properties unattended-upgrades Suggested packages: bsd-mailx The following NEW packages will be installed: python3-software-properties software-properties-common unattended-upgrades 0 upgraded, 3 newly installed, 0 to remove and 27 not upgraded. Need to get 28.5 kB/55.0 kB of archives. After this operation, 549 kB of additional disk space will be used. Do you want to continue [Y/n]? y Err http://archive.ubuntu.com/ubuntu/ raring-updates/main python3-software-properties all 0.92.17.1 404 Not Found [IP: 91.189.91.14 80] Err http://archive.ubuntu.com/ubuntu/ raring-updates/main software-properties-common all 0.92.17.1 404 Not Found [IP: 91.189.91.14 80] Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/software-properties/python3-software-properties_0.92.17.1_all.deb 404 Not Found [IP: 91.189.91.14 80] Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/software-properties/software-properties-common_0.92.17.1_all.deb 404 Not Found [IP: 91.189.91.14 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Always run the update, before any install!!
apt-get update
And then install the package.
apt-get install software-properties-common
It worked!
root@digitalwhores:/home# apt-add-repository Error: need a repository as argument