anbox / anbox-modules

Anbox kernel modules
327 stars 224 forks source link

this completely broke dpkg #66

Open ta3pks opened 3 years ago

ta3pks commented 3 years ago

When I am try to upgrade my computer I get error saying

Setting up linux-headers-5.8.0-7630-generic (5.8.0-7630.32~1605108806~20.10~7e52b13) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-7630-generic
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/anbox-ashmem/1/source/dkms.conf does not exist.
   ...fail!

I dont understand why it is trying to find those since I deleted andbox and the modules because they no longer work properly with newest ubuntu. At this point anbox modules leaves the system in an unusable state is there any fix for this?

SoulInfernoDE commented 3 years ago

i know its old but if problem still persists show the output of:

dkms status

Maybe there's something left which needs to be deleted with the dkms remove command.

ta3pks commented 3 years ago

I had to do a clean install I tried dkms remove on the things I added and I got error messages saying that those modules did not exist @SoulInfernoDE and I am planning to accept that anbox is dead and theres nothing to do about it

SoulInfernoDE commented 3 years ago

I don't think it's dead. If you have a newer linux kernel from ubuntu, chances are that you do not need to build the modules at all. They might be integrated into the kernel already..

If you want to check whether this is true you could try: $ sudo make /dev/binder $ sudo mount -t binder binder /dev/binder If it doesn't say: unknown file system binder

Then you don't need to build the modules.. You can check then if it works with: $ anbox system-info

ta3pks commented 3 years ago

I am on arch right now and tried anbox on arch doesnt work as well requires a custom kernel and even in old days of ubuntu when it used to work it didnt do a great job anyway. The idea is great but but I am following the project for years and theres little to no improvement on usability

SoulInfernoDE commented 3 years ago

Ah arch, is a distro to come for me when I've installed my larger ssd. What you mean are those "new" features yes I'm kinda with you 🙂 But I still have hope as anbox is a project which other companies are settling also hopes in it for extended linux smartphones etc.. And I think it's the only one so far 🙄

ta3pks commented 3 years ago

I am not sure what you mean by "new" features because a year or two ago things used to work now it does not so it just seems somehow it could not catch up with the updates of other projects such as the kernel itself

SoulInfernoDE commented 3 years ago

anbox as it is - is still working fine for me. I am on Ubuntu kernel 5.11.10 which is very new. But I'll rebuild my kernel with android modules options enabled/integrated by myself.

ta3pks commented 3 years ago

@SoulInfernoDE I meant the out-of-box experience

SoulInfernoDE commented 3 years ago

Problem is that the modules has been added directly to the kernel but not enabled by default in all distro I guess.

So it should make it easier in the near future as no modules need to be built which is a better out of the box exp. right? 🙂

ta3pks commented 3 years ago

well lets hope so but in the foreseeable future anbox still wont be available to masses seems like at least to people like myself who has never compiled a kernel with manual parameters

SoulInfernoDE commented 3 years ago

Will do this when I have arch installed as my second os on the next days. If you like I can share it here. But as usual no warranties from me.. .. you know must say this because of legals 👍

ta3pks commented 3 years ago

sure why not I will try it on a virtualbox first anyway :) thanks.

ta3pks commented 3 years ago

@SoulInfernoDE btw today I tried getting zen kernel with anbox modules bot for some reason could not boot it went back to normal kernel from a live usb