UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Some shell programs are missing in 24.04-1

    Scheduled Pinned Locked Moved OS
    11 Posts 7 Posters 1.0k Views 3 Watching
    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.
    • ikozI Offline
      ikoz @Charly
      last edited by

      @Charly The first time you open the shell (through ssh) it says "the system has been minimized", which was done to reduce the rootfs size. You can use these programs under Libertine or run a local build of them (preferably statically linked).

      May the source be with you

      R 1 Reply Last reply Reply Quote 1
      • R Offline
        RJDan @ikoz
        last edited by

        @ikoz Many of the regular shell-related things are also available as snaps.

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          Charly @RJDan
          last edited by

          @RJDan
          Thanks! How do I install snap programs?

          Greetings Charly

          Greetings
          Charly

          UT 24.04 on Volla X23

          KenedaK K 2 Replies Last reply Reply Quote 0
          • KenedaK Offline
            Keneda @Charly
            last edited by Keneda

            @Charly
            I think you first need to install snapz0r app from open store.
            https://open-store.io/app/snapz0r.fredldotme

            But not sure if only thing to do and if compatible with 24.04.

            Edit : seem not compatible with 24.04 reading app description and comments, so wait for someone who know better than me šŸ˜…

            2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
            2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
            2024-***** : FPOS Fairphone 5
            šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

            1 Reply Last reply Reply Quote 0
            • K Offline
              kugiigi @Charly
              last edited by

              @Charly On Noble, snaps is preinstalled so you just run snap commands like snap install <app name>

              You can also try Crackle which uses Nix.

              C 1 Reply Last reply Reply Quote 1
              • C Offline
                Charly @kugiigi
                last edited by

                @kugiigi

                Thanks, that's interesting.
                Would it make sense to install shell programs like fdisk or rsync via snap?

                Greetings Charly

                Greetings
                Charly

                UT 24.04 on Volla X23

                ikozI 1 Reply Last reply Reply Quote 0
                • ikozI Offline
                  ikoz @Charly
                  last edited by

                  @Charly Snap doesn't make sense for these small standalone utilites. Also fdisk doesn't exist as snap and rsync packages are only some outdated third party programs, which I would never install.

                  May the source be with you

                  1 Reply Last reply Reply Quote 1
                  • KenedaK Keneda referenced this topic on
                  • BollyB Offline
                    Bolly @Charly
                    last edited by

                    @Charly Were you able to resolve the Rsync issue?

                    15-25: BQ Aquaris E4.5 Ubuntu edition ā˜ ļø?
                    23-25: BQ Aquaris E5 HD ā˜ ļø?
                    16-Now (Daily use) : BQ Aquaris M10 FHD Betatester
                    20-Now: PinePhone Braveheart & CE UBports

                    (Family/Daily use)

                    20-Now: Vollaphone Noble
                    22-Now: Vollaphone22 Noble

                    G C 2 Replies Last reply Reply Quote 0
                    • G Offline
                      gpatel-fr @Bolly
                      last edited by

                      @Bolly

                      I'd say that if you download the arm package from an Ubuntu ports repo, such as:

                      wget http://mirror.kumi.systems/ubuntu-ports/pool/main/r/rsync/rsync_3.2.7-0ubuntu0.22.04.4_arm64.deb

                      if you don't trust this particular mirror (most of them are in China anyway), here is a script that can give you (more or less) all mirrors:

                      #!/bin/bash
                      
                      # URL of the Launchpad mirror list
                      MIRROR_LIST=https://launchpad.net/ubuntu/+archivemirrors
                      
                      # Set to the architecture you're looking for (e.g., amd64, i386, arm64, armhf, armel, powerpc, ...).
                      # See https://wiki.ubuntu.com/UbuntuDevelopment/PackageArchive#Architectures
                      ARCH=$1
                      # Set to the Ubuntu distribution you need (e.g., precise, saucy, trusty, ...)
                      # See https://wiki.ubuntu.com/DevelopmentCodeNames
                      DIST=$2
                      # Set to the repository you're looking for (main, restricted, universe, multiverse)
                      # See https://help.ubuntu.com/community/Repositories/Ubuntu
                      REPO=$3
                      
                      # First, we retrieve the Launchpad mirror list, and massage it to obtain a newline-separated list of HTTP mirrors
                      for url in $(curl -s $MIRROR_LIST | grep -Po 'http://.*(?=">http</a>)'); do
                        # If you like some output while the script is running (feel free to comment out the following line)
                        echo "Processing $url..."
                        # retrieve the header for the URL $url/dists/$DIST/$REPO/binary-$ARCH/; check if status code is of the form 2.. or 3..
                        curl -o /dev/null -L -s -w '%{response_code}' -I $url/dists/$DIST/$REPO/binary-$ARCH | grep -q "200"
                        # if successful, output the URL
                        [ $? -eq "0" ] && echo "FOUND: $url" && curl -o /dev/null -L -s -w '%{response_code}' -I $url/dists/$DIST/$REPO/binary-$ARCH 
                      
                      done
                      
                      

                      call it with

                      sh find-mirrors.sh arm64 noble main
                      

                      disclaimer: did not write it, found it on github and adapted it (but there are still some problems badly configurated sites are getting 'found' incorrectly)

                      then once you picked a correct mirror, run

                      wget http://mirror.kumi.systems/ubuntu-ports/pool/main/r/rsync/rsync_3.2.7-0ubuntu0.22.04.4_arm64.deb
                      
                      mkdir mydir
                      dpkg  --extract rsync_3.2.7-0ubuntu0.22.04.4_arm64.deb mydir
                      

                      then get the binary from 'mydir/usr/bin', it will just work because all necessary libraries are already present in Ubuntu ports noble.

                      Yes you have then to update it yourself in case of upgrades by Ubuntu.

                      Alternatively, you can be an open source hero and package rsync as an AppImage. I don't recommend it unless you appreciate what it takes.

                      1 Reply Last reply Reply Quote 1
                      • C Offline
                        Charly @Bolly
                        last edited by

                        @Bolly

                        No, I'm just waiting now to see whether my suggestions are taken up.

                        If necessary, I can use syncthing instead of rsync.

                        But of course it's a shame if you have a shell but the programs are missing.

                        greetings Charly

                        Greetings
                        Charly

                        UT 24.04 on Volla X23

                        1 Reply Last reply Reply Quote 1

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better šŸ’—

                        Register Login
                        • First post
                          Last post