Problem with a Yandex-browser update

╭─alnone@alnone in ~ took 7ms
 ╰─λ LANG=C paru -Syu
[sudo] password for alnone:    
:: Synchronizing package databases...
 garuda is up to date
 core is up to date
 extra                   8.4 MiB  5.22 MiB/s 00:02 [----------------------] 100%
 multilib is up to date
 chaotic-aur             2.5 MiB  1492 KiB/s 00:02 [----------------------] 100%
:: Starting full system upgrade...
 there is nothing to do
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1)             Old Version   New Version    Make Only
aur/yandex-browser  24.1.1.940-1  24.1.1.940-2   No

:: Proceed to review? [Y/n]: Y

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
/home/alnone/.cache/paru/clone/yandex-browser/PKGBUILD
# Maintainer: Mikhail Velichko  <efklid@gmail.com>

_pkgname=browser-stable
pkgname=yandex-browser
pkgver=24.1.1.940
_pkgver=24.1.1.940-1
pkgrel=2
#epoch=1

pkgdesc="The web browser from Yandex.
 Yandex Browser is a browser that combines a minimal design with sophisticated >
arch=("x86_64")
url='https://browser.yandex.com/'
license=("custom:yandex-browser")
categories=("network")
provides=(yandex-browser)
conflicts=('yandex-browser' 'yandex-browser-stable')

depends=( "binutils" "ttf-liberation" "jq" "alsa-lib" "at-spi2-atk" "libcups" ">
"wayland" "libxcomposite" "libxdamage" "libxkbcommon" "libxkbfile" "libxrandr" >
optdepends=(
    "speech-dispatcher"
:


─alnone@alnone in ~ took 10ms
 ╰─λ inxi -Faz
System:
  Kernel: 6.6.22-1-lts arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=91c0a886-25fe-452a-b52b-00f0e5b90cbe rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver avail: xautolock vt: 7
    dm: LightDM v: 1.32.0 Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Inspiron 3583 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0WHCP7 v: A00 serial: <superuser required> part-nu: 08CA
    uuid: <superuser required> UEFI: Dell v: 1.5.1 date: 05/30/2019
Battery:
  ID-1: BAT0 charge: 39.9 Wh (100.0%) condition: 39.9/42.0 Wh (95.0%)
    volts: 12.5 min: 11.4 model: SMP DELL VM73283 type: Li-poly serial: <filter>
    status: full
CPU:
  Info: model: Intel Core i5-8265U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 8 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xFA
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 988 high: 1959 min/max: 400/3900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1959 2: 800 3: 1174
    4: 400 5: 400 6: 1573 7: 800 8: 804 bogomips: 28808
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB:
    conditional, RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3ea0
    class-ID: 0300
  Device-2: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3 chip-ID: 0bda:5520
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.11 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting alternate: fbdev,intel,vesa dri: iris gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: eDP-1 model: AU Optronics 0x10ec built: 2017 res: 1366x768
    hz: 60 dpi: 101 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1366x768
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: integrated-gpu name: Intel
    UHD Graphics 620 (WHL GT2) driver: mesa intel v: 24.0.3-arch1.1
    device-ID: 8086:3ea0 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
    (LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.3-arch1.1 (LLVM
    17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403
  API: ALSA v: k6.6.22-1-lts status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000
    bus-ID: 01:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager,systemd-timesyncd
Drives:
  Local Storage: total: 238.47 GiB used: 10.05 GiB (4.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: PC SN520 NVMe WDC 256GB size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 15.8 Gb/s lanes: 2 tech: SSD serial: <filter>
    fw-rev: 20200012 temp: 42.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 48.48 GiB size: 48.48 GiB (100.00%)
    used: 10.02 GiB (20.7%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 1.43 GiB size: 1.43 GiB (99.80%)
    used: 27.7 MiB (1.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 48.48 GiB size: 48.48 GiB (100.00%)
    used: 10.02 GiB (20.7%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-4: /var/log raw-size: 48.48 GiB size: 48.48 GiB (100.00%)
    used: 10.02 GiB (20.7%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-5: /var/tmp raw-size: 48.48 GiB size: 48.48 GiB (100.00%)
    used: 10.02 GiB (20.7%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 1.42 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: swap-2 type: zram size: 7.63 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 46.0 C pch: 43.0 C mobo: 36.0 C
  Fan Speeds (rpm): cpu: 0
Info:
  Memory: total: 8 GiB available: 7.63 GiB used: 1.89 GiB (24.8%)
  Processes: 259 Power: uptime: 1h 10m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 3.04 GiB services: power-profiles-daemon,
    upowerd, xfce4-power-manager Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1453 libs: 430 tools: octopi,paru,yay
    pm: flatpak pkgs: 0 Compilers: gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: xfce4-terminal inxi: 3.3.33

 ╭─alnone@alnone in ~ took 1s
 ╰─λ 


What is the problem?
You have to exit from the PKGBUILD preview with button q.

Sorry, i forgot yay outcome:


 ╭─alnone@alnone in ~ took 7ms
 ╰─λ LANG=C yay -Syu
[sudo] password for alnone:    
:: Synchronizing package databases...
 garuda is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 chaotic-aur is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
:: 1 package to upgrade/install.
1  aur/yandex-browser  24.1.1.940-1 -> 24.1.1.940-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
AUR Dependency (1): yandex-browser-24.1.1.940-2
:: PKGBUILD up to date, skipping download: yandex-browser
  1 yandex-browser                   (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/alnone/.cache/yay/yandex-browser
HEAD is now at 0fb35df Remove wrong debug option
Removing src/
Removing yandex-browser-24.1.1.940-1.deb
  1 yandex-browser                   (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
==> Making package: yandex-browser 24.1.1.940-2 (Sun 17 Mar 2024 07:00:39 PM EDT)
==> Retrieving sources...
  -> Downloading yandex-browser-24.1.1.940-1.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  153M  100  153M    0     0   210k      0  0:12:26  0:12:26 --:--:--  202k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    yandex-browser-24.1.1.940-1.deb ... Passed
:: (1/1) Parsing SRCINFO: yandex-browser
==> Making package: yandex-browser 24.1.1.940-2 (Sun 17 Mar 2024 07:13:06 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found yandex-browser-24.1.1.940-1.deb
==> Validating source files with sha256sums...
    yandex-browser-24.1.1.940-1.deb ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting yandex-browser-24.1.1.940-1.deb with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> ERROR: Cannot find the debugedit binary required for including source files in debug packages.
 -> error making: yandex-browser-exit status 15
 -> Failed to install the following packages. Manual intervention is required:
yandex-browser - exit status 15

 ╭─alnone@alnone in ~ took 13m15s
[🔴] ×

hope i’m not saying anything wrong now, install debugedit then it should work with yandex

sudo pacman -S debugedit && upd -a

This is probably a yay problem not a yandex one.
It should be due to the recent pacman update. See

Uninstall and rebuild it.

1 Like

any way, it is safe to install ‘debugedit’?

Yes, absolutely safe.
It is in the Arch Core repo, so if you/we don’t trust it, we should trust Arch altogether :slight_smile:
But I still believe it is a matter of uninstalling and git cloning and making yay…

Even when I wrote the ‘LANG=C’ some parts are in spanish, so this was at the end of the outcme:

(1/7) Arming ConditionNeedsUpdate...
(2/7) Foreign/AUR package notification
yandex-browser 24.1.1.940-2
(3/7) Orphaned package notification...
libxnvctrl 550.54.14-1
poppler-qt5 24.03.0-1
yandex-browser 24.1.1.940-2
(4/7) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/passwd.pacnew
/etc/locale.gen.pacnew
/etc/updatedb.conf.pacsave
Please check and merge
(5/7) Updating the desktop file MIME type cache...
(6/7) Performing snapper post snapshots for the following configurations...
==> root: 152
(7/7) Syncing all file systems...

System updated! 🐧


 ╭─alnone@alnone in ~ took 12m24s
 ╰─λ 

In case any body want to see the whole …


 ╭─alnone@alnone in ~ took 11ms
 ╰─λ LANG=C sudo pacman -S debugedit && upd -a
[sudo] password for alnone:    
resolving dependencies...
looking for conflicting packages...

Package (1)     New Version  Net Change  Download Size

core/debugedit  5.0-5          0.10 MiB       0.04 MiB

Total Download Size:   0.04 MiB
Total Installed Size:  0.10 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 debugedit-5.0-5-...    43.5 KiB   195 KiB/s 00:00 [----------------------] 100%
(1/1) checking keys in keyring                     [----------------------] 100%
(1/1) checking package integrity                   [----------------------] 100%
(1/1) loading package files                        [----------------------] 100%
(1/1) checking for file conflicts                  [----------------------] 100%
(1/1) checking available disk space                [----------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 147
:: Processing package changes...
(1/1) installing debugedit                         [----------------------] 100%
:: Running post-transaction hooks...
(1/6) Arming ConditionNeedsUpdate...
(2/6) Foreign/AUR package notification
yandex-browser 24.1.1.940-1
(3/6) Orphaned package notification...
libxnvctrl 550.54.14-1
poppler-qt5 24.03.0-1
yandex-browser 24.1.1.940-1
(4/6) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/passwd.pacnew
/etc/locale.gen.pacnew
/etc/updatedb.conf.pacsave
Please check and merge
(5/6) Performing snapper post snapshots for the following configurations...
==> root: 148
(6/6) Syncing all file systems...
:: Sincronizando las bases de datos de los paquetes...
 garuda está actualizado
 core                  130.6 KiB   713 KiB/s 00:00 [----------------------] 100%
 extra                   8.4 MiB  4.69 MiB/s 00:02 [----------------------] 100%
 multilib              140.2 KiB   472 KiB/s 00:00 [----------------------] 100%
 chaotic-aur             2.5 MiB  1854 KiB/s 00:01 [----------------------] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..🍵

:: Sincronizando las bases de datos de los paquetes...
 descargando garuda...
 descargando core...
 descargando extra...
 descargando multilib...
 descargando chaotic-aur...
error: no se pudo obtener el archivo «chaotic-aur.db» desde cdn-mirror.chaotic.cx: The requested URL returned error: 404
error: no se pudo obtener el archivo «chaotic-aur.db» desde geo-mirror.chaotic.cx: The requested URL returned error: 404
spawn pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

warning: insufficient columns available for table display
Packages (17) bzip2-1.0.8-6  ca-certificates-mozilla-3.99-1  ding-libs-0.6.2-2
              harfbuzz-8.3.1-1  harfbuzz-icu-8.3.1-1  lib32-harfbuzz-8.3.1-1
              libmpd-11.8.17-6  libpipeline-1.5.7-2  libverto-0.3.2-5
              nss-3.99-1  python-dateutil-2.9.0-3  rpcbind-1.2.6-4
              ttf-dejavu-2.37+18+g9b5d1b2f-7  xcur2png-0.7.1-8
              xorg-server-21.1.11-2  xorg-server-common-21.1.11-2
              xorg-server-xephyr-21.1.11-2

Total Download Size:    9.42 MiB
Total Installed Size:  30.14 MiB
Net Upgrade Size:      -0.13 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 xorg-server-21.1...  1455.2 KiB  1781 KiB/s 00:01 [----------------------] 100%
 xorg-server-xeph...   926.9 KiB  1100 KiB/s 00:01 [----------------------] 100%
 harfbuzz-8.3.1-1...  1016.3 KiB  1196 KiB/s 00:01 [----------------------] 100%
 nss-3.99-1-x86_64    1641.0 KiB  1327 KiB/s 00:01 [----------------------] 100%
 ttf-dejavu-2.37+...     2.6 MiB  1957 KiB/s 00:01 [----------------------] 100%
 python-dateutil-...   305.5 KiB   546 KiB/s 00:01 [----------------------] 100%
 ca-certificates-...   374.2 KiB   637 KiB/s 00:01 [----------------------] 100%
 ding-libs-0.6.2-...   124.8 KiB   624 KiB/s 00:00 [----------------------] 100%
 bzip2-1.0.8-6-x86_64   58.4 KiB   621 KiB/s 00:00 [----------------------] 100%
 libmpd-11.8.17-6...    55.1 KiB   725 KiB/s 00:00 [----------------------] 100%
 rpcbind-1.2.6-4-...    36.7 KiB   408 KiB/s 00:00 [----------------------] 100%
 lib32-harfbuzz-8...   876.7 KiB  1092 KiB/s 00:01 [----------------------] 100%
 libpipeline-1.5....    33.6 KiB   420 KiB/s 00:00 [----------------------] 100%
 xorg-server-comm...    27.6 KiB   587 KiB/s 00:00 [----------------------] 100%
 libverto-0.3.2-5...    18.3 KiB   538 KiB/s 00:00 [----------------------] 100%
 xcur2png-0.7.1-8...    10.3 KiB   219 KiB/s 00:00 [----------------------] 100%
 harfbuzz-icu-8.3...     7.8 KiB   105 KiB/s 00:00 [----------------------] 100%
 Total (17/17)           9.4 MiB  5.24 MiB/s 00:02 [----------------------] 100%
(17/17) checking keys in keyring                   [----------------------] 100%
(17/17) checking package integrity                 [----------------------] 100%
(17/17) loading package files                      [----------------------] 100%
(17/17) checking for file conflicts                [----------------------] 100%
(17/17) checking available disk space              [----------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 149
:: Processing package changes...
( 1/17) upgrading bzip2                            [----------------------] 100%
( 2/17) upgrading libverto                         [----------------------] 100%
( 3/17) upgrading ca-certificates-mozilla          [----------------------] 100%
( 4/17) upgrading ding-libs                        [----------------------] 100%
( 5/17) upgrading harfbuzz                         [----------------------] 100%
( 6/17) upgrading harfbuzz-icu                     [----------------------] 100%
( 7/17) upgrading lib32-harfbuzz                   [----------------------] 100%
( 8/17) upgrading libmpd                           [----------------------] 100%
( 9/17) upgrading libpipeline                      [----------------------] 100%
(10/17) upgrading nss                              [----------------------] 100%
(11/17) upgrading python-dateutil                  [----------------------] 100%
(12/17) upgrading rpcbind                          [----------------------] 100%
(13/17) upgrading ttf-dejavu                       [----------------------] 100%
(14/17) upgrading xcur2png                         [----------------------] 100%
(15/17) upgrading xorg-server-common               [----------------------] 100%
(16/17) upgrading xorg-server                      [----------------------] 100%
(17/17) upgrading xorg-server-xephyr               [----------------------] 100%
:: Running post-transaction hooks...
( 1/12) Creating system user accounts...
( 2/12) Reloading system manager configuration...
( 3/12) Creating temporary files...
( 4/12) Arming ConditionNeedsUpdate...
( 5/12) Rebuilding certificate stores...
( 6/12) Foreign/AUR package notification
yandex-browser 24.1.1.940-1
( 7/12) Orphaned package notification...
libxnvctrl 550.54.14-1
poppler-qt5 24.03.0-1
yandex-browser 24.1.1.940-1
( 8/12) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/passwd.pacnew
/etc/locale.gen.pacnew
/etc/updatedb.conf.pacsave
Please check and merge
( 9/12) Updating fontconfig cache...
(10/12) Updating 32-bit fontconfig cache...
(11/12) Performing snapper post snapshots for the following configurations...
==> root: 150
(12/12) Syncing all file systems...

--> Updating AUR packages with paru..
:: Buscando actualizaciones de desarrollo...
:: Resolviendo dependencias...
:: Calculando conflictos...
:: Calculando conflictos internos...

Aur (1)             Versión Antigua  Versión Nueva  Solo Construir
aur/yandex-browser  24.1.1.940-1     24.1.1.940-2   No

:: ¿Editar ahora? [S/n]: s

:: Descargando PKGBUILDs...
 PKGBUILDs actualizados
/home/alnone/.cache/paru/clone/yandex-browser/PKGBUILD
# Maintainer: Mikhail Velichko  <efklid@gmail.com>

_pkgname=browser-stable
pkgname=yandex-browser
pkgver=24.1.1.940
_pkgver=24.1.1.940-1
pkgrel=2
#epoch=1

pkgdesc="The web browser from Yandex.
 Yandex Browser is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier."
arch=("x86_64")
url='https://browser.yandex.com/'
license=("custom:yandex-browser")
categories=("network")
provides=(yandex-browser)
conflicts=('yandex-browser' 'yandex-browser-stable')

depends=( "binutils" "ttf-liberation" "jq" "alsa-lib" "at-spi2-atk" "libcups" "curl" "dbus" "libdrm" "gdbm" "gtk4" "nspr" "nss" "pango"
"wayland" "libxcomposite" "libxdamage" "libxkbcommon" "libxkbfile" "libxrandr" "squashfs-tools" "wget" "xdg-utils" "harfbuzz-icu")
optdepends=(
    "speech-dispatcher"
    "vulkan-driver"
    "vulkan-icd-loader"
    "ttf-font"
    "gstreamer-meta"
    "cryptopro-csp-k1"
)

source=("${pkgname}-${_pkgver}.deb::https://repo.yandex.ru/yandex-browser/deb/pool/main/y/yandex-${_pkgname}/yandex-${_pkgname}_${_pkgver}_amd64.deb")
sha256sums=("1591e809179da471d5c226d25edb360e771437cdcf67d52554e4973e380068db")
install=yandex-browser.install

prepare() {
    tar -xf data.tar.xz
}

package() {
    cp -dr --no-preserve=ownership opt usr "${pkgdir}"/
# The stable version uses the "browser" folder in /opt/yandex. ${_pkgname} cannot be used in this section for the stable branch 
#    install -D -m0644 "${pkgdir}"/opt/yandex/browser/product_logo_128.png "${pkgdir}"/usr/share/pixmaps/${pkgname}.png
    chmod 4755 "${pkgdir}"/opt/yandex/browser/yandex_browser-sandbox
}


/home/alnone/.cache/paru/clone/yandex-browser/yandex-browser.install
post_install() {

set -e

DEFAULTS_FILE="/etc/default/yandex-browser"
# Add icons to the system icons
XDG_ICON_RESOURCE="`command -v xdg-icon-resource 2> /dev/null || true`"
if [ ! -x "$XDG_ICON_RESOURCE" ]; then
  echo "Error: Could not find xdg-icon-resource" >&2
  exit 1
fi
for icon in product_logo_256.png product_logo_24.png product_logo_32.png product_logo_128.png product_logo_512.png product_logo_64.png product_logo_16.png product_logo_48.png ; do
  size="$(echo ${icon} | sed 's/[^0-9]//g')"
  "$XDG_ICON_RESOURCE" install --size "${size}" "/opt/yandex/browser/${icon}" \
    "yandex-browser"
done
# Update cache of .desktop file MIME types. Non-fatal since it's just a cache.
update-desktop-database > /dev/null 2>&1 || true

altlinux_fetch_ffmpeg() {
  local current_dir=$PWD
  local temp_dir=$(mktemp -d --tmpdir)
  cd $temp_dir
  # TODO(palar): use more versatile method then download with direct link
  wget https://mirror.yandex.ru/altlinux/p10/branch/x86_64/RPMS.classic/ffmpeg-plugin-browser-100-alt3.x86_64.rpm

  rpm2cpio *.rpm | cpio -i --make-directories --no-absolute-filenames *libffmpeg.so
  find . -name *.so -exec mv {} /opt/yandex/browser/ \;
  cd $current_dir
  rm -fr $temp_dir
}

getOsName() {
    if [ -f "/etc/os-release" ]
    then
        cat "/etc/os-release" | grep "^ID=" | sed "s/ID=//1"
    fi
}

codecInstallationRequired() {
    current_lunux_distro=$( getOsName ) ;

    if [ "$current_lunux_distro" = "ubuntu" ]; then
        echo "no"
    else
        echo "yes"
    fi
}

codecs_required=$( codecInstallationRequired )
if [ "$codecs_required" = "yes" ]; then
    # Do not break installation anyway
    /opt/yandex/browser/update_codecs /opt/yandex/browser || true
fi

# This function uses sed to insert the contents of one file into another file,
# after the first line matching a given regular expression. If there is no
# matching line, then the file is unchanged.
insert_after_first_match() {
  # $1: file to update
  # $2: regular expression
  # $3: file to insert
  sed -i -e "1,/$2/ {
    /$2/ r $3
    }" "$1"
}

# If /usr/share/gnome-control-center/default-apps/gnome-default-applications.xml
# exists, it may need to be updated to add ourselves to the default applications
# list. If we find the file and it does not seem to contain our patch already
# (the patch is safe to leave even after uninstall), update it.
GNOME_DFL_APPS=/usr/share/gnome-control-center/default-apps/gnome-default-applications.xml
if [ -f "$GNOME_DFL_APPS" ]; then
# Conditionally insert the contents of the file "default-app-block" after the
# first "<web-browsers>" line we find in gnome-default-applications.xml
  fgrep -q "Yandex Browser" "$GNOME_DFL_APPS" || insert_after_first_match \
    "$GNOME_DFL_APPS" \
    "^[ 	]*<web-browsers>[ 	]*$" \
    "/opt/yandex/browser/default-app-block"
fi

# This function performs the setup for the chrome management service process.
# It creates a new chromemgmt group, creates the signing key file, and updates
# permissions for both the signing key file and the binary.
chrome_management_service_setup() {
  if [ ! -f "$DEFAULTS_FILE" ]; then
    return
  fi

  if ! grep -q "install_device_trust_key_management_command=true" \
    "$DEFAULTS_FILE"; then
    return
  fi

  getent group chromemgmt > /dev/null || groupadd chromemgmt

  chgrp chromemgmt "/opt/yandex/browser/chrome-management-service"
  chmod 2755 "/opt/yandex/browser/chrome-management-service"

  mkdir -p "/etc/opt/yandex/browser/policies/enrollment"
  SIGNING_KEY_FILE="/etc/opt/yandex/browser/policies/enrollment/DeviceTrustSigningKey"
  if [ ! -e "$SIGNING_KEY_FILE" ]; then
    touch "$SIGNING_KEY_FILE"
  fi

  chgrp chromemgmt "$SIGNING_KEY_FILE"
  chmod 664 "$SIGNING_KEY_FILE"
}

chrome_management_service_setup

}
post_upgrade() {
    post_install
}
pre_remove(){

set -e

# Remove icons from the system icons
XDG_ICON_RESOURCE="`command -v xdg-icon-resource 2> /dev/null || true`"
if [ ! -x "$XDG_ICON_RESOURCE" ]; then
  echo "Error: Could not find xdg-icon-resource" >&2
  exit 1
fi
for icon in product_logo_256.png product_logo_24.png product_logo_32.png product_logo_128.png product_logo_512.png product_logo_64.png product_logo_16.png product_logo_48.png ; do
  size="$(echo ${icon} | sed 's/[^0-9]//g')"
  "$XDG_ICON_RESOURCE" uninstall --size "${size}" "yandex-browser"
done

# Update cache of .desktop file MIME types. Non-fatal since it's just a cache.
update-desktop-database > /dev/null 2>&1 || true
}
post_remove(){

set -e

remove_package_not_native_files() {
  # /opt/yandex/browser/libffmpeg.so
  local libffmpeg="/opt/yandex/browser/libffmpeg.so"
  if [ -f "${libffmpeg}" ]; then
    rm "${libffmpeg}"
    echo "removed ${libffmpeg}"
  fi
}
remove_package_not_native_files
}


:: ¿Aceptar cambios? [S/n]: s
obteniendo info de desarrollo....
==> Creando el paquete: yandex-browser 24.1.1.940-2 (Mon 18 Mar 2024 08:10:46 AM EDT)
==> Recibiendo las fuentes...
  -> Descargando yandex-browser-24.1.1.940-1.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  153M  100  153M    0     0   391k      0  0:06:42  0:06:42 --:--:--  796k
==> Validando los archivos source con sha256sums...
    yandex-browser-24.1.1.940-1.deb ... Aprobado
==> Creando el paquete: yandex-browser 24.1.1.940-2 (Mon 18 Mar 2024 08:17:32 AM EDT)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
  -> yandex-browser-24.1.1.940-1.deb ha sido encontrado
==> Validando los archivos source con sha256sums...
    yandex-browser-24.1.1.940-1.deb ... Aprobado
==> Eliminando el directorio $srcdir/...
==> Extrayendo las fuentes...
  -> Extrayendo yandex-browser-24.1.1.940-1.deb con bsdtar
==> Iniciando prepare()...
==> Las fuentes están listas.
yandex-browser-24.1.1.940-2: leyendo lista pkg...
==> Creando el paquete: yandex-browser 24.1.1.940-2 (Mon 18 Mar 2024 08:17:42 AM EDT)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> ADVERTENCIA: Usando el árbol existente $srcdir/
==> Entrando en entorno fakeroot...
==> Iniciando package()...
==> Depurando la instalación...
  -> Quitando los archivos libtool...
  -> Purgando los archivos innecesarios...
  -> Quitando los archivos de las bibliotecas estáticas...
  -> Despojando los símbolos innecesarios de los binarios y de las bibliotecas...
objcopy: ./opt/yandex/browser/chrome-management-service: debuglink section already exists
objcopy: ./opt/yandex/browser/chrome_crashpad_handler: debuglink section already exists
objcopy: ./opt/yandex/browser/find_ffmpeg: debuglink section already exists
objcopy: ./opt/yandex/browser/libEGL.so: debuglink section already exists
objcopy: ./opt/yandex/browser/libGLESv2.so: debuglink section already exists
objcopy: ./opt/yandex/browser/libabt-bindings.so: debuglink section already exists
objcopy: ./opt/yandex/browser/libqt5_shim.so: debuglink section already exists
objcopy: ./opt/yandex/browser/libqt6_shim.so: debuglink section already exists
objcopy: ./opt/yandex/browser/libvk_swiftshader.so: debuglink section already exists
objcopy: ./opt/yandex/browser/libvulkan.so.1: debuglink section already exists
objcopy: ./opt/yandex/browser/update_codecs: debuglink section already exists
objcopy: ./opt/yandex/browser/user_setup: debuglink section already exists
objcopy: ./opt/yandex/browser/yandex_browser: debuglink section already exists
objcopy: ./opt/yandex/browser/yandex_browser-sandbox: debuglink section already exists
  -> Comprimiendo las páginas del manual y de información...
==> Buscando problemas de empaquetado...
==> Creando el paquete «yandex-browser»...
  -> Generando el archivo .PKGINFO...
  -> Generando el archivo .BUILDINFO...
  -> Añadiendo el archivo install...
  -> Generando el archivo .MTREE...
  -> Comprimiendo el paquete...
==> Creando el paquete «yandex-browser-debug»...
  -> Generando el archivo .PKGINFO...
  -> Generando el archivo .BUILDINFO...
  -> Generando el archivo .MTREE...
  -> Comprimiendo el paquete...
==> Abandonando el entorno fakeroot.
==> Compilación terminada: yandex-browser 24.1.1.940-2 (Mon 18 Mar 2024 08:20:03 AM EDT)
==> Limpiando...
[sudo] contraseña para alnone:    
cargando los paquetes...
resolviendo dependencias...
buscando conflictos entre paquetes...

Paquete (1)     Versión antigua  Versión nueva  Diferencia neta

yandex-browser  24.1.1.940-1     24.1.1.940-2          0.00 MiB

Tamaño total de la instalación:  427.74 MiB
Tamaño neto tras actualizar:       0.00 MiB

:: ¿Continuar con la instalación? [S/n] 
comprobando el depósito de claves...
verificando la integridad de los paquetes...
cargando los archivos de los paquetes...
comprobando conflictos entre archivos...
comprobando el espacio disponible en el disco...
:: Ejecutando los «hooks» de preinstalación...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 151
:: Procesando los cambios de los paquetes...
actualizando yandex-browser...
Parallel unsquashfs: Using 8 processors
1 inodes (25 blocks) to write


created 1 file
created 4 directories
created 0 symlinks
created 0 devices
created 0 fifos
created 0 sockets
created 0 hardlinks
:: Ejecutando los «hooks» de posinstalación...
(1/7) Arming ConditionNeedsUpdate...
(2/7) Foreign/AUR package notification
yandex-browser 24.1.1.940-2
(3/7) Orphaned package notification...
libxnvctrl 550.54.14-1
poppler-qt5 24.03.0-1
yandex-browser 24.1.1.940-2
(4/7) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/passwd.pacnew
/etc/locale.gen.pacnew
/etc/updatedb.conf.pacsave
Please check and merge
(5/7) Updating the desktop file MIME type cache...
(6/7) Performing snapper post snapshots for the following configurations...
==> root: 152
(7/7) Syncing all file systems...

System updated! 🐧


 ╭─alnone@alnone in ~ took 12m24s
 ╰─λ 

It seems this issue is resolved now, however just to clarify for future readers: installing debugedit is not necessary, and is in fact most likely not what most users will want.

The cause of this issue is a change was made upstream which has enabled debugging in /etc/makepkg.conf by default. I guess these will be some relevant threads if anyone is curious about this:

It seems the discussion is ongoing; I’m not sure if it will stay like this or not.


To get the behavior back to “normal”, the debugging option must be disabled. To do this, open /etc/makepkg.conf in an editor, for example Micro:

sudo micro /etc/makepkg.conf

Navigate down to the line that starts with OPTIONS= and put an exclamation mark in front of debug so it looks like this: “!debug” The whole line will be something like this:

OPTIONS=( ... blah blah blah blah ... !debug ...)
7 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.