දෝෂය sudo: add-apt-repository: විධානය හමු නොවීය


224

මම උබුන්ටු 14.04 ධාවනය කරනවා. මම දුවන විට:

sudo add-apt-repository ppa:ubuntu-wine/ppa

මට පහත දෝෂය ලැබුණි:

sudo: add-apt-repository: command not found

මම දුවන්න උත්සාහ කළා

sudo apt-get install software-properties-common

නමුත් එය පෙන්වන්නේ:

software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

මෙය පැරණි තනතුරක් වන අතර සමහර විට OP තවදුරටත් ගණන් ගන්නේ නැත! කෙසේ වෙතත් ඔබ උත්සාහ sudo apt install software-properties-common --reinstallකළාද?
— ස්වර්ණෙන්ඩු බිස්වාස්

Answers:


364

උබුන්ටු 14.04 හෝ ඊට පසු ඔබ software-properties-commonපැකේජය ස්ථාපනය කළ යුතුය :

sudo apt install software-properties-common

මෙම බ්ලොග් අඩවිය තුළ මම විසඳුම සොයා ගතිමි: උබුන්ටු සර්වර් 14.4 (විශ්වාසදායක තාහර්) - add-apt-repository: විධානය හමු නොවීය


43

ඔබ පැරණි උබුන්ටු නිකුතුවක් භාවිතා කරන්නේ නම්, එනම් 12.10 ට පෙර, පැකේජය ස්ථාපනය කිරීම අවශ්‍ය වේ python-software-properties.

sudo apt install python-software-properties

මට මෙම ගැටලුව උබුන්ටු 16.04 එල්ටීඑස් හි තිබුණි. මෙය සවි කර ඇත, නමුත් ස්ථාපනය කිරීමෙන් පසු මට සේවාදායකය නැවත ආරම්භ කිරීමට සිදුවිය.
— එරික් කල්කෝකන්

මෙය මට උබුන්ටු 14.04 එල්ටීඑස් හි විසඳා ඇත. software-properties-commonදැනටමත් ස්ථාපනය කර ඇත.
— kap
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.