Re: [Ubuntu-phone] Get root access
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 16-06-20 11:02 AM, Michael Zanetti wrote: > > What I did for some tools like qdbus (mc falls into the same category I > suppose) is to just copy the binaries from > the deb packages on launchpad into ~/bin/. > > Just to have such small tools around, keeping a whole chroot seems a bit > overkill to me. So I was wondering if it > wouldn't be possible to change dpkg's root to ~ or something so that we could > apt-get install some command line > tools easily without a) requiring read-write mode and b) a full > chroot/container. We're not going back to the 1990s. If you're willing to unpackage the debs as a simple binary you copy around, could you not just repackage as a click so others can install the tool? When snap support comes to the mobile flavour of Ubuntu, then that's an even better choice . By the way, we're working on a successor to the Terminal App that should make this much easier to snap/click things like mc. - -- Stephen M. Webb -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCgAGBQJXaAxqAAoJEAoP+EW32zQnyYYP/2lh6W2ewSyPHQ3ddJK2XuFg qK83tjcp9dVR5aBKxJHvE6yboLhAE2C+S3tpPR+1C4RLRGNMFEFR71VprowiFtw4 UrJzwrG0qTTy7bTGkvwA8bBayg3UrnVdsr4olg1bwWu+fonaTik0gbqXfDuzLvjT xqsIJqyEKLIhqQgA8c/iIyjDuyvUC2vhvu8WucMNpEUlcI6Xl1aaChr2TrdHsmxB itS/yNTvK/kGCIG/d0G/jopkLLa5bfmB9JyAzCBzp0BP5/dggKAgGtSSjBuiQIIV WAron78g7znpyyCYskj0dbNPljpiLS4eGpnyMnLLmkqtLYYJpa3QdsbFgmgWFaM7 4yHwPEeqs/xexsoKO10OcGtpQg8fd7e/swqs6fAmgHpQppkxEhGRnBQcUHpXIOME pcpg0GxFZn/K17T8XVnAWf2D8me7d1uDE2wA4fECFG7i1ktS+KWoLsKO1NDVrfpH uQF63IuNH22Y6gZz+8SBgaKYC5OTUw4jNS0dmzVDBFvqvouGakZvZ4e6pq4Gjrge /FQBFXOjJM0z1/EHva3se0x7FQcHRbePrmogxoaYlOXRDl8OVA0stc+EpXF6pfNA TA2Z16iWCDau6sRoYgUjdI7myNiDHBT1sPGqywi5mbow3A5bUxjfHdbkGnT/Kvk8 QqCIUgYG28xEQBwDAhd1 =oTyE -END PGP SIGNATURE- -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Get root access
On 13.06.2016 17:12, Rodney Dawes wrote: > You should not change the root filesystem (/) to read/write mode and > install things with apt. The partition will fill up quickly as it is > small, and you will break updates if you do so. > > If you must use some command line tools, you can do so using a simple > chroot, or by using the newer libertine tools. > > For using a chroot see http://askubuntu.com/a/623311/50737 > This answer will be updated to include the libertine solution, when all > of the necessary pieces are available directly on all images. However, > if you are on the M10 tablet, then installing the tools you need inside > the libertine container and using them from there, is the preferred way > to do this. What I did for some tools like qdbus (mc falls into the same category I suppose) is to just copy the binaries from the deb packages on launchpad into ~/bin/. Just to have such small tools around, keeping a whole chroot seems a bit overkill to me. So I was wondering if it wouldn't be possible to change dpkg's root to ~ or something so that we could apt-get install some command line tools easily without a) requiring read-write mode and b) a full chroot/container. > > > > On Mon, 2016-06-13 at 17:51 +0300, Николай Шатохин wrote: >> Hello >> >> How to get write permissions to root filesystem. I need to install >> some utils (like Midnight Commander) using apt-get. >> >> Best regards, >> Nick >> -- >> Mailing list: https://launchpad.net/~ubuntu-phone >> Post to : ubuntu-phone@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~ubuntu-phone >> More help : https://help.launchpad.net/ListHelp >> >> signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Get root access
You should not change the root filesystem (/) to read/write mode and install things with apt. The partition will fill up quickly as it is small, and you will break updates if you do so. If you must use some command line tools, you can do so using a simple chroot, or by using the newer libertine tools. For using a chroot see http://askubuntu.com/a/623311/50737 This answer will be updated to include the libertine solution, when all of the necessary pieces are available directly on all images. However, if you are on the M10 tablet, then installing the tools you need inside the libertine container and using them from there, is the preferred way to do this. On Mon, 2016-06-13 at 17:51 +0300, Николай Шатохин wrote: > Hello > > How to get write permissions to root filesystem. I need to install > some utils (like Midnight Commander) using apt-get. > > Best regards, > Nick > -- > Mailing list: https://launchpad.net/~ubuntu-phone > Post to : ubuntu-phone@lists.launchpad.net > Unsubscribe : https://launchpad.net/~ubuntu-phone > More help : https://help.launchpad.net/ListHelp signature.asc Description: This is a digitally signed message part -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] Get root access
Hello How to get write permissions to root filesystem. I need to install some utils (like Midnight Commander) using apt-get. Best regards, Nick -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp