I have been running into some basic issues and it's just getting to a point where even after trying out different things by looking up isn't doing any good, so here I am to get some insight from you guys.
The idea is to run some git repo init commands which I keep having issues with.
>> repo 1.12.16
stderr:
>> gpg: Signature made Thu 01 May 2014 01:34:18 PM PDT using RSA key ID 692B382C
>> gpg: Can't check signature: public key not found
>> error: could not verify the tag 'v1.12.16' fatal: cloning the git-repo repository failed, will remove '.repo/repo'
I have been going back and forth now...to nothing! I even swapped the python versions between 3.6 and 2.7...what should I be doing? what am I missing?
I recall trying this out but I don't think it solved it, in fact I got syntax errors.
Also, tried this out but now I'm getting a syntax error
File "/home/qct/caf/.repo/repo/main.py", line 500, in <module>
_Main(sys.argv[1:])
File "/home/qct/caf/.repo/repo/main.py", line 476, in _Main
result = repo._Run(argv) or 0
File "/home/qct/caf/.repo/repo/main.py", line 155, in _Run
result = cmd.Execute(copts, cargs)
File "/home/qct/caf/.repo/repo/subcmds/init.py", line 390, in Execute
self._SyncManifest(opt)
File "/home/qct/caf/.repo/repo/subcmds/init.py", line 236, in _SyncManifest
m.MetaBranchSwitch(opt.manifest_branch)
File "/home/qct/caf/.repo/repo/project.py", line 2634, in MetaBranchSwitch
self.Sync_LocalHalf(syncbuf)
File "/home/qct/caf/.repo/repo/project.py", line 1170, in Sync_LocalHalf
self._InitWorkTree()
File "/home/qct/caf/.repo/repo/project.py", line 2224, in _InitWorkTree
_lwrite(os.path.join(dotgit, HEAD), '%s\n' % self.GetRevisionId())
File "/home/qct/caf/.repo/repo/project.py", line 51, in _lwrite
fd.write(content)
TypeError: a bytes-like object is required, not 'str'
I have been running into some basic issues and it's just getting to a point where even after trying out different things by looking up isn't doing any good, so here I am to get some insight from you guys. The idea is to run some git repo init commands which I keep having issues with.
Summary as below:
Start off with a fresh Ubuntu 16.04 installation
run sudo apt-get update, and sudo apt-get upgrade
Run the following to install certain packages
install git
Download repo by following the steps below:
install python 3.6
upgrade to python 3.6 as shown here
run the following:
run the following in a different directory:
Output:
I have been going back and forth now...to nothing! I even swapped the python versions between 3.6 and 2.7...what should I be doing? what am I missing?
I recall trying this out but I don't think it solved it, in fact I got syntax errors.
Also, tried this out but now I'm getting a syntax error