§2023-11-19

first bootup will ask you to assign a username with sudo priviledge

  1. First boot up
[alexlai@orgpi58G ~]$ ls -l /boot/
total 44611
drwxr-xr-x 4 root root      512  6月 18 19:29 dtbs
drwxr-xr-x 2 root root      512  6月 18 19:30 extlinux
-rwxr-xr-x 1 root root 10945577  6月 18 19:30 initramfs-linux-orangepi5.img
-rwxr-xr-x 1 root root 34734592  6月 18 19:30 vmlinuz-linux-orangepi5
[alexlai@orgpi58G ~]$ uname -a
Linux orgpi58G 5.10.110-2-orangepi5+ #1 SMP Sat Jun 17 19:45:18 UTC 2023 aarch64 GNU/Linux
[alexlai@orgpi58G ~]$ cat /etc/os-release 
NAME="BredOS"
PRETTY_NAME="BredOS"
ID=bredos
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://discord.gg/jwhxuyKXaa"
LOGO=bred
IMAGE_ID=BredOS
IMAGE_VERSION=2022.02.02

[alexlai@orgpi58G ~]$ cat /boot/extlinux/extlinux.conf 

label BredOS ARM
    kernel /vmlinuz-linux-orangepi5
    initrd /initramfs-linux-orangepi5.img
    fdt /dtbs/rockchip/rk3588-orangepi-5-plus.dtb
    append root=PARTUUID=a7f279d3-752a-4a4a-ad69-8de9f633ae0e earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 console=tty1 consoleblank=0 loglevel=0 panic=10 rootwait rw init=/sbin/init rootfstype=ext4 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 irqchip.gicv3_pseudo_nmi=0 switolb=1 coherent_pool=2M[alexlai@orgpi58G ~]$
  1. first pacman
$ sudo pacman -Syyuu
[sudo] password for alexlai: 
:: Synchronizing package databases...
 BredOS    35.1 KiB  15.7 KiB/s 00:02 [-------------------------------------------------------] 100%
 core     233.8 KiB   169 KiB/s 00:01 [-------------------------------------------------------] 100%
 extra      9.1 MiB  1667 KiB/s 00:06 [-------------------------------------------------------] 100%
 community 45.0   B  91.0   B/s 00:00 [-------------------------------------------------------] 100%
 alarm     57.2 KiB  59.0 KiB/s 00:01 [-------------------------------------------------------] 100%
 aur        9.3 KiB  22.2 KiB/s 00:00 [-------------------------------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: libgedit-amtk and amtk are in conflict
  1. fix conflicts
[alexlai@orgpi58G ~]$ sudo pacman -Rns libgedit-amtk
error: target not found: libgedit-amtk
[alexlai@orgpi58G ~]$ sudo pacman -Rns amtk
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing amtk breaks dependency 'amtk' required by gedit
:: removing amtk breaks dependency 'amtk' required by tepl
:: removing amtk breaks dependency 'libamtk-5.so=0-64' required by tepl
[alexlai@orgpi58G ~]$ sudo pacman -Rns amtk gedit tepl 
checking dependencies...

Packages (7) enchant-2.3.4-1  gspell-1.12.1-1  gtksourceview4-4.8.4-1  libpeas-1.36.0-2  amtk-5.6.1-1  gedit-44.2-2  tepl-1:6.4.0-2

Total Removed Size:  24.52 MiB

:: Do you want to remove these packages? [Y/n]

The tepl package is a library that provides a text editor widget for GTK+ applications. The acronym "tepl" stands for "Text Editor Product Line."

$ sudo pacman -Syyuu
...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
warning: dependency cycle detected:
warning: mesa-panfork-git will be installed before its libglvnd dependency
warning: dependency cycle detected:
warning: libcamera-ipa will be installed before its libcamera dependency

Packages (295) abseil-cpp-20230802.1-1  adwaita-cursors-45.0-1  adwaita-icon-theme-45.0-1  alsa-card-profiles-1:0.3.85-1  alsa-lib-1.2.10-2
               alsa-ucm-conf-1.2.10-2  archlinux-keyring-20231113-1  at-spi2-core-2.50.0-1  audit-3.1.2-1  avahi-1:0.8+r139+ge5b0bad-1  base-3-2
               bash-5.2.015-5  bluez-5.70-1  bluez-libs-5.70-1  bluez-utils-5.70-1  bredos-mirrorlist-20230712-1  brotli-1.1.0-1  btrfs-progs-6.6.1-1
               ca-certificates-mozilla-3.94-1  cairo-1.18.0-1  cairomm-1.14.5-1  caribou-0.4.21+75+g8ad9883-5  cinnamon-5.8.4-2
               cinnamon-control-center-5.8.2-1  cinnamon-desktop-5.8.0-1  cinnamon-menus-5.8.0-1  cinnamon-screensaver-5.8.1-1  cinnamon-session-5.8.1-1
               cinnamon-settings-daemon-5.8.1-1  cjs-5.8.0-1  coreutils-9.4-2  cpupower-6.5-1  curl-8.4.0-2  dav1d-1.3.0-1  db-6.2.32-1  db5.3-5.3.28-4
               dbus-1.14.10-1  dbus-glib-0.112-3  dbus-python-1.3.2-2  desktop-file-utils-0.27-1  device-mapper-2.03.22-2  diffutils-3.10-1
               duktape-2.7.0-6  exempi-2.6.4-1  ffmpeg-2:6.0-13  file-5.45-1  filesystem-2023.09.18-1  firefox-119.0.1-1  flac-1.4.3-1  freetype2-2.13.2-1
               fribidi-1.0.13-2  fuse-common-3.16.2-1  fuse3-3.16.2-1  gawk-5.3.0-1  geoclue-2.7.1-1  gettext-0.22.3-1  glib-networking-1:2.78.0-1
               glib2-2.78.1-1  gmp-6.3.0-1  gnome-backgrounds-45.0-1  gnome-system-monitor-45.0.2-1  gnome-terminal-3.50.1-1  gnupg-2.2.41-2
               gnutls-3.8.1-2  gobject-introspection-runtime-1.78.1-1  gperftools-2.13-2  gpgme-1.23.1-1  groff-1.23.0-5  gsettings-desktop-schemas-45.0-1
               gsound-1.0.3-3  gstreamer-1.22.7-1  gtk-update-icon-cache-1:4.12.3-2  gtk3-1:3.24.38-1  gtkmm3-3.24.8-1  gvfs-1.52.1-1  gzip-1.13-2
               harfbuzz-8.3.0-1  hidapi-0.14.0-2  highway-1.0.7-1  hwdata-0.376-1  iana-etc-20231018-1  icu-73.2-2  imath-3.1.9-2  iproute2-6.6.0-2
               iputils-20221126-2  jbigkit-2.1-7  js102-102.15.0-1  json-c-0.17-1  json-glib-1.8.0-1  kbd-2.6.3-1  kmod-31-1  krb5-1.20.1-2  less-1:643-1
               libappindicator-gtk3-12.10.0.r298-3  libarchive-3.7.2-1  libassuan-2.5.6-1  libatasmart-0.19-6  libavc1394-0.5.4-6  libblockdev-3.0.4-1
               libbpf-1.2.2-1  libbsd-0.11.7-1  libbytesize-2.8-2  libcamera-0.1.0-2  libcamera-ipa-0.1.0-2  libcap-2.69-2  libcdio-paranoia-10.2+2.0.1-3
               libcloudproviders-0.3.5-1  libcups-1:2.4.7-2  libdatrie-0.2.13-4  libdbusmenu-glib-16.04.0.r498-2  libdbusmenu-gtk3-16.04.0.r498-2
               libdeflate-1.19-1  libdrm-2.4.117-1  libedit-20230828_3.1-1  libelf-0.190-1  libepoxy-1.5.10-2  libexif-0.6.24-2  libgirepository-1.78.1-1
               libglvnd-1.7.0-1  libgtop-2.41.2-1  libgudev-238-1  libgusb-0.4.7-1  libical-3.0.17-1  libimagequant-4.2.2-2  libimobiledevice-1.3.0-9
               libinih-57-1  libinput-1.24.0-1  libjpeg-turbo-3.0.1-1  libjxl-0.8.2-2  libksba-1.6.4-1  liblc3-1.0.4-1  libldap-2.6.6-2  libmd-1.1.0-1
               libmm-glib-1.22.0-1  libmysofa-1.3.2-1  libnftnl-1.2.6-1  libnghttp2-1.58.0-1  libnl-3.8.0-1  libnm-1.44.2-3  libnotify-0.8.3-1
               libnsl-2.0.1-1  libnvme-1.6-2  libopenmpt-0.7.3-1  libp11-kit-0.25.2-1  libpgm-5.3.128-3  libpipewire-1:0.3.85-1  libplist-2.3.0-2
               libpng-1.6.40-2  libproxy-0.5.3-2  librsvg-2:2.57.0-1  libsecret-0.21.1-1  libsndfile-1.2.2-2  libsodium-1.0.19-2  libsoup3-3.4.4-1
               libssh2-1.11.0-1  libsysprof-capture-45.1-1  libteam-1.32-1  libthai-0.1.29-3  libtheora-1.1.1-6  libtiff-4.6.0-1  libtirpc-1.3.4-1
               libtraceevent-1:1.7.3-1  libtracefs-1.7.0-1  libunwind-1.7.2-1  libusbmuxd-2.0.2-3  libutempter-1.2.1-4  libva-2.20.0-1  libvdpau-1.5-2
               libvpx-1.13.1-1  libwacom-2.8.0-1  libwebp-1.3.2-1  libwireplumber-0.4.15-1  libx11-1.8.7-1  libxcb-1.16-1  libxcrypt-4.4.36-1
               libxkbcommon-1.6.0-1  libxkbcommon-x11-1.6.0-1  libxklavier-5.4-5  libxml2-2.11.5-1  libxpm-3.5.17-1  libxrandr-1.5.4-1  libxss-1.2.4-1
               licenses-20231011-1  lightdm-slick-greeter-1.8.2-1  linux-api-headers-6.4-1  linux-firmware-20231030.2b304bfe-1
               linux-firmware-whence-20231030.2b304bfe-1  llvm-libs-16.0.6-1  lua-5.4.6-2  lvm2-2.03.22-2  mailcap-2.1.54-1  man-db-2.12.0-1
               mesa-panfork-git-r164484.120202c6757-4  mkinitcpio-37-1  mkinitcpio-busybox-1.36.1-1  mpfr-4.2.1-1  mpg123-1.32.3-1  muffin-5.8.1-1
               ncurses-6.4_20230520-1  nemo-5.8.5-1  nettle-3.9.1-1  network-manager-applet-1.34.0-1  networkmanager-1.44.2-3
               nm-connection-editor-1.34.0-1  noto-fonts-1:23.11.1-1  nss-3.94-1  ocl-icd-2.3.2-1  openexr-3.2.1-1  openjpeg2-2.5.0-3  openssh-9.5p1-1
               openssl-3.1.4-1  opi5plus-post-install-20230618-3  p11-kit-0.25.2-1  pacman-6.0.2-8  pam-1.5.3-3  pambase-20230918-1  pango-1:1.51.1-1
               pcre-8.45-4  pcsclite-2.0.0-1  perl-5.38.0-1  pinentry-1.2.1-3  pipewire-1:0.3.85-1  pipewire-alsa-1:0.3.85-1  pipewire-audio-1:0.3.85-1
               pipewire-jack-1:0.3.85-1  pipewire-pulse-1:0.3.85-1  polkit-123-1  procps-ng-4.0.4-2  python-3.11.5-2  python-cairo-1.25.1-1
               python-chardet-5.2.0-1  python-charset-normalizer-3.3.2-1  python-gobject-3.46.0-1  python-packaging-23.1-1  python-pillow-10.1.0-2
               python-psutil-5.9.6-1  python-pytz-2023.3.post1-1  python-requests-2.31.0-1  python-setproctitle-1.3.3-1  python-xapp-2.4.1-1  rtkit-0.13-2
               sdl2-2.28.5-1  serd-0.32.0-1  shadow-4.14.2-1  shared-mime-info-2.4-1  sqlite-3.44.0-1  srt-1.5.3-1  startup-notification-0.12-8
               sudo-1.9.15.p2-1  systemd-254.6-2  systemd-libs-254.6-2  systemd-sysvcompat-254.6-2  tar-1.35-2  tdb-1.4.9-1
               thin-provisioning-tools-1.0.7-1  tracker3-3.6.0-1  uboot-tools-2023.10-1  udisks2-2.10.1-2  unzip-6.0-20  upower-1.90.2-1
               util-linux-2.39.2-2  util-linux-libs-2.39.2-2  v4l-utils-1.24.1-2  vte-common-0.74.1-1  vte3-0.74.1-1  vulkan-icd-loader-1.3.269-1
               webp-pixbuf-loader-0.2.5-1  webrtc-audio-processing-0.3.1-4  webrtc-audio-processing-1-1.3-2  wireplumber-0.4.15-1
               x264-3:0.164.r3108.31e19f9-1  xapp-2.6.1-2  xcb-proto-1.16.0-1  xdg-desktop-portal-1.18.1-1  xdg-desktop-portal-xapp-1.0.3-2
               xf86-input-libinput-1.4.0-1  xfsprogs-6.5.0-1  xkeyboard-config-2.40-1  xorg-font-util-1.4.1-1  xorg-server-21.1.9-1
               xorg-server-common-21.1.9-1  xorg-server-devel-21.1.9-1  xorg-server-xephyr-21.1.9-1  xorg-server-xnest-21.1.9-1  xorg-server-xvfb-21.1.9-1
               xorg-xrdb-1.2.2-1  xorg-xwayland-23.2.2-1  xorg-xwd-1.0.9-1  xorgproto-2023.2-1  xz-5.4.5-1  zenity-3.44.2-1  zeromq-4.3.5-2  zimg-3.0.5-1
               zip-3.0-11  zlib-1:1.3-2

Total Download Size:    448.82 MiB
Total Installed Size:  2169.52 MiB
Net Upgrade Size:       123.56 MiB

:: Proceed with installation? [Y/n]
...
etected unsafe path transition /usr/lib (owned by 1000) → /usr/lib/utempter (owned by root) during canonicalization of usr/lib/utempter/utempter.
Detected unsafe path transition /usr/bin (owned by 1000) → /usr/bin/groupmems (owned by root) during canonicalization of usr/bin/groupmems.
error: command failed to execute correctly
( 7/22) Reloading device manager configuration...
( 8/22) Arming ConditionNeedsUpdate...
( 9/22) Updating the MIME type database...
(10/22) Rebuilding certificate stores...
(11/22) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-orangepi5.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-orangepi5 -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-orangepi5.img
==> Starting build: '5.10.110-2-orangepi5+'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-linux-orangepi5.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-orangepi5.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
==> WARNING: No image or UKI specified. Skipping image 'fallback'
error: command failed to execute correctly
(12/22) Reloading system bus configuration...
(13/22) Warn about old perl modules
(14/22) Updating fontconfig cache...
(15/22) Probing GDK-Pixbuf loader modules...
(16/22) Updating GIO module cache...
(17/22) Compiling GSettings XML schema files...
(18/22) Probing GTK3 input method modules...
(19/22) Updating icon theme caches...
(20/22) Reloading GVFS config...
(21/22) Updating the desktop file MIME type cache...
(22/22) Updating X fontdir indices...
[alexlai@orgpi58G ~]$ ls -l /boot
total 41494
drwxr-xr-x 4 root root      512  6月 18 19:29 dtbs
drwxr-xr-x 2 root root      512  6月 18 19:30 extlinux
-rwxr-xr-x 1 root root  7753339 11月 19 13:18 initramfs-linux-orangepi5.img
-rwxr-xr-x 1 root root 34734592  6月 18 19:30 vmlinuz-linux-orangepi5

[alexlai@orgpi58G ~]$ cat /boot/extlinux/extlinux.conf 

label BredOS ARM
    kernel /vmlinuz-linux-orangepi5
    initrd /initramfs-linux-orangepi5.img
    fdt /dtbs/rockchip/rk3588-orangepi-5-plus.dtb
    append root=PARTUUID=a7f279d3-752a-4a4a-ad69-8de9f633ae0e earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 console=tty1 consoleblank=0 loglevel=0 panic=10 rootwait rw init=/sbin/init rootfstype=ext4 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 irqchip.gicv3_pseudo_nmi=0 switolb=1 coherent_pool=2M[alexlai@orgpi58G ~]$