ubports-qa update
-
And yet... can you tell me how to install, within the concept of UBports, some deb application from apt repository or just a deb package with dpkg? Is it necessary to remount the partition in r/w? Or is this considered a non-standard action on the end device and could break the system? - this is unfortunate, would cool to be able to do this.
Thank you so much for doing a good job!
I hope to be able to help you in some way in the future. -
@markatrafik said in ubports-qa update:
And yet... can you tell me how to install, within the concept of UBports, some deb application from apt repository or just a deb package with dpkg? Is it necessary to remount the partition in r/w? Or is this considered a non-standard action on the end device and could break the system?
Yes to use apt you need to make the system r/w.
Yes it is considered as a non-standard action.
Yes, depending on what you do, you can break system or OTA updates.But if you know what you do, if you well know Ubuntu Touch, that can be no problem.
Recently i did that (r/w + apt) because @Flohack, a core dev, needed some infos from my device (from evtest tool), but i did this under his knowledge, knowing that he wouldn't make me brake my system.
In normal use, i stay in the standard use of the system, because i don't have skill to step out of it, and it is my daily driver so i don't want to mess with it.
-
@kugiigi I Confirm that UBports Installer (0.8.7 Beta on Ubuntu 20.04.2) works pretty well with Redmi Note 7:
-
@keneda let's just say, probably not always so... since I tried it on different machines under Debian 9, and there was always a problem. I was run it from under an unprivileged user, maybe it was necessary to run from under the root? Maybe I needed to add a user to the dialout group or make symlinks to adb and fastboot? Okay, next time, I'll try again with logs and screenshots... Sorry...
-
But if you know what you do, if you well know
Ubuntu Touch, that can be no problem.As I understand it, I need to take old deb packages witch compatible to installed, which will not entail by dependencies and the need to replace libraries. Some libraries may pull dependencies of other packages, which in turn may break the system. Or to build static packages of what I need with debhelper etc... Just, I was hoping there was a standard way to install a number of simple shell standalone applications and utilities that would not affect dbus/systemd, udev, networking, vendor stuff and so on.
And No, Ubuntu Touch I do not know well enough, but I plan to look at the project. However I know Linux since kernel 0.0.99 and Debian since 1.2/rex desktop Ubuntu, some other Un*x systems, slightly Android. -
@markatrafik
Hi using APT is not standard on Ubnutu Touch, the standard way is to use click packages.You can use sofwares packaged as .deb and repackaged them into a click.
If they are simple CLI than I think it won't be hard to include the necessary libraries into a click package.
This click can then be uploaded to the Open Store and be made available to all.Of course on mobile, a nice GUI is always welcome
-
And, what about pkcon utility? It reports that over ~ 15 repositories are connected to it. But when you try to install, for example, mc - it crashes. Did this tool come from the Canonical and must not be used?
-
@markatrafik The supported method for installing legacy and CLI apps from the Ubuntu archive, is via a Libertine container.
-
Without ubports-qa update, all seems to be ok...
~$ sudo bash
~# mount -o remount,rw /
~# apt-get install joe
~# sync
~# mount -o remount,ro /
~# reboot
System is booting, working, and no errors in logs...
Btw, ubports-qa - simple python script, with some manipulation with repos. But, you think, that such actions are contrary to the concept? And I need to compile a static binary together with these libraries?! and then wrap it in a package manager "click" to drop it in /opt ? No, of course, I'll probably do it that way too... but later -
phablet@ubuntu-phablet:~$ ldd $(which joe)
linux-vdso.so.1 => (0x000000707013a000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007070050000)
libtinfo.so.5 => /lib/aarch64-linux-gnu/libtinfo.so.5 0x000000707001a000)
libutil.so.1 => /lib/aarch64-linux-gnu/libutil.so.1 (0x0000007070007000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x000000706fec1000)
/lib/ld-linux-aarch64.so.1 (0x000000707010f000) -
@markatrafik said in ubports-qa update:
But, you think, that such actions are contrary to the concept?
Fact is, when you'll update your phone, you'll loose any "apt" modifications you did.
-
@keneda Well... I'll remember a couple of tools But! I will listen to your opinion, because I understand that you know what you are advising, as I am not the first day in IT ...