Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Cannot install anbox [SOLVED]

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Cannot install anbox [SOLVED]

#1 Post by Scorpion »

Code: Select all

apt install anbox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  empathy-common im-config libfcitx-config4 libfcitx-core0 libfcitx-gclient1 libfcitx-qt5-1
  libfcitx-qt5-data libfcitx-utils0 libfolks-telepathy25 libgettextpo0 libm17n-0 libotf0 libpresage-data
  libpresage1v5 libtelepathy-farstream3 m17n-db presage python3-gst-1.0 telepathy-gabble telepathy-salut
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  bridge-utils busybox-static cloud-image-utils distro-info libboost-log1.67.0 liblxc1 libpam-cgfs
  libsdl2-image-2.0-0 lxc lxc-templates lxcfs uidmap
Suggested packages:
  cloud-utils-euca shunit2 btrfs-progs python3-lxc
The following packages will be REMOVED:
  busybox
The following NEW packages will be installed:
  anbox bridge-utils busybox-static cloud-image-utils distro-info libboost-log1.67.0 liblxc1 libpam-cgfs
  libsdl2-image-2.0-0 lxc lxc-templates lxcfs uidmap
0 upgraded, 13 newly installed, 1 to remove and 0 not upgraded.
Need to get 83.1 kB/3,822 kB of archives.
After this operation, 12.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://deb.debian.org/debian buster/main amd64 lxc-templates amd64 3.0.3-1
  404  Not Found [IP: 2a04:4e42:39::204 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/l/lxc-templates/lxc-templates_3.0.3-1_amd64.deb  404  Not Found [IP: 2a04:4e42:39::204 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Is because this package https://deb.debian.org/debian/pool/main ... _amd64.deb: is offline?
Last edited by Scorpion on 2020-07-09 19:21, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Cannot install anbox

#2 Post by Head_on_a_Stick »

That's not the current buster version of the package.

Code: Select all

# apt update
# apt install anbox
deadbang

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Cannot install anbox

#3 Post by Scorpion »

I did it, I got the same error.

After I installed some of the required packages for anbox.
I cannot install lxc-templates:

Code: Select all

apt install lxc-templates
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  im-config libboost-log1.67.0 libfcitx-config4 libfcitx-core0 libfcitx-gclient1 libfcitx-qt5-1
  libfcitx-qt5-data libfcitx-utils0 libgettextpo0 libm17n-0 libotf0 libpresage-data libpresage1v5 m17n-db
  presage python3-gst-1.0
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  lxc lxcfs uidmap
Suggested packages:
  btrfs-progs python3-lxc
The following NEW packages will be installed:
  lxc lxc-templates lxcfs uidmap
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 83.1 kB/1,137 kB of archives.
After this operation, 3,465 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://deb.debian.org/debian buster/main amd64 lxc-templates amd64 3.0.3-1
  404  Not Found [IP: 2a04:4e42:1b::204 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/l/lxc-templates/lxc-templates_3.0.3-1_amd64.deb  404  Not Found [IP: 2a04:4e42:1b::204 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
And anbox:

Code: Select all

apt install anbox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  im-config libfcitx-config4 libfcitx-core0 libfcitx-gclient1 libfcitx-qt5-1 libfcitx-qt5-data
  libfcitx-utils0 libgettextpo0 libm17n-0 libotf0 libpresage-data libpresage1v5 m17n-db presage
  python3-gst-1.0
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libsdl2-image-2.0-0 lxc lxc-templates lxcfs uidmap
Suggested packages:
  btrfs-progs python3-lxc
The following NEW packages will be installed:
  anbox libsdl2-image-2.0-0 lxc lxc-templates lxcfs uidmap
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 83.1 kB/1,881 kB of archives.
After this operation, 6,252 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://deb.debian.org/debian buster/main amd64 lxc-templates amd64 3.0.3-1
  404  Not Found [IP: 2a04:4e42:39::204 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/l/lxc-templates/lxc-templates_3.0.3-1_amd64.deb  404  Not Found [IP: 2a04:4e42:39::204 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Cannot install anbox

#4 Post by Scorpion »

I downloaded and manually installed 2 packages "lxc_3.1.0+really3.0.3-8_amd64.deb" and "lxc-templates_3.0.4-0+deb10u1_amd64.deb".

Code: Select all

dpkg -i *.deb
Selecting previously unselected package lxc.
(Reading database ... 612527 files and directories currently installed.)
Preparing to unpack lxc_3.1.0+really3.0.3-8_amd64.deb ...
Unpacking lxc (1:3.1.0+really3.0.3-8) ...
Selecting previously unselected package lxc-templates.
Preparing to unpack lxc-templates_3.0.4-0+deb10u1_amd64.deb ...
Unpacking lxc-templates (3.0.4-0+deb10u1) ...
Setting up lxc (1:3.1.0+really3.0.3-8) ...
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
Failed to run 'apparmor_parser -rWT /etc/apparmor.d/lxc-containers'. You will probably need to runn it by hand at some point.
Created symlink /etc/systemd/system/multi-user.target.wants/lxc-net.service → /lib/systemd/system/lxc-net.service.
Created symlink /etc/systemd/system/multi-user.target.wants/lxc.service → /lib/systemd/system/lxc.service.
Setting up lxc-templates (3.0.4-0+deb10u1) ...
Processing triggers for systemd (241-7~deb10u3) ...
Processing triggers for man-db (2.8.5-2) ...
So I was able to install anbox.

If I launch it from the GUI after the loading nothing happens.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Cannot install anbox

#5 Post by Head_on_a_Stick »

Works for me:

Code: Select all

~# apt install anbox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  bridge-utils cloud-image-utils distro-info dnsmasq-base liblxc1 libpam-cgfs libprotobuf-lite17 lxc lxc-templates lxcfs uidmap
Suggested packages:
  cloud-utils-euca shunit2 lvm2 python3-lxc
The following NEW packages will be installed:
  anbox bridge-utils cloud-image-utils distro-info dnsmasq-base liblxc1 libpam-cgfs libprotobuf-lite17 lxc lxc-templates lxcfs uidmap
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 2849 kB of archives.
After this operation, 8793 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://cdn-aws.deb.debian.org/debian buster/main amd64 liblxc1 amd64 1:3.1.0+really3.0.3-8 [298 kB]
Get:2 https://cdn-aws.deb.debian.org/debian buster/main amd64 libprotobuf-lite17 amd64 3.6.1.3-2 [167 kB]
Get:3 https://cdn-aws.deb.debian.org/debian buster/main amd64 lxc amd64 1:3.1.0+really3.0.3-8 [752 kB]
Get:4 https://cdn-aws.deb.debian.org/debian buster/contrib amd64 anbox amd64 0.0~git20190124-1 [677 kB]
Get:5 https://cdn-aws.deb.debian.org/debian buster/main amd64 bridge-utils amd64 1.6-2 [34.8 kB]
Get:6 https://cdn-aws.deb.debian.org/debian buster/main amd64 cloud-image-utils all 0.29-1 [23.7 kB]
Get:7 https://cdn-aws.deb.debian.org/debian buster/main amd64 distro-info amd64 0.21 [19.0 kB]
Get:8 https://cdn-aws.deb.debian.org/debian buster/main amd64 dnsmasq-base amd64 2.80-1 [440 kB]
Get:9 https://cdn-aws.deb.debian.org/debian buster/main amd64 libpam-cgfs amd64 1:3.1.0+really3.0.3-8 [51.1 kB]
Get:10 https://cdn-aws.deb.debian.org/debian buster/main amd64 lxc-templates amd64 3.0.4-0+deb10u1 [83.5 kB]
Get:11 https://cdn-aws.deb.debian.org/debian buster/main amd64 lxcfs amd64 3.0.3-2 [44.1 kB]
Get:12 https://cdn-aws.deb.debian.org/debian buster/main amd64 uidmap amd64 1:4.5-1.1 [258 kB]
Fetched 2849 kB in 1s (2592 kB/s)
Preconfiguring packages ...
Selecting previously unselected package liblxc1.
(Reading database ... 377784 files and directories currently installed.)
Preparing to unpack .../00-liblxc1_1%3a3.1.0+really3.0.3-8_amd64.deb ...
Unpacking liblxc1 (1:3.1.0+really3.0.3-8) ...
Selecting previously unselected package libprotobuf-lite17:amd64.
Preparing to unpack .../01-libprotobuf-lite17_3.6.1.3-2_amd64.deb ...
Unpacking libprotobuf-lite17:amd64 (3.6.1.3-2) ...
Selecting previously unselected package lxc.
Preparing to unpack .../02-lxc_1%3a3.1.0+really3.0.3-8_amd64.deb ...
Unpacking lxc (1:3.1.0+really3.0.3-8) ...
Selecting previously unselected package anbox.
Preparing to unpack .../03-anbox_0.0~git20190124-1_amd64.deb ...
Unpacking anbox (0.0~git20190124-1) ...
Selecting previously unselected package bridge-utils.
Preparing to unpack .../04-bridge-utils_1.6-2_amd64.deb ...
Unpacking bridge-utils (1.6-2) ...
Selecting previously unselected package cloud-image-utils.
Preparing to unpack .../05-cloud-image-utils_0.29-1_all.deb ...
Unpacking cloud-image-utils (0.29-1) ...
Selecting previously unselected package distro-info.
Preparing to unpack .../06-distro-info_0.21_amd64.deb ...
Unpacking distro-info (0.21) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../07-dnsmasq-base_2.80-1_amd64.deb ...
Unpacking dnsmasq-base (2.80-1) ...
Selecting previously unselected package libpam-cgfs.
Preparing to unpack .../08-libpam-cgfs_1%3a3.1.0+really3.0.3-8_amd64.deb ...
Unpacking libpam-cgfs (1:3.1.0+really3.0.3-8) ...
Selecting previously unselected package lxc-templates.
Preparing to unpack .../09-lxc-templates_3.0.4-0+deb10u1_amd64.deb ...
Unpacking lxc-templates (3.0.4-0+deb10u1) ...
Selecting previously unselected package lxcfs.
Preparing to unpack .../10-lxcfs_3.0.3-2_amd64.deb ...
Unpacking lxcfs (3.0.3-2) ...
Selecting previously unselected package uidmap.
Preparing to unpack .../11-uidmap_1%3a4.5-1.1_amd64.deb ...
Unpacking uidmap (1:4.5-1.1) ...
Setting up distro-info (0.21) ...
Setting up libpam-cgfs (1:3.1.0+really3.0.3-8) ...
Setting up lxcfs (3.0.3-2) ...
Running in chroot, ignoring request.
Created symlink /etc/systemd/system/multi-user.target.wants/lxcfs.service → /lib/systemd/system/lxcfs.service.
Setting up libprotobuf-lite17:amd64 (3.6.1.3-2) ...
Setting up uidmap (1:4.5-1.1) ...
Setting up liblxc1 (1:3.1.0+really3.0.3-8) ...
Setting up cloud-image-utils (0.29-1) ...
Setting up dnsmasq-base (2.80-1) ...
Setting up bridge-utils (1.6-2) ...
Setting up lxc (1:3.1.0+really3.0.3-8) ...
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
Failed to run 'apparmor_parser -rWT /etc/apparmor.d/lxc-containers'. You will probably need to runn it by hand at some point.
Created symlink /etc/systemd/system/multi-user.target.wants/lxc-net.service → /lib/systemd/system/lxc-net.service.
Created symlink /etc/systemd/system/multi-user.target.wants/lxc.service → /lib/systemd/system/lxc.service.
Setting up lxc-templates (3.0.4-0+deb10u1) ...
Setting up anbox (0.0~git20190124-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/anbox-container-manager.service → /lib/systemd/system/anbox-container-manager.service.
Processing triggers for mime-support (3.62) ...
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for systemd (241-7~deb10u4) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for desktop-file-utils (0.23-4) ...
~#
Please post the full output of

Code: Select all

# apt update
apt policy lxc-templates
nslookup deb.debian.org
The nslookup command is provided by the dnsutils package.
Scorpion wrote:If I launch it from the GUI after the loading nothing happens
Did you check ~/.xsession-errors or try to launch it from a terminal to catch any error messages?
deadbang

User avatar
eriefisher
Posts: 130
Joined: 2008-06-04 03:49
Location: Ontario's South Coast

Re: Cannot install anbox

#6 Post by eriefisher »

Did you load the ashmem_linux and binder_linux modules? Do you have the android.img? and is it in the right place?

https://docs.anbox.io/userguide/install ... dules.html

https://techpiezo.com/android/install-a ... in-ubuntu/

I can get it to start but haven't figured out how to get it to work and it crashes for some reason. I have not put much time or attention into it though.
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.14

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Cannot install anbox

#7 Post by cuckooflew »

It works for me, running Debian SID, (that should not matter), but did the OP read the "Deabian Readme" doc, ? eg:

Code: Select all

less /usr/share/doc/README.Debian
There is some relevant information there.
Also I did need to read the 'man andbox' , but it is rather simple.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Cannot install anbox

#8 Post by Scorpion »

Code: Select all

apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://download.opensuse.org/repositories/home:/stevenpusser:/codelite/Debian_9.0  InRelease
Hit:4 http://deb.debian.org/debian buster-backports InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Hit:3 Is for the liquorix kernel:

Code: Select all

uname -r
5.0.0-19.1-liquorix-amd64

Code: Select all

apt policy lxc-templates
lxc-templates:
  Installed: 3.0.4-0+deb10u1
  Candidate: 3.0.4-0+deb10u1
  Version table:
 *** 3.0.4-0+deb10u1 100
        100 /var/lib/dpkg/status
     3.0.3-1 500
        500 http://deb.debian.org/debian buster/main amd64 Packages

Code: Select all

nslookup deb.debian.org
Server:		192.168.1.254
Address:	192.168.1.254#53

Non-authoritative answer:
deb.debian.org	canonical name = debian.map.fastly.net.
Name:	debian.map.fastly.net
Address: 151.101.114.133
Name:	debian.map.fastly.net
Address: 2a04:4e42:39::645
I checked now the ~/.xsession-errors not sure If there is something useful.
I tried to launch it from the terminal but:

Code: Select all

anbox launch
[ 2020-07-08 15:20:36] [launch.cpp:169@operator()] The intent you provided is invalid. Please provide a correct launch intent.
[ 2020-07-08 15:20:36] [launch.cpp:170@operator()] For example to launch the application manager, run:
[ 2020-07-08 15:20:36] [launch.cpp:171@operator()] $ anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
It seems that from the terminal it doesn' open the GUI, anyway I still have to learn how use it from the terminal.

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Cannot install anbox

#9 Post by Scorpion »

eriefisher wrote:Did you load the ashmem_linux and binder_linux modules? Do you have the android.img? and is it in the right place?

https://docs.anbox.io/userguide/install ... dules.html

https://techpiezo.com/android/install-a ... in-ubuntu/

I can get it to start but haven't figured out how to get it to work and it crashes for some reason. I have not put much time or attention into it though.
I am using a 5 kernel, usually 5 kernels have those modules, how can I check?

I am now placing the android image.
But I need a prebuild image, right? Now I have "aosp-x86-oreo.iso", I am downloading the image from https://build.anbox.io/android-images.
cuckooflew wrote:
It works for me, running Debian SID, (that should not matter), but did the OP read the "Deabian Readme" doc, ? eg:

Code: Select all

    less /usr/share/doc/README.Debian
There is some relevant information there.
Also I did need to read the 'man andbox' , but it is rather simple.
The files is:

Code: Select all

gedit /usr/share/doc/anbox/README.Debian
How can I launch an app from the terminal (with anbox)?

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Cannot install anbox

#10 Post by cuckooflew »

The files is:

Code: Select all
gedit /usr/share/doc/anbox/README.Debian
OOOPs , yes you are right, sorry
You launch it with the "launch" option, see below:


===edit====^^^^^^
Try 'man anbox' it will show you a example:

Code: Select all

anbox [command options] [arguments...] 
https://manpages.debian.org/unstable/an ... .1.en.html
================================
To launch an Android application from command line:

Code: Select all

anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
SEE ALSO
/usr/share/doc/anbox/README.Debian
You should get something if you just copy/paste the example, but still need to have some apps downloaded, then you can run it 'anbox launch --package="this app or that app"'....someting like that,
the same, I have not had a chance to try much with it, just enough to see it does work though.
Of course this is assuming it has been installed properly, if you are getting errors when installing, something is wrong, but your errors show it is installed.
Hint:from your error message:

Code: Select all

For example to launch the application manager, run:
---snip---- $ anbox launch --package=org.anbox.appmgr
The $ is NOT part of the command.
Last edited by cuckooflew on 2020-07-08 16:26, edited 1 time in total.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Cannot install anbox

#11 Post by cuckooflew »

Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

User avatar
eriefisher
Posts: 130
Joined: 2008-06-04 03:49
Location: Ontario's South Coast

Re: Cannot install anbox

#12 Post by eriefisher »

Scorpion wrote: I am using a 5 kernel, usually 5 kernels have those modules, how can I check?
Yes the 5..... kernels should have the modules built in but for me they were not loaded. You can check with lsmod if not just modprobe ashmem_linux and modprobe_binder_linux.
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.14

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Cannot install anbox

#13 Post by Scorpion »

My kernel doesn' t have the modules.
I checked with "modprobe binder_linux" and "modprobe ashmem_linux".
So I installed them https://github.com/anbox/anbox-modules/.

And I copied the prebuild android image:
Now, move the downloaded .img file to the folder – /var/lib/anbox/android.img. Note: It is important to rename the file android_amd64.img to android.img.

User avatar
eriefisher
Posts: 130
Joined: 2008-06-04 03:49
Location: Ontario's South Coast

Re: Cannot install anbox

#14 Post by eriefisher »

They were likely there. By modprobe'ing you loaded them lsmod would have listed them if they were loaded.
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.14

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Cannot install anbox

#15 Post by Head_on_a_Stick »

Can we please stop discussing how to make anbox work? That's off-topic for this thread...

@OP: can you "see" the current version of lxc-templates if you change your sources from the redirector to a specific mirror?

The 'apt update' output looks fine but I should really have asked for your sources:

Code: Select all

grep -v '^$\|^#' /etc/apt/sources.list{,.d/*}
deadbang

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Cannot install anbox

#16 Post by Scorpion »

Code: Select all

grep -v '^$\|^#' /etc/apt/sources.list{,.d/*}
/etc/apt/sources.list:deb http://deb.debian.org/debian buster main contrib non-free
/etc/apt/sources.list:deb-src http://deb.debian.org/debian buster main contrib non-free 
/etc/apt/sources.list:deb http://security.debian.org/debian-security buster/updates main contrib non-free
/etc/apt/sources.list:deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
/etc/apt/sources.list:deb http://deb.debian.org/debian buster-backports main contrib non-free
/etc/apt/sources.list.d/home:stevenpusser:codelite.list:deb http://download.opensuse.org/repositories/home:/stevenpusser:/codelite/Debian_9.0/ /
What mirror? How should I change the sources?

I cannot use anbox:

Code: Select all

anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
[ 2020-07-08 20:03:43] [launch.cpp:214@operator()] Session manager failed to become ready
Is the "--package" the apk file? Where should I put those files?
What is the "--component"?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Cannot install anbox

#17 Post by Head_on_a_Stick »

Scorpion wrote:What mirror?
https://www.debian.org/mirror/list
Scorpion wrote:How should I change the sources?

Code: Select all

# apt edit-sources
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Cannot install anbox

#18 Post by stevepusser »

That's a pretty old Liquorix kernel--I stopped building them there after Liquorix itself set up its own Debian repository. Why reinvent the wheel?

It probably has some nice unpatched security holes by now.
MX Linux packager and developer

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Cannot install anbox

#19 Post by Scorpion »

I change the sources to "ftp.it.debian.org ".
stevepusser wrote:That's a pretty old Liquorix kernel--I stopped building them there after Liquorix itself set up its own Debian repository. Why reinvent the wheel?

It probably has some nice unpatched security holes by now.
I had the repo from https://liquorix.net/:

Code: Select all

codename="$(find /etc/apt -type f -name '*.list' | xargs grep -E '^deb' | awk '{print $3}' | grep -Eo '^[a-z]+' | sort | uniq -c | sort -n | tail -n1 | grep -Eo '[a-z]+$')" && sudo apt-get install apt-transport-https curl && echo -e "deb http://liquorix.net/debian $codename main\ndeb-src http://liquorix.net/debian $codename main\n\n# Mirrors:\n#\n# Unit193 - France\n# deb http://mirror.unit193.net/liquorix $codename main\n# deb-src http://mirror.unit193.net/liquorix $codename main" | sudo tee /etc/apt/sources.list.d/liquorix.list && curl 'https://liquorix.net/linux-liquorix.pub' | sudo apt-key add - && sudo apt-get update
Now my repos are:

Code: Select all

inxi -r
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb http://ftp.it.debian.org/debian buster main contrib non-free
           2: deb-src http://ftp.it.debian.org/debian buster main contrib non-free
           3: deb http://security.debian.org/debian-security buster/updates main contrib non-free
           4: deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
           5: deb http://ftp.it.debian.org/debian buster-backports main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/liquorix.list 
           1: deb http://liquorix.net/debian buster main
           2: deb-src http://liquorix.net/debian buster main
I am using apt upgrade, now there are a lot of packages to upgrade:

Code: Select all

182 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Cannot install anbox

#20 Post by Scorpion »

"lxc-templates" version:

Code: Select all

apt install lxc-templates 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lxc-templates is already the newest version (3.0.4-0+deb10u1).

Code: Select all

apt update
Get:1 http://ftp.it.debian.org/debian buster InRelease [121 kB]
Hit:2 http://security.debian.org/debian-security buster/updates InRelease 
Get:4 http://ftp.it.debian.org/debian buster-backports InRelease [46.7 kB]
Get:5 http://ftp.it.debian.org/debian buster/non-free Sources [85.9 kB]
Get:6 http://ftp.it.debian.org/debian buster/main Sources [7,831 kB]                       
Hit:3 https://liquorix.net/debian buster InRelease                        
Get:7 http://ftp.it.debian.org/debian buster/contrib Sources [43.1 kB]                                       
Get:8 http://ftp.it.debian.org/debian buster/main amd64 Packages [7,905 kB]                                  
Get:9 http://ftp.it.debian.org/debian buster/main i386 Packages [7,862 kB]                                   
Get:10 http://ftp.it.debian.org/debian buster/main Translation-en [5,969 kB]                                 
Get:11 http://ftp.it.debian.org/debian buster/main amd64 DEP-11 Metadata [3,807 kB]                          
Get:12 http://ftp.it.debian.org/debian buster/main DEP-11 48x48 Icons [3,770 kB]                             
Get:13 http://ftp.it.debian.org/debian buster/main DEP-11 64x64 Icons [7,596 kB]                             
Get:14 http://ftp.it.debian.org/debian buster/contrib i386 Packages [46.9 kB]                                
Get:15 http://ftp.it.debian.org/debian buster/contrib amd64 Packages [51.0 kB]                               
Get:16 http://ftp.it.debian.org/debian buster/contrib Translation-en [44.7 kB]                               
Get:17 http://ftp.it.debian.org/debian buster/contrib amd64 DEP-11 Metadata [11.5 kB]                        
Get:18 http://ftp.it.debian.org/debian buster/contrib DEP-11 48x48 Icons [56.4 kB]                           
Get:19 http://ftp.it.debian.org/debian buster/contrib DEP-11 64x64 Icons [110 kB]                            
Get:20 http://ftp.it.debian.org/debian buster/non-free amd64 Packages [87.7 kB]                              
Get:21 http://ftp.it.debian.org/debian buster/non-free i386 Packages [76.3 kB]                               
Get:22 http://ftp.it.debian.org/debian buster/non-free Translation-en [88.9 kB]                              
Get:23 http://ftp.it.debian.org/debian buster/non-free amd64 DEP-11 Metadata [9,096 B]                       
Get:24 http://ftp.it.debian.org/debian buster/non-free DEP-11 48x48 Icons [3,491 B]                          
Get:25 http://ftp.it.debian.org/debian buster/non-free DEP-11 64x64 Icons [38.3 kB]                          
Get:26 http://ftp.it.debian.org/debian buster-backports/main amd64 Packages [334 kB]                         
Get:27 http://ftp.it.debian.org/debian buster-backports/main i386 Packages [330 kB]                          
Get:28 http://ftp.it.debian.org/debian buster-backports/main Translation-en [267 kB]                         
Get:29 http://ftp.it.debian.org/debian buster-backports/contrib amd64 Packages [7,652 B]                     
Get:30 http://ftp.it.debian.org/debian buster-backports/contrib i386 Packages [7,252 B]                      
Get:31 http://ftp.it.debian.org/debian buster-backports/contrib Translation-en [5,936 B]                     
Get:32 http://ftp.it.debian.org/debian buster-backports/non-free amd64 Packages [23.8 kB]                    
Get:33 http://ftp.it.debian.org/debian buster-backports/non-free i386 Packages [16.4 kB]                     
Get:34 http://ftp.it.debian.org/debian buster-backports/non-free Translation-en [30.8 kB]                    
Fetched 46.7 MB in 27s (1,761 kB/s)                                                                          
Reading package lists... Done
Building dependency tree       
Reading state information... Done
184 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@debian-desktop:~# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  im-config libfcitx-config4 libfcitx-core0 libfcitx-gclient1 libfcitx-qt5-1 libfcitx-qt5-data
  libfcitx-utils0 libgettextpo0 libm17n-0 libotf0 libpresage-data libpresage1v5 m17n-db presage
  python3-gst-1.0
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  amd64-microcode firmware-amd-graphics firmware-linux-nonfree linux-headers-4.19.0-9-amd64
  linux-headers-4.19.0-9-common linux-headers-5.7.0-7.1-liquorix-amd64 linux-image-4.19.0-9-amd64
  linux-image-5.7.0-7.1-liquorix-amd64
The following packages will be upgraded:
  base-files cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ipp-utils cups-ppdc
  cups-server-common distro-info-data dtv-scan-tables ffmpeg fonts-opensymbol fuse gir1.2-lokdocview-0.1
  gir1.2-pango-1.0 iputils-ping iputils-tracepath libavcodec-dev libavcodec58 libavcodec58:i386
  libavdevice58 libavfilter7 libavformat-dev libavformat58 libavresample-dev libavresample4
  libavresample4:i386 libavutil-dev libavutil56 libavutil56:i386 libbrlapi0.6 libcuda1 libcuda1:i386
  libcuda1-i386:i386 libcups2 libcups2:i386 libcups2-dev libcupsimage2 libcupsimage2-dev libegl-nvidia0
  libegl-nvidia0:i386 libel-api-java libfuse2 libgl1-nvidia-glvnd-glx libgl1-nvidia-glvnd-glx:i386
  libgles-nvidia1 libgles-nvidia1:i386 libgles-nvidia2 libgles-nvidia2:i386 libglx-nvidia0
  libglx-nvidia0:i386 libjsp-api-java liblibreofficekitgtk libnss-myhostname libnvcuvid1 libnvidia-cbl
  libnvidia-compiler libnvidia-eglcore libnvidia-eglcore:i386 libnvidia-fatbinaryloader
  libnvidia-fatbinaryloader:i386 libnvidia-glcore libnvidia-glcore:i386 libnvidia-glvkspirv
  libnvidia-glvkspirv:i386 libnvidia-ml1 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386
  libnvidia-rtcore libpam-systemd libpango-1.0-0 libpango-1.0-0:i386 libpango1.0-0 libpango1.0-dev
  libpango1.0-doc libpangocairo-1.0-0 libpangocairo-1.0-0:i386 libpangoft2-1.0-0 libpangoft2-1.0-0:i386
  libpangoxft-1.0-0 libpostproc-dev libpostproc55 libreoffice libreoffice-avmedia-backend-gstreamer
  libreoffice-avmedia-backend-vlc libreoffice-base libreoffice-base-core libreoffice-base-drivers
  libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-evolution
  libreoffice-gnome libreoffice-gtk3 libreoffice-help-common libreoffice-help-en-us libreoffice-impress
  libreoffice-java-common libreoffice-librelogo libreoffice-math libreoffice-nlpsolver
  libreoffice-report-builder libreoffice-report-builder-bin libreoffice-script-provider-bsh
  libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-hsqldb
  libreoffice-sdbc-postgresql libreoffice-style-colibre libreoffice-style-tango libreoffice-wiki-publisher
  libreoffice-writer libreofficekit-data libruby2.5 libspeechd2 libssh-gcrypt-4 libswresample-dev
  libswresample3 libswresample3:i386 libswscale-dev libswscale5 libsystemd-dev libsystemd0 libsystemd0:i386
  libtag1-dev libtag1v5 libtag1v5-vanilla libtagc0 libudev-dev libudev1 libudev1:i386 libvncclient1
  libvncserver-config libvncserver-dev libvncserver1 libwebsocket-api-java linux-headers-amd64
  linux-headers-liquorix-amd64 linux-image-amd64 linux-image-liquorix-amd64 nvidia-alternative nvidia-driver
  nvidia-driver-bin nvidia-driver-libs nvidia-driver-libs:i386 nvidia-driver-libs-i386:i386
  nvidia-egl-common:i386 nvidia-egl-icd nvidia-egl-icd:i386 nvidia-kernel-dkms nvidia-kernel-support
  nvidia-legacy-check nvidia-opencl-common nvidia-opencl-icd nvidia-smi nvidia-vdpau-driver
  nvidia-vulkan-common nvidia-vulkan-icd nvidia-vulkan-icd:i386 ovmf pango1.0-tools python3-brlapi
  python3-speechd python3-uno rake ruby2.5 rubygems-integration speech-dispatcher
  speech-dispatcher-audio-plugins speech-dispatcher-espeak-ng systemd systemd-sysv timeshift tzdata udev
  uno-libs3 ure wpasupplicant xbrlapi xdg-utils xserver-xorg-video-nvidia
184 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 376 MB of archives.
After this operation, 743 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
I upgraded, the nvidia-driver and nvidia-kernel-dkms became broken. I wasn' t able to use the GUI, "Failed to load kernel modules".
Luckily the timeshift monthly backup was yesterday.

Is that for the liquorix repo?
Now if the system updates it will be a problem.

Post Reply