Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing required Debian packages #126

Open
OssianSa opened this issue Jan 16, 2025 · 1 comment
Open

Installing required Debian packages #126

OssianSa opened this issue Jan 16, 2025 · 1 comment

Comments

@OssianSa
Copy link

Following the instruction, when doing ctrlx-automation-sdk/scripts/install-required-packages.sh I get following output:

boschrexroth@app-build-env:~$ ctrlx-automation-sdk/scripts/install-required-packages.sh
-------------------------------------------------------
Define cross-build architecture ...
-------------------------------------------------------
arch: amd64
arch_x: arm64
repository_url_x: http://ports.ubuntu.com/ubuntu-ports
-------------------------------------------------------
Add cross-build architecture arm64 ...
-------------------------------------------------------
foreign-architectures: arm64
-------------------------------------------------------
Patch '/etc/apt/sources.list.d/multiarch-libs.list' ...
-------------------------------------------------------
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse
-------------------------------------------------------
Patch '/etc/apt/sources.list' ...
-------------------------------------------------------
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
##     or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main restricted
# deb-src http://archive.ubuntu.com/ubuntu jammy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu jammy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy universe
# deb-src http://archive.ubuntu.com/ubuntu jammy universe
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-updates universe
# deb-src http://archive.ubuntu.com/ubuntu jammy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy multiverse
# deb-src http://archive.ubuntu.com/ubuntu jammy multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu jammy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse

deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse
-------------------------------------------------------
Update packages ...
-------------------------------------------------------
Get:1 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ InRelease
Ign:1 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ InRelease
Get:2 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Release
Ign:2 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Release
Get:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Ign:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Get:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Ign:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Get:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Ign:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Get:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Ign:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Get:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Ign:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Get:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Ign:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Get:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Ign:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Get:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Ign:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Get:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Ign:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Get:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Ign:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Get:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Ign:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Get:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Ign:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Get:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
Err:3 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Packages
  File not found - /home/boschrexroth/ctrlx-automation-sdk/deb/./Packages (2: No such file or directory)
Get:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Ign:4 file:/home/boschrexroth/ctrlx-automation-sdk/deb ./ Translation-en
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:8 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:9 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:10 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:11 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:12 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Reading package lists... Done
E: Failed to fetch file:/home/boschrexroth/ctrlx-automation-sdk/deb/./Packages  File not found - /home/boschrexroth/ctrlx-automation-sdk/deb/./Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.

doing ls /home/boschrexroth/ctrlx-automation-sdk/deb/ I find only a ctrlx-datalayer-2.7.5.deb and no Packages

@guidfort
Copy link
Contributor

Did you call scripts/install-ctrlx-datalayer.sh before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants