Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script can't install some packages. #200

Open
arsalan-zeus opened this issue Jul 25, 2023 · 0 comments
Open

Script can't install some packages. #200

arsalan-zeus opened this issue Jul 25, 2023 · 0 comments

Comments

@arsalan-zeus
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant