Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Support Debian Bullseye #44

Open
mhansen opened this issue Sep 27, 2021 · 3 comments
Open

Support Debian Bullseye #44

mhansen opened this issue Sep 27, 2021 · 3 comments

Comments

@mhansen
Copy link

mhansen commented Sep 27, 2021

Buster, the default Debian used by adeb, is now oldstable.

New stable is Bullsye: https://wiki.debian.org/DebianReleases

There are a few changes to support Bullseye in adeb, mostly around package names and python3.

I may send some PRs, filing a tracking bug first.

@mhansen
Copy link
Author

mhansen commented Sep 27, 2021

This is in order to get the latest version of bpftrace which should contain a fix for bpftrace/bpftrace#515.

Perhaps an easier workaround is to just install bpftrace from source rather than from debian repos.

@mhansen
Copy link
Author

mhansen commented Sep 27, 2021

Some errors I get, missing packages when building with --full, the workaround is to build without --full:

./adeb prepare --distro bullseye --build --full
|--------------|
| adeb: v0.99h |
|--------------|
15:09:17 - INFO    : Looking for device..
15:09:17 - INFO    : Preparing device...
15:09:17 - INFO    : Doing a full install.
15:09:17 - INFO    :
15:09:17 - INFO    : Using temporary directory: /tmp/tmp.foduUxx2nt
15:09:17 - INFO    : The next stage runs as sudo, please enter password if asked.
W: qemu-debootstrap is deprecated. Please use regular debootstrap directly
I: Running command: debootstrap --arch arm64 --include=llvm-7-dev,libclang-7-dev,libelf-dev,libfl-dev,libunwind-dev,libdw-dev,git,gcc,libtool,autoconf,make,cmake,iperf,arping,ethtool,flex,bison,python,clang-7,python-netaddr,python-pyroute2,python3-distutils,git,clang-7,gcc,libtool,autoconf,make,cmake,vim,nano,git,xz-utils,git,rt-app,linux-perf,trace-cmd,strace,bash,ca-certificates,apt,net-tools,iputils-ping,procps,vim --variant=minbase bullseye /tmp/tmp.foduUxx2nt/debian http://ftp.us.debian.org/debian/
I: Target architecture can be executed
I: Retrieving InRelease
I: Checking Release signature
I: Valid Release signature (key id A4285295FC7B1A81600062A9605C66F00D6C9793)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://ftp.us.debian.org/debian...
E: Couldn't find these debs: python-netaddr python python-pyroute2 clang-7 llvm-7-dev libclang-7-dev

@sonicman
Copy link

sonicman commented Oct 22, 2021

You can install default adeb debian version, then upgrade it from Buster to Bullseye.

  1. nano /etc/apt/sources.list

deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main
deb http://ftp.debian.org/debian bullseye-backports main contrib non-free

  1. upgrade
    apt update; apt full-upgrade
  2. confirm
    cat /etc/os-release

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

No branches or pull requests

2 participants