Closed Vimos closed 6 years ago
Oh, I don't even know about this! Thanks a lot!
For those who may meet this problem, comment out the line can get around the issue:
diff --git a/install-deps b/install-deps
index b1d5a4d..f900993 100755
--- a/install-deps
+++ b/install-deps
@@ -175,7 +175,7 @@ elif [[ "$(uname)" == 'Linux' ]]; then
echo "Some portion of the update is failed"
fi
# python-software-properties is required for apt-add-repository
- sudo apt-get install -y python-software-properties
+ # sudo apt-get install -y python-software-properties
echo "==> Found Ubuntu version ${ubuntu_major_version}.xx"
if [[ $ubuntu_major_version -lt '12' ]]; then
echo '==> Ubuntu version not supported.'
Would it be better to add software-properties-common
instead?
# sudo apt-get install -y python-software-properties
sudo apt-get install -y software-properties-common
Thanks.
Keep in mind that you can install dependencies by hand by looking at required packages for ubuntu in install-deps
shell script, especially if you have some ubuntu-based distro. This script can be simply skipped once you have the majority of packages installed.
same here... Do you have a solution?
i have the same problem. finally i could solve it by replacing the line sudo apt-get install -y python-software-properties by sudo apt-get install -y software-properties-common in install-deps. hope it helps
Kali Linux 2019.1
➜ .torch git:(master) bash install-deps Hit:1 http://storage.googleapis.com/bazel-apt stable InRelease Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease Hit:3 http://dl.google.com/linux/chrome/deb stable Release Hit:5 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease Hit:6 http://sg.archive.ubuntu.com/ubuntu bionic InRelease Hit:7 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:8 http://sg.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:9 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease Hit:10 http://sg.archive.ubuntu.com/ubuntu bionic-backports InRelease Reading package lists... Done Updated successfully. Reading package lists... Done Building dependency tree Reading state information... Done Package python-software-properties is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: software-properties-common E: Package 'python-software-properties' has no installation candidate
System info
➜ .torch git:(master) cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
same problem please help me solve this
System info