Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    SOLVED anyone know how to install git

    Support
    5
    5
    516
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Amy last edited by

      when I do sudo apt install git it says

      phablet@ubuntu-phablet:~$ sudo apt install git
      [sudo] password for phablet:
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
      libmedia-hub-client5 libmedia-hub-common5
      Use 'sudo apt autoremove' to remove them.
      The following additional packages will be installed:
      git-man liberror-perl libgdbm3 libperl5.22 perl perl-modules-5.22
      Suggested packages:
      git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
      gitweb git-arch git-cvs git-mediawiki git-svn perl-doc
      libterm-readline-gnu-perl | libterm-readline-perl-perl make
      Recommended packages:
      patch rename
      The following NEW packages will be installed:
      git git-man liberror-perl libgdbm3 libperl5.22 perl perl-modules-5.22
      0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
      190 not fully installed or removed.
      Need to get 8,556 kB of archives.
      After this operation, 50.0 MB of additional disk space will be used.
      W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
      W: Not using locking for read only lock file /var/lib/dpkg/lock
      W: chmod 0700 of directory /var/cache/apt/archives/partial failed - SetupAPTPartialDirectory (30: Read-only file system)
      W: Not using locking for read only lock file /var/cache/apt/archives/lock
      E: You don't have enough free space in /var/cache/apt/archives/.
      phablet@ubuntu-phablet:~$

      N M 2 Replies Last reply Reply Quote 0
      • Pulsar33
        Pulsar33 last edited by

        @Amy
        Unless I am mistaken, the solution is Libertine

        BR
        Pulsar33

        Aquaris BQ E5 HD UBports OTA-24 (currently testing features)
        Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
        Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

        1 Reply Last reply Reply Quote 1
        • N
          nero355 @Amy last edited by nero355

          @amy
          You need to make the system writeable via the mount command or via Ubuntu Touch Tweak Tool 😉

          But...

          I am not sure if it's a good idea to install Git Tools this way : You might break your system doing so!

          So indeed : Use Libertine just to be sure that nothing breaks! 😉 👍🏻 👍🏻

          My phones :

          • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
          • ZUK Z2 Pro - ZUI Android 8.x
          • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

          P.S. : I am NOT a developer! ;)

          1 Reply Last reply Reply Quote 1
          • M
            matteo @Amy last edited by

            @amy I suggest you to install the Seabass2 app available in the OpenStore and then create a Libertine container from within the app itself: it will automatically install git, even if not a very up to date version.

            1 Reply Last reply Reply Quote 0
            • jezek
              jezek last edited by

              @Amy Try reading this: https://forums.ubports.com/topic/6283/snap-crackle-and-pop-readwrite-rootfs-is-overrated

              jEzEk

              1 Reply Last reply Reply Quote 1
              • Topic has been marked as solved  A Amy 
              • First post
                Last post