GithubHelp home page GithubHelp logo

scripts's People

Contributors

4j17h avatar agentfabulous avatar akhilnarang avatar akianonymus avatar baalajimaestro avatar dd3boh avatar gokulkgm avatar ikeramat avatar inusasha avatar joeschubert avatar kn0ax avatar msfjarvis avatar nathanchance avatar realakito avatar rokibhasansagar avatar sebaubuntu avatar tadit7 avatar theimpulson avatar thescarastic avatar thestrix avatar togofire avatar ujwalp15 avatar vachounet avatar vinit-chauhan avatar virb3 avatar vishalcj17 avatar xstefen avatar yash-garg avatar yshalsager avatar zvnexus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scripts's Issues

Ubuntu 22.04 404 Not Found [IP: 2606:50c0:8000::153 443] and The repository 'https://cli.github.com/packages jammy Release' does not have a Release file

Check This
cli/cli#5523 (comment)

( Error )

Ign:2 https://cli.github.com/packages jammy InRelease
Err:3 https://cli.github.com/packages jammy Release
404 Not Found [IP: 2606:50c0:8000::153 443]
Hit:4 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:7 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
E: The repository 'https://cli.github.com/packages jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Hit:1 https://repo.steampowered.com/steam stable InRelease
Ign:2 https://cli.github.com/packages jammy InRelease
Err:3 https://cli.github.com/packages jammy Release
404 Not Found [IP: 2606:50c0:8000::153 443]
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
E: The repository 'https://cli.github.com/packages jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Stating command not found

setup/android_build_env.sh: line 16: sudo: command not found
setup/android_build_env.sh: line 19: sudo: command not found
setup/android_build_env.sh: line 21: lsb_release: command not found
setup/android_build_env.sh: line 33: sudo: command not found

all worked fine up until a few minutes ago .

Ubuntu 18.04 Compatibility

Are you going to update the scripts in /setup to make them compatible with Ubuntu 18.04 Bionic Beaver ? In particular I really like the "android_build_env.sh" and the " install_android_sdk.bash
" scripts.

Fedora script

Works perfectly but noticed on oneplus kernel builds it needs openssl to be installed to pass the certs

Unifying Ubuntu scripts

Using lsb_release -d returns the current version running on the system, so in place of two different scripts, we can make just one script that installs all common packages, then detects the current version and installs version specific packages

bash build.sh File not found

At Ubuntu 18.04, after doing android end setup.sh, I go back to the root dir of the scripts and found typing $bash build.sh gets you nothing, searching build.sh in the whole Ubuntu gets you nothing too, any solutions?

Doesn't work Ubuntu 16.04

Installing Dependencies!
[sudo] password for gureumi:
기존:1 http://kr.archive.ubuntu.com/ubuntu xenial InRelease
기존:2 http://kr.archive.ubuntu.com/ubuntu xenial-updates InRelease
기존:3 http://kr.archive.ubuntu.com/ubuntu xenial-backports InRelease
기존:4 http://download.mono-project.com/repo/debian wheezy InRelease
기존:5 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial InRelease
기존:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
패키지 목록을 읽는 중입니다... 완료
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
Note, selecting 'liblz4-1-dbg' for glob 'liblz4-*'
Note, selecting 'liblz4-0.0-dbg' for glob 'liblz4-*'
Note, selecting 'liblz4-1' for glob 'liblz4-*'
Note, selecting 'liblz4-tool' for glob 'liblz4-*'
Note, selecting 'liblz4-dev' for glob 'liblz4-*'
주의, 'ncurses-dev' 대신에 'libncurses5-dev' 패키지를 선택합니다
Note, selecting 'lzma-alone' for glob 'lzma*'
Note, selecting 'lzma-dev' for glob 'lzma*'
Note, selecting 'lzma' for glob 'lzma*'
Note, selecting 'liblzma5' for glob 'liblzma*'
Note, selecting 'liblzma-dev' for glob 'liblzma*'
Note, selecting 'liblzma-doc' for glob 'liblzma*'
E: libwxgtk2.8-dev 패키지를 찾을 수 없습니다
E: Couldn't find any package by glob 'libwxgtk2.8-dev'
E: 'libwxgtk2.8-dev' 정규식에 해당하는 패키지가 없습니다
E: binutils-static 패키지를 찾을 수 없습니다
Dependencies have been installed
repo has been Downloaded!
gureumi@ubuntu:~/other/scripts$

libwxgtk2.8-dev not found, binutils-static not found.

Ubuntu 16.04 Build Environment script error

repo has been Downloaded!
Setting up USB Ports
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  270k  100  270k    0     0   170k      0  0:00:01  0:00:01 --:--:--  170k
adb: no process found
Installing make 3.81 instead of 4.1
install: 'utils/make'를 설명할 수 없음: 그런 파일이나 디렉터리가 없습니다
Installing repo
install: 'utils/repo'를 설명할 수 없음: 그런 파일이나 디렉터리가 없습니다
Installing ccache
install: 'utils/ccache'를 설명할 수 없음: 그런 파일이나 디렉터리가 없습니다

no such file or directory - utils/make, utils/repo, utils/ccache.

Ubuntu 19.10 - android_build_env.sh

Hello,
I ran the android_build_env.sh script and received an "E: Unable to locate package libisl15" error and an "warning: A compatible version of re2c (>= 0.11.3) was not found; changes to src/*.in.cc will not affect your build" error in the bootstrapping ninja step. I'm on Ubuntu 19.10. Here's the full log: https://del.dog/android_build_env Thanks for your help.

Script can't install some packages.

On running android_build_env.sh script it gave error. On checking deeply I found that these three packages lsb-core, python2.7, python-all-dev weren't installing please fix it.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
software-properties-common is already the newest version (0.99.35).
The following packages were automatically installed and are no longer required:
linux-headers-6.2.0-24 linux-headers-6.2.0-24-generic linux-image-6.2.0-24-generic
linux-modules-6.2.0-24-generic linux-modules-extra-6.2.0-24-generic
linux-modules-nvidia-525-6.2.0-24-generic linux-objects-nvidia-525-6.2.0-24-generic
linux-signatures-nvidia-6.2.0-24-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 https://cli.github.com/packages stable InRelease
Hit:2 https://linux.teamviewer.com/deb stable InRelease
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu lunar InRelease
Hit:5 http://security.ubuntu.com/ubuntu lunar-security InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu lunar-updates InRelease
Get:7 http://in.archive.ubuntu.com/ubuntu lunar-backports InRelease [99.8 kB]
Fetched 99.8 kB in 2s (57.5 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package lsb-core 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

E: Package 'lsb-core' has no installation candidate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'lib32ncurses-dev' instead of 'lib32ncurses5-dev'
Note, selecting 'liblz4-tool' for regex '^liblz4-.'
Note, selecting 'liblz4-java' for regex '^liblz4-.
'
Note, selecting 'liblz4-1a' for regex '^liblz4-.'
Note, selecting 'liblz4-dev' for regex '^liblz4-.
'
Note, selecting 'liblz4-jni' for regex '^liblz4-.'
Note, selecting 'liblz4-1' for regex '^liblz4-.
'
Note, selecting 'liblzma2' for regex '^liblzma.'
Note, selecting 'liblzma5' for regex '^liblzma.
'
Note, selecting 'liblzma-dev' for regex '^liblzma.'
Note, selecting 'liblzma-doc' for regex '^liblzma.
'
Note, selecting 'lzma-alone' for regex '^lzma.'
Note, selecting 'lzma-dev' for regex '^lzma.
'
Note, selecting 'lzma' for regex '^lzma.*'
Note, selecting 'libncurses-dev' instead of 'ncurses-dev'
Package python-all-dev 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

E: Unable to locate package python2.7
E: Couldn't find any package by glob 'python2.7'
E: Package 'python-all-dev' has no installation candidate
Installing GitHub CLI
4+1 records in
4+1 records out
2270 bytes (2.3 kB, 2.2 KiB) copied, 0.326071 s, 7.0 kB/s
Hit:1 https://cli.github.com/packages stable InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 https://linux.teamviewer.com/deb stable InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu lunar InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu lunar-updates InRelease
Hit:6 http://security.ubuntu.com/ubuntu lunar-security InRelease
Get:7 http://in.archive.ubuntu.com/ubuntu lunar-backports InRelease [99.8 kB]
Fetched 99.8 kB in 1s (83.6 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gh is already the newest version (2.32.1).
The following packages were automatically installed and are no longer required:
linux-headers-6.2.0-24 linux-headers-6.2.0-24-generic linux-image-6.2.0-24-generic
linux-modules-6.2.0-24-generic linux-modules-extra-6.2.0-24-generic
linux-modules-nvidia-525-6.2.0-24-generic linux-objects-nvidia-525-6.2.0-24-generic
linux-signatures-nvidia-6.2.0-24-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Setting up udev rules for adb!
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 29968 100 29968 0 0 62822 0 --:--:-- --:--:-- --:--:-- 62957
Warning: Got more output options than URLs
Installing repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 45787 100 45787 0 0 90932 0 --:--:-- --:--:-- --:--:-- 90847
Warning: Got more output options than URLs

installing repo tool in solus

script isn't installing repo correctly. this is directly from solus linux website and works. sorry i cant do a PR, not that savy yet

Installing the repo Tool

repo is a tool from Google to manage multiple git repositories. We’ll need to install it to download the Android source code.

mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

We now need to export ~/bin to our PATH so we can run repo from any directory. Paste the following into your ~/.bashrc file.

if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

Run source ~/.bashrc for the changes to apply.

help

hello, can you teach me how to use the termux application?

Line 21 typo

Current: sudo apt -y install git-core python gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.8-dev \

Should be: sudo apt-get -y install git-core python gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.8-dev \

need support deepin ?

https://www.deepin.org/
`
Executing: /tmp/apt-key-gpghome.OBuHUu74oo/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com --recv-key C99B11DEB97541F0
gpg: key C99B11DEB97541F0: public key "Nate Smith [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1
Traceback (most recent call last):
File "/usr/bin/apt-add-repository", line 95, in
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in init
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/apricot

`

Please provide tools for fedora

Hi. I'm quite new to kernel development and recently started doing so. I use Fedora 24 and everywhere in the internet there are tools provided only for Ubuntu. Here you've added mint. Can you please add Fedora too?

setup/android_build_env.sh on fresh debian install

I am doing a fresh install of Debian 9.4.0. I always use your scripts to setup my build environment, because they're quick, easy and just work.

Anyway, I got this warning toward the end. Not sure if I need re2c for a full environment. But, the script doesn't necessarily check that it's installed (it wasn't). I'm installing it manually, so ignore this issue if it is an unimportant warning.

warning: A compatible version of re2c (>= 0.11.3) was not found; changes to src/*.in.cc will not affect your build.

Thanks! Keep up the amazing work.

error when running virtualenv2 venv

Hi. Can you help me? When i run the command virtualenv2 venv I get error.

"Traceback (most recent call last):
File "/usr/bin/virtualenv2", line 6, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 3251, in
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 3235, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 3264, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'distlib<1,>=0.3.0' distribution was not found and is required by virtualenv"
can you help me? Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.