-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Automatic installation from sources failed
During my installation process, I followed the instruction Automatic installation from sources: Released version (stable). The installation failed.
To Reproduce
Steps to reproduce the behavior:
- wget https://github.com/polycube-network/polycube/archive/v0.9.0-rc.zip
- unzip v0.9.0-rc.zip
- cd polycube-0.9.0-rc
- ./scripts/install.sh
- see the error:
Install polycube
+ cd /home/fangjia/workspace/polycube-0.9.0-rc/scripts/..
+ '[' '' == true ']'
+ '[' '' == update ']'
+ mkdir -p build
+ cd build
+ git log -1
fatal: not a git repository (or any of the parent directories): .git
++ error_message
++ set +x
Error during installation
Expected behavior
Polycube should be installed
Please tell us about your environment:
- OS details:
cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
- Kernel details:
uname -a
Linux fangjia 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- Polycube Version:
polycubectl version
v0.9.0-rc
- Polycube Log: Attach the log from
/var/log/polycube/polycubed.log
N?A
Additional context
From my understanding, it is failed since the extracted project directory is not git repository. So I changed another way:
1. git clone https://github.com/polycube-network/polycube
2. cd polycube
3. git checkout tags/v0.9.0-rc
4. git submodule update --init --recursive
5. ./scripts/install.sh
Then the installation succeeded. Not sure my way is correct or not,
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already exists