Skip to content

error copying file #136

@oalders

Description

@oalders

This is on a mini PC.

$ is known arch
amd64

$ is known summary os --md

Attribute Value
name linux
version 24.04
version-codename noble
id ubuntu
id-like debian
pretty-name Ubuntu 24.04.3 LTS

ubi --debug --project air-verse/air --in ~/local/bin &> log.txt

I didn't see a switch to turn off the color codes.

�[90m[ubi::github][�[30mDEBUG�[0m�[90m] Parsed https://github.com/air-verse/air = air-verse / air�[0m
�[90m[ubi::builder][�[30mDEBUG�[0m�[90m] exe name = air�[0m
�[90m[ubi::builder][�[30mDEBUG�[0m�[90m] install path = /home/olaf/local/bin/air�[0m
�[90m[ubi::forge][�[30mDEBUG�[0m�[90m] Fetching assets for project `air-verse/air`�[0m
�[90m[ubi::forge][�[30mDEBUG�[0m�[90m] Getting release info from `https://api.github.com/repos/air-verse/air/releases/latest`�[0m
�[90m[ubi::forge][�[30mDEBUG�[0m�[90m] No token given.�[0m
�[90m[reqwest::connect][�[30mDEBUG�[0m�[90m] starting new connection: https://api.github.com/�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] filtering out assets that do not have a valid extension�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] skipping asset with invalid extension: air_1.63.0_checksums.txt has unknown extension txt�[0m
�[90m[ubi::extension][�[30mDEBUG�[0m�[90m] the extension 0_darwin_amd64 is part of the version, ignoring�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found asset with no extension, `air_1.63.0_darwin_amd64`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.tar.gz`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] including this asset because this extension is valid for this platform�[0m
�[90m[ubi::extension][�[30mDEBUG�[0m�[90m] the extension 0_darwin_arm64 is part of the version, ignoring�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found asset with no extension, `air_1.63.0_darwin_arm64`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.tar.gz`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] including this asset because this extension is valid for this platform�[0m
�[90m[ubi::extension][�[30mDEBUG�[0m�[90m] the extension 0_linux_386 is part of the version, ignoring�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found asset with no extension, `air_1.63.0_linux_386`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.tar.gz`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] including this asset because this extension is valid for this platform�[0m
�[90m[ubi::extension][�[30mDEBUG�[0m�[90m] the extension 0_linux_amd64 is part of the version, ignoring�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found asset with no extension, `air_1.63.0_linux_amd64`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.tar.gz`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] including this asset because this extension is valid for this platform�[0m
�[90m[ubi::extension][�[30mDEBUG�[0m�[90m] the extension 0_linux_arm64 is part of the version, ignoring�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found asset with no extension, `air_1.63.0_linux_arm64`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.tar.gz`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] including this asset because this extension is valid for this platform�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.exe`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] skipping asset because this extension is not valid for this platform�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.tar.gz`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] including this asset because this extension is valid for this platform�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.exe`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] skipping asset because this extension is not valid for this platform�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.tar.gz`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] including this asset because this extension is valid for this platform�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.exe`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] skipping asset because this extension is not valid for this platform�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found valid extension, `.tar.gz`�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] including this asset because this extension is valid for this platform�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] current OS = linux�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching assets against OS using (?i:(?:\b|_)linux(?:\b|_|32|64))�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_darwin_amd64�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] does not match our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_darwin_amd64.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] does not match our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_darwin_arm64�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] does not match our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_darwin_arm64.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] does not match our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_linux_386�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_linux_386.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_linux_amd64�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_linux_amd64.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_linux_arm64�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_linux_arm64.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_windows_386.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] does not match our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_windows_amd64.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] does not match our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching OS against asset name = air_1.63.0_windows_arm64.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] does not match our OS�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] current CPU architecture = x86_64�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching assets against CPU architecture using (?ix)
        (?:
            \b
            |
            _
        )
        (?:
            386 | i586 | i686
            |
            x86[_-]32
            |
            x86[_-]64
            |
            x64
            |
            amd64
            |
            linux64
            |
            # This is gross but the OS matcher will reject this on non-Windows
            # platforms.
            win64
        )
        (?:
            \b
            |
            _
        )
        �[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching CPU architecture against asset name = air_1.63.0_linux_386�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our CPU architecture�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching CPU architecture against asset name = air_1.63.0_linux_386.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our CPU architecture�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching CPU architecture against asset name = air_1.63.0_linux_amd64�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our CPU architecture�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching CPU architecture against asset name = air_1.63.0_linux_amd64.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matches our CPU architecture�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching CPU architecture against asset name = air_1.63.0_linux_arm64�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] does not match our CPU architecture�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] matching CPU architecture against asset name = air_1.63.0_linux_arm64.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] does not match our CPU architecture�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found multiple candidate assets, filtering for 64-bit binaries in ["air_1.63.0_linux_386", "air_1.63.0_linux_386.tar.gz", "air_1.63.0_linux_amd64", "air_1.63.0_linux_amd64.tar.gz"]�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] found 64-bit assets: air_1.63.0_linux_amd64,air_1.63.0_linux_amd64.tar.gz�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] cannot disambiguate multiple asset names, picking the first one after sorting by name�[0m
�[90m[ubi::picker][�[30mDEBUG�[0m�[90m] picked asset from matches named air_1.63.0_linux_amd64�[0m
�[90m[ubi::ubi][�[30mDEBUG�[0m�[90m] picked asset named air_1.63.0_linux_amd64�[0m
�[90m[ubi::ubi][�[30mDEBUG�[0m�[90m] downloading asset from https://github.com/air-verse/air/releases/download/v1.63.0/air_1.63.0_linux_amd64�[0m
�[90m[ubi::forge][�[30mDEBUG�[0m�[90m] No token given.�[0m
�[90m[reqwest::connect][�[30mDEBUG�[0m�[90m] starting new connection: https://github.com/�[0m
�[90m[reqwest::connect][�[30mDEBUG�[0m�[90m] starting new connection: https://release-assets.githubusercontent.com/�[0m
�[90m[ubi::ubi][�[30mDEBUG�[0m�[90m] archive path is /tmp/.tmpYg5JDX/air_1.63.0_linux_amd64�[0m
�[90m[ubi::extension][�[30mDEBUG�[0m�[90m] the extension 0_linux_amd64 is part of the version, ignoring�[0m
�[90m[ubi::installer][�[30mDEBUG�[0m�[90m] copying executable to final location�[0m
�[90m[ubi::installer][�[30mDEBUG�[0m�[90m] creating directory at /home/olaf/local/bin�[0m
�[90m[ubi::extension][�[30mDEBUG�[0m�[90m] the extension 0_linux_amd64 is part of the version, ignoring�[0m
�[31m[ubi][�[31mERROR�[0m�[31m] error copying file from /tmp/.tmpYg5JDX/air_1.63.0_linux_amd64 to /home/olaf/local/bin/air�[0m

Might be nice to get slightly more verbose info about the copy error. The last thing I end up seeing is:

[ubi][ERROR] error copying file from /tmp/.tmpYL0Td1/air_1.63.0_linux_amd64 to /home/olaf/local/bin/air

There should be no issue with that folder:

ls -al /home/olaf/local
drwxrwxr-x - olaf 29 Sep 20:35 bin
drwxrwxr-x - olaf 19 Sep 20:21 share

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions