0s autopkgtest [01:10:18]: starting date and time: 2024-03-23 01:10:18+0000 0s autopkgtest [01:10:18]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [01:10:18]: host juju-7f2275-prod-proposed-migration-environment-4; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1it9ntnk/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed --apt-upgrade r-cran-git2r --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=r-base/4.3.3-2build1 glibc/2.39-0ubuntu6 libgit2/1.7.2+ds-1ubuntu2' -- lxd -r lxd-armhf-10.145.243.181 lxd-armhf-10.145.243.181:autopkgtest/ubuntu/noble/armhf 28s autopkgtest [01:10:46]: testbed dpkg architecture: armhf 29s autopkgtest [01:10:47]: testbed apt version: 2.7.12 29s autopkgtest [01:10:47]: @@@@@@@@@@@@@@@@@@@@ test bed setup 36s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 37s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3979 kB] 37s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 37s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [498 kB] 37s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [57.7 kB] 37s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [641 kB] 37s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2492 B] 37s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1372 B] 37s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 37s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [4077 kB] 37s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [7776 B] 37s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf Packages [49.1 kB] 37s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 40s Fetched 9437 kB in 2s (5377 kB/s) 40s Reading package lists... 49s tee: /proc/self/fd/2: Permission denied 70s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 70s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 70s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 70s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 72s Reading package lists... 72s Reading package lists... 72s Building dependency tree... 72s Reading state information... 73s Calculating upgrade... 73s The following packages were automatically installed and are no longer required: 73s linux-headers-6.8.0-11 python3-lib2to3 73s Use 'apt autoremove' to remove them. 73s The following packages will be REMOVED: 73s libapt-pkg6.0 libarchive13 libatm1 libcurl3-gnutls libcurl4 libdb5.3 libelf1 73s libext2fs2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls30 libgpgme11 73s libhogweed6 libmagic1 libnetplan0 libnettle8 libnpth0 libnvme1 libparted2 73s libpcap0.8 libperl5.38 libpng16-16 libpsl5 libreadline8 libreiserfscore0 73s libssl3 libtirpc3 libuv1 linux-headers-6.8.0-11-generic python3-distutils 73s The following NEW packages will be installed: 73s libapt-pkg6.0t64 libarchive13t64 libatm1t64 libcurl3t64-gnutls libcurl4t64 73s libdb5.3t64 libelf1t64 libext2fs2t64 libgdbm-compat4t64 libgdbm6t64 73s libglib2.0-0t64 libgnutls30t64 libgpgme11t64 libhogweed6t64 libmagic1t64 73s libnetplan1 libnettle8t64 libnpth0t64 libnvme1t64 libparted2t64 73s libpcap0.8t64 libperl5.38t64 libpng16-16t64 libpsl5t64 libreadline8t64 73s libreiserfscore0t64 libssl3t64 libtirpc3t64 libuv1t64 linux-headers-6.8.0-20 73s linux-headers-6.8.0-20-generic xdg-user-dirs 73s The following packages have been kept back: 73s multipath-tools 73s The following packages will be upgraded: 73s apparmor apt apt-utils bind9-dnsutils bind9-host bind9-libs binutils 73s binutils-arm-linux-gnueabihf binutils-common bolt bsdextrautils bsdutils 73s btrfs-progs coreutils cryptsetup-bin curl dbus dbus-bin dbus-daemon 73s dbus-session-bus-common dbus-system-bus-common dbus-user-session dhcpcd-base 73s dirmngr dmsetup dpkg dpkg-dev e2fsprogs e2fsprogs-l10n eject fdisk file ftp 73s fwupd gawk gcc-13-base gcc-14-base gir1.2-girepository-2.0 gir1.2-glib-2.0 73s gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 73s groff-base ibverbs-providers inetutils-telnet info initramfs-tools 73s initramfs-tools-bin initramfs-tools-core install-info iproute2 jq keyboxd 73s kmod kpartx krb5-locales libapparmor1 libaudit-common libaudit1 libbinutils 73s libblkid1 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 73s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 73s libblockdev-utils3 libblockdev3 libbpf1 libbrotli1 libbsd0 libc-bin libc6 73s libcap-ng0 libcom-err2 libcryptsetup12 libctf-nobfd0 libctf0 libdbus-1-3 73s libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libevent-core-2.1-7 73s libexpat1 libfdisk1 libfido2-1 libftdi1-2 libfwupd2 libgcc-s1 73s libgirepository-1.0-1 libglib2.0-data libgssapi-krb5-2 libgudev-1.0-0 73s libgusb2 libibverbs1 libjcat1 libjq1 libjson-glib-1.0-0 73s libjson-glib-1.0-common libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 73s libldap-common libldap2 liblocale-gettext-perl liblzma5 libmagic-mgc 73s libmbim-glib4 libmbim-proxy libmm-glib0 libmount1 libnghttp2-14 libnsl2 73s libnss-systemd libpam-modules libpam-modules-bin libpam-runtime 73s libpam-systemd libpam0g libplymouth5 libpolkit-agent-1-0 73s libpolkit-gobject-1-0 libprotobuf-c1 libpython3-stdlib libpython3.11-minimal 73s libpython3.11-stdlib libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 73s libqmi-proxy libqrtr-glib0 librtmp1 libsasl2-2 libsasl2-modules 73s libsasl2-modules-db libseccomp2 libselinux1 libsemanage-common libsemanage2 73s libsframe1 libslang2 libsmartcols1 libsqlite3-0 libss2 libssh-4 libstdc++6 73s libsystemd-shared libsystemd0 libtext-charwidth-perl libtext-iconv-perl 73s libtirpc-common libudev1 libudisks2-0 libusb-1.0-0 libuuid1 libvolume-key1 73s libxml2 libxmlb2 libxmuu1 linux-headers-generic locales logsave lshw lsof 73s man-db mount mtr-tiny netplan-generator netplan.io openssh-client 73s openssh-server openssh-sftp-server openssl parted perl perl-base 73s perl-modules-5.38 pinentry-curses plymouth plymouth-theme-ubuntu-text psmisc 73s python-apt-common python3 python3-apt python3-cryptography python3-dbus 73s python3-gdbm python3-gi python3-lib2to3 python3-minimal python3-netplan 73s python3-pkg-resources python3-pyrsistent python3-setuptools 73s python3-typing-extensions python3-yaml python3.11 python3.11-minimal 73s python3.12 python3.12-minimal readline-common rsync shared-mime-info sudo 73s systemd systemd-dev systemd-resolved systemd-sysv systemd-timesyncd tcpdump 73s telnet tnftp ubuntu-pro-client ubuntu-pro-client-l10n udev udisks2 usb.ids 73s util-linux uuid-runtime vim-common vim-tiny wget xxd xz-utils zlib1g 74s 234 upgraded, 32 newly installed, 31 to remove and 1 not upgraded. 74s Need to get 106 MB of archives. 74s After this operation, 84.4 MB of additional disk space will be used. 74s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdutils armhf 1:2.39.3-9ubuntu2 [102 kB] 74s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-14-base armhf 14-20240315-1ubuntu1 [47.0 kB] 74s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgcc-s1 armhf 14-20240315-1ubuntu1 [41.5 kB] 74s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libstdc++6 armhf 14-20240315-1ubuntu1 [714 kB] 74s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc6 armhf 2.39-0ubuntu6 [2827 kB] 74s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbrotli1 armhf 1.1.0-2build1 [319 kB] 74s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgssapi-krb5-2 armhf 1.20.1-5.1ubuntu1 [119 kB] 74s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5-3 armhf 1.20.1-5.1ubuntu1 [321 kB] 74s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5support0 armhf 1.20.1-5.1ubuntu1 [31.4 kB] 74s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libk5crypto3 armhf 1.20.1-5.1ubuntu1 [78.6 kB] 74s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcom-err2 armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 74s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main armhf zlib1g armhf 1:1.3.dfsg-3.1ubuntu1 [49.2 kB] 74s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2build6 [51.3 kB] 74s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main armhf udisks2 armhf 2.10.1-6 [276 kB] 74s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libudisks2-0 armhf 2.10.1-6 [143 kB] 74s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblkid1 armhf 2.39.3-9ubuntu2 [160 kB] 74s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblzma5 armhf 5.6.0-0.2 [117 kB] 74s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kmod armhf 31+20240202-2ubuntu4 [91.8 kB] 74s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkmod2 armhf 31+20240202-2ubuntu4 [44.9 kB] 74s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-dev all 255.4-1ubuntu5 [103 kB] 74s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-timesyncd armhf 255.4-1ubuntu5 [36.0 kB] 74s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 74s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit-common all 1:3.1.2-2.1 [5674 B] 74s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcap-ng0 armhf 0.8.4-2build1 [13.5 kB] 74s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit1 armhf 1:3.1.2-2.1 [44.3 kB] 74s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam0g armhf 1.5.3-5ubuntu3 [62.0 kB] 74s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libselinux1 armhf 3.5-2ubuntu1 [70.9 kB] 74s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl4t64 armhf 8.5.0-2ubuntu7 [296 kB] 74s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main armhf curl armhf 8.5.0-2ubuntu7 [219 kB] 74s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpsl5t64 armhf 0.21.2-1.1 [55.7 kB] 74s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main armhf wget armhf 1.21.4-1ubuntu2 [317 kB] 74s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tnftp armhf 20230507-2build1 [98.6 kB] 74s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpcap0.8t64 armhf 1.10.4-4.1ubuntu1 [137 kB] 74s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tcpdump armhf 4.99.4-3ubuntu2 [425 kB] 74s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd-shared armhf 255.4-1ubuntu5 [2009 kB] 74s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-resolved armhf 255.4-1ubuntu5 [289 kB] 74s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main armhf sudo armhf 1.9.15p5-3ubuntu3 [936 kB] 75s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main armhf rsync armhf 3.2.7-1build1 [413 kB] 75s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-cryptography armhf 41.0.7-4build2 [788 kB] 75s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssl armhf 3.0.13-0ubuntu2 [975 kB] 75s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-sftp-server armhf 1:9.6p1-3ubuntu11 [35.5 kB] 75s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-client armhf 1:9.6p1-3ubuntu11 [890 kB] 75s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-server armhf 1:9.6p1-3ubuntu11 [503 kB] 75s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main armhf linux-headers-6.8.0-20 all 6.8.0-20.20 [13.6 MB] 75s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main armhf linux-headers-6.8.0-20-generic armhf 6.8.0-20.20 [1287 kB] 75s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main armhf linux-headers-generic armhf 6.8.0-20.20+1 [9610 B] 75s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssl3t64 armhf 3.0.13-0ubuntu2 [1558 kB] 75s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnss-systemd armhf 255.4-1ubuntu5 [148 kB] 75s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libudev1 armhf 255.4-1ubuntu5 [166 kB] 75s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd armhf 255.4-1ubuntu5 [3502 kB] 75s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main armhf udev armhf 255.4-1ubuntu5 [1852 kB] 75s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-sysv armhf 255.4-1ubuntu5 [11.9 kB] 75s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-systemd armhf 255.4-1ubuntu5 [216 kB] 75s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd0 armhf 255.4-1ubuntu5 [410 kB] 75s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules-bin armhf 1.5.3-5ubuntu3 [47.0 kB] 75s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules armhf 1.5.3-5ubuntu3 [261 kB] 75s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-runtime all 1.5.3-5ubuntu3 [40.8 kB] 75s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-user-session armhf 1.14.10-4ubuntu2 [9962 B] 75s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapparmor1 armhf 4.0.0-beta3-0ubuntu2 [45.0 kB] 75s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libexpat1 armhf 2.6.1-2 [65.9 kB] 75s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 75s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-bin armhf 1.14.10-4ubuntu2 [37.1 kB] 75s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus armhf 1.14.10-4ubuntu2 [28.1 kB] 75s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-daemon armhf 1.14.10-4ubuntu2 [109 kB] 75s Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdbus-1-3 armhf 1.14.10-4ubuntu2 [190 kB] 75s Get:66 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmount1 armhf 2.39.3-9ubuntu2 [171 kB] 75s Get:67 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libseccomp2 armhf 2.5.5-1ubuntu2 [49.5 kB] 75s Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdevmapper1.02.1 armhf 2:1.02.185-3ubuntu2 [135 kB] 75s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuuid1 armhf 2.39.3-9ubuntu2 [34.4 kB] 75s Get:70 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcryptsetup12 armhf 2:2.7.0-1ubuntu2 [238 kB] 75s Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfdisk1 armhf 2.39.3-9ubuntu2 [196 kB] 75s Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mount armhf 2.39.3-9ubuntu2 [134 kB] 75s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-utils3 armhf 3.1.0-1build1 [16.9 kB] 75s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libvolume-key1 armhf 0.3.12-7build1 [38.4 kB] 75s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjcat1 armhf 0.2.0-2build2 [30.4 kB] 75s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main armhf parted armhf 3.6-3.1build2 [39.4 kB] 75s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libparted2t64 armhf 3.6-3.1build2 [143 kB] 75s Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12 armhf 3.12.2-4build3 [645 kB] 75s Get:79 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12-minimal armhf 3.12.2-4build3 [1942 kB] 75s Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-stdlib armhf 3.12.2-4build3 [1906 kB] 75s Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-minimal armhf 3.12.2-4build3 [816 kB] 75s Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-5ubuntu1 [19.0 kB] 75s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11 armhf 3.11.8-1build4 [589 kB] 76s Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11-minimal armhf 3.11.8-1build4 [1795 kB] 76s Get:85 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-stdlib armhf 3.11.8-1build4 [1810 kB] 76s Get:86 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-minimal armhf 3.11.8-1build4 [826 kB] 76s Get:87 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsqlite3-0 armhf 3.45.1-1ubuntu1 [599 kB] 76s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-iconv-perl armhf 1.7-8build2 [12.7 kB] 76s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-charwidth-perl armhf 0.04-11build2 [8962 B] 76s Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-modules-5.38 all 5.38.2-3.2 [3110 kB] 76s Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdb5.3t64 armhf 5.3.28+dfsg2-6 [661 kB] 76s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gdbm armhf 3.12.2-3ubuntu2 [17.1 kB] 76s Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main armhf man-db armhf 2.12.0-3build4 [1196 kB] 76s Get:94 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm6t64 armhf 1.23-5.1 [30.3 kB] 76s Get:95 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm-compat4t64 armhf 1.23-5.1 [6208 B] 76s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libperl5.38t64 armhf 5.38.2-3.2 [4101 kB] 76s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl armhf 5.38.2-3.2 [231 kB] 76s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-base armhf 5.38.2-3.2 [1671 kB] 76s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblocale-gettext-perl armhf 1.07-6ubuntu4 [15.0 kB] 76s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnettle8t64 armhf 3.9.1-2.2 [187 kB] 76s Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libhogweed6t64 armhf 3.9.1-2.2 [187 kB] 76s Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgnutls30t64 armhf 3.8.3-1.1ubuntu2 [1046 kB] 76s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap2 armhf 2.6.7+dfsg-1~exp1ubuntu6 [172 kB] 76s Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl3t64-gnutls armhf 8.5.0-2ubuntu7 [290 kB] 76s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main armhf shared-mime-info armhf 2.4-1build1 [470 kB] 76s Get:106 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-girepository-2.0 armhf 1.79.1-1ubuntu6 [24.8 kB] 76s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-glib-2.0 armhf 2.79.3-3ubuntu5 [182 kB] 77s Get:108 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgirepository-1.0-1 armhf 1.79.1-1ubuntu6 [106 kB] 77s Get:109 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gi armhf 3.47.0-3build1 [219 kB] 77s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-dbus armhf 1.3.2-5build2 [94.7 kB] 77s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnetplan1 armhf 1.0-1 [113 kB] 77s Get:112 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-netplan armhf 1.0-1 [22.5 kB] 77s Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan-generator armhf 1.0-1 [58.7 kB] 77s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-bin armhf 0.142ubuntu23 [20.3 kB] 77s Get:115 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-core all 0.142ubuntu23 [50.1 kB] 77s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools all 0.142ubuntu23 [9058 B] 77s Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan.io armhf 1.0-1 [64.3 kB] 77s Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmlb2 armhf 0.3.15-1build1 [57.0 kB] 77s Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqrtr-glib0 armhf 1.2.2-1ubuntu3 [15.4 kB] 77s Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-glib5 armhf 1.35.2-0ubuntu1 [908 kB] 77s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-proxy armhf 1.35.2-0ubuntu1 [5732 B] 77s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-agent-1-0 armhf 124-1ubuntu1 [15.3 kB] 77s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-gobject-1-0 armhf 124-1ubuntu1 [44.1 kB] 77s Get:124 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-0t64 armhf 2.79.3-3ubuntu5 [1414 kB] 77s Get:125 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfwupd2 armhf 1.9.15-1 [123 kB] 77s Get:126 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libarchive13t64 armhf 3.7.2-1.1ubuntu2 [330 kB] 77s Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fwupd armhf 1.9.15-1 [4349 kB] 77s Get:128 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt-utils armhf 2.7.14 [210 kB] 77s Get:129 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapt-pkg6.0t64 armhf 2.7.14 [986 kB] 77s Get:130 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt armhf 2.7.14 [1368 kB] 77s Get:131 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client-l10n armhf 31.2.1 [19.4 kB] 77s Get:132 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client armhf 31.2.1 [216 kB] 77s Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main armhf keyboxd armhf 2.4.4-2ubuntu15 [111 kB] 77s Get:134 http://ftpmaster.internal/ubuntu noble/main armhf libnpth0t64 armhf 1.6-3.1 [6940 B] 77s Get:135 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgv armhf 2.4.4-2ubuntu15 [224 kB] 77s Get:136 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg armhf 2.4.4-2ubuntu15 [524 kB] 77s Get:137 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-wks-client armhf 2.4.4-2ubuntu15 [87.4 kB] 77s Get:138 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-utils armhf 2.4.4-2ubuntu15 [158 kB] 77s Get:139 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-agent armhf 2.4.4-2ubuntu15 [235 kB] 77s Get:140 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgsm armhf 2.4.4-2ubuntu15 [241 kB] 77s Get:141 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreadline8t64 armhf 8.2-3.1build1 [129 kB] 77s Get:142 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gawk armhf 1:5.2.1-2build2 [415 kB] 77s Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fdisk armhf 2.39.3-9ubuntu2 [135 kB] 77s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgconf armhf 2.4.4-2ubuntu15 [115 kB] 77s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dirmngr armhf 2.4.4-2ubuntu15 [346 kB] 77s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg all 2.4.4-2ubuntu15 [359 kB] 77s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-apt armhf 2.7.6build1 [162 kB] 77s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main armhf pinentry-curses armhf 1.2.1-3ubuntu4 [36.7 kB] 77s Get:149 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-yaml armhf 6.0.1-2build1 [117 kB] 77s Get:150 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python-apt-common all 2.7.6build1 [19.8 kB] 77s Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-setuptools all 68.1.2-2ubuntu1 [396 kB] 77s Get:152 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pkg-resources all 68.1.2-2ubuntu1 [168 kB] 77s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg armhf 1.22.6ubuntu4 [1229 kB] 77s Get:154 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-minimal armhf 3.12.2-0ubuntu1 [27.1 kB] 77s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3 armhf 3.12.2-0ubuntu1 [24.1 kB] 77s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3-stdlib armhf 3.12.2-0ubuntu1 [9802 B] 77s Get:157 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsmartcols1 armhf 2.39.3-9ubuntu2 [117 kB] 77s Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdextrautils armhf 2.39.3-9ubuntu2 [78.7 kB] 77s Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main armhf groff-base armhf 1.23.0-3build1 [946 kB] 77s Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main armhf readline-common all 8.2-3.1build1 [56.5 kB] 77s Get:161 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgpgme11t64 armhf 1.18.0-4.1ubuntu3 [120 kB] 77s Get:162 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-crypto3 armhf 3.1.0-1build1 [20.3 kB] 77s Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs-l10n all 1.47.0-2.4~exp1ubuntu2 [5996 B] 77s Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main armhf logsave armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 77s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dhcpcd-base armhf 1:10.0.6-1ubuntu2 [186 kB] 77s Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-fs3 armhf 3.1.0-1build1 [34.4 kB] 77s Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreiserfscore0t64 armhf 1:3.6.27-7.1 [66.2 kB] 77s Get:168 http://ftpmaster.internal/ubuntu noble-proposed/main armhf btrfs-progs armhf 6.6.3-1.1build1 [852 kB] 77s Get:169 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libext2fs2t64 armhf 1.47.0-2.4~exp1ubuntu2 [201 kB] 77s Get:170 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs armhf 1.47.0-2.4~exp1ubuntu2 [571 kB] 77s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-loop3 armhf 3.1.0-1build1 [6502 B] 77s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-mdraid3 armhf 3.1.0-1build1 [13.3 kB] 77s Get:173 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-nvme3 armhf 3.1.0-1build1 [17.5 kB] 77s Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnvme1t64 armhf 1.8-3 [67.5 kB] 77s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-part3 armhf 3.1.0-1build1 [16.4 kB] 77s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-swap3 armhf 3.1.0-1build1 [8894 B] 77s Get:177 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev3 armhf 3.1.0-1build1 [42.9 kB] 78s Get:178 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgudev-1.0-0 armhf 1:238-3ubuntu2 [13.6 kB] 78s Get:179 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxml2 armhf 2.9.14+dfsg-1.3ubuntu2 [595 kB] 78s Get:180 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbpf1 armhf 1:1.3.0-2build1 [146 kB] 78s Get:181 http://ftpmaster.internal/ubuntu noble-proposed/main armhf iproute2 armhf 6.1.0-1ubuntu5 [1060 kB] 78s Get:182 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libelf1t64 armhf 0.190-1.1build2 [49.9 kB] 78s Get:183 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc-common all 1.3.4+ds-1.1 [8018 B] 78s Get:184 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lsof armhf 4.95.0-1build2 [248 kB] 78s Get:185 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnsl2 armhf 1.3.0-3build2 [36.5 kB] 78s Get:186 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc3t64 armhf 1.3.4+ds-1.1 [73.2 kB] 78s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-proxy armhf 1.31.2-0ubuntu2 [5748 B] 78s Get:188 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-glib4 armhf 1.31.2-0ubuntu2 [216 kB] 78s Get:189 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-common all 1.8.0-2build1 [4210 B] 78s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-0 armhf 1.8.0-2build1 [61.2 kB] 78s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnghttp2-14 armhf 1.59.0-1build1 [68.1 kB] 78s Get:192 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssh-4 armhf 0.10.6-2build1 [169 kB] 78s Get:193 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libusb-1.0-0 armhf 2:1.0.27-1 [48.7 kB] 78s Get:194 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgusb2 armhf 0.4.8-1build1 [34.6 kB] 78s Get:195 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmm-glib0 armhf 1.23.4-0ubuntu1 [214 kB] 78s Get:196 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libprotobuf-c1 armhf 1.4.1-1ubuntu3 [17.7 kB] 78s Get:197 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-2 armhf 2.1.28+dfsg1-5ubuntu1 [49.7 kB] 78s Get:198 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libibverbs1 armhf 50.0-2build1 [57.9 kB] 78s Get:199 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfido2-1 armhf 1.14.0-1build1 [75.8 kB] 78s Get:200 http://ftpmaster.internal/ubuntu noble-proposed/main armhf coreutils armhf 9.4-3ubuntu3 [1280 kB] 78s Get:201 http://ftpmaster.internal/ubuntu noble-proposed/main armhf util-linux armhf 2.39.3-9ubuntu2 [1216 kB] 78s Get:202 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc-bin armhf 2.39-0ubuntu6 [530 kB] 78s Get:203 http://ftpmaster.internal/ubuntu noble-proposed/main armhf file armhf 1:5.45-3 [21.1 kB] 78s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic-mgc armhf 1:5.45-3 [307 kB] 78s Get:205 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic1t64 armhf 1:5.45-3 [81.4 kB] 78s Get:206 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libplymouth5 armhf 24.004.60-1ubuntu6 [140 kB] 78s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpng16-16t64 armhf 1.6.43-3 [166 kB] 78s Get:208 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-host armhf 1:9.18.24-0ubuntu3 [47.4 kB] 78s Get:209 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-dnsutils armhf 1:9.18.24-0ubuntu3 [149 kB] 78s Get:210 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-libs armhf 1:9.18.24-0ubuntu3 [1148 kB] 79s Get:211 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuv1t64 armhf 1.48.0-1.1 [82.9 kB] 79s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main armhf uuid-runtime armhf 2.39.3-9ubuntu2 [41.7 kB] 79s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdebconfclient0 armhf 0.271ubuntu2 [10.8 kB] 79s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage-common all 3.5-1build4 [10.1 kB] 79s Get:215 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage2 armhf 3.5-1build4 [84.5 kB] 79s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main armhf install-info armhf 7.1-3build1 [60.5 kB] 79s Get:217 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13-base armhf 13.2.0-19ubuntu1 [47.7 kB] 79s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libss2 armhf 1.47.0-2.4~exp1ubuntu2 [14.7 kB] 79s Get:219 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dmsetup armhf 2:1.02.185-3ubuntu2 [81.1 kB] 79s Get:220 http://ftpmaster.internal/ubuntu noble-proposed/main armhf eject armhf 2.39.3-9ubuntu2 [43.2 kB] 79s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main armhf krb5-locales all 1.20.1-5.1ubuntu1 [13.9 kB] 79s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbsd0 armhf 0.12.1-1 [36.6 kB] 79s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 79s Get:224 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libslang2 armhf 2.3.3-3build1 [478 kB] 79s Get:225 http://ftpmaster.internal/ubuntu noble-proposed/main armhf locales all 2.39-0ubuntu6 [4232 kB] 79s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-tiny armhf 2:9.1.0016-1ubuntu5 [665 kB] 79s Get:227 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-common all 2:9.1.0016-1ubuntu5 [385 kB] 79s Get:228 http://ftpmaster.internal/ubuntu noble/main armhf xdg-user-dirs armhf 0.18-1 [17.3 kB] 79s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xxd armhf 2:9.1.0016-1ubuntu5 [62.4 kB] 79s Get:230 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apparmor armhf 4.0.0-beta3-0ubuntu2 [562 kB] 79s Get:231 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ftp all 20230507-2build1 [4724 B] 79s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main armhf inetutils-telnet armhf 2:2.5-3ubuntu3 [90.7 kB] 79s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main armhf info armhf 7.1-3build1 [127 kB] 79s Get:234 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmuu1 armhf 2:1.1.3-3build1 [8004 B] 79s Get:235 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2build2 [310 kB] 79s Get:236 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mtr-tiny armhf 0.95-1.1build1 [51.7 kB] 79s Get:237 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-1ubuntu6 [9818 B] 79s Get:238 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth armhf 24.004.60-1ubuntu6 [142 kB] 79s Get:239 http://ftpmaster.internal/ubuntu noble-proposed/main armhf psmisc armhf 23.7-1 [176 kB] 79s Get:240 http://ftpmaster.internal/ubuntu noble-proposed/main armhf telnet all 0.17+2.5-3ubuntu3 [3682 B] 79s Get:241 http://ftpmaster.internal/ubuntu noble-proposed/main armhf usb.ids all 2024.03.18-1 [223 kB] 79s Get:242 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xz-utils armhf 5.6.0-0.2 [271 kB] 79s Get:243 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libctf0 armhf 2.42-4ubuntu1 [87.7 kB] 79s Get:244 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libctf-nobfd0 armhf 2.42-4ubuntu1 [88.0 kB] 79s Get:245 http://ftpmaster.internal/ubuntu noble-proposed/main armhf binutils-arm-linux-gnueabihf armhf 2.42-4ubuntu1 [2925 kB] 79s Get:246 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbinutils armhf 2.42-4ubuntu1 [464 kB] 79s Get:247 http://ftpmaster.internal/ubuntu noble-proposed/main armhf binutils armhf 2.42-4ubuntu1 [3078 B] 79s Get:248 http://ftpmaster.internal/ubuntu noble-proposed/main armhf binutils-common armhf 2.42-4ubuntu1 [217 kB] 79s Get:249 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsframe1 armhf 2.42-4ubuntu1 [13.1 kB] 79s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bolt armhf 0.9.6-2build1 [138 kB] 79s Get:251 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cryptsetup-bin armhf 2:2.7.0-1ubuntu2 [214 kB] 79s Get:252 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg-dev all 1.22.6ubuntu4 [1074 kB] 79s Get:253 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdpkg-perl all 1.22.6ubuntu4 [268 kB] 79s Get:254 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-l10n all 2.4.4-2ubuntu15 [65.8 kB] 79s Get:255 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ibverbs-providers armhf 50.0-2build1 [27.4 kB] 79s Get:256 http://ftpmaster.internal/ubuntu noble-proposed/main armhf jq armhf 1.7.1-3 [65.2 kB] 79s Get:257 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjq1 armhf 1.7.1-3 [156 kB] 79s Get:258 http://ftpmaster.internal/ubuntu noble/main armhf libatm1t64 armhf 1:2.5.1-5.1 [20.0 kB] 79s Get:259 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libevent-core-2.1-7 armhf 2.1.12-stable-9build1 [82.3 kB] 79s Get:260 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libftdi1-2 armhf 1.5-6build4 [25.7 kB] 79s Get:261 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap-common all 2.6.7+dfsg-1~exp1ubuntu6 [31.3 kB] 79s Get:262 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules armhf 2.1.28+dfsg1-5ubuntu1 [61.3 kB] 79s Get:263 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-lib2to3 all 3.12.2-3ubuntu2 [79.3 kB] 79s Get:264 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pyrsistent armhf 0.20.0-1build1 [53.0 kB] 79s Get:265 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-typing-extensions all 4.10.0-1 [60.7 kB] 79s Get:266 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kpartx armhf 0.9.4-5ubuntu6 [31.5 kB] 80s Preconfiguring packages ... 81s Fetched 106 MB in 6s (18.1 MB/s) 81s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 81s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_armhf.deb ... 81s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 81s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 81s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 81s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_armhf.deb ... 81s Unpacking gcc-14-base:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 81s Setting up gcc-14-base:armhf (14-20240315-1ubuntu1) ... 81s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 81s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_armhf.deb ... 81s Unpacking libgcc-s1:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 81s Setting up libgcc-s1:armhf (14-20240315-1ubuntu1) ... 81s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 81s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_armhf.deb ... 81s Unpacking libstdc++6:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 81s Setting up libstdc++6:armhf (14-20240315-1ubuntu1) ... 81s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 81s Preparing to unpack .../libc6_2.39-0ubuntu6_armhf.deb ... 82s Unpacking libc6:armhf (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 82s Setting up libc6:armhf (2.39-0ubuntu6) ... 83s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 83s Preparing to unpack .../0-libbrotli1_1.1.0-2build1_armhf.deb ... 83s Unpacking libbrotli1:armhf (1.1.0-2build1) over (1.1.0-2) ... 83s Preparing to unpack .../1-libgssapi-krb5-2_1.20.1-5.1ubuntu1_armhf.deb ... 83s Unpacking libgssapi-krb5-2:armhf (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 83s Preparing to unpack .../2-libkrb5-3_1.20.1-5.1ubuntu1_armhf.deb ... 83s Unpacking libkrb5-3:armhf (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 83s Preparing to unpack .../3-libkrb5support0_1.20.1-5.1ubuntu1_armhf.deb ... 83s Unpacking libkrb5support0:armhf (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 83s Preparing to unpack .../4-libk5crypto3_1.20.1-5.1ubuntu1_armhf.deb ... 83s Unpacking libk5crypto3:armhf (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 83s Preparing to unpack .../5-libcom-err2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 83s Unpacking libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 83s Preparing to unpack .../6-zlib1g_1%3a1.3.dfsg-3.1ubuntu1_armhf.deb ... 83s Unpacking zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 83s Setting up zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) ... 83s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 83s Preparing to unpack .../librtmp1_2.4+20151223.gitfa8646d.1-2build6_armhf.deb ... 83s Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) over (2.4+20151223.gitfa8646d.1-2build4) ... 83s Preparing to unpack .../udisks2_2.10.1-6_armhf.deb ... 83s Unpacking udisks2 (2.10.1-6) over (2.10.1-1ubuntu2) ... 83s Preparing to unpack .../libudisks2-0_2.10.1-6_armhf.deb ... 83s Unpacking libudisks2-0:armhf (2.10.1-6) over (2.10.1-1ubuntu2) ... 83s Preparing to unpack .../libblkid1_2.39.3-9ubuntu2_armhf.deb ... 83s Unpacking libblkid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 83s Setting up libblkid1:armhf (2.39.3-9ubuntu2) ... 83s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 83s Preparing to unpack .../liblzma5_5.6.0-0.2_armhf.deb ... 83s Unpacking liblzma5:armhf (5.6.0-0.2) over (5.4.5-0.3) ... 83s Setting up liblzma5:armhf (5.6.0-0.2) ... 83s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 83s Preparing to unpack .../0-kmod_31+20240202-2ubuntu4_armhf.deb ... 83s Unpacking kmod (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 83s dpkg: warning: unable to delete old directory '/lib/modprobe.d': Directory not empty 83s Preparing to unpack .../1-libkmod2_31+20240202-2ubuntu4_armhf.deb ... 83s Unpacking libkmod2:armhf (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 83s Preparing to unpack .../2-systemd-dev_255.4-1ubuntu5_all.deb ... 83s Unpacking systemd-dev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 83s Preparing to unpack .../3-systemd-timesyncd_255.4-1ubuntu5_armhf.deb ... 83s Unpacking systemd-timesyncd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 83s Preparing to unpack .../4-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 83s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 83s Preparing to unpack .../5-libaudit-common_1%3a3.1.2-2.1_all.deb ... 83s Unpacking libaudit-common (1:3.1.2-2.1) over (1:3.1.2-2) ... 84s Setting up libaudit-common (1:3.1.2-2.1) ... 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 84s Preparing to unpack .../libcap-ng0_0.8.4-2build1_armhf.deb ... 84s Unpacking libcap-ng0:armhf (0.8.4-2build1) over (0.8.4-2) ... 84s Setting up libcap-ng0:armhf (0.8.4-2build1) ... 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 84s Preparing to unpack .../libaudit1_1%3a3.1.2-2.1_armhf.deb ... 84s Unpacking libaudit1:armhf (1:3.1.2-2.1) over (1:3.1.2-2) ... 84s Setting up libaudit1:armhf (1:3.1.2-2.1) ... 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 84s Preparing to unpack .../libpam0g_1.5.3-5ubuntu3_armhf.deb ... 84s Unpacking libpam0g:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 84s Setting up libpam0g:armhf (1.5.3-5ubuntu3) ... 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 84s Preparing to unpack .../libselinux1_3.5-2ubuntu1_armhf.deb ... 84s Unpacking libselinux1:armhf (3.5-2ubuntu1) over (3.5-2build1) ... 84s Setting up libselinux1:armhf (3.5-2ubuntu1) ... 84s dpkg: libcurl4:armhf: dependency problems, but removing anyway as you requested: 84s curl depends on libcurl4 (= 8.5.0-2ubuntu2). 84s 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 84s Removing libcurl4:armhf (8.5.0-2ubuntu2) ... 84s Selecting previously unselected package libcurl4t64:armhf. 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58613 files and directories currently installed.) 84s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu7_armhf.deb ... 84s Unpacking libcurl4t64:armhf (8.5.0-2ubuntu7) ... 84s Preparing to unpack .../curl_8.5.0-2ubuntu7_armhf.deb ... 84s Unpacking curl (8.5.0-2ubuntu7) over (8.5.0-2ubuntu2) ... 84s dpkg: libpsl5:armhf: dependency problems, but removing anyway as you requested: 84s wget depends on libpsl5 (>= 0.16.0). 84s libcurl3-gnutls:armhf depends on libpsl5 (>= 0.16.0). 84s 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58619 files and directories currently installed.) 84s Removing libpsl5:armhf (0.21.2-1build1) ... 84s Selecting previously unselected package libpsl5t64:armhf. 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58614 files and directories currently installed.) 84s Preparing to unpack .../libpsl5t64_0.21.2-1.1_armhf.deb ... 84s Unpacking libpsl5t64:armhf (0.21.2-1.1) ... 84s Preparing to unpack .../wget_1.21.4-1ubuntu2_armhf.deb ... 84s Unpacking wget (1.21.4-1ubuntu2) over (1.21.4-1ubuntu1) ... 84s Preparing to unpack .../tnftp_20230507-2build1_armhf.deb ... 84s Unpacking tnftp (20230507-2build1) over (20230507-2) ... 84s dpkg: libpcap0.8:armhf: dependency problems, but removing anyway as you requested: 84s tcpdump depends on libpcap0.8 (>= 1.9.1). 84s 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 84s Removing libpcap0.8:armhf (1.10.4-4ubuntu3) ... 84s Selecting previously unselected package libpcap0.8t64:armhf. 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58609 files and directories currently installed.) 84s Preparing to unpack .../00-libpcap0.8t64_1.10.4-4.1ubuntu1_armhf.deb ... 84s Unpacking libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 85s Preparing to unpack .../01-tcpdump_4.99.4-3ubuntu2_armhf.deb ... 85s Unpacking tcpdump (4.99.4-3ubuntu2) over (4.99.4-3ubuntu1) ... 85s Preparing to unpack .../02-libsystemd-shared_255.4-1ubuntu5_armhf.deb ... 85s Unpacking libsystemd-shared:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 85s Preparing to unpack .../03-systemd-resolved_255.4-1ubuntu5_armhf.deb ... 85s Unpacking systemd-resolved (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 85s Preparing to unpack .../04-sudo_1.9.15p5-3ubuntu3_armhf.deb ... 85s Unpacking sudo (1.9.15p5-3ubuntu3) over (1.9.15p5-3ubuntu1) ... 85s Preparing to unpack .../05-rsync_3.2.7-1build1_armhf.deb ... 85s Unpacking rsync (3.2.7-1build1) over (3.2.7-1) ... 85s Preparing to unpack .../06-python3-cryptography_41.0.7-4build2_armhf.deb ... 85s Unpacking python3-cryptography (41.0.7-4build2) over (41.0.7-3) ... 85s Preparing to unpack .../07-openssl_3.0.13-0ubuntu2_armhf.deb ... 85s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 85s Preparing to unpack .../08-openssh-sftp-server_1%3a9.6p1-3ubuntu11_armhf.deb ... 85s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 85s Preparing to unpack .../09-openssh-client_1%3a9.6p1-3ubuntu11_armhf.deb ... 85s Unpacking openssh-client (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 85s Preparing to unpack .../10-openssh-server_1%3a9.6p1-3ubuntu11_armhf.deb ... 85s Unpacking openssh-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 85s Selecting previously unselected package linux-headers-6.8.0-20. 85s Preparing to unpack .../11-linux-headers-6.8.0-20_6.8.0-20.20_all.deb ... 85s Unpacking linux-headers-6.8.0-20 (6.8.0-20.20) ... 88s Selecting previously unselected package linux-headers-6.8.0-20-generic. 88s Preparing to unpack .../12-linux-headers-6.8.0-20-generic_6.8.0-20.20_armhf.deb ... 88s Unpacking linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 90s Preparing to unpack .../13-linux-headers-generic_6.8.0-20.20+1_armhf.deb ... 90s Unpacking linux-headers-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 90s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 89772 files and directories currently installed.) 90s Removing linux-headers-6.8.0-11-generic (6.8.0-11.11) ... 90s dpkg: libssl3:armhf: dependency problems, but removing anyway as you requested: 90s systemd depends on libssl3 (>= 3.0.0). 90s libssh-4:armhf depends on libssl3 (>= 3.0.0). 90s libsasl2-modules:armhf depends on libssl3 (>= 3.0.0). 90s libsasl2-2:armhf depends on libssl3 (>= 3.0.0). 90s libpython3.12-minimal:armhf depends on libssl3 (>= 3.0.0). 90s libpython3.11-minimal:armhf depends on libssl3 (>= 3.0.0). 90s libnvme1 depends on libssl3 (>= 3.0.0). 90s libfido2-1:armhf depends on libssl3 (>= 3.0.0). 90s libcryptsetup12:armhf depends on libssl3 (>= 3.0.0). 90s dhcpcd-base depends on libssl3 (>= 3.0.0). 90s bind9-libs:armhf depends on libssl3 (>= 3.0.0). 90s 90s Removing libssl3:armhf (3.0.10-1ubuntu4) ... 91s Selecting previously unselected package libssl3t64:armhf. 91s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78622 files and directories currently installed.) 91s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_armhf.deb ... 91s Unpacking libssl3t64:armhf (3.0.13-0ubuntu2) ... 91s Setting up libssl3t64:armhf (3.0.13-0ubuntu2) ... 91s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78635 files and directories currently installed.) 91s Preparing to unpack .../libnss-systemd_255.4-1ubuntu5_armhf.deb ... 91s Unpacking libnss-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 91s Preparing to unpack .../libudev1_255.4-1ubuntu5_armhf.deb ... 91s Unpacking libudev1:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 91s Setting up libudev1:armhf (255.4-1ubuntu5) ... 91s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78635 files and directories currently installed.) 91s Preparing to unpack .../systemd_255.4-1ubuntu5_armhf.deb ... 91s Unpacking systemd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 92s Preparing to unpack .../udev_255.4-1ubuntu5_armhf.deb ... 92s Unpacking udev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 92s Preparing to unpack .../libsystemd0_255.4-1ubuntu5_armhf.deb ... 92s Unpacking libsystemd0:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 93s Setting up libsystemd0:armhf (255.4-1ubuntu5) ... 93s Setting up libkmod2:armhf (31+20240202-2ubuntu4) ... 93s Setting up libsystemd-shared:armhf (255.4-1ubuntu5) ... 93s Setting up systemd-dev (255.4-1ubuntu5) ... 93s Setting up systemd (255.4-1ubuntu5) ... 93s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78635 files and directories currently installed.) 93s Preparing to unpack .../systemd-sysv_255.4-1ubuntu5_armhf.deb ... 93s Unpacking systemd-sysv (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 93s Preparing to unpack .../libpam-systemd_255.4-1ubuntu5_armhf.deb ... 93s Unpacking libpam-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 93s Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu3_armhf.deb ... 93s Unpacking libpam-modules-bin (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 93s Setting up libpam-modules-bin (1.5.3-5ubuntu3) ... 94s pam_namespace.service is a disabled or a static unit not running, not starting it. 94s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78635 files and directories currently installed.) 94s Preparing to unpack .../libpam-modules_1.5.3-5ubuntu3_armhf.deb ... 94s Unpacking libpam-modules:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 94s Setting up libpam-modules:armhf (1.5.3-5ubuntu3) ... 94s Installing new version of config file /etc/security/namespace.init ... 94s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78633 files and directories currently installed.) 94s Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu3_all.deb ... 94s Unpacking libpam-runtime (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 94s Setting up libpam-runtime (1.5.3-5ubuntu3) ... 94s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78633 files and directories currently installed.) 94s Preparing to unpack .../0-dbus-user-session_1.14.10-4ubuntu2_armhf.deb ... 94s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 94s Preparing to unpack .../1-libapparmor1_4.0.0-beta3-0ubuntu2_armhf.deb ... 94s Unpacking libapparmor1:armhf (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 94s Preparing to unpack .../2-libexpat1_2.6.1-2_armhf.deb ... 94s Unpacking libexpat1:armhf (2.6.1-2) over (2.6.0-1) ... 94s Preparing to unpack .../3-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 94s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 94s Preparing to unpack .../4-dbus-bin_1.14.10-4ubuntu2_armhf.deb ... 94s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 95s Preparing to unpack .../5-dbus_1.14.10-4ubuntu2_armhf.deb ... 95s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 95s Preparing to unpack .../6-dbus-daemon_1.14.10-4ubuntu2_armhf.deb ... 95s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 95s Preparing to unpack .../7-libdbus-1-3_1.14.10-4ubuntu2_armhf.deb ... 95s Unpacking libdbus-1-3:armhf (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 95s Preparing to unpack .../8-libmount1_2.39.3-9ubuntu2_armhf.deb ... 95s Unpacking libmount1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 95s Setting up libmount1:armhf (2.39.3-9ubuntu2) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78633 files and directories currently installed.) 95s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu2_armhf.deb ... 95s Unpacking libseccomp2:armhf (2.5.5-1ubuntu2) over (2.5.5-1ubuntu1) ... 95s Setting up libseccomp2:armhf (2.5.5-1ubuntu2) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78633 files and directories currently installed.) 95s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-3ubuntu2_armhf.deb ... 95s Unpacking libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 95s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_armhf.deb ... 95s Unpacking libuuid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 95s Setting up libuuid1:armhf (2.39.3-9ubuntu2) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78633 files and directories currently installed.) 95s Preparing to unpack .../0-libcryptsetup12_2%3a2.7.0-1ubuntu2_armhf.deb ... 95s Unpacking libcryptsetup12:armhf (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 95s Preparing to unpack .../1-libfdisk1_2.39.3-9ubuntu2_armhf.deb ... 95s Unpacking libfdisk1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 95s Preparing to unpack .../2-mount_2.39.3-9ubuntu2_armhf.deb ... 95s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 95s Preparing to unpack .../3-libblockdev-utils3_3.1.0-1build1_armhf.deb ... 95s Unpacking libblockdev-utils3:armhf (3.1.0-1build1) over (3.1.0-1) ... 95s Preparing to unpack .../4-libvolume-key1_0.3.12-7build1_armhf.deb ... 95s Unpacking libvolume-key1:armhf (0.3.12-7build1) over (0.3.12-5build2) ... 95s Preparing to unpack .../5-libjcat1_0.2.0-2build2_armhf.deb ... 95s Unpacking libjcat1:armhf (0.2.0-2build2) over (0.2.0-2) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78633 files and directories currently installed.) 95s Removing libgpgme11:armhf (1.18.0-4ubuntu1) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78627 files and directories currently installed.) 95s Preparing to unpack .../parted_3.6-3.1build2_armhf.deb ... 95s Unpacking parted (3.6-3.1build2) over (3.6-3) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78627 files and directories currently installed.) 95s Removing libparted2:armhf (3.6-3) ... 95s Selecting previously unselected package libparted2t64:armhf. 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78621 files and directories currently installed.) 95s Preparing to unpack .../00-libparted2t64_3.6-3.1build2_armhf.deb ... 95s Unpacking libparted2t64:armhf (3.6-3.1build2) ... 96s Preparing to unpack .../01-python3.12_3.12.2-4build3_armhf.deb ... 96s Unpacking python3.12 (3.12.2-4build3) over (3.12.2-1) ... 96s Preparing to unpack .../02-python3.12-minimal_3.12.2-4build3_armhf.deb ... 96s Unpacking python3.12-minimal (3.12.2-4build3) over (3.12.2-1) ... 96s Preparing to unpack .../03-libpython3.12-stdlib_3.12.2-4build3_armhf.deb ... 96s Unpacking libpython3.12-stdlib:armhf (3.12.2-4build3) over (3.12.2-1) ... 96s Preparing to unpack .../04-libpython3.12-minimal_3.12.2-4build3_armhf.deb ... 96s Unpacking libpython3.12-minimal:armhf (3.12.2-4build3) over (3.12.2-1) ... 97s Preparing to unpack .../05-libsasl2-modules-db_2.1.28+dfsg1-5ubuntu1_armhf.deb ... 97s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 97s Preparing to unpack .../06-python3.11_3.11.8-1build4_armhf.deb ... 97s Unpacking python3.11 (3.11.8-1build4) over (3.11.8-1) ... 97s Preparing to unpack .../07-python3.11-minimal_3.11.8-1build4_armhf.deb ... 97s Unpacking python3.11-minimal (3.11.8-1build4) over (3.11.8-1) ... 97s Preparing to unpack .../08-libpython3.11-stdlib_3.11.8-1build4_armhf.deb ... 97s Unpacking libpython3.11-stdlib:armhf (3.11.8-1build4) over (3.11.8-1) ... 97s Preparing to unpack .../09-libpython3.11-minimal_3.11.8-1build4_armhf.deb ... 97s Unpacking libpython3.11-minimal:armhf (3.11.8-1build4) over (3.11.8-1) ... 98s Preparing to unpack .../10-libsqlite3-0_3.45.1-1ubuntu1_armhf.deb ... 98s Unpacking libsqlite3-0:armhf (3.45.1-1ubuntu1) over (3.45.1-1) ... 98s Preparing to unpack .../11-libtext-iconv-perl_1.7-8build2_armhf.deb ... 98s Unpacking libtext-iconv-perl:armhf (1.7-8build2) over (1.7-8build1) ... 98s Preparing to unpack .../12-libtext-charwidth-perl_0.04-11build2_armhf.deb ... 98s Unpacking libtext-charwidth-perl:armhf (0.04-11build2) over (0.04-11build1) ... 98s Preparing to unpack .../13-perl-modules-5.38_5.38.2-3.2_all.deb ... 98s Unpacking perl-modules-5.38 (5.38.2-3.2) over (5.38.2-3) ... 99s dpkg: libperl5.38:armhf: dependency problems, but removing anyway as you requested: 99s perl depends on libperl5.38 (= 5.38.2-3). 99s 99s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78624 files and directories currently installed.) 99s Removing libperl5.38:armhf (5.38.2-3) ... 99s dpkg: libdb5.3:armhf: dependency problems, but removing anyway as you requested: 99s iproute2 depends on libdb5.3. 99s apt-utils depends on libdb5.3. 99s 99s Removing libdb5.3:armhf (5.3.28+dfsg2-4) ... 99s Selecting previously unselected package libdb5.3t64:armhf. 99s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78099 files and directories currently installed.) 99s Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-6_armhf.deb ... 99s Unpacking libdb5.3t64:armhf (5.3.28+dfsg2-6) ... 99s Preparing to unpack .../python3-gdbm_3.12.2-3ubuntu2_armhf.deb ... 99s Unpacking python3-gdbm:armhf (3.12.2-3ubuntu2) over (3.11.5-1) ... 99s Preparing to unpack .../man-db_2.12.0-3build4_armhf.deb ... 99s Unpacking man-db (2.12.0-3build4) over (2.12.0-3) ... 99s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78105 files and directories currently installed.) 99s Removing libgdbm-compat4:armhf (1.23-5) ... 99s Removing libgdbm6:armhf (1.23-5) ... 99s Selecting previously unselected package libgdbm6t64:armhf. 99s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78095 files and directories currently installed.) 99s Preparing to unpack .../libgdbm6t64_1.23-5.1_armhf.deb ... 99s Unpacking libgdbm6t64:armhf (1.23-5.1) ... 99s Selecting previously unselected package libgdbm-compat4t64:armhf. 100s Preparing to unpack .../libgdbm-compat4t64_1.23-5.1_armhf.deb ... 100s Unpacking libgdbm-compat4t64:armhf (1.23-5.1) ... 100s Selecting previously unselected package libperl5.38t64:armhf. 100s Preparing to unpack .../libperl5.38t64_5.38.2-3.2_armhf.deb ... 100s Unpacking libperl5.38t64:armhf (5.38.2-3.2) ... 100s Preparing to unpack .../perl_5.38.2-3.2_armhf.deb ... 100s Unpacking perl (5.38.2-3.2) over (5.38.2-3) ... 101s Preparing to unpack .../perl-base_5.38.2-3.2_armhf.deb ... 101s Unpacking perl-base (5.38.2-3.2) over (5.38.2-3) ... 101s Setting up perl-base (5.38.2-3.2) ... 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78626 files and directories currently installed.) 101s Preparing to unpack .../liblocale-gettext-perl_1.07-6ubuntu4_armhf.deb ... 101s Unpacking liblocale-gettext-perl (1.07-6ubuntu4) over (1.07-6build1) ... 101s dpkg: libnettle8:armhf: dependency problems, but removing anyway as you requested: 101s libhogweed6:armhf depends on libnettle8. 101s libgnutls30:armhf depends on libnettle8 (>= 3.9~). 101s libcurl3-gnutls:armhf depends on libnettle8. 101s libarchive13:armhf depends on libnettle8. 101s 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78626 files and directories currently installed.) 101s Removing libnettle8:armhf (3.9.1-2) ... 101s Selecting previously unselected package libnettle8t64:armhf. 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78619 files and directories currently installed.) 101s Preparing to unpack .../libnettle8t64_3.9.1-2.2_armhf.deb ... 101s Unpacking libnettle8t64:armhf (3.9.1-2.2) ... 101s Setting up libnettle8t64:armhf (3.9.1-2.2) ... 101s dpkg: libhogweed6:armhf: dependency problems, but removing anyway as you requested: 101s libgnutls30:armhf depends on libhogweed6 (>= 3.6). 101s 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78627 files and directories currently installed.) 101s Removing libhogweed6:armhf (3.9.1-2) ... 101s Selecting previously unselected package libhogweed6t64:armhf. 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78622 files and directories currently installed.) 101s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_armhf.deb ... 101s Unpacking libhogweed6t64:armhf (3.9.1-2.2) ... 101s Setting up libhogweed6t64:armhf (3.9.1-2.2) ... 101s dpkg: libgnutls30:armhf: dependency problems, but removing anyway as you requested: 101s libldap2:armhf depends on libgnutls30 (>= 3.8.2). 101s libcurl3-gnutls:armhf depends on libgnutls30 (>= 3.8.2). 101s fwupd depends on libgnutls30 (>= 3.7.3). 101s dirmngr depends on libgnutls30 (>= 3.8.1). 101s apt depends on libgnutls30 (>= 3.8.1). 101s 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78628 files and directories currently installed.) 101s Removing libgnutls30:armhf (3.8.3-1ubuntu1) ... 101s Selecting previously unselected package libgnutls30t64:armhf. 102s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78619 files and directories currently installed.) 102s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_armhf.deb ... 102s Unpacking libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 102s Setting up libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 102s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78647 files and directories currently installed.) 102s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu6_armhf.deb ... 102s Unpacking libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 102s dpkg: libcurl3-gnutls:armhf: dependency problems, but removing anyway as you requested: 102s libfwupd2:armhf depends on libcurl3-gnutls (>= 7.63.0). 102s fwupd depends on libcurl3-gnutls (>= 7.63.0). 102s 102s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78647 files and directories currently installed.) 102s Removing libcurl3-gnutls:armhf (8.5.0-2ubuntu2) ... 102s Selecting previously unselected package libcurl3t64-gnutls:armhf. 102s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78640 files and directories currently installed.) 102s Preparing to unpack .../00-libcurl3t64-gnutls_8.5.0-2ubuntu7_armhf.deb ... 102s Unpacking libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 102s Preparing to unpack .../01-shared-mime-info_2.4-1build1_armhf.deb ... 102s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 102s Preparing to unpack .../02-gir1.2-girepository-2.0_1.79.1-1ubuntu6_armhf.deb ... 102s Unpacking gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 102s Preparing to unpack .../03-gir1.2-glib-2.0_2.79.3-3ubuntu5_armhf.deb ... 102s Unpacking gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 102s Preparing to unpack .../04-libgirepository-1.0-1_1.79.1-1ubuntu6_armhf.deb ... 102s Unpacking libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 102s Preparing to unpack .../05-python3-gi_3.47.0-3build1_armhf.deb ... 102s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 102s Preparing to unpack .../06-python3-dbus_1.3.2-5build2_armhf.deb ... 103s Unpacking python3-dbus (1.3.2-5build2) over (1.3.2-5build1) ... 103s Selecting previously unselected package libnetplan1:armhf. 103s Preparing to unpack .../07-libnetplan1_1.0-1_armhf.deb ... 103s Unpacking libnetplan1:armhf (1.0-1) ... 103s Preparing to unpack .../08-python3-netplan_1.0-1_armhf.deb ... 103s Unpacking python3-netplan (1.0-1) over (0.107.1-3) ... 103s Preparing to unpack .../09-netplan-generator_1.0-1_armhf.deb ... 103s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 103s Unpacking netplan-generator (1.0-1) over (0.107.1-3) ... 103s Preparing to unpack .../10-initramfs-tools-bin_0.142ubuntu23_armhf.deb ... 103s Unpacking initramfs-tools-bin (0.142ubuntu23) over (0.142ubuntu20) ... 103s Preparing to unpack .../11-initramfs-tools-core_0.142ubuntu23_all.deb ... 103s Unpacking initramfs-tools-core (0.142ubuntu23) over (0.142ubuntu20) ... 103s Preparing to unpack .../12-initramfs-tools_0.142ubuntu23_all.deb ... 103s Unpacking initramfs-tools (0.142ubuntu23) over (0.142ubuntu20) ... 103s Preparing to unpack .../13-netplan.io_1.0-1_armhf.deb ... 103s Unpacking netplan.io (1.0-1) over (0.107.1-3) ... 103s Preparing to unpack .../14-libxmlb2_0.3.15-1build1_armhf.deb ... 103s Unpacking libxmlb2:armhf (0.3.15-1build1) over (0.3.15-1) ... 103s Preparing to unpack .../15-libqrtr-glib0_1.2.2-1ubuntu3_armhf.deb ... 103s Unpacking libqrtr-glib0:armhf (1.2.2-1ubuntu3) over (1.2.2-1ubuntu2) ... 103s Preparing to unpack .../16-libqmi-glib5_1.35.2-0ubuntu1_armhf.deb ... 103s Unpacking libqmi-glib5:armhf (1.35.2-0ubuntu1) over (1.34.0-2) ... 103s Preparing to unpack .../17-libqmi-proxy_1.35.2-0ubuntu1_armhf.deb ... 103s Unpacking libqmi-proxy (1.35.2-0ubuntu1) over (1.34.0-2) ... 103s Preparing to unpack .../18-libpolkit-agent-1-0_124-1ubuntu1_armhf.deb ... 103s Unpacking libpolkit-agent-1-0:armhf (124-1ubuntu1) over (124-1) ... 103s Preparing to unpack .../19-libpolkit-gobject-1-0_124-1ubuntu1_armhf.deb ... 103s Unpacking libpolkit-gobject-1-0:armhf (124-1ubuntu1) over (124-1) ... 103s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78651 files and directories currently installed.) 103s Removing libnetplan0:armhf (0.107.1-3) ... 103s dpkg: libglib2.0-0:armhf: dependency problems, but removing anyway as you requested: 103s libmm-glib0:armhf depends on libglib2.0-0 (>= 2.62.0). 103s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 103s libmbim-glib4:armhf depends on libglib2.0-0 (>= 2.56). 103s libjson-glib-1.0-0:armhf depends on libglib2.0-0 (>= 2.75.3). 103s libgusb2:armhf depends on libglib2.0-0 (>= 2.75.3). 103s libgudev-1.0-0:armhf depends on libglib2.0-0 (>= 2.38.0). 103s libfwupd2:armhf depends on libglib2.0-0 (>= 2.79.0). 103s libblockdev3:armhf depends on libglib2.0-0 (>= 2.42.2). 103s libblockdev-swap3:armhf depends on libglib2.0-0 (>= 2.42.2). 103s libblockdev-part3:armhf depends on libglib2.0-0 (>= 2.42.2). 103s libblockdev-nvme3:armhf depends on libglib2.0-0 (>= 2.42.2). 103s libblockdev-mdraid3:armhf depends on libglib2.0-0 (>= 2.42.2). 103s libblockdev-loop3:armhf depends on libglib2.0-0 (>= 2.42.2). 103s libblockdev-fs3:armhf depends on libglib2.0-0 (>= 2.42.2). 103s libblockdev-crypto3:armhf depends on libglib2.0-0 (>= 2.42.2). 103s fwupd depends on libglib2.0-0 (>= 2.79.0). 103s bolt depends on libglib2.0-0 (>= 2.56.0). 103s 103s Removing libglib2.0-0:armhf (2.79.2-1~ubuntu1) ... 103s Selecting previously unselected package libglib2.0-0t64:armhf. 103s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78622 files and directories currently installed.) 103s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_armhf.deb ... 103s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:armhf.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 103s removed '/var/lib/dpkg/info/libglib2.0-0:armhf.postrm' 103s Unpacking libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 103s Preparing to unpack .../libfwupd2_1.9.15-1_armhf.deb ... 103s Unpacking libfwupd2:armhf (1.9.15-1) over (1.9.14-1) ... 103s dpkg: libarchive13:armhf: dependency problems, but removing anyway as you requested: 103s fwupd depends on libarchive13 (>= 3.2.1). 103s 103s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78647 files and directories currently installed.) 103s Removing libarchive13:armhf (3.7.2-1ubuntu2) ... 104s Selecting previously unselected package libarchive13t64:armhf. 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78641 files and directories currently installed.) 104s Preparing to unpack .../libarchive13t64_3.7.2-1.1ubuntu2_armhf.deb ... 104s Unpacking libarchive13t64:armhf (3.7.2-1.1ubuntu2) ... 104s Preparing to unpack .../fwupd_1.9.15-1_armhf.deb ... 104s Unpacking fwupd (1.9.15-1) over (1.9.14-1) ... 104s Preparing to unpack .../apt-utils_2.7.14_armhf.deb ... 104s Unpacking apt-utils (2.7.14) over (2.7.12) ... 104s dpkg: libapt-pkg6.0:armhf: dependency problems, but removing anyway as you requested: 104s ubuntu-pro-client depends on libapt-pkg6.0 (>= 1.9~). 104s python3-apt depends on libapt-pkg6.0 (>= 2.7.11). 104s apt depends on libapt-pkg6.0 (>= 2.7.12). 104s 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78648 files and directories currently installed.) 104s Removing libapt-pkg6.0:armhf (2.7.12) ... 104s Selecting previously unselected package libapt-pkg6.0t64:armhf. 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78599 files and directories currently installed.) 104s Preparing to unpack .../libapt-pkg6.0t64_2.7.14_armhf.deb ... 104s Unpacking libapt-pkg6.0t64:armhf (2.7.14) ... 104s Setting up libapt-pkg6.0t64:armhf (2.7.14) ... 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78649 files and directories currently installed.) 104s Preparing to unpack .../archives/apt_2.7.14_armhf.deb ... 104s Unpacking apt (2.7.14) over (2.7.12) ... 104s Setting up apt (2.7.14) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78649 files and directories currently installed.) 105s Preparing to unpack .../ubuntu-pro-client-l10n_31.2.1_armhf.deb ... 105s Unpacking ubuntu-pro-client-l10n (31.2.1) over (31.1) ... 105s Preparing to unpack .../ubuntu-pro-client_31.2.1_armhf.deb ... 105s Unpacking ubuntu-pro-client (31.2.1) over (31.1) ... 105s Preparing to unpack .../keyboxd_2.4.4-2ubuntu15_armhf.deb ... 105s Unpacking keyboxd (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 105s dpkg: libnpth0:armhf: dependency problems, but removing anyway as you requested: 105s gpgv depends on libnpth0 (>= 0.90). 105s gpgsm depends on libnpth0 (>= 0.90). 105s gpg-agent depends on libnpth0 (>= 0.90). 105s gpg depends on libnpth0 (>= 0.90). 105s dirmngr depends on libnpth0 (>= 0.90). 105s 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78649 files and directories currently installed.) 105s Removing libnpth0:armhf (1.6-3build2) ... 105s Selecting previously unselected package libnpth0t64:armhf. 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78644 files and directories currently installed.) 105s Preparing to unpack .../libnpth0t64_1.6-3.1_armhf.deb ... 105s Unpacking libnpth0t64:armhf (1.6-3.1) ... 105s Setting up libnpth0t64:armhf (1.6-3.1) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78650 files and directories currently installed.) 105s Preparing to unpack .../gpgv_2.4.4-2ubuntu15_armhf.deb ... 105s Unpacking gpgv (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 105s Setting up gpgv (2.4.4-2ubuntu15) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78650 files and directories currently installed.) 106s Preparing to unpack .../gpg_2.4.4-2ubuntu15_armhf.deb ... 106s Unpacking gpg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 106s Preparing to unpack .../gpg-wks-client_2.4.4-2ubuntu15_armhf.deb ... 106s Unpacking gpg-wks-client (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 106s Preparing to unpack .../gnupg-utils_2.4.4-2ubuntu15_armhf.deb ... 106s Unpacking gnupg-utils (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 106s Preparing to unpack .../gpg-agent_2.4.4-2ubuntu15_armhf.deb ... 106s Unpacking gpg-agent (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 106s Preparing to unpack .../gpgsm_2.4.4-2ubuntu15_armhf.deb ... 106s Unpacking gpgsm (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 106s dpkg: libreadline8:armhf: dependency problems, but removing anyway as you requested: 106s gpgconf depends on libreadline8 (>= 6.0). 106s gawk depends on libreadline8 (>= 6.0). 106s fdisk depends on libreadline8 (>= 6.0). 106s 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78650 files and directories currently installed.) 106s Removing libreadline8:armhf (8.2-3) ... 106s Selecting previously unselected package libreadline8t64:armhf. 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78638 files and directories currently installed.) 106s Preparing to unpack .../libreadline8t64_8.2-3.1build1_armhf.deb ... 106s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 106s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 106s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 106s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 106s Unpacking libreadline8t64:armhf (8.2-3.1build1) ... 106s Setting up libreadline8t64:armhf (8.2-3.1build1) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78658 files and directories currently installed.) 106s Preparing to unpack .../00-gawk_1%3a5.2.1-2build2_armhf.deb ... 106s Unpacking gawk (1:5.2.1-2build2) over (1:5.2.1-2) ... 106s Preparing to unpack .../01-fdisk_2.39.3-9ubuntu2_armhf.deb ... 106s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 106s Preparing to unpack .../02-gpgconf_2.4.4-2ubuntu15_armhf.deb ... 106s Unpacking gpgconf (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 106s Preparing to unpack .../03-dirmngr_2.4.4-2ubuntu15_armhf.deb ... 106s Unpacking dirmngr (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 106s Preparing to unpack .../04-gnupg_2.4.4-2ubuntu15_all.deb ... 106s Unpacking gnupg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 106s Preparing to unpack .../05-python3-apt_2.7.6build1_armhf.deb ... 106s Unpacking python3-apt (2.7.6build1) over (2.7.6) ... 107s Preparing to unpack .../06-pinentry-curses_1.2.1-3ubuntu4_armhf.deb ... 107s Unpacking pinentry-curses (1.2.1-3ubuntu4) over (1.2.1-3ubuntu1) ... 107s Preparing to unpack .../07-python3-yaml_6.0.1-2build1_armhf.deb ... 107s Unpacking python3-yaml (6.0.1-2build1) over (6.0.1-2) ... 107s Preparing to unpack .../08-python-apt-common_2.7.6build1_all.deb ... 107s Unpacking python-apt-common (2.7.6build1) over (2.7.6) ... 107s Preparing to unpack .../09-python3-setuptools_68.1.2-2ubuntu1_all.deb ... 107s Unpacking python3-setuptools (68.1.2-2ubuntu1) over (68.1.2-2) ... 107s Preparing to unpack .../10-python3-pkg-resources_68.1.2-2ubuntu1_all.deb ... 107s Unpacking python3-pkg-resources (68.1.2-2ubuntu1) over (68.1.2-2) ... 107s Preparing to unpack .../11-dpkg_1.22.6ubuntu4_armhf.deb ... 107s Unpacking dpkg (1.22.6ubuntu4) over (1.22.4ubuntu5) ... 108s Setting up dpkg (1.22.6ubuntu4) ... 108s Setting up libpython3.12-minimal:armhf (3.12.2-4build3) ... 108s Setting up libexpat1:armhf (2.6.1-2) ... 108s Setting up python3.12-minimal (3.12.2-4build3) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78655 files and directories currently installed.) 109s Preparing to unpack .../python3-minimal_3.12.2-0ubuntu1_armhf.deb ... 109s Unpacking python3-minimal (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 109s Setting up python3-minimal (3.12.2-0ubuntu1) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78655 files and directories currently installed.) 109s Preparing to unpack .../python3_3.12.2-0ubuntu1_armhf.deb ... 110s Unpacking python3 (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 110s Preparing to unpack .../libpython3-stdlib_3.12.2-0ubuntu1_armhf.deb ... 110s Unpacking libpython3-stdlib:armhf (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 110s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_armhf.deb ... 110s Unpacking libsmartcols1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 110s Setting up libsmartcols1:armhf (2.39.3-9ubuntu2) ... 110s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78655 files and directories currently installed.) 110s Preparing to unpack .../0-bsdextrautils_2.39.3-9ubuntu2_armhf.deb ... 110s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 110s Preparing to unpack .../1-groff-base_1.23.0-3build1_armhf.deb ... 110s Unpacking groff-base (1.23.0-3build1) over (1.23.0-3) ... 110s Preparing to unpack .../2-readline-common_8.2-3.1build1_all.deb ... 110s Unpacking readline-common (8.2-3.1build1) over (8.2-3) ... 110s Selecting previously unselected package libgpgme11t64:armhf. 110s Preparing to unpack .../3-libgpgme11t64_1.18.0-4.1ubuntu3_armhf.deb ... 110s Unpacking libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 110s Preparing to unpack .../4-libblockdev-crypto3_3.1.0-1build1_armhf.deb ... 110s Unpacking libblockdev-crypto3:armhf (3.1.0-1build1) over (3.1.0-1) ... 110s Preparing to unpack .../5-e2fsprogs-l10n_1.47.0-2.4~exp1ubuntu2_all.deb ... 110s Unpacking e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 110s Preparing to unpack .../6-logsave_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 110s Unpacking logsave (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 110s Preparing to unpack .../7-dhcpcd-base_1%3a10.0.6-1ubuntu2_armhf.deb ... 110s Unpacking dhcpcd-base (1:10.0.6-1ubuntu2) over (1:10.0.6-1ubuntu1) ... 110s Preparing to unpack .../8-libblockdev-fs3_3.1.0-1build1_armhf.deb ... 110s Unpacking libblockdev-fs3:armhf (3.1.0-1build1) over (3.1.0-1) ... 110s dpkg: libreiserfscore0: dependency problems, but removing anyway as you requested: 110s btrfs-progs depends on libreiserfscore0 (>= 1:3.6.27). 110s 110s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78662 files and directories currently installed.) 110s Removing libreiserfscore0 (1:3.6.27-7) ... 110s Selecting previously unselected package libreiserfscore0t64. 110s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78657 files and directories currently installed.) 110s Preparing to unpack .../libreiserfscore0t64_1%3a3.6.27-7.1_armhf.deb ... 110s Unpacking libreiserfscore0t64 (1:3.6.27-7.1) ... 110s Preparing to unpack .../btrfs-progs_6.6.3-1.1build1_armhf.deb ... 110s Unpacking btrfs-progs (6.6.3-1.1build1) over (6.6.3-1.1) ... 110s dpkg: libext2fs2:armhf: dependency problems, but removing anyway as you requested: 110s e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). 110s 110s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78663 files and directories currently installed.) 110s Removing libext2fs2:armhf (1.47.0-2ubuntu1) ... 110s Selecting previously unselected package libext2fs2t64:armhf. 110s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78656 files and directories currently installed.) 110s Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 110s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 110s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 110s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 110s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 110s Unpacking libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 110s Setting up libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) ... 110s Setting up libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78672 files and directories currently installed.) 111s Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 111s Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 111s Preparing to unpack .../libblockdev-loop3_3.1.0-1build1_armhf.deb ... 111s Unpacking libblockdev-loop3:armhf (3.1.0-1build1) over (3.1.0-1) ... 111s Preparing to unpack .../libblockdev-mdraid3_3.1.0-1build1_armhf.deb ... 111s Unpacking libblockdev-mdraid3:armhf (3.1.0-1build1) over (3.1.0-1) ... 111s Preparing to unpack .../libblockdev-nvme3_3.1.0-1build1_armhf.deb ... 111s Unpacking libblockdev-nvme3:armhf (3.1.0-1build1) over (3.1.0-1) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78672 files and directories currently installed.) 111s Removing libnvme1 (1.8-2) ... 111s Selecting previously unselected package libnvme1t64. 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78665 files and directories currently installed.) 111s Preparing to unpack .../0-libnvme1t64_1.8-3_armhf.deb ... 111s Unpacking libnvme1t64 (1.8-3) ... 111s Preparing to unpack .../1-libblockdev-part3_3.1.0-1build1_armhf.deb ... 111s Unpacking libblockdev-part3:armhf (3.1.0-1build1) over (3.1.0-1) ... 111s Preparing to unpack .../2-libblockdev-swap3_3.1.0-1build1_armhf.deb ... 111s Unpacking libblockdev-swap3:armhf (3.1.0-1build1) over (3.1.0-1) ... 111s Preparing to unpack .../3-libblockdev3_3.1.0-1build1_armhf.deb ... 111s Unpacking libblockdev3:armhf (3.1.0-1build1) over (3.1.0-1) ... 111s Preparing to unpack .../4-libgudev-1.0-0_1%3a238-3ubuntu2_armhf.deb ... 111s Unpacking libgudev-1.0-0:armhf (1:238-3ubuntu2) over (1:238-3) ... 111s Preparing to unpack .../5-libxml2_2.9.14+dfsg-1.3ubuntu2_armhf.deb ... 111s Unpacking libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) over (2.9.14+dfsg-1.3ubuntu1) ... 111s Preparing to unpack .../6-libbpf1_1%3a1.3.0-2build1_armhf.deb ... 111s Unpacking libbpf1:armhf (1:1.3.0-2build1) over (1:1.3.0-2) ... 111s Preparing to unpack .../7-iproute2_6.1.0-1ubuntu5_armhf.deb ... 111s Unpacking iproute2 (6.1.0-1ubuntu5) over (6.1.0-1ubuntu2) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78673 files and directories currently installed.) 112s Removing libelf1:armhf (0.190-1) ... 112s Selecting previously unselected package libelf1t64:armhf. 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78668 files and directories currently installed.) 112s Preparing to unpack .../libelf1t64_0.190-1.1build2_armhf.deb ... 112s Unpacking libelf1t64:armhf (0.190-1.1build2) ... 112s Preparing to unpack .../libtirpc-common_1.3.4+ds-1.1_all.deb ... 112s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 112s Preparing to unpack .../lsof_4.95.0-1build2_armhf.deb ... 112s Unpacking lsof (4.95.0-1build2) over (4.95.0-1build1) ... 112s Preparing to unpack .../libnsl2_1.3.0-3build2_armhf.deb ... 112s Unpacking libnsl2:armhf (1.3.0-3build2) over (1.3.0-3) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78673 files and directories currently installed.) 112s Removing libtirpc3:armhf (1.3.4+ds-1build1) ... 112s Selecting previously unselected package libtirpc3t64:armhf. 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78667 files and directories currently installed.) 112s Preparing to unpack .../00-libtirpc3t64_1.3.4+ds-1.1_armhf.deb ... 112s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' 112s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' 112s Unpacking libtirpc3t64:armhf (1.3.4+ds-1.1) ... 112s Preparing to unpack .../01-libmbim-proxy_1.31.2-0ubuntu2_armhf.deb ... 112s Unpacking libmbim-proxy (1.31.2-0ubuntu2) over (1.30.0-1) ... 112s Preparing to unpack .../02-libmbim-glib4_1.31.2-0ubuntu2_armhf.deb ... 112s Unpacking libmbim-glib4:armhf (1.31.2-0ubuntu2) over (1.30.0-1) ... 112s Preparing to unpack .../03-libjson-glib-1.0-common_1.8.0-2build1_all.deb ... 112s Unpacking libjson-glib-1.0-common (1.8.0-2build1) over (1.8.0-2) ... 112s Preparing to unpack .../04-libjson-glib-1.0-0_1.8.0-2build1_armhf.deb ... 112s Unpacking libjson-glib-1.0-0:armhf (1.8.0-2build1) over (1.8.0-2) ... 112s Preparing to unpack .../05-libnghttp2-14_1.59.0-1build1_armhf.deb ... 112s Unpacking libnghttp2-14:armhf (1.59.0-1build1) over (1.59.0-1) ... 112s Preparing to unpack .../06-libssh-4_0.10.6-2build1_armhf.deb ... 112s Unpacking libssh-4:armhf (0.10.6-2build1) over (0.10.6-2) ... 112s Preparing to unpack .../07-libusb-1.0-0_2%3a1.0.27-1_armhf.deb ... 112s Unpacking libusb-1.0-0:armhf (2:1.0.27-1) over (2:1.0.26-1) ... 112s Preparing to unpack .../08-libgusb2_0.4.8-1build1_armhf.deb ... 112s Unpacking libgusb2:armhf (0.4.8-1build1) over (0.4.8-1) ... 112s Preparing to unpack .../09-libmm-glib0_1.23.4-0ubuntu1_armhf.deb ... 112s Unpacking libmm-glib0:armhf (1.23.4-0ubuntu1) over (1.22.0-3) ... 112s Preparing to unpack .../10-libprotobuf-c1_1.4.1-1ubuntu3_armhf.deb ... 112s Unpacking libprotobuf-c1:armhf (1.4.1-1ubuntu3) over (1.4.1-1ubuntu2) ... 112s Preparing to unpack .../11-libsasl2-2_2.1.28+dfsg1-5ubuntu1_armhf.deb ... 112s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 112s Preparing to unpack .../12-libibverbs1_50.0-2build1_armhf.deb ... 112s Unpacking libibverbs1:armhf (50.0-2build1) over (50.0-2) ... 113s Preparing to unpack .../13-libfido2-1_1.14.0-1build1_armhf.deb ... 113s Unpacking libfido2-1:armhf (1.14.0-1build1) over (1.14.0-1) ... 113s Preparing to unpack .../14-coreutils_9.4-3ubuntu3_armhf.deb ... 113s Unpacking coreutils (9.4-3ubuntu3) over (9.4-2ubuntu4) ... 113s Setting up coreutils (9.4-3ubuntu3) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78678 files and directories currently installed.) 113s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_armhf.deb ... 113s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 113s Setting up util-linux (2.39.3-9ubuntu2) ... 114s fstrim.service is a disabled or a static unit not running, not starting it. 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78678 files and directories currently installed.) 114s Preparing to unpack .../libc-bin_2.39-0ubuntu6_armhf.deb ... 114s Unpacking libc-bin (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 114s Setting up libc-bin (2.39-0ubuntu6) ... 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78678 files and directories currently installed.) 114s Removing libatm1:armhf (1:2.5.1-5) ... 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78673 files and directories currently installed.) 114s Preparing to unpack .../file_1%3a5.45-3_armhf.deb ... 114s Unpacking file (1:5.45-3) over (1:5.45-2) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78673 files and directories currently installed.) 115s Removing libmagic1:armhf (1:5.45-2) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78663 files and directories currently installed.) 115s Preparing to unpack .../libmagic-mgc_1%3a5.45-3_armhf.deb ... 115s Unpacking libmagic-mgc (1:5.45-3) over (1:5.45-2) ... 115s Selecting previously unselected package libmagic1t64:armhf. 115s Preparing to unpack .../libmagic1t64_1%3a5.45-3_armhf.deb ... 115s Unpacking libmagic1t64:armhf (1:5.45-3) ... 115s Preparing to unpack .../libplymouth5_24.004.60-1ubuntu6_armhf.deb ... 115s Unpacking libplymouth5:armhf (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78674 files and directories currently installed.) 115s Removing libpng16-16:armhf (1.6.43-1) ... 115s Selecting previously unselected package libpng16-16t64:armhf. 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78664 files and directories currently installed.) 115s Preparing to unpack .../libpng16-16t64_1.6.43-3_armhf.deb ... 115s Unpacking libpng16-16t64:armhf (1.6.43-3) ... 115s Preparing to unpack .../bind9-host_1%3a9.18.24-0ubuntu3_armhf.deb ... 115s Unpacking bind9-host (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 115s Preparing to unpack .../bind9-dnsutils_1%3a9.18.24-0ubuntu3_armhf.deb ... 115s Unpacking bind9-dnsutils (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 115s Preparing to unpack .../bind9-libs_1%3a9.18.24-0ubuntu3_armhf.deb ... 115s Unpacking bind9-libs:armhf (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78675 files and directories currently installed.) 115s Removing libuv1:armhf (1.48.0-1) ... 115s Selecting previously unselected package libuv1t64:armhf. 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78670 files and directories currently installed.) 115s Preparing to unpack .../libuv1t64_1.48.0-1.1_armhf.deb ... 115s Unpacking libuv1t64:armhf (1.48.0-1.1) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78676 files and directories currently installed.) 115s Removing python3-distutils (3.11.5-1) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78621 files and directories currently installed.) 115s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_armhf.deb ... 115s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 115s Preparing to unpack .../libdebconfclient0_0.271ubuntu2_armhf.deb ... 115s Unpacking libdebconfclient0:armhf (0.271ubuntu2) over (0.271ubuntu1) ... 116s Setting up libdebconfclient0:armhf (0.271ubuntu2) ... 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78621 files and directories currently installed.) 116s Preparing to unpack .../libsemanage-common_3.5-1build4_all.deb ... 116s Unpacking libsemanage-common (3.5-1build4) over (3.5-1build2) ... 116s Setting up libsemanage-common (3.5-1build4) ... 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78621 files and directories currently installed.) 116s Preparing to unpack .../libsemanage2_3.5-1build4_armhf.deb ... 116s Unpacking libsemanage2:armhf (3.5-1build4) over (3.5-1build2) ... 116s Setting up libsemanage2:armhf (3.5-1build4) ... 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78621 files and directories currently installed.) 116s Preparing to unpack .../install-info_7.1-3build1_armhf.deb ... 116s Unpacking install-info (7.1-3build1) over (7.1-3) ... 116s Setting up install-info (7.1-3build1) ... 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78621 files and directories currently installed.) 116s Preparing to unpack .../00-gcc-13-base_13.2.0-19ubuntu1_armhf.deb ... 116s Unpacking gcc-13-base:armhf (13.2.0-19ubuntu1) over (13.2.0-17ubuntu2) ... 116s Preparing to unpack .../01-libss2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 116s Unpacking libss2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 116s Preparing to unpack .../02-dmsetup_2%3a1.02.185-3ubuntu2_armhf.deb ... 116s Unpacking dmsetup (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 116s Preparing to unpack .../03-eject_2.39.3-9ubuntu2_armhf.deb ... 116s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 116s Preparing to unpack .../04-krb5-locales_1.20.1-5.1ubuntu1_all.deb ... 116s Unpacking krb5-locales (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 116s Preparing to unpack .../05-libbsd0_0.12.1-1_armhf.deb ... 116s Unpacking libbsd0:armhf (0.12.1-1) over (0.11.8-1) ... 116s Preparing to unpack .../06-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 116s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 116s Preparing to unpack .../07-libslang2_2.3.3-3build1_armhf.deb ... 116s Unpacking libslang2:armhf (2.3.3-3build1) over (2.3.3-3) ... 116s Preparing to unpack .../08-locales_2.39-0ubuntu6_all.deb ... 116s Unpacking locales (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 116s Preparing to unpack .../09-vim-tiny_2%3a9.1.0016-1ubuntu5_armhf.deb ... 116s Unpacking vim-tiny (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 116s Preparing to unpack .../10-vim-common_2%3a9.1.0016-1ubuntu5_all.deb ... 116s Unpacking vim-common (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 117s Selecting previously unselected package xdg-user-dirs. 117s Preparing to unpack .../11-xdg-user-dirs_0.18-1_armhf.deb ... 117s Unpacking xdg-user-dirs (0.18-1) ... 117s Preparing to unpack .../12-xxd_2%3a9.1.0016-1ubuntu5_armhf.deb ... 117s Unpacking xxd (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 117s Preparing to unpack .../13-apparmor_4.0.0-beta3-0ubuntu2_armhf.deb ... 117s Unpacking apparmor (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 117s Preparing to unpack .../14-ftp_20230507-2build1_all.deb ... 117s Unpacking ftp (20230507-2build1) over (20230507-2) ... 117s Preparing to unpack .../15-inetutils-telnet_2%3a2.5-3ubuntu3_armhf.deb ... 117s Unpacking inetutils-telnet (2:2.5-3ubuntu3) over (2:2.5-3ubuntu1) ... 117s Preparing to unpack .../16-info_7.1-3build1_armhf.deb ... 117s Unpacking info (7.1-3build1) over (7.1-3) ... 118s Preparing to unpack .../17-libxmuu1_2%3a1.1.3-3build1_armhf.deb ... 118s Unpacking libxmuu1:armhf (2:1.1.3-3build1) over (2:1.1.3-3) ... 118s Preparing to unpack .../18-lshw_02.19.git.2021.06.19.996aaad9c7-2build2_armhf.deb ... 118s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2build2) over (02.19.git.2021.06.19.996aaad9c7-2build1) ... 118s Preparing to unpack .../19-mtr-tiny_0.95-1.1build1_armhf.deb ... 118s Unpacking mtr-tiny (0.95-1.1build1) over (0.95-1.1) ... 118s Preparing to unpack .../20-plymouth-theme-ubuntu-text_24.004.60-1ubuntu6_armhf.deb ... 118s Unpacking plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 118s Preparing to unpack .../21-plymouth_24.004.60-1ubuntu6_armhf.deb ... 118s Unpacking plymouth (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 118s Preparing to unpack .../22-psmisc_23.7-1_armhf.deb ... 118s Unpacking psmisc (23.7-1) over (23.6-2) ... 118s Preparing to unpack .../23-telnet_0.17+2.5-3ubuntu3_all.deb ... 118s Unpacking telnet (0.17+2.5-3ubuntu3) over (0.17+2.5-3ubuntu1) ... 118s Preparing to unpack .../24-usb.ids_2024.03.18-1_all.deb ... 118s Unpacking usb.ids (2024.03.18-1) over (2024.01.30-1) ... 118s Preparing to unpack .../25-xz-utils_5.6.0-0.2_armhf.deb ... 118s Unpacking xz-utils (5.6.0-0.2) over (5.4.5-0.3) ... 118s Preparing to unpack .../26-libctf0_2.42-4ubuntu1_armhf.deb ... 118s Unpacking libctf0:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 118s Preparing to unpack .../27-libctf-nobfd0_2.42-4ubuntu1_armhf.deb ... 118s Unpacking libctf-nobfd0:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 118s Preparing to unpack .../28-binutils-arm-linux-gnueabihf_2.42-4ubuntu1_armhf.deb ... 118s Unpacking binutils-arm-linux-gnueabihf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 118s Preparing to unpack .../29-libbinutils_2.42-4ubuntu1_armhf.deb ... 118s Unpacking libbinutils:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 118s Preparing to unpack .../30-binutils_2.42-4ubuntu1_armhf.deb ... 118s Unpacking binutils (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 118s Preparing to unpack .../31-binutils-common_2.42-4ubuntu1_armhf.deb ... 118s Unpacking binutils-common:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 118s Preparing to unpack .../32-libsframe1_2.42-4ubuntu1_armhf.deb ... 118s Unpacking libsframe1:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 118s Preparing to unpack .../33-bolt_0.9.6-2build1_armhf.deb ... 118s Unpacking bolt (0.9.6-2build1) over (0.9.6-2) ... 118s Preparing to unpack .../34-cryptsetup-bin_2%3a2.7.0-1ubuntu2_armhf.deb ... 118s Unpacking cryptsetup-bin (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 118s Preparing to unpack .../35-dpkg-dev_1.22.6ubuntu4_all.deb ... 118s Unpacking dpkg-dev (1.22.6ubuntu4) over (1.22.4ubuntu5) ... 119s Preparing to unpack .../36-libdpkg-perl_1.22.6ubuntu4_all.deb ... 119s Unpacking libdpkg-perl (1.22.6ubuntu4) over (1.22.4ubuntu5) ... 119s Preparing to unpack .../37-gnupg-l10n_2.4.4-2ubuntu15_all.deb ... 119s Unpacking gnupg-l10n (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 119s Preparing to unpack .../38-ibverbs-providers_50.0-2build1_armhf.deb ... 119s Unpacking ibverbs-providers:armhf (50.0-2build1) over (50.0-2) ... 119s Preparing to unpack .../39-jq_1.7.1-3_armhf.deb ... 119s Unpacking jq (1.7.1-3) over (1.7.1-2) ... 119s Preparing to unpack .../40-libjq1_1.7.1-3_armhf.deb ... 119s Unpacking libjq1:armhf (1.7.1-3) over (1.7.1-2) ... 119s Selecting previously unselected package libatm1t64:armhf. 119s Preparing to unpack .../41-libatm1t64_1%3a2.5.1-5.1_armhf.deb ... 119s Unpacking libatm1t64:armhf (1:2.5.1-5.1) ... 119s Preparing to unpack .../42-libevent-core-2.1-7_2.1.12-stable-9build1_armhf.deb ... 119s Unpacking libevent-core-2.1-7:armhf (2.1.12-stable-9build1) over (2.1.12-stable-9) ... 119s Preparing to unpack .../43-libftdi1-2_1.5-6build4_armhf.deb ... 119s Unpacking libftdi1-2:armhf (1.5-6build4) over (1.5-6build3) ... 119s Preparing to unpack .../44-libldap-common_2.6.7+dfsg-1~exp1ubuntu6_all.deb ... 119s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 119s Preparing to unpack .../45-libsasl2-modules_2.1.28+dfsg1-5ubuntu1_armhf.deb ... 119s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 119s Preparing to unpack .../46-python3-lib2to3_3.12.2-3ubuntu2_all.deb ... 119s Unpacking python3-lib2to3 (3.12.2-3ubuntu2) over (3.11.5-1) ... 119s Preparing to unpack .../47-python3-pyrsistent_0.20.0-1build1_armhf.deb ... 119s Unpacking python3-pyrsistent:armhf (0.20.0-1build1) over (0.20.0-1) ... 119s Preparing to unpack .../48-python3-typing-extensions_4.10.0-1_all.deb ... 119s Unpacking python3-typing-extensions (4.10.0-1) over (4.9.0-1) ... 119s Preparing to unpack .../49-kpartx_0.9.4-5ubuntu6_armhf.deb ... 119s Unpacking kpartx (0.9.4-5ubuntu6) over (0.9.4-5ubuntu3) ... 119s Setting up pinentry-curses (1.2.1-3ubuntu4) ... 119s Setting up libtext-iconv-perl:armhf (1.7-8build2) ... 119s Setting up libtext-charwidth-perl:armhf (0.04-11build2) ... 119s Setting up libibverbs1:armhf (50.0-2build1) ... 119s Setting up systemd-sysv (255.4-1ubuntu5) ... 119s Setting up libapparmor1:armhf (4.0.0-beta3-0ubuntu2) ... 119s Setting up libatm1t64:armhf (1:2.5.1-5.1) ... 119s Setting up libgdbm6t64:armhf (1.23-5.1) ... 119s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 119s Setting up libgdbm-compat4t64:armhf (1.23-5.1) ... 119s Setting up xdg-user-dirs (0.18-1) ... 119s Setting up ibverbs-providers:armhf (50.0-2build1) ... 119s Setting up linux-headers-6.8.0-20 (6.8.0-20.20) ... 119s Setting up libmagic-mgc (1:5.45-3) ... 119s Setting up gawk (1:5.2.1-2build2) ... 119s Setting up psmisc (23.7-1) ... 119s Setting up libjq1:armhf (1.7.1-3) ... 119s Setting up libtirpc-common (1.3.4+ds-1.1) ... 119s Setting up libbrotli1:armhf (1.1.0-2build1) ... 119s Setting up libsqlite3-0:armhf (3.45.1-1ubuntu1) ... 119s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-5ubuntu1) ... 119s Setting up libuv1t64:armhf (1.48.0-1.1) ... 119s Setting up libmagic1t64:armhf (1:5.45-3) ... 119s Setting up binutils-common:armhf (2.42-4ubuntu1) ... 119s Setting up libpsl5t64:armhf (0.21.2-1.1) ... 119s Setting up libnghttp2-14:armhf (1.59.0-1build1) ... 119s Setting up libreiserfscore0t64 (1:3.6.27-7.1) ... 119s Setting up libctf-nobfd0:armhf (2.42-4ubuntu1) ... 119s Setting up libnss-systemd:armhf (255.4-1ubuntu5) ... 119s Setting up krb5-locales (1.20.1-5.1ubuntu1) ... 119s Setting up file (1:5.45-3) ... 119s Setting up kmod (31+20240202-2ubuntu4) ... 120s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2build2) ... 120s Setting up locales (2.39-0ubuntu6) ... 120s Generating locales (this might take a while)... 122s en_US.UTF-8... done 122s Generation complete. 122s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu6) ... 122s Setting up libprotobuf-c1:armhf (1.4.1-1ubuntu3) ... 122s Setting up xxd (2:9.1.0016-1ubuntu5) ... 122s Setting up libsframe1:armhf (2.42-4ubuntu1) ... 122s Setting up libelf1t64:armhf (0.190-1.1build2) ... 122s Setting up libkrb5support0:armhf (1.20.1-5.1ubuntu1) ... 122s Setting up linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 122s Setting up eject (2.39.3-9ubuntu2) ... 122s Setting up apparmor (4.0.0-beta3-0ubuntu2) ... 122s Installing new version of config file /etc/apparmor.d/abstractions/authentication ... 122s Installing new version of config file /etc/apparmor.d/abstractions/crypto ... 122s Installing new version of config file /etc/apparmor.d/abstractions/kde-open5 ... 122s Installing new version of config file /etc/apparmor.d/abstractions/openssl ... 122s Installing new version of config file /etc/apparmor.d/code ... 122s Installing new version of config file /etc/apparmor.d/firefox ... 122s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 122s 122s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 122s 122s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 122s 123s sysctl: cannot stat /proc/sys/kernel/apparmor_restrict_unprivileged_userns: No such file or directory 123s Reloading AppArmor profiles 123s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 123s 123s Error: At least one profile failed to load 123s Setting up libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 123s No schema files found: doing nothing. 123s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 123s Setting up vim-common (2:9.1.0016-1ubuntu5) ... 123s Setting up gcc-13-base:armhf (13.2.0-19ubuntu1) ... 123s Setting up libqrtr-glib0:armhf (1.2.2-1ubuntu3) ... 123s Setting up libslang2:armhf (2.3.3-3build1) ... 123s Setting up libnvme1t64 (1.8-3) ... 123s Setting up mtr-tiny (0.95-1.1build1) ... 123s Setting up gnupg-l10n (2.4.4-2ubuntu15) ... 123s Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) ... 123s Setting up libdbus-1-3:armhf (1.14.10-4ubuntu2) ... 123s Setting up xz-utils (5.6.0-0.2) ... 123s Setting up perl-modules-5.38 (5.38.2-3.2) ... 123s Setting up libblockdev-utils3:armhf (3.1.0-1build1) ... 123s Setting up libpng16-16t64:armhf (1.6.43-3) ... 123s Setting up systemd-timesyncd (255.4-1ubuntu5) ... 124s Setting up libevent-core-2.1-7:armhf (2.1.12-stable-9build1) ... 124s Setting up udev (255.4-1ubuntu5) ... 125s Setting up libss2:armhf (1.47.0-2.4~exp1ubuntu2) ... 125s Setting up usb.ids (2024.03.18-1) ... 125s Setting up sudo (1.9.15p5-3ubuntu3) ... 125s Setting up dhcpcd-base (1:10.0.6-1ubuntu2) ... 125s Setting up gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) ... 125s Setting up libk5crypto3:armhf (1.20.1-5.1ubuntu1) ... 125s Setting up logsave (1.47.0-2.4~exp1ubuntu2) ... 125s Setting up libfdisk1:armhf (2.39.3-9ubuntu2) ... 125s Setting up libdb5.3t64:armhf (5.3.28+dfsg2-6) ... 125s Setting up libblockdev-nvme3:armhf (3.1.0-1build1) ... 125s Setting up libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) ... 125s Setting up libblockdev-fs3:armhf (3.1.0-1build1) ... 125s Setting up python-apt-common (2.7.6build1) ... 125s Setting up mount (2.39.3-9ubuntu2) ... 125s Setting up dmsetup (2:1.02.185-3ubuntu2) ... 125s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 125s uuidd.service is a disabled or a static unit not running, not starting it. 126s Setting up libmm-glib0:armhf (1.23.4-0ubuntu1) ... 126s Setting up groff-base (1.23.0-3build1) ... 126s Setting up libplymouth5:armhf (24.004.60-1ubuntu6) ... 126s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 126s Setting up kpartx (0.9.4-5ubuntu6) ... 126s Setting up jq (1.7.1-3) ... 126s Setting up gpgconf (2.4.4-2ubuntu15) ... 126s Setting up libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 126s Setting up libcryptsetup12:armhf (2:2.7.0-1ubuntu2) ... 126s Setting up libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) ... 126s Setting up libjson-glib-1.0-common (1.8.0-2build1) ... 126s Setting up libkrb5-3:armhf (1.20.1-5.1ubuntu1) ... 126s Setting up libpython3.11-minimal:armhf (3.11.8-1build4) ... 126s Setting up libusb-1.0-0:armhf (2:1.0.27-1) ... 126s Setting up libperl5.38t64:armhf (5.38.2-3.2) ... 126s Setting up tnftp (20230507-2build1) ... 126s Setting up libbinutils:armhf (2.42-4ubuntu1) ... 126s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 126s Setting up libfido2-1:armhf (1.14.0-1build1) ... 126s Setting up openssl (3.0.13-0ubuntu2) ... 126s Setting up libbsd0:armhf (0.12.1-1) ... 126s Setting up readline-common (8.2-3.1build1) ... 126s Setting up libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) ... 126s Setting up libxmuu1:armhf (2:1.1.3-3build1) ... 126s Setting up dbus-bin (1.14.10-4ubuntu2) ... 126s Setting up info (7.1-3build1) ... 126s Setting up liblocale-gettext-perl (1.07-6ubuntu4) ... 126s Setting up gpg (2.4.4-2ubuntu15) ... 126s Setting up libgudev-1.0-0:armhf (1:238-3ubuntu2) ... 126s Setting up libpolkit-gobject-1-0:armhf (124-1ubuntu1) ... 126s Setting up libbpf1:armhf (1:1.3.0-2build1) ... 126s Setting up libmbim-glib4:armhf (1.31.2-0ubuntu2) ... 126s Setting up rsync (3.2.7-1build1) ... 126s rsync.service is a disabled or a static unit not running, not starting it. 126s Setting up libudisks2-0:armhf (2.10.1-6) ... 126s Setting up bolt (0.9.6-2build1) ... 127s bolt.service is a disabled or a static unit not running, not starting it. 127s Setting up gnupg-utils (2.4.4-2ubuntu15) ... 127s Setting up initramfs-tools-bin (0.142ubuntu23) ... 127s Setting up libctf0:armhf (2.42-4ubuntu1) ... 127s Setting up cryptsetup-bin (2:2.7.0-1ubuntu2) ... 127s Setting up python3.11-minimal (3.11.8-1build4) ... 128s Setting up tcpdump (4.99.4-3ubuntu2) ... 128s apparmor_parser: Unable to replace "tcpdump". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 128s 128s Setting up apt-utils (2.7.14) ... 128s Setting up gpg-agent (2.4.4-2ubuntu15) ... 128s Setting up libpython3.12-stdlib:armhf (3.12.2-4build3) ... 128s Setting up libblockdev-mdraid3:armhf (3.1.0-1build1) ... 128s Setting up wget (1.21.4-1ubuntu2) ... 128s Setting up libblockdev-swap3:armhf (3.1.0-1build1) ... 128s Setting up plymouth (24.004.60-1ubuntu6) ... 128s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 129s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 129s Setting up libxmlb2:armhf (0.3.15-1build1) ... 129s Setting up btrfs-progs (6.6.3-1.1build1) ... 129s Setting up libpython3.11-stdlib:armhf (3.11.8-1build4) ... 129s Setting up python3.12 (3.12.2-4build3) ... 130s Setting up libblockdev-loop3:armhf (3.1.0-1build1) ... 130s Setting up gpgsm (2.4.4-2ubuntu15) ... 130s Setting up inetutils-telnet (2:2.5-3ubuntu3) ... 130s Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu2) ... 130s update-initramfs: deferring update (trigger activated) 131s e2scrub_all.service is a disabled or a static unit not running, not starting it. 131s Setting up libparted2t64:armhf (3.6-3.1build2) ... 131s Setting up linux-headers-generic (6.8.0-20.20+1) ... 131s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 131s Setting up libmbim-proxy (1.31.2-0ubuntu2) ... 131s Setting up vim-tiny (2:9.1.0016-1ubuntu5) ... 131s Setting up libnetplan1:armhf (1.0-1) ... 131s Setting up man-db (2.12.0-3build4) ... 131s Updating database of manual pages ... 132s apparmor_parser: Unable to replace "/usr/bin/man". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 132s 132s man-db.service is a disabled or a static unit not running, not starting it. 133s Setting up libblockdev3:armhf (3.1.0-1build1) ... 133s Setting up fdisk (2.39.3-9ubuntu2) ... 133s Setting up libjson-glib-1.0-0:armhf (1.8.0-2build1) ... 133s Setting up libblockdev-part3:armhf (3.1.0-1build1) ... 133s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-5ubuntu1) ... 133s Setting up libftdi1-2:armhf (1.5-6build4) ... 133s Setting up perl (5.38.2-3.2) ... 133s Setting up plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) ... 133s update-initramfs: deferring update (trigger activated) 133s Setting up gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) ... 133s Setting up dbus (1.14.10-4ubuntu2) ... 133s A reboot is required to replace the running dbus-daemon. 133s Please reboot the system when convenient. 133s Setting up shared-mime-info (2.4-1build1) ... 133s Setting up libgssapi-krb5-2:armhf (1.20.1-5.1ubuntu1) ... 133s Setting up ftp (20230507-2build1) ... 133s Setting up keyboxd (2.4.4-2ubuntu15) ... 133s Setting up libdpkg-perl (1.22.6ubuntu4) ... 133s Setting up libsasl2-2:armhf (2.1.28+dfsg1-5ubuntu1) ... 133s Setting up libssh-4:armhf (0.10.6-2build1) ... 133s Setting up libpam-systemd:armhf (255.4-1ubuntu5) ... 134s Setting up libpolkit-agent-1-0:armhf (124-1ubuntu1) ... 134s Setting up libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 134s Setting up netplan-generator (1.0-1) ... 134s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 134s Setting up initramfs-tools-core (0.142ubuntu23) ... 134s Setting up binutils-arm-linux-gnueabihf (2.42-4ubuntu1) ... 134s Setting up libarchive13t64:armhf (3.7.2-1.1ubuntu2) ... 134s Setting up libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) ... 134s Setting up libpython3-stdlib:armhf (3.12.2-0ubuntu1) ... 134s Setting up systemd-resolved (255.4-1ubuntu5) ... 134s Setting up python3.11 (3.11.8-1build4) ... 135s Setting up telnet (0.17+2.5-3ubuntu3) ... 135s Setting up initramfs-tools (0.142ubuntu23) ... 135s update-initramfs: deferring update (trigger activated) 135s Setting up libcurl4t64:armhf (8.5.0-2ubuntu7) ... 135s Setting up bind9-libs:armhf (1:9.18.24-0ubuntu3) ... 135s Setting up libtirpc3t64:armhf (1.3.4+ds-1.1) ... 135s Setting up e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) ... 135s Setting up iproute2 (6.1.0-1ubuntu5) ... 135s Setting up openssh-client (1:9.6p1-3ubuntu11) ... 136s Setting up libgusb2:armhf (0.4.8-1build1) ... 136s Setting up libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 136s Setting up parted (3.6-3.1build2) ... 136s Setting up libqmi-glib5:armhf (1.35.2-0ubuntu1) ... 136s Setting up python3 (3.12.2-0ubuntu1) ... 136s Setting up binutils (2.42-4ubuntu1) ... 136s Setting up libjcat1:armhf (0.2.0-2build2) ... 136s Setting up dpkg-dev (1.22.6ubuntu4) ... 136s Setting up dirmngr (2.4.4-2ubuntu15) ... 136s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 136s Setting up python3-cryptography (41.0.7-4build2) ... 136s Setting up python3-gi (3.47.0-3build1) ... 137s Setting up python3-typing-extensions (4.10.0-1) ... 137s Setting up lsof (4.95.0-1build2) ... 137s Setting up python3-pyrsistent:armhf (0.20.0-1build1) ... 137s Setting up libnsl2:armhf (1.3.0-3build2) ... 137s Setting up gnupg (2.4.4-2ubuntu15) ... 137s Setting up python3-netplan (1.0-1) ... 137s Setting up curl (8.5.0-2ubuntu7) ... 137s Setting up libvolume-key1:armhf (0.3.12-7build1) ... 137s Setting up bind9-host (1:9.18.24-0ubuntu3) ... 137s Setting up python3-lib2to3 (3.12.2-3ubuntu2) ... 137s Setting up python3-pkg-resources (68.1.2-2ubuntu1) ... 137s Setting up openssh-sftp-server (1:9.6p1-3ubuntu11) ... 137s Setting up python3-dbus (1.3.2-5build2) ... 137s Setting up python3-setuptools (68.1.2-2ubuntu1) ... 138s Setting up gpg-wks-client (2.4.4-2ubuntu15) ... 138s Setting up openssh-server (1:9.6p1-3ubuntu11) ... 138s Replacing config file /etc/ssh/sshd_config with new version 140s Created symlink /etc/systemd/system/ssh.service.requires/ssh.socket → /usr/lib/systemd/system/ssh.socket. 141s Setting up libblockdev-crypto3:armhf (3.1.0-1build1) ... 141s Setting up python3-gdbm:armhf (3.12.2-3ubuntu2) ... 141s Setting up python3-apt (2.7.6build1) ... 141s Setting up libfwupd2:armhf (1.9.15-1) ... 141s Setting up python3-yaml (6.0.1-2build1) ... 141s Setting up libqmi-proxy (1.35.2-0ubuntu1) ... 141s Setting up netplan.io (1.0-1) ... 141s Setting up bind9-dnsutils (1:9.18.24-0ubuntu3) ... 141s Setting up ubuntu-pro-client (31.2.1) ... 141s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 141s 143s Setting up fwupd (1.9.15-1) ... 143s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 143s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 143s fwupd.service is a disabled or a static unit not running, not starting it. 143s Setting up ubuntu-pro-client-l10n (31.2.1) ... 143s Setting up udisks2 (2.10.1-6) ... 143s vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/uevent': Permission denied 143s vda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda1/uevent': Permission denied 143s vda15: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda15/uevent': Permission denied 143s vda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda2/uevent': Permission denied 143s loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied 143s loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied 143s loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied 143s loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied 143s loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied 143s loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied 143s loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied 143s loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 144s Processing triggers for ufw (0.36.2-5) ... 144s Processing triggers for systemd (255.4-1ubuntu5) ... 144s Processing triggers for install-info (7.1-3build1) ... 144s Processing triggers for libc-bin (2.39-0ubuntu6) ... 144s Processing triggers for initramfs-tools (0.142ubuntu23) ... 145s Reading package lists... 146s Building dependency tree... 146s Reading state information... 146s The following packages will be REMOVED: 146s linux-headers-6.8.0-11* python3-lib2to3* 147s 0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded. 147s After this operation, 85.8 MB disk space will be freed. 147s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78592 files and directories currently installed.) 147s Removing linux-headers-6.8.0-11 (6.8.0-11.11) ... 147s Removing python3-lib2to3 (3.12.2-3ubuntu2) ... 149s autopkgtest [01:12:47]: rebooting testbed after setup commands that affected boot 187s autopkgtest [01:13:25]: testbed running kernel: Linux 5.15.0-101-generic #111-Ubuntu SMP Wed Mar 6 18:01:01 UTC 2024 211s autopkgtest [01:13:49]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-git2r 221s Get:1 http://ftpmaster.internal/ubuntu noble/universe r-cran-git2r 0.33.0+dfsg-1 (dsc) [2136 B] 221s Get:2 http://ftpmaster.internal/ubuntu noble/universe r-cran-git2r 0.33.0+dfsg-1 (tar) [217 kB] 221s Get:3 http://ftpmaster.internal/ubuntu noble/universe r-cran-git2r 0.33.0+dfsg-1 (diff) [2984 B] 221s gpgv: Signature made Mon Jan 8 17:56:55 2024 UTC 221s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 221s gpgv: issuer "tille@debian.org" 221s gpgv: Can't check signature: No public key 221s dpkg-source: warning: cannot verify inline signature for ./r-cran-git2r_0.33.0+dfsg-1.dsc: no acceptable signature found 221s autopkgtest [01:13:59]: testing package r-cran-git2r version 0.33.0+dfsg-1 223s autopkgtest [01:14:01]: build not needed 226s autopkgtest [01:14:04]: test run-unit-test: preparing testbed 235s Reading package lists... 235s Building dependency tree... 235s Reading state information... 235s Starting pkgProblemResolver with broken count: 0 236s Starting 2 pkgProblemResolver with broken count: 0 236s Done 236s The following additional packages will be installed: 236s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono libblas3 236s libcairo2 libdatrie1 libdeflate0 libfontconfig1 libfreetype6 libgfortran5 236s libgit2-1.7 libgomp1 libgraphite2-3 libharfbuzz0b libhttp-parser2.9 libice6 236s libjbig0 libjpeg-turbo8 libjpeg8 liblapack3 liblerc4 libpango-1.0-0 236s libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpixman-1-0 236s libsharpyuv0 libsm6 libssh2-1t64 libtcl8.6 libthai-data libthai0 libtiff6 236s libtk8.6 libwebp7 libxcb-render0 libxcb-shm0 libxft2 libxrender1 libxss1 236s libxt6t64 r-base-core r-cran-git2r unzip x11-common xdg-utils zip 236s Suggested packages: 236s tcl8.6 tk8.6 elpa-ess r-doc-info | r-doc-pdf r-mathlib r-base-html 236s Recommended packages: 236s r-recommended r-base-dev r-doc-html libfile-mimeinfo-perl libnet-dbus-perl 236s libx11-protocol-perl x11-utils x11-xserver-utils 236s The following NEW packages will be installed: 236s autopkgtest-satdep fontconfig fontconfig-config fonts-dejavu-core 236s fonts-dejavu-mono libblas3 libcairo2 libdatrie1 libdeflate0 libfontconfig1 236s libfreetype6 libgfortran5 libgit2-1.7 libgomp1 libgraphite2-3 libharfbuzz0b 236s libhttp-parser2.9 libice6 libjbig0 libjpeg-turbo8 libjpeg8 liblapack3 236s liblerc4 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils 236s libpaper1 libpixman-1-0 libsharpyuv0 libsm6 libssh2-1t64 libtcl8.6 236s libthai-data libthai0 libtiff6 libtk8.6 libwebp7 libxcb-render0 libxcb-shm0 236s libxft2 libxrender1 libxss1 libxt6t64 r-base-core r-cran-git2r unzip 236s x11-common xdg-utils zip 236s 0 upgraded, 50 newly installed, 0 to remove and 1 not upgraded. 236s Need to get 36.9 MB/36.9 MB of archives. 236s After this operation, 67.2 MB of additional disk space will be used. 236s Get:1 /tmp/autopkgtest.nkTgZk/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [708 B] 236s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfreetype6 armhf 2.13.2+dfsg-1build2 [331 kB] 237s Get:3 http://ftpmaster.internal/ubuntu noble/main armhf fonts-dejavu-mono all 2.37-8 [502 kB] 237s Get:4 http://ftpmaster.internal/ubuntu noble/main armhf fonts-dejavu-core all 2.37-8 [835 kB] 237s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fontconfig-config armhf 2.15.0-1.1ubuntu1 [37.4 kB] 237s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfontconfig1 armhf 2.15.0-1.1ubuntu1 [113 kB] 237s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fontconfig armhf 2.15.0-1.1ubuntu1 [189 kB] 237s Get:8 http://ftpmaster.internal/ubuntu noble/main armhf libblas3 armhf 3.12.0-3 [123 kB] 237s Get:9 http://ftpmaster.internal/ubuntu noble/main armhf libpixman-1-0 armhf 0.42.2-1 [184 kB] 237s Get:10 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-render0 armhf 1.15-1 [15.2 kB] 237s Get:11 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-shm0 armhf 1.15-1 [5852 B] 237s Get:12 http://ftpmaster.internal/ubuntu noble/main armhf libxrender1 armhf 1:0.9.10-1.1 [16.5 kB] 237s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcairo2 armhf 1.18.0-1ubuntu1 [482 kB] 237s Get:14 http://ftpmaster.internal/ubuntu noble/main armhf libdatrie1 armhf 0.2.13-3 [16.9 kB] 237s Get:15 http://ftpmaster.internal/ubuntu noble/main armhf libdeflate0 armhf 1.19-1 [41.3 kB] 237s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgfortran5 armhf 14-20240315-1ubuntu1 [312 kB] 237s Get:17 http://ftpmaster.internal/ubuntu noble/main armhf libhttp-parser2.9 armhf 2.9.4-6 [21.0 kB] 237s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssh2-1t64 armhf 1.11.0-4.1build1 [102 kB] 237s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgit2-1.7 armhf 1.7.2+ds-1ubuntu2 [444 kB] 237s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgomp1 armhf 14-20240315-1ubuntu1 [125 kB] 237s Get:21 http://ftpmaster.internal/ubuntu noble/main armhf libgraphite2-3 armhf 1.3.14-2 [72.7 kB] 237s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libharfbuzz0b armhf 8.3.0-2build1 [446 kB] 237s Get:23 http://ftpmaster.internal/ubuntu noble/main armhf x11-common all 1:7.7+23ubuntu2 [23.4 kB] 237s Get:24 http://ftpmaster.internal/ubuntu noble/main armhf libice6 armhf 2:1.0.10-1build2 [36.4 kB] 237s Get:25 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg-turbo8 armhf 2.1.5-2ubuntu1 [123 kB] 237s Get:26 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg8 armhf 8c-2ubuntu11 [2148 B] 237s Get:27 http://ftpmaster.internal/ubuntu noble/main armhf liblapack3 armhf 3.12.0-3 [2085 kB] 237s Get:28 http://ftpmaster.internal/ubuntu noble/main armhf liblerc4 armhf 4.0.0+ds-4ubuntu1 [152 kB] 237s Get:29 http://ftpmaster.internal/ubuntu noble/main armhf libthai-data all 0.1.29-2 [158 kB] 237s Get:30 http://ftpmaster.internal/ubuntu noble/main armhf libthai0 armhf 0.1.29-2 [15.1 kB] 237s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpango-1.0-0 armhf 1.52.1+ds-1 [206 kB] 237s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpangoft2-1.0-0 armhf 1.52.1+ds-1 [36.4 kB] 237s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpangocairo-1.0-0 armhf 1.52.1+ds-1 [24.9 kB] 237s Get:34 http://ftpmaster.internal/ubuntu noble/main armhf libpaper1 armhf 1.1.29 [12.5 kB] 237s Get:35 http://ftpmaster.internal/ubuntu noble/main armhf libpaper-utils armhf 1.1.29 [8170 B] 237s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsharpyuv0 armhf 1.3.2-0.4build2 [13.6 kB] 237s Get:37 http://ftpmaster.internal/ubuntu noble/main armhf libsm6 armhf 2:1.2.3-1build2 [15.1 kB] 237s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtcl8.6 armhf 8.6.14+dfsg-1 [903 kB] 237s Get:39 http://ftpmaster.internal/ubuntu noble/main armhf libjbig0 armhf 2.1-6.1ubuntu1 [24.9 kB] 237s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libwebp7 armhf 1.3.2-0.4build2 [183 kB] 237s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtiff6 armhf 4.5.1+git230720-4ubuntu1 [178 kB] 237s Get:42 http://ftpmaster.internal/ubuntu noble/main armhf libxft2 armhf 2.3.6-1 [36.8 kB] 237s Get:43 http://ftpmaster.internal/ubuntu noble/main armhf libxss1 armhf 1:1.2.3-1build2 [7580 B] 237s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtk8.6 armhf 8.6.14-1 [681 kB] 237s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxt6t64 armhf 1:1.2.1-1.2 [145 kB] 237s Get:46 http://ftpmaster.internal/ubuntu noble/main armhf zip armhf 3.0-13 [162 kB] 237s Get:47 http://ftpmaster.internal/ubuntu noble/main armhf unzip armhf 6.0-28ubuntu3 [163 kB] 237s Get:48 http://ftpmaster.internal/ubuntu noble/main armhf xdg-utils all 1.1.3-4.1ubuntu3 [62.0 kB] 237s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf r-base-core armhf 4.3.3-2build1 [26.6 MB] 238s Get:50 http://ftpmaster.internal/ubuntu noble/universe armhf r-cran-git2r armhf 0.33.0+dfsg-1 [436 kB] 239s Preconfiguring packages ... 239s Fetched 36.9 MB in 2s (20.3 MB/s) 239s Selecting previously unselected package libfreetype6:armhf. 239s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58435 files and directories currently installed.) 239s Preparing to unpack .../00-libfreetype6_2.13.2+dfsg-1build2_armhf.deb ... 239s Unpacking libfreetype6:armhf (2.13.2+dfsg-1build2) ... 239s Selecting previously unselected package fonts-dejavu-mono. 239s Preparing to unpack .../01-fonts-dejavu-mono_2.37-8_all.deb ... 239s Unpacking fonts-dejavu-mono (2.37-8) ... 239s Selecting previously unselected package fonts-dejavu-core. 239s Preparing to unpack .../02-fonts-dejavu-core_2.37-8_all.deb ... 239s Unpacking fonts-dejavu-core (2.37-8) ... 239s Selecting previously unselected package fontconfig-config. 239s Preparing to unpack .../03-fontconfig-config_2.15.0-1.1ubuntu1_armhf.deb ... 239s Unpacking fontconfig-config (2.15.0-1.1ubuntu1) ... 239s Selecting previously unselected package libfontconfig1:armhf. 239s Preparing to unpack .../04-libfontconfig1_2.15.0-1.1ubuntu1_armhf.deb ... 239s Unpacking libfontconfig1:armhf (2.15.0-1.1ubuntu1) ... 239s Selecting previously unselected package fontconfig. 239s Preparing to unpack .../05-fontconfig_2.15.0-1.1ubuntu1_armhf.deb ... 239s Unpacking fontconfig (2.15.0-1.1ubuntu1) ... 239s Selecting previously unselected package libblas3:armhf. 239s Preparing to unpack .../06-libblas3_3.12.0-3_armhf.deb ... 239s Unpacking libblas3:armhf (3.12.0-3) ... 239s Selecting previously unselected package libpixman-1-0:armhf. 239s Preparing to unpack .../07-libpixman-1-0_0.42.2-1_armhf.deb ... 239s Unpacking libpixman-1-0:armhf (0.42.2-1) ... 239s Selecting previously unselected package libxcb-render0:armhf. 239s Preparing to unpack .../08-libxcb-render0_1.15-1_armhf.deb ... 239s Unpacking libxcb-render0:armhf (1.15-1) ... 239s Selecting previously unselected package libxcb-shm0:armhf. 239s Preparing to unpack .../09-libxcb-shm0_1.15-1_armhf.deb ... 239s Unpacking libxcb-shm0:armhf (1.15-1) ... 239s Selecting previously unselected package libxrender1:armhf. 239s Preparing to unpack .../10-libxrender1_1%3a0.9.10-1.1_armhf.deb ... 239s Unpacking libxrender1:armhf (1:0.9.10-1.1) ... 239s Selecting previously unselected package libcairo2:armhf. 239s Preparing to unpack .../11-libcairo2_1.18.0-1ubuntu1_armhf.deb ... 239s Unpacking libcairo2:armhf (1.18.0-1ubuntu1) ... 239s Selecting previously unselected package libdatrie1:armhf. 239s Preparing to unpack .../12-libdatrie1_0.2.13-3_armhf.deb ... 239s Unpacking libdatrie1:armhf (0.2.13-3) ... 239s Selecting previously unselected package libdeflate0:armhf. 239s Preparing to unpack .../13-libdeflate0_1.19-1_armhf.deb ... 239s Unpacking libdeflate0:armhf (1.19-1) ... 239s Selecting previously unselected package libgfortran5:armhf. 240s Preparing to unpack .../14-libgfortran5_14-20240315-1ubuntu1_armhf.deb ... 240s Unpacking libgfortran5:armhf (14-20240315-1ubuntu1) ... 240s Selecting previously unselected package libhttp-parser2.9:armhf. 240s Preparing to unpack .../15-libhttp-parser2.9_2.9.4-6_armhf.deb ... 240s Unpacking libhttp-parser2.9:armhf (2.9.4-6) ... 240s Selecting previously unselected package libssh2-1t64:armhf. 240s Preparing to unpack .../16-libssh2-1t64_1.11.0-4.1build1_armhf.deb ... 240s Unpacking libssh2-1t64:armhf (1.11.0-4.1build1) ... 240s Selecting previously unselected package libgit2-1.7:armhf. 240s Preparing to unpack .../17-libgit2-1.7_1.7.2+ds-1ubuntu2_armhf.deb ... 240s Unpacking libgit2-1.7:armhf (1.7.2+ds-1ubuntu2) ... 240s Selecting previously unselected package libgomp1:armhf. 240s Preparing to unpack .../18-libgomp1_14-20240315-1ubuntu1_armhf.deb ... 240s Unpacking libgomp1:armhf (14-20240315-1ubuntu1) ... 240s Selecting previously unselected package libgraphite2-3:armhf. 240s Preparing to unpack .../19-libgraphite2-3_1.3.14-2_armhf.deb ... 240s Unpacking libgraphite2-3:armhf (1.3.14-2) ... 240s Selecting previously unselected package libharfbuzz0b:armhf. 240s Preparing to unpack .../20-libharfbuzz0b_8.3.0-2build1_armhf.deb ... 240s Unpacking libharfbuzz0b:armhf (8.3.0-2build1) ... 240s Selecting previously unselected package x11-common. 240s Preparing to unpack .../21-x11-common_1%3a7.7+23ubuntu2_all.deb ... 240s Unpacking x11-common (1:7.7+23ubuntu2) ... 240s Selecting previously unselected package libice6:armhf. 240s Preparing to unpack .../22-libice6_2%3a1.0.10-1build2_armhf.deb ... 240s Unpacking libice6:armhf (2:1.0.10-1build2) ... 240s Selecting previously unselected package libjpeg-turbo8:armhf. 240s Preparing to unpack .../23-libjpeg-turbo8_2.1.5-2ubuntu1_armhf.deb ... 240s Unpacking libjpeg-turbo8:armhf (2.1.5-2ubuntu1) ... 240s Selecting previously unselected package libjpeg8:armhf. 240s Preparing to unpack .../24-libjpeg8_8c-2ubuntu11_armhf.deb ... 240s Unpacking libjpeg8:armhf (8c-2ubuntu11) ... 240s Selecting previously unselected package liblapack3:armhf. 240s Preparing to unpack .../25-liblapack3_3.12.0-3_armhf.deb ... 240s Unpacking liblapack3:armhf (3.12.0-3) ... 240s Selecting previously unselected package liblerc4:armhf. 240s Preparing to unpack .../26-liblerc4_4.0.0+ds-4ubuntu1_armhf.deb ... 240s Unpacking liblerc4:armhf (4.0.0+ds-4ubuntu1) ... 240s Selecting previously unselected package libthai-data. 240s Preparing to unpack .../27-libthai-data_0.1.29-2_all.deb ... 240s Unpacking libthai-data (0.1.29-2) ... 240s Selecting previously unselected package libthai0:armhf. 240s Preparing to unpack .../28-libthai0_0.1.29-2_armhf.deb ... 240s Unpacking libthai0:armhf (0.1.29-2) ... 240s Selecting previously unselected package libpango-1.0-0:armhf. 240s Preparing to unpack .../29-libpango-1.0-0_1.52.1+ds-1_armhf.deb ... 240s Unpacking libpango-1.0-0:armhf (1.52.1+ds-1) ... 240s Selecting previously unselected package libpangoft2-1.0-0:armhf. 240s Preparing to unpack .../30-libpangoft2-1.0-0_1.52.1+ds-1_armhf.deb ... 240s Unpacking libpangoft2-1.0-0:armhf (1.52.1+ds-1) ... 240s Selecting previously unselected package libpangocairo-1.0-0:armhf. 240s Preparing to unpack .../31-libpangocairo-1.0-0_1.52.1+ds-1_armhf.deb ... 240s Unpacking libpangocairo-1.0-0:armhf (1.52.1+ds-1) ... 240s Selecting previously unselected package libpaper1:armhf. 240s Preparing to unpack .../32-libpaper1_1.1.29_armhf.deb ... 240s Unpacking libpaper1:armhf (1.1.29) ... 240s Selecting previously unselected package libpaper-utils. 240s Preparing to unpack .../33-libpaper-utils_1.1.29_armhf.deb ... 240s Unpacking libpaper-utils (1.1.29) ... 240s Selecting previously unselected package libsharpyuv0:armhf. 240s Preparing to unpack .../34-libsharpyuv0_1.3.2-0.4build2_armhf.deb ... 240s Unpacking libsharpyuv0:armhf (1.3.2-0.4build2) ... 240s Selecting previously unselected package libsm6:armhf. 240s Preparing to unpack .../35-libsm6_2%3a1.2.3-1build2_armhf.deb ... 240s Unpacking libsm6:armhf (2:1.2.3-1build2) ... 240s Selecting previously unselected package libtcl8.6:armhf. 240s Preparing to unpack .../36-libtcl8.6_8.6.14+dfsg-1_armhf.deb ... 240s Unpacking libtcl8.6:armhf (8.6.14+dfsg-1) ... 240s Selecting previously unselected package libjbig0:armhf. 240s Preparing to unpack .../37-libjbig0_2.1-6.1ubuntu1_armhf.deb ... 240s Unpacking libjbig0:armhf (2.1-6.1ubuntu1) ... 240s Selecting previously unselected package libwebp7:armhf. 240s Preparing to unpack .../38-libwebp7_1.3.2-0.4build2_armhf.deb ... 240s Unpacking libwebp7:armhf (1.3.2-0.4build2) ... 240s Selecting previously unselected package libtiff6:armhf. 240s Preparing to unpack .../39-libtiff6_4.5.1+git230720-4ubuntu1_armhf.deb ... 240s Unpacking libtiff6:armhf (4.5.1+git230720-4ubuntu1) ... 241s Selecting previously unselected package libxft2:armhf. 241s Preparing to unpack .../40-libxft2_2.3.6-1_armhf.deb ... 241s Unpacking libxft2:armhf (2.3.6-1) ... 241s Selecting previously unselected package libxss1:armhf. 241s Preparing to unpack .../41-libxss1_1%3a1.2.3-1build2_armhf.deb ... 241s Unpacking libxss1:armhf (1:1.2.3-1build2) ... 241s Selecting previously unselected package libtk8.6:armhf. 241s Preparing to unpack .../42-libtk8.6_8.6.14-1_armhf.deb ... 241s Unpacking libtk8.6:armhf (8.6.14-1) ... 241s Selecting previously unselected package libxt6t64:armhf. 241s Preparing to unpack .../43-libxt6t64_1%3a1.2.1-1.2_armhf.deb ... 241s Unpacking libxt6t64:armhf (1:1.2.1-1.2) ... 241s Selecting previously unselected package zip. 241s Preparing to unpack .../44-zip_3.0-13_armhf.deb ... 241s Unpacking zip (3.0-13) ... 241s Selecting previously unselected package unzip. 241s Preparing to unpack .../45-unzip_6.0-28ubuntu3_armhf.deb ... 241s Unpacking unzip (6.0-28ubuntu3) ... 241s Selecting previously unselected package xdg-utils. 241s Preparing to unpack .../46-xdg-utils_1.1.3-4.1ubuntu3_all.deb ... 241s Unpacking xdg-utils (1.1.3-4.1ubuntu3) ... 241s Selecting previously unselected package r-base-core. 241s Preparing to unpack .../47-r-base-core_4.3.3-2build1_armhf.deb ... 241s Unpacking r-base-core (4.3.3-2build1) ... 241s Selecting previously unselected package r-cran-git2r. 241s Preparing to unpack .../48-r-cran-git2r_0.33.0+dfsg-1_armhf.deb ... 241s Unpacking r-cran-git2r (0.33.0+dfsg-1) ... 241s Selecting previously unselected package autopkgtest-satdep. 241s Preparing to unpack .../49-1-autopkgtest-satdep.deb ... 241s Unpacking autopkgtest-satdep (0) ... 241s Setting up libgraphite2-3:armhf (1.3.14-2) ... 241s Setting up libpixman-1-0:armhf (0.42.2-1) ... 241s Setting up libsharpyuv0:armhf (1.3.2-0.4build2) ... 241s Setting up libpaper1:armhf (1.1.29) ... 242s 242s Creating config file /etc/papersize with new version 242s Setting up liblerc4:armhf (4.0.0+ds-4ubuntu1) ... 242s Setting up libxrender1:armhf (1:0.9.10-1.1) ... 242s Setting up libdatrie1:armhf (0.2.13-3) ... 242s Setting up libxcb-render0:armhf (1.15-1) ... 242s Setting up unzip (6.0-28ubuntu3) ... 242s Setting up x11-common (1:7.7+23ubuntu2) ... 242s Setting up libdeflate0:armhf (1.19-1) ... 242s Setting up libxcb-shm0:armhf (1.15-1) ... 242s Setting up libpaper-utils (1.1.29) ... 242s Setting up libgomp1:armhf (14-20240315-1ubuntu1) ... 242s Setting up libjbig0:armhf (2.1-6.1ubuntu1) ... 242s Setting up zip (3.0-13) ... 242s Setting up libblas3:armhf (3.12.0-3) ... 242s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 242s Setting up libfreetype6:armhf (2.13.2+dfsg-1build2) ... 242s Setting up fonts-dejavu-mono (2.37-8) ... 242s Setting up libtcl8.6:armhf (8.6.14+dfsg-1) ... 242s Setting up fonts-dejavu-core (2.37-8) ... 242s Setting up libjpeg-turbo8:armhf (2.1.5-2ubuntu1) ... 242s Setting up libgfortran5:armhf (14-20240315-1ubuntu1) ... 242s Setting up libwebp7:armhf (1.3.2-0.4build2) ... 242s Setting up libharfbuzz0b:armhf (8.3.0-2build1) ... 242s Setting up libthai-data (0.1.29-2) ... 242s Setting up libxss1:armhf (1:1.2.3-1build2) ... 242s Setting up libssh2-1t64:armhf (1.11.0-4.1build1) ... 242s Setting up xdg-utils (1.1.3-4.1ubuntu3) ... 242s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 242s Setting up libhttp-parser2.9:armhf (2.9.4-6) ... 242s Setting up libjpeg8:armhf (8c-2ubuntu11) ... 242s Setting up libice6:armhf (2:1.0.10-1build2) ... 242s Setting up liblapack3:armhf (3.12.0-3) ... 242s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 242s Setting up fontconfig-config (2.15.0-1.1ubuntu1) ... 242s Setting up libthai0:armhf (0.1.29-2) ... 242s Setting up libtiff6:armhf (4.5.1+git230720-4ubuntu1) ... 242s Setting up libgit2-1.7:armhf (1.7.2+ds-1ubuntu2) ... 242s Setting up libfontconfig1:armhf (2.15.0-1.1ubuntu1) ... 242s Setting up libsm6:armhf (2:1.2.3-1build2) ... 242s Setting up fontconfig (2.15.0-1.1ubuntu1) ... 244s Regenerating fonts cache... done. 244s Setting up libxft2:armhf (2.3.6-1) ... 244s Setting up libtk8.6:armhf (8.6.14-1) ... 244s Setting up libpango-1.0-0:armhf (1.52.1+ds-1) ... 244s Setting up libcairo2:armhf (1.18.0-1ubuntu1) ... 244s Setting up libxt6t64:armhf (1:1.2.1-1.2) ... 244s Setting up libpangoft2-1.0-0:armhf (1.52.1+ds-1) ... 244s Setting up libpangocairo-1.0-0:armhf (1.52.1+ds-1) ... 244s Setting up r-base-core (4.3.3-2build1) ... 245s 245s Creating config file /etc/R/Renviron with new version 245s Setting up r-cran-git2r (0.33.0+dfsg-1) ... 245s Setting up autopkgtest-satdep (0) ... 245s Processing triggers for man-db (2.12.0-3build4) ... 245s Processing triggers for install-info (7.1-3build1) ... 245s Processing triggers for libc-bin (2.39-0ubuntu6) ... 260s (Reading database ... 60539 files and directories currently installed.) 260s Removing autopkgtest-satdep (0) ... 265s autopkgtest [01:14:43]: test run-unit-test: [----------------------- 267s BEGIN TEST add-force.R 267s 267s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 267s Copyright (C) 2024 The R Foundation for Statistical Computing 267s Platform: arm-unknown-linux-gnueabihf (32-bit) 267s 267s R is free software and comes with ABSOLUTELY NO WARRANTY. 267s You are welcome to redistribute it under certain conditions. 267s Type 'license()' or 'licence()' for distribution details. 267s 267s R is a collaborative project with many contributors. 267s Type 'contributors()' for more information and 267s 'citation()' on how to cite R or R packages in publications. 267s 267s Type 'demo()' for some demos, 'help()' for on-line help, or 267s 'help.start()' for an HTML browser interface to help. 267s Type 'q()' to quit R. 267s 267s > ## git2r, R bindings to the libgit2 library. 267s > ## Copyright (C) 2013-2023 The git2r contributors 267s > ## 267s > ## This program is free software; you can redistribute it and/or modify 267s > ## it under the terms of the GNU General Public License, version 2, 267s > ## as published by the Free Software Foundation. 267s > ## 267s > ## git2r is distributed in the hope that it will be useful, 267s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 267s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 267s > ## GNU General Public License for more details. 267s > ## 267s > ## You should have received a copy of the GNU General Public License along 267s > ## with this program; if not, write to the Free Software Foundation, Inc., 267s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 267s > 267s > library(git2r) 267s > source("util/check.R") 267s > 267s > ## For debugging 267s > sessionInfo() 267s R version 4.3.3 (2024-02-29) 267s Platform: arm-unknown-linux-gnueabihf (32-bit) 267s Running under: Ubuntu Noble Numbat (development branch) 267s 267s Matrix products: default 267s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 267s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 267s 267s locale: 267s [1] C 267s 267s time zone: Etc/UTC 267s tzcode source: system (glibc) 267s 267s attached base packages: 267s [1] stats graphics grDevices utils datasets methods base 267s 267s other attached packages: 267s [1] git2r_0.33.0 267s 267s loaded via a namespace (and not attached): 267s [1] compiler_4.3.3 267s > libgit2_version() 267s $major 267s [1] 1 267s 267s $minor 267s [1] 7 267s 267s $rev 267s [1] 2 267s 267s > libgit2_features() 267s $threads 267s [1] TRUE 267s 267s $https 267s [1] TRUE 267s 267s $ssh 267s [1] TRUE 267s 267s > 267s > ## Create a directory in tempdir 267s > path <- tempfile(pattern = "git2r-") 267s > dir.create(path) 267s > 267s > ## Initialize a repository 267s > repo <- init(path) 267s > config(repo, user.name = "Alice", user.email = "alice@example.org") 267s > 267s > ## Create a '.gitignore' file 267s > writeLines("test.txt", file.path(path, ".gitignore")) 267s > add(repo, ".gitignore") 267s > commit(repo, "First commit message") 267s [92aaf31] 2024-03-23: First commit message 267s > 267s > ## Create a file 267s > writeLines("Hello world!", file.path(path, "test.txt")) 267s > 267s > ## Check status 267s > s_1 <- structure(list(staged = empty_named_list(), 267s + unstaged = empty_named_list(), 267s + untracked = empty_named_list(), 267s + ignored = list(ignored = "test.txt")), 267s + class = "git_status") 267s > stopifnot(identical(status(repo, ignored = TRUE), s_1)) 267s > 267s > ## The file is ignored and should not be added 267s > add(repo, "test.txt") 267s > stopifnot(identical(status(repo, ignored = TRUE), s_1)) 267s > 267s > ## The file is ignored but should be added with force 267s > s_2 <- structure(list(staged = list(new = "test.txt"), 267s + unstaged = empty_named_list(), 267s + untracked = empty_named_list(), 267s + ignored = empty_named_list()), 267s + class = "git_status") 267s > 267s > add(repo, "test.txt", force = TRUE) 267s > stopifnot(identical(status(repo, ignored = TRUE), s_2)) 267s > 267s > ## Commit and check status 267s > s_3 <- structure(list(staged = empty_named_list(), 267s + unstaged = empty_named_list(), 267s + untracked = empty_named_list(), 267s + ignored = empty_named_list()), 267s + class = "git_status") 267s > 267s > commit(repo, "Second commit message") 267s [f821d7f] 2024-03-23: Second commit message 267s > stopifnot(identical(status(repo, ignored = TRUE), s_3)) 267s > 267s > ## Cleanup 267s > unlink(path, recursive = TRUE) 267s > 267s BEGIN TEST bare_repository.R 267s 267s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 267s Copyright (C) 2024 The R Foundation for Statistical Computing 267s Platform: arm-unknown-linux-gnueabihf (32-bit) 267s 267s R is free software and comes with ABSOLUTELY NO WARRANTY. 267s You are welcome to redistribute it under certain conditions. 267s Type 'license()' or 'licence()' for distribution details. 267s 267s R is a collaborative project with many contributors. 267s Type 'contributors()' for more information and 267s 'citation()' on how to cite R or R packages in publications. 267s 267s Type 'demo()' for some demos, 'help()' for on-line help, or 267s 'help.start()' for an HTML browser interface to help. 267s Type 'q()' to quit R. 267s 267s > ## git2r, R bindings to the libgit2 library. 267s > ## Copyright (C) 2013-2023 The git2r contributors 267s > ## 267s > ## This program is free software; you can redistribute it and/or modify 267s > ## it under the terms of the GNU General Public License, version 2, 267s > ## as published by the Free Software Foundation. 267s > ## 267s > ## git2r is distributed in the hope that it will be useful, 267s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 267s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 267s > ## GNU General Public License for more details. 267s > ## 267s > ## You should have received a copy of the GNU General Public License along 267s > ## with this program; if not, write to the Free Software Foundation, Inc., 267s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 267s > 267s > library("git2r") 268s > 268s > ## For debugging 268s > sessionInfo() 268s R version 4.3.3 (2024-02-29) 268s Platform: arm-unknown-linux-gnueabihf (32-bit) 268s Running under: Ubuntu Noble Numbat (development branch) 268s 268s Matrix products: default 268s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 268s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 268s 268s locale: 268s [1] C 268s 268s time zone: Etc/UTC 268s tzcode source: system (glibc) 268s 268s attached base packages: 268s [1] stats graphics grDevices utils datasets methods base 268s 268s other attached packages: 268s [1] git2r_0.33.0 268s 268s loaded via a namespace (and not attached): 268s [1] compiler_4.3.3 268s > libgit2_version() 268s $major 268s [1] 1 268s 268s $minor 268s [1] 7 268s 268s $rev 268s [1] 2 268s 268s > libgit2_features() 268s $threads 268s [1] TRUE 268s 268s $https 268s [1] TRUE 268s 268s $ssh 268s [1] TRUE 268s 268s > 268s > 268s > ## Create a directory in tempdir 268s > path <- tempfile(pattern = "git2r-") 268s > dir.create(path) 268s > 268s > ## Initialize a bare repository 268s > repo <- init(path, bare = TRUE) 268s > 268s > ## Check that the state of the repository 268s > stopifnot(identical(is_bare(repo), TRUE)) 268s > stopifnot(identical(is_empty(repo), TRUE)) 268s > 268s > ## Check that workdir is NULL for a bare repository 268s > stopifnot(is.null(workdir(repo))) 268s > 268s > ## Check with missing repo argument 268s > setwd(path) 268s > stopifnot(identical(is_bare(), TRUE)) 268s > 268s > ## Cleanup 268s > unlink(path, recursive = TRUE) 268s > 268s sh: 0: getcwd() failed: No such file or directory 268s BEGIN TEST blame.R 268s 268s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 268s Copyright (C) 2024 The R Foundation for Statistical Computing 268s Platform: arm-unknown-linux-gnueabihf (32-bit) 268s 268s R is free software and comes with ABSOLUTELY NO WARRANTY. 268s You are welcome to redistribute it under certain conditions. 268s Type 'license()' or 'licence()' for distribution details. 268s 268s R is a collaborative project with many contributors. 268s Type 'contributors()' for more information and 268s 'citation()' on how to cite R or R packages in publications. 268s 268s Type 'demo()' for some demos, 'help()' for on-line help, or 268s 'help.start()' for an HTML browser interface to help. 268s Type 'q()' to quit R. 268s 268s > ## git2r, R bindings to the libgit2 library. 268s > ## Copyright (C) 2013-2023 The git2r contributors 268s > ## 268s > ## This program is free software; you can redistribute it and/or modify 268s > ## it under the terms of the GNU General Public License, version 2, 268s > ## as published by the Free Software Foundation. 268s > ## 268s > ## git2r is distributed in the hope that it will be useful, 268s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 268s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 268s > ## GNU General Public License for more details. 268s > ## 268s > ## You should have received a copy of the GNU General Public License along 268s > ## with this program; if not, write to the Free Software Foundation, Inc., 268s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 268s > 268s > library(git2r) 268s > 268s > ## For debugging 268s > sessionInfo() 268s R version 4.3.3 (2024-02-29) 268s Platform: arm-unknown-linux-gnueabihf (32-bit) 268s Running under: Ubuntu Noble Numbat (development branch) 268s 268s Matrix products: default 268s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 268s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 268s 268s locale: 268s [1] C 268s 268s time zone: Etc/UTC 268s tzcode source: system (glibc) 268s 268s attached base packages: 268s [1] stats graphics grDevices utils datasets methods base 268s 268s other attached packages: 268s [1] git2r_0.33.0 268s 268s loaded via a namespace (and not attached): 268s [1] compiler_4.3.3 268s > libgit2_version() 268s $major 268s [1] 1 268s 268s $minor 268s [1] 7 268s 268s $rev 268s [1] 2 268s 268s > libgit2_features() 268s $threads 268s [1] TRUE 268s 268s $https 268s [1] TRUE 268s 268s $ssh 268s [1] TRUE 268s 268s > 268s > 268s > ## Create a directory in tempdir 268s > path <- tempfile(pattern = "git2r-") 268s > dir.create(path) 268s > 268s > ## Initialize a repository 268s > repo <- init(path) 268s > config(repo, user.name = "Alice", user.email = "alice@example.org") 268s > 268s > ## Create a file and commit 268s > writeLines("Hello world!", file.path(path, "test.txt")) 268s > add(repo, "test.txt") 268s > commit_1 <- commit(repo, "First commit message") 268s > 268s > ## Create new user and change file 268s > config(repo, user.name = "Bob", user.email = "bob@example.org") 268s > writeLines(c("Hello world!", "HELLO WORLD!", "HOLA"), 268s + file.path(path, "test.txt")) 268s > add(repo, "test.txt") 268s > commit_2 <- commit(repo, "Second commit message") 268s > 268s > ## Check blame 268s > b <- blame(repo, "test.txt") 268s > stopifnot(identical(length(b$hunks), 2L)) 268s > 268s > ## Hunk: 1 268s > stopifnot(identical(b$hunks[[1]]$lines_in_hunk, 1L)) 268s > stopifnot(identical(b$hunks[[1]]$final_commit_id, sha(commit_1))) 268s > stopifnot(identical(b$hunks[[1]]$final_start_line_number, 1L)) 268s > stopifnot(identical(b$hunks[[1]]$final_signature$name, "Alice")) 268s > stopifnot(identical(b$hunks[[1]]$final_signature$email, "alice@example.org")) 268s > stopifnot(identical(b$hunks[[1]]$orig_commit_id, sha(commit_1))) 268s > stopifnot(identical(b$hunks[[1]]$orig_start_line_number, 1L)) 268s > stopifnot(identical(b$hunks[[1]]$orig_signature$name, "Alice")) 268s > stopifnot(identical(b$hunks[[1]]$orig_signature$email, "alice@example.org")) 268s > stopifnot(identical(b$hunks[[1]]$orig_path, "test.txt")) 268s > stopifnot(identical(b$hunks[[1]]$boundary, TRUE)) 268s > 268s > ## Hunk: 2 268s > stopifnot(identical(b$hunks[[2]]$lines_in_hunk, 2L)) 268s > stopifnot(identical(b$hunks[[2]]$final_commit_id, sha(commit_2))) 268s > stopifnot(identical(b$hunks[[2]]$final_start_line_number, 2L)) 268s > stopifnot(identical(b$hunks[[2]]$final_signature$name, "Bob")) 268s > stopifnot(identical(b$hunks[[2]]$final_signature$email, "bob@example.org")) 268s > stopifnot(identical(b$hunks[[2]]$orig_commit_id, sha(commit_2))) 268s > stopifnot(identical(b$hunks[[2]]$orig_start_line_number, 2L)) 268s > stopifnot(identical(b$hunks[[2]]$orig_signature$name, "Bob")) 268s > stopifnot(identical(b$hunks[[2]]$orig_signature$email, "bob@example.org")) 268s > stopifnot(identical(b$hunks[[2]]$orig_path, "test.txt")) 268s > stopifnot(identical(b$hunks[[2]]$boundary, FALSE)) 268s > 268s > ## Cleanup 268s > unlink(path, recursive = TRUE) 268s > 268s BEGIN TEST blob.R 268s 268s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 268s Copyright (C) 2024 The R Foundation for Statistical Computing 268s Platform: arm-unknown-linux-gnueabihf (32-bit) 268s 268s R is free software and comes with ABSOLUTELY NO WARRANTY. 268s You are welcome to redistribute it under certain conditions. 268s Type 'license()' or 'licence()' for distribution details. 268s 268s R is a collaborative project with many contributors. 268s Type 'contributors()' for more information and 268s 'citation()' on how to cite R or R packages in publications. 268s 268s Type 'demo()' for some demos, 'help()' for on-line help, or 268s 'help.start()' for an HTML browser interface to help. 268s Type 'q()' to quit R. 268s 268s > ## git2r, R bindings to the libgit2 library. 268s > ## Copyright (C) 2013-2023 The git2r contributors 268s > ## 268s > ## This program is free software; you can redistribute it and/or modify 268s > ## it under the terms of the GNU General Public License, version 2, 268s > ## as published by the Free Software Foundation. 268s > ## 268s > ## git2r is distributed in the hope that it will be useful, 268s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 268s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 268s > ## GNU General Public License for more details. 268s > ## 268s > ## You should have received a copy of the GNU General Public License along 268s > ## with this program; if not, write to the Free Software Foundation, Inc., 268s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 268s > 268s > library(git2r) 268s > library(tools) 268s > source("util/check.R") 268s > 268s > ## For debugging 268s > sessionInfo() 268s R version 4.3.3 (2024-02-29) 268s Platform: arm-unknown-linux-gnueabihf (32-bit) 268s Running under: Ubuntu Noble Numbat (development branch) 268s 268s Matrix products: default 268s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 268s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 268s 268s locale: 268s [1] C 268s 268s time zone: Etc/UTC 268s tzcode source: system (glibc) 268s 268s attached base packages: 268s [1] tools stats graphics grDevices utils datasets methods 268s [8] base 268s 268s other attached packages: 268s [1] git2r_0.33.0 268s 268s loaded via a namespace (and not attached): 268s [1] compiler_4.3.3 268s > libgit2_version() 268s $major 268s [1] 1 268s 268s $minor 268s [1] 7 268s 268s $rev 268s [1] 2 268s 268s > libgit2_features() 268s $threads 268s [1] TRUE 268s 268s $https 268s [1] TRUE 268s 268s $ssh 268s [1] TRUE 268s 268s > 268s > 268s > ## Create a directory in tempdir 268s > path <- tempfile(pattern = "git2r-") 268s > dir.create(path) 268s > 268s > ## Initialize a repository 268s > repo <- init(path) 268s > config(repo, user.name = "Alice", user.email = "alice@example.org") 268s > 268s > ## Create a file 268s > f <- file(file.path(path, "test.txt"), "wb") 268s > writeChar("Hello world!\n", f, eos = NULL) 268s > close(f) 268s > 268s > ## add and commit 268s > add(repo, "test.txt") 268s > new_commit <- commit(repo, "Commit message") 268s > 268s > ## Lookup blob 268s > blob <- lookup(repo, "cd0875583aabe89ee197ea133980a9085d08e497") 268s > stopifnot(isTRUE(is_blob(blob))) 268s > stopifnot(identical(sha(blob), "cd0875583aabe89ee197ea133980a9085d08e497")) 268s > stopifnot(identical(is_binary(blob), FALSE)) 268s > stopifnot(identical(blob, lookup(repo, "cd0875"))) 268s > stopifnot(identical(length(blob), 13L)) 268s > stopifnot(identical(content(blob), "Hello world!")) 268s > stopifnot(identical(print(blob), blob)) 268s blob: cd0875583aabe89ee197ea133980a9085d08e497 268s size: 13 bytes 268s > 268s > ## Add one more commit 268s > f <- file(file.path(path, "test.txt"), "wb") 268s > writeChar("Hello world!\nHELLO WORLD!\nHeLlO wOrLd!\n", f, eos = NULL) 268s > close(f) 268s > add(repo, "test.txt") 268s > blob <- lookup(repo, tree(commit(repo, "New commit message"))$id[1]) 268s > stopifnot(identical(content(blob), 268s + c("Hello world!", "HELLO WORLD!", "HeLlO wOrLd!"))) 268s > stopifnot(identical(rawToChar(content(blob, raw = TRUE)), 268s + content(blob, split = FALSE))) 268s > 268s > ## Check content of binary file 268s > set.seed(42) 268s > x <- as.raw((sample(0:255, 1000, replace = TRUE))) 268s > writeBin(x, con = file.path(path, "test.bin")) 268s > add(repo, "test.bin") 268s > commit(repo, "Add binary file") 268s [94ce05b] 2024-03-23: Add binary file 268s > blob <- tree(last_commit(repo))["test.bin"] 268s > stopifnot(identical(content(blob), NA_character_)) 268s > stopifnot(identical(x, content(blob, raw = TRUE))) 268s > 268s > ## Hash 268s > stopifnot(identical(hash("Hello, world!\n"), 268s + "af5626b4a114abcb82d63db7c8082c3c4756e51b")) 268s > stopifnot(identical(hash("test content\n"), 268s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4")) 268s > stopifnot(identical(hash(c("Hello, world!\n", 268s + "test content\n")), 268s + c("af5626b4a114abcb82d63db7c8082c3c4756e51b", 268s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4"))) 268s > stopifnot(identical(hash(c("Hello, world!\n", 268s + NA_character_, 268s + "test content\n")), 268s + c("af5626b4a114abcb82d63db7c8082c3c4756e51b", 268s + NA_character_, 268s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4"))) 268s > stopifnot(identical(hash(character(0)), character(0))) 268s > 268s > ## Hash file 268s > test_1_txt <- file(file.path(path, "test-1.txt"), "wb") 268s > writeChar("Hello, world!\n", test_1_txt, eos = NULL) 268s > close(test_1_txt) 268s > test_2_txt <- file(file.path(path, "test-2.txt"), "wb") 268s > writeChar("test content\n", test_2_txt, eos = NULL) 268s > close(test_2_txt) 268s > stopifnot(identical(hash("Hello, world!\n"), 268s + hashfile(file.path(path, "test-1.txt")))) 268s > stopifnot(identical(hash("test content\n"), 268s + hashfile(file.path(path, "test-2.txt")))) 268s > stopifnot(identical(hash(c("Hello, world!\n", 268s + "test content\n")), 268s + hashfile(c(file.path(path, "test-1.txt"), 268s + file.path(path, "test-2.txt"))))) 268s > assertError(hashfile(c(file.path(path, "test-1.txt"), 268s + NA_character_, 268s + file.path(path, "test-2.txt")))) 268s > stopifnot(identical(hashfile(character(0)), character(0))) 268s > 268s > ## Create blob from disk 268s > tmp_file_1 <- tempfile() 268s > tmp_file_2 <- tempfile() 268s > f1 <- file(tmp_file_1, "wb") 268s > writeChar("Hello, world!\n", f1, eos = NULL) 268s > close(f1) 268s > f2 <- file(tmp_file_2, "wb") 268s > writeChar("test content\n", f2, eos = NULL) 268s > close(f2) 268s > blob_list_1 <- blob_create(repo, c(tmp_file_1, tmp_file_2), relative = FALSE) 268s > unlink(tmp_file_1) 268s > unlink(tmp_file_2) 268s > stopifnot(identical(sapply(blob_list_1, "[[", "sha"), 268s + c("af5626b4a114abcb82d63db7c8082c3c4756e51b", 268s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4"))) 268s > 268s > ## Create blob from workdir 268s > tmp_file_3 <- file.path(path, "test-workdir-1.txt") 268s > tmp_file_4 <- file.path(path, "test-workdir-2.txt") 268s > f3 <- file(tmp_file_3, "wb") 268s > writeChar("Hello, world!\n", f3, eos = NULL) 268s > close(f3) 268s > f4 <- file(tmp_file_4, "wb") 268s > writeChar("test content\n", f4, eos = NULL) 268s > close(f4) 268s > blob_list_2 <- blob_create(repo, c("test-workdir-1.txt", 268s + "test-workdir-2.txt")) 268s > stopifnot(identical(sapply(blob_list_2, "[[", "sha"), 268s + c("af5626b4a114abcb82d63db7c8082c3c4756e51b", 268s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4"))) 268s > 268s > ## Test arguments 268s > check_error(assertError(.Call(git2r:::git2r_blob_content, NULL, FALSE)), 268s + "'blob' must be an S3 class git_blob") 268s > check_error(assertError(.Call(git2r:::git2r_blob_content, 3, FALSE)), 268s + "'blob' must be an S3 class git_blob") 268s > check_error(assertError(.Call(git2r:::git2r_blob_content, repo, FALSE)), 268s + "'blob' must be an S3 class git_blob") 268s > 268s > b <- blob_list_1[[1]] 268s > b$sha <- NA_character_ 268s > check_error(assertError(.Call(git2r:::git2r_blob_content, b, FALSE)), 268s + "'blob' must be an S3 class git_blob") 268s > 268s > check_error(assertError(hashfile(NA)), "invalid 'path' argument") 268s > 268s > ## Cleanup 268s > unlink(path, recursive = TRUE) 268s > 268s BEGIN TEST branch.R 268s 268s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 268s Copyright (C) 2024 The R Foundation for Statistical Computing 268s Platform: arm-unknown-linux-gnueabihf (32-bit) 268s 268s R is free software and comes with ABSOLUTELY NO WARRANTY. 268s You are welcome to redistribute it under certain conditions. 268s Type 'license()' or 'licence()' for distribution details. 268s 268s R is a collaborative project with many contributors. 268s Type 'contributors()' for more information and 268s 'citation()' on how to cite R or R packages in publications. 268s 268s Type 'demo()' for some demos, 'help()' for on-line help, or 268s 'help.start()' for an HTML browser interface to help. 268s Type 'q()' to quit R. 268s 268s > ## git2r, R bindings to the libgit2 library. 268s > ## Copyright (C) 2013-2023 The git2r contributors 268s > ## 268s > ## This program is free software; you can redistribute it and/or modify 268s > ## it under the terms of the GNU General Public License, version 2, 268s > ## as published by the Free Software Foundation. 268s > ## 268s > ## git2r is distributed in the hope that it will be useful, 268s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 268s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 268s > ## GNU General Public License for more details. 268s > ## 268s > ## You should have received a copy of the GNU General Public License along 268s > ## with this program; if not, write to the Free Software Foundation, Inc., 268s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 268s > 268s > library(git2r) 268s > 268s > ## For debugging 268s > sessionInfo() 268s R version 4.3.3 (2024-02-29) 268s Platform: arm-unknown-linux-gnueabihf (32-bit) 268s Running under: Ubuntu Noble Numbat (development branch) 268s 268s Matrix products: default 268s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 268s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 268s 268s locale: 268s [1] C 268s 268s time zone: Etc/UTC 268s tzcode source: system (glibc) 268s 268s attached base packages: 268s [1] stats graphics grDevices utils datasets methods base 268s 268s other attached packages: 268s [1] git2r_0.33.0 268s 268s loaded via a namespace (and not attached): 268s [1] compiler_4.3.3 268s > libgit2_version() 268s $major 268s [1] 1 268s 268s $minor 268s [1] 7 268s 268s $rev 268s [1] 2 268s 268s > libgit2_features() 268s $threads 268s [1] TRUE 268s 268s $https 268s [1] TRUE 268s 268s $ssh 268s [1] TRUE 268s 268s > 268s > 268s > ## Create a directory in tempdir 268s > path <- tempfile(pattern = "git2r-") 268s > dir.create(path) 268s > 268s > ## Initialize a repository 268s > repo <- init(path, branch = "main") 268s > config(repo, user.name = "Alice", user.email = "alice@example.org") 268s > 268s > ## Create a file 268s > writeLines("Hello world!", file.path(path, "test.txt")) 268s > 268s > ## add and commit 268s > add(repo, "test.txt") 268s > commit_1 <- commit(repo, "Commit message") 268s > 268s > ## Check branch 268s > stopifnot(identical(length(branches(repo)), 1L)) 268s > stopifnot(identical(is_head(branches(repo)[[1]]), TRUE)) 268s > stopifnot(identical(is_local(branches(repo)[[1]]), TRUE)) 268s > stopifnot(identical(branches(repo)[[1]]$name, "main")) 268s > stopifnot(identical(branches(repo)[[1]], repository_head(repo))) 268s > stopifnot(identical(branches(repo)$main, repository_head(repo))) 268s > 268s > ## Check branch argument 268s > res <- tools::assertError(is_local(1)) 268s > stopifnot(length(grep("argument 'branch' must be a 'git_branch' object", 268s + res[[1]]$message)) > 0) 268s > 268s > ## Check branch name argument 268s > res <- tools::assertError(branch_set_upstream()) 268s > stopifnot(length(grep("Missing argument name", 268s + res[[1]]$message)) > 0) 268s > 268s > ## Print branch 268s > b <- repository_head(repo) 268s > stopifnot(identical(print(b), b)) 268s [9d7142] (Local) (HEAD) main 268s > 268s > ## Create a branch 268s > b <- branch_create(commit_1, name = "test") 268s > stopifnot(identical(b$name, "test")) 268s > stopifnot(identical(b$type, 1L)) 268s > stopifnot(identical(sha(b), branch_target(b))) 268s > stopifnot(identical(length(branches(repo)), 2L)) 268s > stopifnot(identical(branch_target(branches(repo)[[1]]), 268s + branch_target(branches(repo)[[2]]))) 268s > 268s > ## Check is_branch 268s > stopifnot(identical(is_branch(b), TRUE)) 268s > stopifnot(identical(is_branch(5), FALSE)) 268s > 268s > ## Add one more commit 268s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test.txt")) 268s > add(repo, "test.txt") 268s > commit_2 <- commit(repo, "Another commit message") 268s > 268s > ## Now the first branch should have moved on 268s > stopifnot(!identical(branch_target(branches(repo)[[1]]), 268s + branch_target(branches(repo)[[2]]))) 268s > 268s > ## Create a branch with the same name should fail 268s > tools::assertError(branch_create(commit_2, name = "test")) 268s > 268s > ## Force it and check the branches are identical again 268s > b <- branch_create(commit_2, name = "test", force = TRUE) 268s > stopifnot(identical(branch_target(branches(repo)[[1]]), 268s + branch_target(branches(repo)[[2]]))) 268s > 268s > ## Test arguments 268s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, NULL)) 268s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 268s + res[[1]]$message)) > 0) 268s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, 3)) 268s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 268s + res[[1]]$message)) > 0) 268s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, repo)) 268s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 268s + res[[1]]$message)) > 0) 268s > b_tmp <- b 268s > b_tmp$name <- NA_character_ 268s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, b_tmp)) 268s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 268s + res[[1]]$message)) > 0) 268s > b_tmp <- b 268s > b_tmp$type <- NA_integer_ 268s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, b_tmp)) 268s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 268s + res[[1]]$message)) > 0) 268s > b_tmp$type <- 3L 268s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, b_tmp)) 268s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 268s + res[[1]]$message)) > 0) 268s > 268s > ## Delete branch 268s > branch_delete(b) 268s > stopifnot(identical(length(branches(repo)), 1L)) 268s > 268s > ## Add one more commit 268s > writeLines(c("Hello world!", "HELLO WORLD!", "hello world"), 268s + file.path(path, "test.txt")) 268s > add(repo, "test.txt") 268s > commit_3 <- commit(repo, "Another third commit message") 268s > 268s > ## Create and test renaming of branches 268s > b_1 <- branch_create(commit_1, name = "test-1") 268s > b_2 <- branch_create(commit_2, name = "test-2") 268s > b_3 <- branch_create(commit_3, name = "test-3") 268s > stopifnot(identical(length(branches(repo)), 4L)) 268s > b_1 <- branch_rename(b_1, name = "test-1-new-name") 268s > stopifnot(identical(length(branches(repo)), 4L)) 268s > stopifnot(identical(b_1$name, "test-1-new-name")) 268s > tools::assertError(branch_rename(b_1, name = "test-2")) 268s > branch_rename(b_1, name = "test-2", force = TRUE) 268s > stopifnot(identical(length(branches(repo)), 3L)) 268s > 268s > ## Check branches method with missing repo argument 268s > wd <- setwd(path) 268s > stopifnot(identical(length(branches()), 3L)) 268s > if (!is.null(wd)) 268s + setwd(wd) 268s > 268s > ## Cleanup 268s > unlink(path, recursive = TRUE) 268s > 268s BEGIN TEST bundle.R 268s 268s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 268s Copyright (C) 2024 The R Foundation for Statistical Computing 268s Platform: arm-unknown-linux-gnueabihf (32-bit) 268s 268s R is free software and comes with ABSOLUTELY NO WARRANTY. 268s You are welcome to redistribute it under certain conditions. 268s Type 'license()' or 'licence()' for distribution details. 268s 268s R is a collaborative project with many contributors. 268s Type 'contributors()' for more information and 268s 'citation()' on how to cite R or R packages in publications. 268s 268s Type 'demo()' for some demos, 'help()' for on-line help, or 268s 'help.start()' for an HTML browser interface to help. 268s Type 'q()' to quit R. 268s 269s > ## git2r, R bindings to the libgit2 library. 269s > ## Copyright (C) 2013-2023 The git2r contributors 269s > ## 269s > ## This program is free software; you can redistribute it and/or modify 269s > ## it under the terms of the GNU General Public License, version 2, 269s > ## as published by the Free Software Foundation. 269s > ## 269s > ## git2r is distributed in the hope that it will be useful, 269s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 269s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 269s > ## GNU General Public License for more details. 269s > ## 269s > ## You should have received a copy of the GNU General Public License along 269s > ## with this program; if not, write to the Free Software Foundation, Inc., 269s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 269s > 269s > library("git2r") 269s > 269s > ## For debugging 269s > sessionInfo() 269s R version 4.3.3 (2024-02-29) 269s Platform: arm-unknown-linux-gnueabihf (32-bit) 269s Running under: Ubuntu Noble Numbat (development branch) 269s 269s Matrix products: default 269s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 269s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 269s 269s locale: 269s [1] C 269s 269s time zone: Etc/UTC 269s tzcode source: system (glibc) 269s 269s attached base packages: 269s [1] stats graphics grDevices utils datasets methods base 269s 269s other attached packages: 269s [1] git2r_0.33.0 269s 269s loaded via a namespace (and not attached): 269s [1] compiler_4.3.3 269s > libgit2_version() 269s $major 269s [1] 1 269s 269s $minor 269s [1] 7 269s 269s $rev 269s [1] 2 269s 269s > libgit2_features() 269s $threads 269s [1] TRUE 269s 269s $https 269s [1] TRUE 269s 269s $ssh 269s [1] TRUE 269s 269s > 269s > 269s > ## Create a directory in tempdir 269s > path <- tempfile(pattern = "git2r-") 269s > dir.create(file.path(path, "bundle", "R"), recursive = TRUE) 269s > 269s > ## Initialize a repository 269s > repo <- init(file.path(path, "bundle")) 269s > config(repo, user.name = "Alice", user.email = "alice@example.org") 269s > 269s > ## Create a DESCRIPTION file 269s > writeLines(c( 269s + "package: bundle", 269s + "Title: Bundle Git Repository", 269s + "Description: Bundle a bare repository of the code in the 'inst' folder.", 269s + "Version: 0.1", 269s + "License: GPL-2", 269s + "Authors@R: person('Alice', role = c('aut', 'cre'),", 269s + " email = 'alice@example.org')"), 269s + con = file.path(path, "bundle", "DESCRIPTION")) 269s > add(repo, file.path(path, "bundle", "DESCRIPTION")) 269s > commit(repo, "Add DESCRIPTION file") 269s [7cd0788] 2024-03-23: Add DESCRIPTION file 269s > 269s > ## Create R file 269s > writeLines("f <- function(x, y) x+y", 269s + con = file.path(path, "bundle", "R", "bundle.R")) 269s > add(repo, file.path(path, "bundle", "R", "bundle.R")) 269s > commit(repo, "Add R file") 269s [d914031] 2024-03-23: Add R file 269s > 269s > ## Bundle package 269s > bundle_r_package(repo) 269s cloning into '/tmp/RtmpFKGKK3/git2r-7d17b48f6e2/bundle/inst/bundle.git'... 269s > 269s > ## Fails if bundled package exists 269s > tools::assertError(bundle_r_package(repo)) 269s > 269s > ## Cleanup 269s > unlink(path, recursive = TRUE) 269s > 269s BEGIN TEST checkout-named-branch.R 269s 269s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 269s Copyright (C) 2024 The R Foundation for Statistical Computing 269s Platform: arm-unknown-linux-gnueabihf (32-bit) 269s 269s R is free software and comes with ABSOLUTELY NO WARRANTY. 269s You are welcome to redistribute it under certain conditions. 269s Type 'license()' or 'licence()' for distribution details. 269s 269s R is a collaborative project with many contributors. 269s Type 'contributors()' for more information and 269s 'citation()' on how to cite R or R packages in publications. 269s 269s Type 'demo()' for some demos, 'help()' for on-line help, or 269s 'help.start()' for an HTML browser interface to help. 269s Type 'q()' to quit R. 269s 269s > ## git2r, R bindings to the libgit2 library. 269s > ## Copyright (C) 2013-2023 The git2r contributors 269s > ## 269s > ## This program is free software; you can redistribute it and/or modify 269s > ## it under the terms of the GNU General Public License, version 2, 269s > ## as published by the Free Software Foundation. 269s > ## 269s > ## git2r is distributed in the hope that it will be useful, 269s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 269s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 269s > ## GNU General Public License for more details. 269s > ## 269s > ## You should have received a copy of the GNU General Public License along 269s > ## with this program; if not, write to the Free Software Foundation, Inc., 269s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 269s > 269s > library(git2r) 269s > 269s > ## For debugging 269s > sessionInfo() 269s R version 4.3.3 (2024-02-29) 269s Platform: arm-unknown-linux-gnueabihf (32-bit) 269s Running under: Ubuntu Noble Numbat (development branch) 269s 269s Matrix products: default 269s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 269s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 269s 269s locale: 269s [1] C 269s 269s time zone: Etc/UTC 269s tzcode source: system (glibc) 269s 269s attached base packages: 269s [1] stats graphics grDevices utils datasets methods base 269s 269s other attached packages: 269s [1] git2r_0.33.0 269s 269s loaded via a namespace (and not attached): 269s [1] compiler_4.3.3 269s > libgit2_version() 269s $major 269s [1] 1 269s 269s $minor 269s [1] 7 269s 269s $rev 269s [1] 2 269s 269s > libgit2_features() 269s $threads 269s [1] TRUE 269s 269s $https 269s [1] TRUE 269s 269s $ssh 269s [1] TRUE 269s 269s > 269s > 269s > ## Create directories for repositories in tempdir 269s > path_bare <- tempfile(pattern = "git2r-") 269s > path_repo_1 <- tempfile(pattern = "git2r-") 269s > path_repo_2 <- tempfile(pattern = "git2r-") 269s > 269s > dir.create(path_bare) 269s > dir.create(path_repo_1) 269s > dir.create(path_repo_2) 269s > 269s > ## Create bare repository 269s > bare_repo <- init(path_bare, bare = TRUE) 269s > 269s > ## Clone to repo 1 269s > repo_1 <- clone(path_bare, path_repo_1) 269s cloning into '/tmp/RtmpsEJgHR/git2r-7dd2f25dcb'... 269s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 269s > 269s > ## Add changes to repo 1 and push to bare 269s > writeLines( 269s + "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 269s + con = file.path(path_repo_1, "test.txt")) 269s > add(repo_1, "test.txt") 269s > commit(repo_1, "First commit message") 269s [16cf0a7] 2024-03-23: First commit message 269s > branch_name <- branches(repo_1)[[1]]$name 269s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 269s > 269s > ## Test checkout branch argument 269s > tools::assertError(checkout(repo_1)) 269s > tools::assertError(checkout(repo_1, c("master", "master"))) 269s > tools::assertError(checkout(repo_1, "dev")) 269s > 269s > ## Create and checkout dev branch in repo 1 269s > checkout(repo_1, "dev", create = TRUE) 269s > 269s > ## Add changes to dev branch in repo 1 and push to bare 269s > writeLines( 269s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 269s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 269s + con = file.path(path_repo_1, "test.txt")) 269s > add(repo_1, "test.txt") 269s > commit(repo_1, "Second commit message") 269s [b09bfc6] 2024-03-23: Second commit message 269s > push(repo_1, "origin", "refs/heads/dev") 269s > 269s > ## Clone to repo 2 269s > repo_2 <- clone(path_bare, path_repo_2) 269s cloning into '/tmp/RtmpsEJgHR/git2r-7dd1f8a8271'... 269s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 269s > 269s > stopifnot(identical( 269s + "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 269s + readLines(file.path(path_repo_2, "test.txt")))) 269s > 269s > ## Checkout dev branch 269s > checkout(repo_2, "dev") 269s > 269s > ## Check content of file 269s > stopifnot(identical( 269s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 269s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 269s + readLines(file.path(path_repo_2, "test.txt")))) 269s > 269s > ## Checkout previous branch 269s > checkout(repo_2, "-") 269s > stopifnot(identical(repository_head(repo_2)$name, branch_name)) 269s > 269s > ## Cleanup 269s > unlink(path_bare, recursive = TRUE) 269s > unlink(path_repo_1, recursive = TRUE) 269s > unlink(path_repo_2, recursive = TRUE) 269s > 269s BEGIN TEST checkout.R 269s 269s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 269s Copyright (C) 2024 The R Foundation for Statistical Computing 269s Platform: arm-unknown-linux-gnueabihf (32-bit) 269s 269s R is free software and comes with ABSOLUTELY NO WARRANTY. 269s You are welcome to redistribute it under certain conditions. 269s Type 'license()' or 'licence()' for distribution details. 269s 269s R is a collaborative project with many contributors. 269s Type 'contributors()' for more information and 269s 'citation()' on how to cite R or R packages in publications. 269s 269s Type 'demo()' for some demos, 'help()' for on-line help, or 269s 'help.start()' for an HTML browser interface to help. 269s Type 'q()' to quit R. 269s 269s > ## git2r, R bindings to the libgit2 library. 269s > ## Copyright (C) 2013-2023 The git2r contributors 269s > ## 269s > ## This program is free software; you can redistribute it and/or modify 269s > ## it under the terms of the GNU General Public License, version 2, 269s > ## as published by the Free Software Foundation. 269s > ## 269s > ## git2r is distributed in the hope that it will be useful, 269s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 269s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 269s > ## GNU General Public License for more details. 269s > ## 269s > ## You should have received a copy of the GNU General Public License along 269s > ## with this program; if not, write to the Free Software Foundation, Inc., 269s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 269s > 269s > library(git2r) 269s > 269s > ## For debugging 269s > sessionInfo() 269s R version 4.3.3 (2024-02-29) 269s Platform: arm-unknown-linux-gnueabihf (32-bit) 269s Running under: Ubuntu Noble Numbat (development branch) 269s 269s Matrix products: default 269s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 269s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 269s 269s locale: 269s [1] C 269s 269s time zone: Etc/UTC 269s tzcode source: system (glibc) 269s 269s attached base packages: 269s [1] stats graphics grDevices utils datasets methods base 269s 269s other attached packages: 269s [1] git2r_0.33.0 269s 269s loaded via a namespace (and not attached): 269s [1] compiler_4.3.3 269s > libgit2_version() 269s $major 269s [1] 1 269s 269s $minor 269s [1] 7 269s 269s $rev 269s [1] 2 269s 269s > libgit2_features() 269s $threads 269s [1] TRUE 269s 269s $https 269s [1] TRUE 269s 269s $ssh 269s [1] TRUE 269s 269s > 269s > 269s > ## Create a directory in tempdir 269s > path <- tempfile(pattern = "git2r-") 269s > dir.create(path) 269s > 269s > ## Initialize a repository 269s > repo <- init(path, branch = "main") 269s > config(repo, user.name = "Alice", user.email = "alice@example.org") 269s > 269s > ## Create first commit 269s > writeLines("Hello world!", file.path(path, "test.txt")) 269s > add(repo, "test.txt") 269s > commit_1 <- commit(repo, "First commit message") 269s > 269s > ## Edit file and checkout 269s > writeLines(c("Hello world!", "Hello world!"), file.path(path, "test.txt")) 269s > status_exp_1 <- structure(list(staged = structure(list(), 269s + .Names = character(0)), 269s + unstaged = structure(list(modified = "test.txt"), 269s + .Names = "modified"), 269s + untracked = structure(list(), 269s + .Names = character(0))), 269s + .Names = c("staged", "unstaged", "untracked"), 269s + class = "git_status") 269s > status_obs_1 <- status(repo) 269s > str(status_exp_1) 269s List of 3 269s $ staged : Named list() 269s $ unstaged :List of 1 269s ..$ modified: chr "test.txt" 269s $ untracked: Named list() 269s - attr(*, "class")= chr "git_status" 269s > str(status_obs_1) 269s List of 3 269s $ staged : Named list() 269s $ unstaged :List of 1 269s ..$ modified: chr "test.txt" 269s $ untracked: Named list() 269s - attr(*, "class")= chr "git_status" 269s > stopifnot(identical(status_obs_1, status_exp_1)) 269s > checkout(repo, path = "test.txt") 269s > status_exp_2 <- structure(list(staged = structure(list(), 269s + .Names = character(0)), 269s + unstaged = structure(list(), 269s + .Names = character(0)), 269s + untracked = structure(list(), 269s + .Names = character(0))), 269s + .Names = c("staged", "unstaged", "untracked"), 269s + class = "git_status") 269s > status_obs_2 <- status(repo) 269s > str(status_exp_2) 269s List of 3 269s $ staged : Named list() 269s $ unstaged : Named list() 269s $ untracked: Named list() 269s - attr(*, "class")= chr "git_status" 269s > str(status_obs_2) 269s List of 3 269s $ staged : Named list() 269s $ unstaged : Named list() 269s $ untracked: Named list() 269s - attr(*, "class")= chr "git_status" 269s > stopifnot(identical(status_obs_2, status_exp_2)) 269s > 269s > ## Create second commit 269s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test.txt")) 269s > add(repo, "test.txt") 269s > commit_2 <- commit(repo, "Second commit message") 269s > tag(repo, "commit_2", "Tag message") 269s > 269s > ## Create third commit 269s > writeLines(c("Hello world!", "HELLO WORLD!", "HeLlO wOrLd!"), 269s + file.path(path, "test.txt")) 269s > add(repo, "test.txt") 269s > commit_3 <- commit(repo, "Third commit message") 269s > 269s > ## Check HEAD 269s > stopifnot(identical(is_detached(repo), FALSE)) 269s > stopifnot(identical(repository_head(repo)$name, "main")) 269s > 269s > ## Check show and summary 269s > repo 269s Local: main /tmp/Rtmp5YCkvq/git2r-7e950f83ad5 269s Head: [f7babac] 2024-03-23: Third commit message 269s > summary(repo) 269s Local: main /tmp/Rtmp5YCkvq/git2r-7e950f83ad5 269s Head: [f7babac] 2024-03-23: Third commit message 269s 269s Branches: 1 269s Tags: 1 269s Commits: 3 269s Contributors: 1 269s Stashes: 0 269s Ignored files: 0 269s Untracked files: 0 269s Unstaged files: 0 269s Staged files: 0 269s 269s Latest commits: 269s [f7babac] 2024-03-23: Third commit message 269s [444a183] 2024-03-23: Second commit message 269s [4bd024b] 2024-03-23: First commit message 269s > 269s > ## Checkout first commit 269s > checkout(commit_1, TRUE) 269s > stopifnot(identical(is_detached(repo), TRUE)) 269s > stopifnot(identical(repository_head(repo), commit_1)) 269s > stopifnot(identical(readLines(file.path(path, "test.txt")), "Hello world!")) 269s > 269s > ## Check show and summary 269s > repo 269s Local: (detached) /tmp/Rtmp5YCkvq/git2r-7e950f83ad5 269s Head: [4bd024b] 2024-03-23: First commit message 269s > summary(repo) 269s Local: (detached) /tmp/Rtmp5YCkvq/git2r-7e950f83ad5 269s Head: [4bd024b] 2024-03-23: First commit message 269s 269s Branches: 1 269s Tags: 1 269s Commits: 1 269s Contributors: 1 269s Stashes: 0 269s Ignored files: 0 269s Untracked files: 0 269s Unstaged files: 0 269s Staged files: 0 269s 269s Latest commits: 269s [4bd024b] 2024-03-23: First commit message 269s > 269s > ## Checkout tag 269s > checkout(tags(repo)[[1]], TRUE) 269s > stopifnot(identical(is_detached(repo), TRUE)) 269s > stopifnot(identical(readLines(file.path(path, "test.txt")), 269s + c("Hello world!", "HELLO WORLD!"))) 269s > 269s > ## Check is_detached with missing repo argument 269s > wd <- setwd(path) 269s > stopifnot(identical(is_detached(), TRUE)) 269s > if (!is.null(wd)) 269s + setwd(wd) 269s > 269s > ## Cleanup 269s > unlink(path, recursive = TRUE) 269s > 269s BEGIN TEST checkout_branch.R 269s 269s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 269s Copyright (C) 2024 The R Foundation for Statistical Computing 269s Platform: arm-unknown-linux-gnueabihf (32-bit) 269s 269s R is free software and comes with ABSOLUTELY NO WARRANTY. 269s You are welcome to redistribute it under certain conditions. 269s Type 'license()' or 'licence()' for distribution details. 269s 269s R is a collaborative project with many contributors. 269s Type 'contributors()' for more information and 269s 'citation()' on how to cite R or R packages in publications. 269s 269s Type 'demo()' for some demos, 'help()' for on-line help, or 269s 'help.start()' for an HTML browser interface to help. 269s Type 'q()' to quit R. 269s 269s > ## git2r, R bindings to the libgit2 library. 269s > ## Copyright (C) 2013-2023 The git2r contributors 269s > ## 269s > ## This program is free software; you can redistribute it and/or modify 269s > ## it under the terms of the GNU General Public License, version 2, 269s > ## as published by the Free Software Foundation. 269s > ## 269s > ## git2r is distributed in the hope that it will be useful, 269s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 269s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 269s > ## GNU General Public License for more details. 269s > ## 269s > ## You should have received a copy of the GNU General Public License along 269s > ## with this program; if not, write to the Free Software Foundation, Inc., 269s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 269s > 269s > library(git2r) 269s > 269s > ## For debugging 269s > sessionInfo() 269s R version 4.3.3 (2024-02-29) 269s Platform: arm-unknown-linux-gnueabihf (32-bit) 269s Running under: Ubuntu Noble Numbat (development branch) 269s 269s Matrix products: default 269s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 269s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 269s 269s locale: 269s [1] C 269s 269s time zone: Etc/UTC 269s tzcode source: system (glibc) 269s 269s attached base packages: 269s [1] stats graphics grDevices utils datasets methods base 269s 269s other attached packages: 269s [1] git2r_0.33.0 269s 269s loaded via a namespace (and not attached): 269s [1] compiler_4.3.3 269s > libgit2_version() 269s $major 269s [1] 1 269s 269s $minor 269s [1] 7 269s 269s $rev 269s [1] 2 269s 269s > libgit2_features() 269s $threads 269s [1] TRUE 269s 269s $https 269s [1] TRUE 269s 269s $ssh 269s [1] TRUE 269s 269s > 269s > 269s > ## Create a directory in tempdir 269s > path <- tempfile(pattern = "git2r-") 269s > dir.create(path) 269s > 269s > ## Initialize a repository 269s > repo <- init(path, branch = "main") 269s > config(repo, user.name = "Alice", user.email = "alice@example.org") 269s > 269s > ## Create first commit 269s > writeLines("Hello world!", file.path(path, "test-1.txt")) 269s > add(repo, "test-1.txt") 269s > commit(repo, "First commit message") 269s [a81d60f] 2024-03-23: First commit message 269s > 269s > ## Create and checkout dev branch in repo 269s > checkout(repo, "dev", create = TRUE) 270s > 270s > ## Create second commit 270s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-2.txt")) 270s > add(repo, "test-2.txt") 270s > commit(repo, "Second commit message") 270s [1863cd4] 2024-03-23: Second commit message 270s > 270s > ## Check files 270s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 270s > 270s > ## Checkout master branch and check files 270s > checkout(repo, "main") 270s > stopifnot(identical(list.files(path), "test-1.txt")) 270s > 270s > ## Cleanup 270s > unlink(path, recursive = TRUE) 270s > 270s > ## Checkout branch in empty repository 270s > 270s > ## Create a directory in tempdir 270s > path <- tempfile(pattern = "git2r-") 270s > dir.create(path) 270s > 270s > ## Initialize a repository 270s > repo <- init(path) 270s > config(repo, user.name = "Alice", user.email = "alice@example.org") 270s > 270s > ## Create and checkout dev branch in repo 270s > checkout(repo, "dev", create = TRUE) 270s > 270s > ## Create first commit 270s > writeLines("Hello world!", file.path(path, "test-1.txt")) 270s > add(repo, "test-1.txt") 270s > commit(repo, "First commit message") 270s [a81d60f] 2024-03-23: First commit message 270s > 270s > stopifnot(identical(length(branches(repo)), 1L)) 270s > stopifnot(identical(branches(repo)[[1]]$name, "dev")) 270s > 270s > ## Cleanup 270s > unlink(path, recursive = TRUE) 270s > 270s BEGIN TEST checkout_commit.R 270s 270s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 270s Copyright (C) 2024 The R Foundation for Statistical Computing 270s Platform: arm-unknown-linux-gnueabihf (32-bit) 270s 270s R is free software and comes with ABSOLUTELY NO WARRANTY. 270s You are welcome to redistribute it under certain conditions. 270s Type 'license()' or 'licence()' for distribution details. 270s 270s R is a collaborative project with many contributors. 270s Type 'contributors()' for more information and 270s 'citation()' on how to cite R or R packages in publications. 270s 270s Type 'demo()' for some demos, 'help()' for on-line help, or 270s 'help.start()' for an HTML browser interface to help. 270s Type 'q()' to quit R. 270s 270s > ## git2r, R bindings to the libgit2 library. 270s > ## Copyright (C) 2013-2023 The git2r contributors 270s > ## 270s > ## This program is free software; you can redistribute it and/or modify 270s > ## it under the terms of the GNU General Public License, version 2, 270s > ## as published by the Free Software Foundation. 270s > ## 270s > ## git2r is distributed in the hope that it will be useful, 270s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 270s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 270s > ## GNU General Public License for more details. 270s > ## 270s > ## You should have received a copy of the GNU General Public License along 270s > ## with this program; if not, write to the Free Software Foundation, Inc., 270s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 270s > 270s > library("git2r") 270s > 270s > ## For debugging 270s > sessionInfo() 270s R version 4.3.3 (2024-02-29) 270s Platform: arm-unknown-linux-gnueabihf (32-bit) 270s Running under: Ubuntu Noble Numbat (development branch) 270s 270s Matrix products: default 270s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 270s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 270s 270s locale: 270s [1] C 270s 270s time zone: Etc/UTC 270s tzcode source: system (glibc) 270s 270s attached base packages: 270s [1] stats graphics grDevices utils datasets methods base 270s 270s other attached packages: 270s [1] git2r_0.33.0 270s 270s loaded via a namespace (and not attached): 270s [1] compiler_4.3.3 270s > libgit2_version() 270s $major 270s [1] 1 270s 270s $minor 270s [1] 7 270s 270s $rev 270s [1] 2 270s 270s > libgit2_features() 270s $threads 270s [1] TRUE 270s 270s $https 270s [1] TRUE 270s 270s $ssh 270s [1] TRUE 270s 270s > 270s > 270s > ## Create a directory in tempdir 270s > path <- tempfile(pattern = "git2r-") 270s > dir.create(path) 270s > 270s > ## Initialize a repository 270s > repo <- init(path) 270s > config(repo, user.name = "Alice", user.email = "alice@example.org") 270s > 270s > ## Create first commit 270s > writeLines("Hello world!", file.path(path, "test-1.txt")) 270s > add(repo, "test-1.txt") 270s > commit_1 <- commit(repo, "First commit message") 270s > 270s > ## Create and checkout dev branch in repo 270s > checkout(repo, "dev", create = TRUE) 270s > 270s > ## Create second commit 270s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-2.txt")) 270s > add(repo, "test-2.txt") 270s > commit_2 <- commit(repo, "Second commit message") 270s > 270s > ## Check files 270s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 270s > 270s > ## Checkout commit_1 and check files 270s > checkout(commit_1) 270s > stopifnot(identical(list.files(path), "test-1.txt")) 270s > 270s > ## Checkout commit_2 and check files 270s > checkout(commit_2) 270s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 270s > 270s > ## Cleanup 270s > unlink(path, recursive = TRUE) 270s > 270s BEGIN TEST checkout_tag.R 270s 270s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 270s Copyright (C) 2024 The R Foundation for Statistical Computing 270s Platform: arm-unknown-linux-gnueabihf (32-bit) 270s 270s R is free software and comes with ABSOLUTELY NO WARRANTY. 270s You are welcome to redistribute it under certain conditions. 270s Type 'license()' or 'licence()' for distribution details. 270s 270s R is a collaborative project with many contributors. 270s Type 'contributors()' for more information and 270s 'citation()' on how to cite R or R packages in publications. 270s 270s Type 'demo()' for some demos, 'help()' for on-line help, or 270s 'help.start()' for an HTML browser interface to help. 270s Type 'q()' to quit R. 270s 270s > ## git2r, R bindings to the libgit2 library. 270s > ## Copyright (C) 2013-2023 The git2r contributors 270s > ## 270s > ## This program is free software; you can redistribute it and/or modify 270s > ## it under the terms of the GNU General Public License, version 2, 270s > ## as published by the Free Software Foundation. 270s > ## 270s > ## git2r is distributed in the hope that it will be useful, 270s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 270s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 270s > ## GNU General Public License for more details. 270s > ## 270s > ## You should have received a copy of the GNU General Public License along 270s > ## with this program; if not, write to the Free Software Foundation, Inc., 270s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 270s > 270s > library(git2r) 270s > 270s > ## For debugging 270s > sessionInfo() 270s R version 4.3.3 (2024-02-29) 270s Platform: arm-unknown-linux-gnueabihf (32-bit) 270s Running under: Ubuntu Noble Numbat (development branch) 270s 270s Matrix products: default 270s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 270s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 270s 270s locale: 270s [1] C 270s 270s time zone: Etc/UTC 270s tzcode source: system (glibc) 270s 270s attached base packages: 270s [1] stats graphics grDevices utils datasets methods base 270s 270s other attached packages: 270s [1] git2r_0.33.0 270s 270s loaded via a namespace (and not attached): 270s [1] compiler_4.3.3 270s > libgit2_version() 270s $major 270s [1] 1 270s 270s $minor 270s [1] 7 270s 270s $rev 270s [1] 2 270s 270s > libgit2_features() 270s $threads 270s [1] TRUE 270s 270s $https 270s [1] TRUE 270s 270s $ssh 270s [1] TRUE 270s 270s > 270s > 270s > ## Create a directory in tempdir 270s > path <- tempfile(pattern = "git2r-") 270s > dir.create(path) 270s > 270s > ## Initialize a repository 270s > repo <- init(path) 270s > config(repo, user.name = "Alice", user.email = "alice@example.org") 270s > 270s > ## Create first commit 270s > writeLines("Hello world!", file.path(path, "test-1.txt")) 270s > add(repo, "test-1.txt") 270s > commit_1 <- commit(repo, "First commit message") 270s > tag_1 <- tag(repo, "Tag1", "First tag message") 270s > 270s > ## Create and checkout dev branch in repo 270s > checkout(repo, "dev", create = TRUE) 270s > 270s > ## Create second commit 270s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-2.txt")) 270s > add(repo, "test-2.txt") 270s > commit_2 <- commit(repo, "Second commit message") 270s > tag_2 <- tag(repo, "Tag2", "Second tag message") 270s > 270s > ## Check files 270s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 270s > 270s > ## Checkout tag_1 and check files 270s > checkout(tag_1) 270s > stopifnot(identical(list.files(path), "test-1.txt")) 270s > 270s > ## Checkout tag_2 and check files 270s > checkout(tag_2) 270s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 270s > 270s > ## Checkout "Tag1" and check files 270s > checkout(repo, "Tag1") 270s > stopifnot(identical(list.files(path), "test-1.txt")) 270s > 270s > ## Cleanup 270s > unlink(path, recursive = TRUE) 270s > 270s BEGIN TEST clone_bare.R 270s 270s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 270s Copyright (C) 2024 The R Foundation for Statistical Computing 270s Platform: arm-unknown-linux-gnueabihf (32-bit) 270s 270s R is free software and comes with ABSOLUTELY NO WARRANTY. 270s You are welcome to redistribute it under certain conditions. 270s Type 'license()' or 'licence()' for distribution details. 270s 270s R is a collaborative project with many contributors. 270s Type 'contributors()' for more information and 270s 'citation()' on how to cite R or R packages in publications. 270s 270s Type 'demo()' for some demos, 'help()' for on-line help, or 270s 'help.start()' for an HTML browser interface to help. 270s Type 'q()' to quit R. 270s 270s > ## git2r, R bindings to the libgit2 library. 270s > ## Copyright (C) 2013-2023 The git2r contributors 270s > ## 270s > ## This program is free software; you can redistribute it and/or modify 270s > ## it under the terms of the GNU General Public License, version 2, 270s > ## as published by the Free Software Foundation. 270s > ## 270s > ## git2r is distributed in the hope that it will be useful, 270s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 270s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 270s > ## GNU General Public License for more details. 270s > ## 270s > ## You should have received a copy of the GNU General Public License along 270s > ## with this program; if not, write to the Free Software Foundation, Inc., 270s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 270s > 270s > library("git2r") 270s > 270s > ## For debugging 270s > sessionInfo() 270s R version 4.3.3 (2024-02-29) 270s Platform: arm-unknown-linux-gnueabihf (32-bit) 270s Running under: Ubuntu Noble Numbat (development branch) 270s 270s Matrix products: default 270s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 270s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 270s 270s locale: 270s [1] C 270s 270s time zone: Etc/UTC 270s tzcode source: system (glibc) 270s 270s attached base packages: 270s [1] stats graphics grDevices utils datasets methods base 270s 270s other attached packages: 270s [1] git2r_0.33.0 270s 270s loaded via a namespace (and not attached): 270s [1] compiler_4.3.3 270s > libgit2_version() 270s $major 270s [1] 1 270s 270s $minor 270s [1] 7 270s 270s $rev 270s [1] 2 270s 270s > libgit2_features() 270s $threads 270s [1] TRUE 270s 270s $https 270s [1] TRUE 270s 270s $ssh 270s [1] TRUE 270s 270s > 270s > 270s > ## Create 2 directories in tempdir 270s > path_bare <- tempfile(pattern = "git2r-") 270s > path_repo <- tempfile(pattern = "git2r-") 270s > dir.create(path_bare) 270s > dir.create(path_repo) 270s > 270s > ## Initialize a repository 270s > repo <- init(path_repo) 270s > config(repo, user.name = "Alice", user.email = "alice@example.org") 270s > 270s > ## Add commit to repo 270s > writeLines("Hello world", con = file.path(path_repo, "test.txt")) 270s > add(repo, "test.txt") 270s > commit_1 <- commit(repo, "Commit message") 270s > 270s > ## Check bare argument 270s > tools::assertError(clone(path_repo, path_bare, bare = c(TRUE, TRUE))) 270s > tools::assertError(clone(path_repo, path_bare, bare = 1)) 270s > tools::assertError(clone(path_repo, path_bare, bare = 1L)) 270s > tools::assertError(clone(path_repo, path_bare, bare = "test")) 270s > 270s > ## Clone repo to bare repository 270s > bare_repo <- clone(path_repo, path_bare, bare = TRUE) 270s cloning into '/tmp/RtmpTs08v7/git2r-81966a27c12'... 270s > 270s > ## Check the repositores 270s > stopifnot(identical(is_bare(bare_repo), TRUE)) 270s > stopifnot(identical(is_bare(repo), FALSE)) 270s > 270s > ## Check result in bare repository 270s > stopifnot(identical(length(commits(bare_repo)), 1L)) 270s > bare_commit_1 <- commits(bare_repo)[[1]] 270s > stopifnot(identical(sha(commit_1), sha(bare_commit_1))) 270s > stopifnot(identical(commit_1$author, bare_commit_1$author)) 270s > stopifnot(identical(commit_1$committer, bare_commit_1$committer)) 270s > stopifnot(identical(commit_1$summary, bare_commit_1$summary)) 270s > stopifnot(identical(commit_1$message, bare_commit_1$message)) 270s > stopifnot(!identical(commit_1$repo, bare_commit_1$repo)) 270s > 270s > ## Cleanup 270s > unlink(path_bare, recursive = TRUE) 270s > unlink(path_repo, recursive = TRUE) 270s > 270s BEGIN TEST clone_branch.R 270s 270s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 270s Copyright (C) 2024 The R Foundation for Statistical Computing 270s Platform: arm-unknown-linux-gnueabihf (32-bit) 270s 270s R is free software and comes with ABSOLUTELY NO WARRANTY. 270s You are welcome to redistribute it under certain conditions. 270s Type 'license()' or 'licence()' for distribution details. 270s 270s R is a collaborative project with many contributors. 270s Type 'contributors()' for more information and 270s 'citation()' on how to cite R or R packages in publications. 270s 270s Type 'demo()' for some demos, 'help()' for on-line help, or 270s 'help.start()' for an HTML browser interface to help. 270s Type 'q()' to quit R. 270s 270s > ## git2r, R bindings to the libgit2 library. 270s > ## Copyright (C) 2013-2023 The git2r contributors 270s > ## 270s > ## This program is free software; you can redistribute it and/or modify 270s > ## it under the terms of the GNU General Public License, version 2, 270s > ## as published by the Free Software Foundation. 270s > ## 270s > ## git2r is distributed in the hope that it will be useful, 270s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 270s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 270s > ## GNU General Public License for more details. 270s > ## 270s > ## You should have received a copy of the GNU General Public License along 270s > ## with this program; if not, write to the Free Software Foundation, Inc., 270s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 270s > 270s > library(git2r) 271s > 271s > ## For debugging 271s > sessionInfo() 271s R version 4.3.3 (2024-02-29) 271s Platform: arm-unknown-linux-gnueabihf (32-bit) 271s Running under: Ubuntu Noble Numbat (development branch) 271s 271s Matrix products: default 271s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 271s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 271s 271s locale: 271s [1] C 271s 271s time zone: Etc/UTC 271s tzcode source: system (glibc) 271s 271s attached base packages: 271s [1] stats graphics grDevices utils datasets methods base 271s 271s other attached packages: 271s [1] git2r_0.33.0 271s 271s loaded via a namespace (and not attached): 271s [1] compiler_4.3.3 271s > libgit2_version() 271s $major 271s [1] 1 271s 271s $minor 271s [1] 7 271s 271s $rev 271s [1] 2 271s 271s > libgit2_features() 271s $threads 271s [1] TRUE 271s 271s $https 271s [1] TRUE 271s 271s $ssh 271s [1] TRUE 271s 271s > 271s > 271s > ## Create directories for repositories in tempdir 271s > path_bare <- tempfile(pattern = "git2r-") 271s > path_repo_1 <- tempfile(pattern = "git2r-") 271s > path_repo_2 <- tempfile(pattern = "git2r-") 271s > 271s > dir.create(path_bare) 271s > dir.create(path_repo_1) 271s > dir.create(path_repo_2) 271s > 271s > ## Create bare repository 271s > bare_repo <- init(path_bare, bare = TRUE) 271s > 271s > ## Clone to repo 1 271s > repo_1 <- clone(path_bare, path_repo_1) 271s cloning into '/tmp/RtmpoHNYo8/git2r-82575d02bc0'... 271s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 271s > 271s > ## Add changes to repo 1 271s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 271s + con = file.path(path_repo_1, "test-1.txt")) 271s > add(repo_1, "test-1.txt") 271s > commit_1 <- commit(repo_1, "First commit message") 271s > branch_name <- branches(repo_1)[[1]]$name 271s > 271s > ## Create 'dev' branch 271s > checkout(branch_create(commit_1, name = "dev")) 271s > 271s > ## Add more changes to repo 1 271s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 271s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 271s + con = file.path(path_repo_1, "test-1.txt")) 271s > add(repo_1, "test-1.txt") 271s > commit(repo_1, "Second commit message") 271s [9eb1933] 2024-03-23: Second commit message 271s > 271s > ## Add more changes to repo 1 271s > writeLines( 271s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 271s + "eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad", 271s + "minim veniam, quis nostrud exercitation ullamco laboris nisi ut"), 271s + con = file.path(path_repo_1, "test-1.txt")) 271s > add(repo_1, "test-1.txt") 271s > commit(repo_1, "Third commit message") 271s [7384691] 2024-03-23: Third commit message 271s > 271s > ## Push to bare 271s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 271s > push(repo_1, "origin", "refs/heads/dev") 271s > 271s > ## Print branch 271s > branches(repo_1)[[paste0("origin/", branch_name)]] 271s [ab53fc] (origin @ /tmp/RtmpoHNYo8/git2r-8252601aff9) master 271s > 271s > ## Clone to repo 2 271s > repo_2 <- clone(url = path_bare, local_path = path_repo_2, branch = "dev") 271s cloning into '/tmp/RtmpoHNYo8/git2r-8251fb9a8c6'... 271s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 271s > 271s > ## Check branch and commits 271s > stopifnot(identical(length(commits(repo_2)), 3L)) 271s > stopifnot(identical(repository_head(repo_2)$name, "dev")) 271s > 271s > ## Cleanup 271s > unlink(path_bare, recursive = TRUE) 271s > unlink(path_repo_1, recursive = TRUE) 271s > unlink(path_repo_2, recursive = TRUE) 271s > 271s BEGIN TEST clone_checkout.R 271s 271s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 271s Copyright (C) 2024 The R Foundation for Statistical Computing 271s Platform: arm-unknown-linux-gnueabihf (32-bit) 271s 271s R is free software and comes with ABSOLUTELY NO WARRANTY. 271s You are welcome to redistribute it under certain conditions. 271s Type 'license()' or 'licence()' for distribution details. 271s 271s R is a collaborative project with many contributors. 271s Type 'contributors()' for more information and 271s 'citation()' on how to cite R or R packages in publications. 271s 271s Type 'demo()' for some demos, 'help()' for on-line help, or 271s 'help.start()' for an HTML browser interface to help. 271s Type 'q()' to quit R. 271s 271s > ## git2r, R bindings to the libgit2 library. 271s > ## Copyright (C) 2013-2023 The git2r contributors 271s > ## 271s > ## This program is free software; you can redistribute it and/or modify 271s > ## it under the terms of the GNU General Public License, version 2, 271s > ## as published by the Free Software Foundation. 271s > ## 271s > ## git2r is distributed in the hope that it will be useful, 271s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 271s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 271s > ## GNU General Public License for more details. 271s > ## 271s > ## You should have received a copy of the GNU General Public License along 271s > ## with this program; if not, write to the Free Software Foundation, Inc., 271s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 271s > 271s > library("git2r") 271s > 271s > ## For debugging 271s > sessionInfo() 271s R version 4.3.3 (2024-02-29) 271s Platform: arm-unknown-linux-gnueabihf (32-bit) 271s Running under: Ubuntu Noble Numbat (development branch) 271s 271s Matrix products: default 271s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 271s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 271s 271s locale: 271s [1] C 271s 271s time zone: Etc/UTC 271s tzcode source: system (glibc) 271s 271s attached base packages: 271s [1] stats graphics grDevices utils datasets methods base 271s 271s other attached packages: 271s [1] git2r_0.33.0 271s 271s loaded via a namespace (and not attached): 271s [1] compiler_4.3.3 271s > libgit2_version() 271s $major 271s [1] 1 271s 271s $minor 271s [1] 7 271s 271s $rev 271s [1] 2 271s 271s > libgit2_features() 271s $threads 271s [1] TRUE 271s 271s $https 271s [1] TRUE 271s 271s $ssh 271s [1] TRUE 271s 271s > 271s > 271s > ## Create 2 directories in tempdir 271s > path_src <- tempfile(pattern = "git2r-") 271s > path_tgt <- tempfile(pattern = "git2r-") 271s > dir.create(path_tgt) 271s > dir.create(path_src) 271s > 271s > ## Initialize a repository 271s > repo_src <- init(path_src) 271s > config(repo_src, user.name = "Alice", user.email = "alice@example.org") 271s > 271s > ## Add commit to repo 271s > filename <- "test.txt" 271s > writeLines("Hello world", con = file.path(path_src, filename)) 271s > add(repo_src, "test.txt") 271s > commit_src <- commit(repo_src, "Commit message") 271s > 271s > ## Check checkout argument 271s > tools::assertError(clone(path_src, path_tgt, checkout = c(FALSE, TRUE))) 271s > tools::assertError(clone(path_src, path_tgt, checkout = 1)) 271s > tools::assertError(clone(path_src, path_tgt, checkout = 1L)) 271s > tools::assertError(clone(path_src, path_tgt, checkout = "test")) 271s > 271s > ## Clone source to target repository without checking out any files 271s > repo_tgt <- clone(path_src, path_tgt, checkout = FALSE) 271s cloning into '/tmp/RtmpCkq74j/git2r-8313c3f8924'... 271s > 271s > ## List files in the repositores 271s > stopifnot(identical(list.files(path_src), filename)) 271s > stopifnot(identical(list.files(path_tgt), character(0))) 271s > 271s > ## Compare commits 271s > stopifnot(identical(length(commits(repo_tgt)), 1L)) 271s > commit_tgt <- last_commit(repo_tgt) 271s > stopifnot(identical(sha(last_commit(path_tgt)), sha(commit_tgt))) 271s > stopifnot(identical(sha(commit_src), sha(commit_tgt))) 271s > stopifnot(identical(commit_src$author, commit_tgt$author)) 271s > stopifnot(identical(commit_src$committer, commit_tgt$committer)) 271s > stopifnot(identical(commit_src$summary, commit_tgt$summary)) 271s > stopifnot(identical(commit_src$message, commit_tgt$message)) 271s > stopifnot(!identical(commit_src$repo, commit_tgt$repo)) 271s > 271s > ## Cleanup 271s > unlink(path_tgt, recursive = TRUE) 271s > unlink(path_src, recursive = TRUE) 271s > 271s BEGIN TEST commit.R 271s 271s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 271s Copyright (C) 2024 The R Foundation for Statistical Computing 271s Platform: arm-unknown-linux-gnueabihf (32-bit) 271s 271s R is free software and comes with ABSOLUTELY NO WARRANTY. 271s You are welcome to redistribute it under certain conditions. 271s Type 'license()' or 'licence()' for distribution details. 271s 271s R is a collaborative project with many contributors. 271s Type 'contributors()' for more information and 271s 'citation()' on how to cite R or R packages in publications. 271s 271s Type 'demo()' for some demos, 'help()' for on-line help, or 271s 'help.start()' for an HTML browser interface to help. 271s Type 'q()' to quit R. 271s 271s > ## git2r, R bindings to the libgit2 library. 271s > ## Copyright (C) 2013-2023 The git2r contributors 271s > ## 271s > ## This program is free software; you can redistribute it and/or modify 271s > ## it under the terms of the GNU General Public License, version 2, 271s > ## as published by the Free Software Foundation. 271s > ## 271s > ## git2r is distributed in the hope that it will be useful, 271s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 271s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 271s > ## GNU General Public License for more details. 271s > ## 271s > ## You should have received a copy of the GNU General Public License along 271s > ## with this program; if not, write to the Free Software Foundation, Inc., 271s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 271s > 271s > library(git2r) 271s > source("util/check.R") 271s > 271s > ## For debugging 271s > sessionInfo() 271s R version 4.3.3 (2024-02-29) 271s Platform: arm-unknown-linux-gnueabihf (32-bit) 271s Running under: Ubuntu Noble Numbat (development branch) 271s 271s Matrix products: default 271s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 271s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 271s 271s locale: 271s [1] C 271s 271s time zone: Etc/UTC 271s tzcode source: system (glibc) 271s 271s attached base packages: 271s [1] stats graphics grDevices utils datasets methods base 271s 271s other attached packages: 271s [1] git2r_0.33.0 271s 271s loaded via a namespace (and not attached): 271s [1] compiler_4.3.3 271s > libgit2_version() 271s $major 271s [1] 1 271s 271s $minor 271s [1] 7 271s 271s $rev 271s [1] 2 271s 271s > libgit2_features() 271s $threads 271s [1] TRUE 271s 271s $https 271s [1] TRUE 271s 271s $ssh 271s [1] TRUE 271s 271s > 271s > 271s > ## Create a directory in tempdir 271s > path <- tempfile(pattern = "git2r-") 271s > dir.create(path) 271s > 271s > ## Initialize a repository 271s > repo <- init(path) 271s > config(repo, user.name = "Alice", user.email = "alice@example.org") 271s > 271s > ## Commit without adding changes should produce an error 271s > tools::assertError(commit(repo, "Test to commit")) 271s > 271s > ## Create a file 271s > writeLines("Hello world!", file.path(path, "test.txt")) 271s > 271s > ## Commit without adding changes should produce an error 271s > tools::assertError(commit(repo, "Test to commit")) 271s > 271s > ## Add 271s > add(repo, "test.txt") 271s > 271s > ## Commit with empty message should produce an error 271s > tools::assertError(commit(repo, "")) 271s > 271s > ## Commit 271s > commit_1 <- commit(repo, "Commit message", session = TRUE) 271s > summary(commit_1) 271s Commit: 9981010804b7fc03ca4af918214c53990edb11c9 271s Author: Alice 271s When: 2024-03-23 01:14:49 GMT 271s 271s Commit message 271s 271s sessionInfo: 271s R version 4.3.3 (2024-02-29) 271s Platform: arm-unknown-linux-gnueabihf (32-bit) 271s Running under: Ubuntu Noble Numbat (development branch) 271s 271s Matrix products: default 271s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 271s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 271s 271s locale: 271s [1] C 271s 271s time zone: Etc/UTC 271s tzcode source: system (glibc) 271s 271s attached base packages: 271s [1] stats graphics grDevices utils datasets methods base 271s 271s other attached packages: 271s [1] git2r_0.33.0 271s 271s loaded via a namespace (and not attached): 271s [1] compiler_4.3.3 tools_4.3.3 271s > tag_1 <- tag(repo, "Tagname1", "Tag message 1") 271s > 271s > ## Check commit 271s > stopifnot(identical(commit_1$author$name, "Alice")) 271s > stopifnot(identical(commit_1$author$email, "alice@example.org")) 271s > stopifnot(identical(lookup(repo, sha(commit_1)), commit_1)) 271s > stopifnot(identical(length(commits(repo)), 1L)) 271s > stopifnot(identical(commits(repo)[[1]]$author$name, "Alice")) 271s > stopifnot(identical(commits(repo)[[1]]$author$email, "alice@example.org")) 271s > stopifnot(identical(parents(commit_1), list())) 271s > stopifnot(identical(print(commit_1), commit_1)) 271s [9981010] 2024-03-23: Commit message 271s > 271s > ## Check is_commit 271s > stopifnot(identical(is_commit(commit_1), TRUE)) 271s > stopifnot(identical(is_commit(5), FALSE)) 271s > 271s > ## Commit without adding changes should produce an error 271s > tools::assertError(commit(repo, "Test to commit")) 271s > 271s > ## Add another commit 271s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test.txt")) 271s > add(repo, "test.txt") 271s > commit_2 <- commit(repo, "Commit message 2") 271s > summary(commit_2) 271s Commit: 6ef88e07d838e58a40eaa8a1657d8cb971efe262 271s Author: Alice 271s When: 2024-03-23 01:14:49 GMT 271s 271s Commit message 2 271s 1 file changed, 1 insertions, 0 deletions 271s test.txt | -0 +1 in 1 hunk 271s 271s > tag_2 <- tag(repo, "Tagname2", "Tag message 2") 271s > 271s > ## Check relationship 271s > stopifnot(identical(descendant_of(commit_2, commit_1), TRUE)) 271s > stopifnot(identical(descendant_of(commit_1, commit_2), FALSE)) 271s > stopifnot(identical(descendant_of(tag_2, tag_1), TRUE)) 271s > stopifnot(identical(descendant_of(tag_1, tag_2), FALSE)) 271s > stopifnot(identical(descendant_of(branches(repo)[[1]], commit_1), TRUE)) 271s > stopifnot(identical(descendant_of(commit_1, branches(repo)[[1]]), FALSE)) 271s > stopifnot(identical(length(parents(commit_2)), 1L)) 271s > stopifnot(identical(parents(commit_2)[[1]], commit_1)) 271s > 271s > ## Check contributions 271s > stopifnot(identical( 271s + colnames(contributions(repo, by = "author", breaks = "day")), 271s + c("when", "author", "n"))) 271s > stopifnot(identical(colnames(contributions(repo)), 271s + c("when", "n"))) 271s > stopifnot(identical(nrow(contributions(repo)), 1L)) 271s > stopifnot(identical(contributions(repo)$n, 2L)) 271s > stopifnot(identical(contributions(repo, by = "author", breaks = "day")$n, 2L)) 271s > 271s > ## Add another commit with 'all' argument 271s > writeLines(c("Hello world!", "HELLO WORLD!", "HeLlO wOrLd!"), 271s + file.path(path, "test.txt")) 271s > commit(repo, "Commit message 3", all = TRUE) 271s [8a919d1] 2024-03-23: Commit message 3 271s > 271s > status_clean <- structure(list(staged = empty_named_list(), 271s + unstaged = empty_named_list(), 271s + untracked = empty_named_list()), 271s + class = "git_status") 271s > stopifnot(identical(status(repo), status_clean)) 271s > 271s > ## Delete file and commit with 'all' argument 271s > file.remove(file.path(path, "test.txt")) 271s [1] TRUE 271s > commit(repo, "Commit message 4", all = TRUE) 271s [84844a0] 2024-03-23: Commit message 4 271s > 271s > stopifnot(identical(status(repo), status_clean)) 271s > 271s > ## Add and commit multiple tracked files with 'all' argument 271s > writeLines(sample(letters, 3), file.path(path, "test2.txt")) 271s > add(repo, "test2.txt") 271s > writeLines(sample(letters, 3), file.path(path, "test3.txt")) 271s > add(repo, "test3.txt") 271s > writeLines(sample(letters, 3), file.path(path, "test4.txt")) 271s > add(repo, "test4.txt") 271s > commit(repo, "Commit message 5") 271s [aeae9d5] 2024-03-23: Commit message 5 271s > 271s > stopifnot(identical(status(repo), status_clean)) 271s > 271s > writeLines(sample(letters, 3), file.path(path, "test2.txt")) 271s > writeLines(sample(letters, 3), file.path(path, "test3.txt")) 271s > writeLines(sample(letters, 3), file.path(path, "test4.txt")) 271s > commit(repo, "Commit message 6", all = TRUE) 271s [cb0d415] 2024-03-23: Commit message 6 271s > 271s > stopifnot(identical(status(repo), status_clean)) 271s > 271s > ## Add one tracked file and delete another with 'all' argument 271s > writeLines(sample(letters, 3), file.path(path, "test2.txt")) 271s > file.remove(file.path(path, "test4.txt")) 271s [1] TRUE 271s > commit(repo, "Commit message 7", all = TRUE) 271s [66e2f62] 2024-03-23: Commit message 7 271s > 271s > stopifnot(identical(status(repo), status_clean)) 271s > 271s > ## Delete multiple tracked files with 'all' argument 271s > file.remove(file.path(path, "test2.txt")) 271s [1] TRUE 271s > file.remove(file.path(path, "test3.txt")) 271s [1] TRUE 271s > commit(repo, "Commit message 8", all = TRUE) 271s [2a6deb6] 2024-03-23: Commit message 8 271s > 271s > stopifnot(identical(status(repo), status_clean)) 271s > 271s > ## Check max number of commits in output 271s > stopifnot(identical(length(commits(repo)), 8L)) 271s > stopifnot(identical(length(commits(repo, n = -1)), 8L)) 271s > stopifnot(identical(length(commits(repo, n = 2)), 2L)) 271s > tools::assertError(commits(repo, n = 2.2)) 271s > tools::assertError(commits(repo, n = "2")) 271s > tools::assertError(commits(repo, n = 1:2)) 271s > 271s > ## Check to coerce repository to data.frame 271s > df <- as.data.frame(repo) 271s > stopifnot(identical(dim(df), c(8L, 6L))) 271s > stopifnot(identical(names(df), c("sha", "summary", "message", 271s + "author", "email", "when"))) 271s > 271s > ## Set working directory to path and check commits 271s > setwd(path) 271s > stopifnot(identical(sha(last_commit()), sha(commits(repo, n = 1)[[1]]))) 271s > stopifnot(identical(length(commits()), 8L)) 271s > stopifnot(identical(length(commits(n = -1)), 8L)) 271s > stopifnot(identical(length(commits(n = 2)), 2L)) 271s > tools::assertError(commits(n = 2.2)) 271s > tools::assertError(commits(n = "2")) 271s > 271s > ## Check plot method 271s > plot_file <- tempfile(fileext = ".pdf") 271s > pdf(plot_file) 271s > plot(repo) 271s > dev.off() 271s null device 271s 1 271s > stopifnot(file.exists(plot_file)) 271s > unlink(plot_file) 271s > 271s > ## Check punch card plot method 271s > punch_card_plot_file <- tempfile(fileext = ".pdf") 271s > pdf(punch_card_plot_file) 271s > punch_card(repo) 271s > dev.off() 271s null device 271s 1 271s > stopifnot(file.exists(punch_card_plot_file)) 271s > unlink(punch_card_plot_file) 271s > 271s > ## Check that 'git2r_arg_check_commit' raise error 271s > res <- tools::assertError(.Call(git2r:::git2r_commit_tree, NULL)) 271s > stopifnot(length(grep("'commit' must be an S3 class git_commit", 271s + res[[1]]$message)) > 0) 271s > res <- tools::assertError(.Call(git2r:::git2r_commit_tree, 3)) 271s > stopifnot(length(grep("'commit' must be an S3 class git_commit", 271s + res[[1]]$message)) > 0) 271s > res <- tools::assertError(.Call(git2r:::git2r_commit_tree, repo)) 271s > stopifnot(length(grep("'commit' must be an S3 class git_commit", 271s + res[[1]]$message)) > 0) 271s > commit_1$sha <- NA_character_ 271s > res <- tools::assertError(.Call(git2r:::git2r_commit_tree, commit_1)) 271s > stopifnot(length(grep("'commit' must be an S3 class git_commit", 271s + res[[1]]$message)) > 0) 271s > 271s > ## Cleanup 271s > unlink(path, recursive = TRUE) 271s > 271s > if (identical(Sys.getenv("NOT_CRAN"), "true") || 271s + identical(Sys.getenv("R_COVR"), "true")) { 271s + path <- tempfile(pattern = "git2r-") 271s + dir.create(path) 271s + setwd(path) 271s + system("git clone --depth 2 https://github.com/ropensci/git2r.git") 271s + 271s + ## Check the number of commits in the shallow clone. 271s + stopifnot(identical(length(commits(repository("git2r"))), 2L)) 271s + stopifnot(identical(length(commits(repository("git2r"), n = 1)), 1L)) 271s + 271s + ## Cleanup 271s + unlink(path, recursive = TRUE) 271s + } 271s > 271s sh: 0: getcwd() failed: No such file or directory 271s BEGIN TEST commits_path.R 271s 271s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 271s Copyright (C) 2024 The R Foundation for Statistical Computing 271s Platform: arm-unknown-linux-gnueabihf (32-bit) 271s 271s R is free software and comes with ABSOLUTELY NO WARRANTY. 271s You are welcome to redistribute it under certain conditions. 271s Type 'license()' or 'licence()' for distribution details. 271s 271s R is a collaborative project with many contributors. 271s Type 'contributors()' for more information and 271s 'citation()' on how to cite R or R packages in publications. 271s 271s Type 'demo()' for some demos, 'help()' for on-line help, or 271s 'help.start()' for an HTML browser interface to help. 271s Type 'q()' to quit R. 271s 271s > ## git2r, R bindings to the libgit2 library. 271s > ## Copyright (C) 2013-2023 The git2r contributors 271s > ## 271s > ## This program is free software; you can redistribute it and/or modify 271s > ## it under the terms of the GNU General Public License, version 2, 271s > ## as published by the Free Software Foundation. 271s > ## 271s > ## git2r is distributed in the hope that it will be useful, 271s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 271s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 271s > ## GNU General Public License for more details. 271s > ## 271s > ## You should have received a copy of the GNU General Public License along 271s > ## with this program; if not, write to the Free Software Foundation, Inc., 271s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 271s > 271s > library(git2r) 271s > 271s > ## For debugging 271s > sessionInfo() 271s R version 4.3.3 (2024-02-29) 271s Platform: arm-unknown-linux-gnueabihf (32-bit) 271s Running under: Ubuntu Noble Numbat (development branch) 271s 271s Matrix products: default 271s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 271s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 271s 271s locale: 271s [1] C 271s 271s time zone: Etc/UTC 271s tzcode source: system (glibc) 271s 271s attached base packages: 271s [1] stats graphics grDevices utils datasets methods base 271s 271s other attached packages: 271s [1] git2r_0.33.0 271s 271s loaded via a namespace (and not attached): 271s [1] compiler_4.3.3 271s > libgit2_version() 271s $major 271s [1] 1 271s 271s $minor 271s [1] 7 271s 271s $rev 271s [1] 2 271s 271s > libgit2_features() 271s $threads 271s [1] TRUE 271s 271s $https 271s [1] TRUE 271s 271s $ssh 271s [1] TRUE 271s 271s > 271s > 271s > ## Create a directory in tempdir 271s > path <- tempfile(pattern = "git2r-") 271s > dir.create(path) 271s > 271s > ## Initialize a repository 271s > repo <- init(path, branch = "main") 271s > config(repo, user.name = "Alice", user.email = "alice@example.org") 271s > 271s > ## Create two files and alternate commits 271s > writeLines("1", file.path(path, "odd.txt")) 271s > add(repo, "odd.txt") 271s > c1 <- commit(repo, "commit 1") 271s > 271s > writeLines("2", file.path(path, "even.txt")) 271s > add(repo, "even.txt") 272s > c2 <- commit(repo, "commit 2") 272s > 272s > writeLines("3", file.path(path, "odd.txt")) 272s > add(repo, "odd.txt") 272s > c3 <- commit(repo, "commit 3") 272s > 272s > writeLines("4", file.path(path, "even.txt")) 272s > add(repo, "even.txt") 272s > c4 <- commit(repo, "commit 4") 272s > 272s > writeLines("5", file.path(path, "odd.txt")) 272s > add(repo, "odd.txt") 272s > c5 <- commit(repo, "commit 5") 272s > 272s > writeLines("6", file.path(path, "even.txt")) 272s > add(repo, "even.txt") 272s > c6 <- commit(repo, "commit 6") 272s > 272s > commits_all <- commits(repo) 272s > stopifnot(length(commits_all) == 6) 272s > 272s > ## Test path 272s > commits_odd <- commits(repo, path = "odd.txt") 272s > stopifnot(length(commits_odd) == 3) 272s > stopifnot(commits_odd[[1]]$sha == c5$sha) 272s > stopifnot(commits_odd[[2]]$sha == c3$sha) 272s > stopifnot(commits_odd[[3]]$sha == c1$sha) 272s > 272s > commits_even <- commits(repo, path = "even.txt") 272s > stopifnot(length(commits_even) == 3) 272s > stopifnot(commits_even[[1]]$sha == c6$sha) 272s > stopifnot(commits_even[[2]]$sha == c4$sha) 272s > stopifnot(commits_even[[3]]$sha == c2$sha) 272s > 272s > ## Test reverse 272s > commits_odd_rev <- commits(repo, reverse = TRUE, path = "odd.txt") 272s > stopifnot(length(commits_odd_rev) == 3) 272s > stopifnot(commits_odd_rev[[1]]$sha == c1$sha) 272s > stopifnot(commits_odd_rev[[2]]$sha == c3$sha) 272s > stopifnot(commits_odd_rev[[3]]$sha == c5$sha) 272s > 272s > commits_even_rev <- commits(repo, reverse = TRUE, path = "even.txt") 272s > stopifnot(length(commits_even_rev) == 3) 272s > stopifnot(commits_even_rev[[1]]$sha == c2$sha) 272s > stopifnot(commits_even_rev[[2]]$sha == c4$sha) 272s > stopifnot(commits_even_rev[[3]]$sha == c6$sha) 272s > 272s > ## Test n 272s > commits_odd_n <- commits(repo, n = 2, path = "odd.txt") 272s > stopifnot(length(commits_odd_n) == 2) 272s > stopifnot(commits_odd_n[[1]]$sha == c5$sha) 272s > stopifnot(commits_odd_n[[2]]$sha == c3$sha) 272s > 272s > commits_even_n <- commits(repo, n = 2, path = "even.txt") 272s > stopifnot(length(commits_even_n) == 2) 272s > stopifnot(commits_even_n[[1]]$sha == c6$sha) 272s > stopifnot(commits_even_n[[2]]$sha == c4$sha) 272s > 272s > commits_odd_0 <- commits(repo, n = 0, path = "odd.txt") 272s > stopifnot(length(commits_odd_0) == 0) 272s > stopifnot(identical(commits_odd_0, list())) 272s > 272s > commits_even_0 <- commits(repo, n = 0, path = "even.txt") 272s > stopifnot(length(commits_even_0) == 0) 272s > stopifnot(identical(commits_even_0, list())) 272s > 272s > ## Test ref 272s > checkout(repo, branch = "test-ref", create = TRUE) 272s > 272s > writeLines("7", file.path(path, "odd.txt")) 272s > add(repo, "odd.txt") 272s > c7 <- commit(repo, "commit 7") 272s > 272s > writeLines("8", file.path(path, "even.txt")) 272s > add(repo, "even.txt") 272s > c8 <- commit(repo, "commit 8") 272s > 272s > commits_odd_ref <- commits(repo, ref = "main", path = "odd.txt") 272s > stopifnot(length(commits_odd_ref) == 3) 272s > stopifnot(commits_odd_ref[[1]]$sha == c5$sha) 272s > stopifnot(commits_odd_ref[[2]]$sha == c3$sha) 272s > stopifnot(commits_odd_ref[[3]]$sha == c1$sha) 272s > 272s > commits_even_ref <- commits(repo, ref = "main", path = "even.txt") 272s > stopifnot(length(commits_even_ref) == 3) 272s > stopifnot(commits_even_ref[[1]]$sha == c6$sha) 272s > stopifnot(commits_even_ref[[2]]$sha == c4$sha) 272s > stopifnot(commits_even_ref[[3]]$sha == c2$sha) 272s > 272s > checkout(repo, branch = "main") 272s > 272s > ## Test renaming a file (path does not support --follow) 272s > writeLines("a file to be renamed", file.path(path, "original.txt")) 272s > add(repo, "original.txt") 272s > c_original <- commit(repo, "commit original") 272s > 272s > commits_original <- commits(repo, path = "original.txt") 272s > stopifnot(length(commits_original) == 1) 272s > stopifnot(commits_original[[1]]$sha == c_original$sha) 272s > 272s > file.rename(file.path(path, "original.txt"), file.path(path, "new.txt")) 272s [1] TRUE 272s > add(repo, c("original.txt", "new.txt")) 272s > c_new <- commit(repo, "commit new") 272s > 272s > commits_new <- commits(repo, path = "new.txt") 272s > stopifnot(length(commits_new) == 1) 272s > stopifnot(commits_new[[1]]$sha == c_new$sha) 272s > 272s > ## Test merge commits 272s > writeLines(letters[1:5], file.path(path, "merge.txt")) 272s > add(repo, "merge.txt") 272s > c_merge_1 <- commit(repo, "commit merge 1") 272s > 272s > checkout(repo, branch = "test-merge", create = TRUE) 272s > cat("z", file = file.path(path, "merge.txt"), append = TRUE) 272s > add(repo, "merge.txt") 272s > c_merge_2 <- commit(repo, "commit merge 2") 272s > 272s > checkout(repo, branch = "main") 272s > writeLines(c("A", letters[2:5]), file.path(path, "merge.txt")) 272s > add(repo, "merge.txt") 272s > c_merge_3 <- commit(repo, "commit merge 3") 272s > 272s > c_merge_4 <- merge(repo, "test-merge") 272s > stopifnot(class(c_merge_4) == "git_merge_result") 272s > 272s > commits_merge <- commits(repo, path = "merge.txt") 272s > stopifnot(length(commits_merge) == 4) 272s > stopifnot(commits_merge[[1]]$sha == c_merge_4$sha) 272s > stopifnot(commits_merge[[2]]$sha == c_merge_3$sha) 272s > stopifnot(commits_merge[[3]]$sha == c_merge_2$sha) 272s > stopifnot(commits_merge[[4]]$sha == c_merge_1$sha) 272s > 272s > ## Test absolute path 272s > writeLines("absolute", file.path(path, "abs.txt")) 272s > add(repo, "abs.txt") 272s > c_abs <- commit(repo, "commit absolute") 272s > 272s > commits_abs <- commits(repo, path = file.path(path, "abs.txt")) 272s > stopifnot(length(commits_abs) == 1) 272s > stopifnot(commits_abs[[1]]$sha == c_abs$sha) 272s > 272s > ## Test topological and time 272s > ## Strategy: 272s > ## - Commit a new file test-time.txt 272s > ## - Commit a change on branch test-time-1 (a) 272s > ## - Commit a change on branch test-time-2 (c) 272s > ## - Commit a change on branch test-time-1 (b) 272s > ## - Commit a change on branch test-time-2 (d) 272s > ## - Merge branch test-time-2 into main (fast-forward) 272s > ## - Merge branch test-time-1 into main (merge commit) 272s > ## 272s > ## $ git log --all --decorate --oneline --graph -n 6 272s > ## * 79e6880 (HEAD -> main) merge test-time-1 272s > ## |\ 272s > ## | * e2f18f1 (test-time-1) commit b 272s > ## | * 5f34820 commit a 272s > ## * | b954ec9 (test-time-2) commit d 272s > ## * | 7ae2fd5 commit c 272s > ## |/ 272s > ## * 923f3ea commit base 272s > Sys.sleep(1) 273s > writeLines(as.character(1:100), file.path(path, "test-time.txt")) 273s > add(repo, "test-time.txt") 273s > c_base <- commit(repo, "commit base") 273s > Sys.sleep(1) 274s > branch_create(commit = c_base, name = "test-time-1") 274s > branch_create(commit = c_base, name = "test-time-2") 274s > 274s > checkout(repo, branch = "test-time-1") 274s > writeLines(c("edit", 2:100), file.path(path, "test-time.txt")) 274s > add(repo, "test-time.txt") 274s > c_a <- commit(repo, "commit a") 274s > Sys.sleep(1) 275s > 275s > checkout(repo, branch = "test-time-2") 275s > writeLines(c(1:25, "edit", 27:100), file.path(path, "test-time.txt")) 275s > add(repo, "test-time.txt") 275s > c_c <- commit(repo, "commit c") 275s > Sys.sleep(1) 276s > 276s > checkout(repo, branch = "test-time-1") 276s > writeLines(c(1:50, "edit", 52:100), file.path(path, "test-time.txt")) 276s > add(repo, "test-time.txt") 276s > c_b <- commit(repo, "commit b") 276s > Sys.sleep(1) 277s > 277s > checkout(repo, branch = "test-time-2") 277s > writeLines(c(1:75, "edit", 77:100), file.path(path, "test-time.txt")) 277s > add(repo, "test-time.txt") 277s > c_d <- commit(repo, "commit d") 277s > Sys.sleep(1) 278s > 278s > checkout(repo, branch = "main") 278s > merge(repo, "test-time-2") # Fast-forward 278s Merge: Fast-forward 278s > merge(repo, "test-time-1") # Merge commit 278s Merge 278s > c_merge_time <- commits(repo, n = 1)[[1]] 278s > 278s > ## topological - commits in test-time-2 come first because it was 278s > ## merged first 278s > stopifnot(identical( 278s + commits(repo, topological = TRUE, time = FALSE, path = "test-time.txt"), 278s + list(c_merge_time, c_b, c_a, c_d, c_c, c_base) 278s + )) 278s > stopifnot(identical( 278s + commits(repo, topological = TRUE, time = FALSE, path = "test-time.txt"), 278s + commits(repo, topological = TRUE, time = FALSE)[1:6] 278s + )) 278s > 278s > ## time - commits ordered by time they were created, not merged into 278s > ## main 278s > stopifnot(identical( 278s + commits(repo, topological = FALSE, time = TRUE, path = "test-time.txt"), 278s + list(c_merge_time, c_d, c_b, c_c, c_a, c_base) 278s + )) 278s > stopifnot(identical( 278s + commits(repo, topological = FALSE, time = TRUE, path = "test-time.txt"), 278s + commits(repo, topological = FALSE, time = TRUE)[1:6] 278s + )) 278s > 278s > ## topological and time - dominated by time 278s > stopifnot(identical( 278s + commits(repo, topological = TRUE, time = TRUE, path = "test-time.txt"), 278s + list(c_merge_time, c_d, c_b, c_c, c_a, c_base) 278s + )) 278s > stopifnot(identical( 278s + commits(repo, topological = TRUE, time = TRUE, path = "test-time.txt"), 278s + commits(repo, topological = TRUE, time = TRUE)[1:6] 278s + )) 278s > 278s > ## reverse with topological and/or time 278s > stopifnot(identical( 278s + commits(repo, topological = TRUE, time = FALSE, reverse = TRUE, 278s + path = "test-time.txt"), 278s + rev(list(c_merge_time, c_b, c_a, c_d, c_c, c_base)) 278s + )) 278s > stopifnot(identical( 278s + commits(repo, topological = FALSE, time = TRUE, reverse = TRUE, 278s + path = "test-time.txt"), 278s + rev(list(c_merge_time, c_d, c_b, c_c, c_a, c_base)) 278s + )) 278s > stopifnot(identical( 278s + commits(repo, topological = TRUE, time = TRUE, reverse = TRUE, 278s + path = "test-time.txt"), 278s + rev(list(c_merge_time, c_d, c_b, c_c, c_a, c_base)) 278s + )) 278s > 278s > ## Cleanup 278s > unlink(path, recursive = TRUE) 278s > 278s BEGIN TEST config.R 278s 278s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 278s Copyright (C) 2024 The R Foundation for Statistical Computing 278s Platform: arm-unknown-linux-gnueabihf (32-bit) 278s 278s R is free software and comes with ABSOLUTELY NO WARRANTY. 278s You are welcome to redistribute it under certain conditions. 278s Type 'license()' or 'licence()' for distribution details. 278s 278s R is a collaborative project with many contributors. 278s Type 'contributors()' for more information and 278s 'citation()' on how to cite R or R packages in publications. 278s 278s Type 'demo()' for some demos, 'help()' for on-line help, or 278s 'help.start()' for an HTML browser interface to help. 278s Type 'q()' to quit R. 278s 278s > ## git2r, R bindings to the libgit2 library. 278s > ## Copyright (C) 2013-2023 The git2r contributors 278s > ## 278s > ## This program is free software; you can redistribute it and/or modify 278s > ## it under the terms of the GNU General Public License, version 2, 278s > ## as published by the Free Software Foundation. 278s > ## 278s > ## git2r is distributed in the hope that it will be useful, 278s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 278s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 278s > ## GNU General Public License for more details. 278s > ## 278s > ## You should have received a copy of the GNU General Public License along 278s > ## with this program; if not, write to the Free Software Foundation, Inc., 278s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 278s > 278s > library("git2r") 278s > 278s > ## For debugging 278s > sessionInfo() 278s R version 4.3.3 (2024-02-29) 278s Platform: arm-unknown-linux-gnueabihf (32-bit) 278s Running under: Ubuntu Noble Numbat (development branch) 278s 278s Matrix products: default 278s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 278s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 278s 278s locale: 278s [1] C 278s 278s time zone: Etc/UTC 278s tzcode source: system (glibc) 278s 278s attached base packages: 278s [1] stats graphics grDevices utils datasets methods base 278s 278s other attached packages: 278s [1] git2r_0.33.0 278s 278s loaded via a namespace (and not attached): 278s [1] compiler_4.3.3 278s > libgit2_version() 278s $major 278s [1] 1 278s 278s $minor 278s [1] 7 278s 278s $rev 278s [1] 2 278s 278s > libgit2_features() 278s $threads 278s [1] TRUE 278s 278s $https 278s [1] TRUE 278s 278s $ssh 278s [1] TRUE 278s 278s > 278s > 278s > ## Create a directory in tempdir 278s > path <- tempfile(pattern = "git2r-") 278s > dir.create(path) 278s > 278s > ## Initialize a repository 278s > repo <- init(path) 278s > 278s > ## Config repository 278s > cfg <- config(repo, user.name = "Alice", user.email = "alice@example.org") 278s > 278s > ## Check configuration 278s > stopifnot(identical(print(cfg), cfg)) 278s local: 278s core.bare=false 278s core.filemode=true 278s core.logallrefupdates=true 278s core.repositoryformatversion=0 278s user.email=alice@example.org 278s user.name=Alice 278s > stopifnot("local" %in% names(cfg)) 278s > stopifnot("user.name" %in% names(cfg$local)) 278s > stopifnot(identical(cfg$local$user.name, "Alice")) 278s > stopifnot(identical(cfg$local$user.email, "alice@example.org")) 278s > 278s > ## Check that config fails for non-character entry. 278s > tools::assertError(config(repo, test = 5)) 278s > 278s > ## Check config method with missing repo argument 278s > wd <- setwd(path) 278s > cfg <- config(user.name = "Alice", user.email = "alice@example.org") 278s > stopifnot("local" %in% names(cfg)) 278s > stopifnot("user.name" %in% names(cfg$local)) 278s > stopifnot(identical(cfg$local$user.name, "Alice")) 278s > stopifnot(identical(cfg$local$user.email, "alice@example.org")) 278s > stopifnot(identical(git_config_files(repo = repo)$local, 278s + git_config_files(repo = NULL)$local)) 278s > stopifnot(identical(git_config_files(repo = repo)$local, 278s + git_config_files(repo = repo$path)$local)) 278s > if (!is.null(wd)) 278s + setwd(wd) 278s > 278s > ## Delete entries 278s > cfg <- config(repo, user.name = NULL, user.email = NULL) 278s > 278s > ## Check configuration 278s > stopifnot(is.null(cfg$local$user.name)) 278s > stopifnot(is.null(cfg$local$user.email)) 278s > 278s > ## Supply values as objects 278s > user_name <- "Alice" 278s > user_email <- "alice@example.org" 278s > cfg <- config(repo, user.name = user_name, user.email = "alice@example.org") 278s > stopifnot(identical(cfg$local$user.name, user_name)) 278s > stopifnot(identical(cfg$local$user.email, "alice@example.org")) 278s > cfg <- config(repo, user.name = "Alice", user.email = user_email) 278s > stopifnot(identical(cfg$local$user.name, "Alice")) 278s > stopifnot(identical(cfg$local$user.email, user_email)) 278s > 278s > ## Check git config files 278s > cfg <- git_config_files(repo) 278s > stopifnot(identical(nrow(cfg), 4L)) 278s > stopifnot(identical(names(cfg), c("file", "path"))) 278s > stopifnot(identical(cfg$file, c("system", "xdg", "global", "local"))) 278s > stopifnot(!is.na(cfg$path[4])) 278s > 278s > ## Check that the local config file is NA for an invalid repo 278s > ## argument. 278s > stopifnot(is.na(git_config_files(5)$local)) 278s > 278s > ## Check location of .gitconfig on Windows 278s > if (identical(Sys.getenv("APPVEYOR"), "True")) { 278s + 278s + ## AppVeyor diagnostics 278s + str(Sys.getenv("USERPROFILE")) 278s + str(Sys.getenv("HOMEDRIVE")) 278s + str(normalizePath("~")) 278s + str(git_config_files()) 278s + 278s + ## Temporarily move AppVeyor .gitconfig 278s + gitconfig_appveyor <- "C:/Users/appveyor/.gitconfig" 278s + gitconfig_tmp <- file.path(tempdir(), ".gitconfig") 278s + file.rename(gitconfig_appveyor, gitconfig_tmp) 278s + 278s + ## Test config() on Windows 278s + gitconfig_expected <- file.path(Sys.getenv("USERPROFILE"), ".gitconfig") 278s + ## .gitconfig should not be created if no configuration options specified 278s + config(global = TRUE) 278s + stopifnot(!file.exists(gitconfig_expected)) 278s + ## .gitconfig should be created in the user's home directory 278s + config(global = TRUE, user.name = "name", user.email = "email") 278s + stopifnot(file.exists(gitconfig_expected)) 278s + unlink(gitconfig_expected) 278s + ## .gitconfig should be created if user specifies option other than user.name 278s + ## and user.email 278s + config(global = TRUE, core.editor = "nano") 278s + stopifnot(file.exists(gitconfig_expected)) 278s + unlink(gitconfig_expected) 278s + ## .gitconfig should not create a new .gitconfig if the user already has one 278s + ## in Documents/ 278s + gitconfig_documents <- "~/.gitconfig" 278s + file.create(gitconfig_documents) 278s + config(global = TRUE, core.editor = "nano") 278s + stopifnot(!file.exists(gitconfig_expected)) 278s + unlink(gitconfig_documents) 278s + 278s + ## Return AppVeyor .gitconfig 278s + file.rename(gitconfig_tmp, gitconfig_appveyor) 278s + } 278s > 278s > ## Cleanup 278s > unlink(path, recursive = TRUE) 278s > 278s BEGIN TEST diff.R 278s 278s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 278s Copyright (C) 2024 The R Foundation for Statistical Computing 278s Platform: arm-unknown-linux-gnueabihf (32-bit) 278s 278s R is free software and comes with ABSOLUTELY NO WARRANTY. 278s You are welcome to redistribute it under certain conditions. 278s Type 'license()' or 'licence()' for distribution details. 278s 278s R is a collaborative project with many contributors. 278s Type 'contributors()' for more information and 278s 'citation()' on how to cite R or R packages in publications. 278s 278s Type 'demo()' for some demos, 'help()' for on-line help, or 278s 'help.start()' for an HTML browser interface to help. 278s Type 'q()' to quit R. 278s 278s > ## git2r, R bindings to the libgit2 library. 278s > ## Copyright (C) 2013-2023 The git2r contributors 278s > ## 278s > ## This program is free software; you can redistribute it and/or modify 278s > ## it under the terms of the GNU General Public License, version 2, 278s > ## as published by the Free Software Foundation. 278s > ## 278s > ## git2r is distributed in the hope that it will be useful, 278s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 278s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 278s > ## GNU General Public License for more details. 278s > ## 278s > ## You should have received a copy of the GNU General Public License along 278s > ## with this program; if not, write to the Free Software Foundation, Inc., 278s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 278s > 278s > library("git2r") 278s > 278s > ## For debugging 278s > sessionInfo() 278s R version 4.3.3 (2024-02-29) 278s Platform: arm-unknown-linux-gnueabihf (32-bit) 278s Running under: Ubuntu Noble Numbat (development branch) 278s 278s Matrix products: default 278s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 278s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 278s 278s locale: 278s [1] C 278s 278s time zone: Etc/UTC 278s tzcode source: system (glibc) 278s 278s attached base packages: 278s [1] stats graphics grDevices utils datasets methods base 278s 278s other attached packages: 278s [1] git2r_0.33.0 278s 278s loaded via a namespace (and not attached): 278s [1] compiler_4.3.3 278s > libgit2_version() 278s $major 278s [1] 1 278s 278s $minor 278s [1] 7 278s 278s $rev 278s [1] 2 278s 278s > libgit2_features() 278s $threads 278s [1] TRUE 278s 278s $https 278s [1] TRUE 278s 278s $ssh 278s [1] TRUE 278s 278s > 278s > 278s > ## Create a directory in tempdir 278s > path <- tempfile(pattern = "git2r-") 278s > dir.create(path) 278s > 278s > ## Initialize a repository 278s > repo <- init(path) 278s > config(repo, user.name = "Alice", user.email = "alice@example.org") 278s > 278s > ## Create a file, add, commit 278s > writeLines("Hello world!", file.path(path, "test.txt")) 278s > add(repo, "test.txt") 278s > commit(repo, "Commit message") 278s [92ac1f2] 2024-03-23: Commit message 278s > 278s > ## Change the file, diff between index and workdir 278s > writeLines("Hello again!\nHere is a second line\nAnd a third", 278s + file.path(path, "test.txt")) 278s > diff_1 <- diff(repo) 278s > diff(repo, as_char = TRUE) 278s [1] "diff --git a/test.txt b/test.txt\nindex cd08755..cf48daf 100644\n--- a/test.txt\n+++ b/test.txt\n@@ -1 +1,3 @@\n-Hello world!\n+Hello again!\n+Here is a second line\n+And a third\n" 278s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 278s NULL 278s > 278s > stopifnot(identical(diff_1$old, "index")) 278s > stopifnot(identical(diff_1$new, "workdir")) 278s > stopifnot(identical(length(diff_1$files), 1L)) 278s > stopifnot(identical(diff_1$files[[1]]$old_file, "test.txt")) 278s > stopifnot(identical(diff_1$files[[1]]$new_file, "test.txt")) 278s > stopifnot(identical(length(diff_1$files[[1]]$hunks), 1L)) 278s > stopifnot(identical(length(diff_1$files[[1]]$hunks[[1]]$lines), 4L)) 278s > ## TODO: check actual diff 278s > 278s > ## Diff between index and HEAD is empty 278s > diff_2 <- diff(repo, index = TRUE) 278s > diff(repo, as_char = TRUE) 278s [1] "diff --git a/test.txt b/test.txt\nindex cd08755..cf48daf 100644\n--- a/test.txt\n+++ b/test.txt\n@@ -1 +1,3 @@\n-Hello world!\n+Hello again!\n+Here is a second line\n+And a third\n" 278s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 278s NULL 278s > 278s > stopifnot(identical(diff_2$old, "HEAD")) 278s > stopifnot(identical(diff_2$new, "index")) 278s > stopifnot(identical(diff_2$files, list())) 278s > 278s > ## Diff between tree and working dir, same as diff_1 278s > diff_3 <- diff(tree(commits(repo)[[1]])) 278s > diff(repo, as_char = TRUE) 278s [1] "diff --git a/test.txt b/test.txt\nindex cd08755..cf48daf 100644\n--- a/test.txt\n+++ b/test.txt\n@@ -1 +1,3 @@\n-Hello world!\n+Hello again!\n+Here is a second line\n+And a third\n" 278s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 278s NULL 278s > 278s > stopifnot(identical(diff_3$old, tree(commits(repo)[[1]]))) 278s > stopifnot(identical(diff_3$new, "workdir")) 278s > stopifnot(identical(diff_3$files, diff_1$files)) 278s > stopifnot(identical(print(diff_3), diff_3)) 278s Old: tree: a0b0b9e615e9e433eb5f11859e9feac4564c58c5 278s 278s mode type sha name 278s 1 100644 blob cd0875583aabe89ee197ea133980a9085d08e497 test.txt 278s New: workdir 278s > 278s > ## Add changes, diff between index and HEAD is the same as diff_1 278s > add(repo, "test.txt") 278s > diff_4 <- diff(repo, index = TRUE) 278s > diff(repo, as_char = TRUE) 278s [1] "" 278s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 278s NULL 278s > 278s > stopifnot(identical(diff_4$old, "HEAD")) 278s > stopifnot(identical(diff_4$new, "index")) 278s > stopifnot(identical(diff_4$files, diff_1$files)) 278s > 278s > ## Diff between tree and index 278s > diff_5 <- diff(tree(commits(repo)[[1]]), index = TRUE) 278s > diff(repo, as_char = TRUE) 278s [1] "" 278s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 278s NULL 278s > 278s > stopifnot(identical(diff_5$old, tree(commits(repo)[[1]]))) 278s > stopifnot(identical(diff_5$new, "index")) 278s > stopifnot(identical(diff_5$files, diff_1$files)) 278s > 278s > ## Diff between two trees 278s > commit(repo, "Second commit") 278s [78ae4f8] 2024-03-23: Second commit 278s > tree_1 <- tree(commits(repo)[[2]]) 278s > tree_2 <- tree(commits(repo)[[1]]) 278s > diff_6 <- diff(tree_1, tree_2) 278s > diff(repo, as_char = TRUE) 278s [1] "" 278s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 278s NULL 278s > 278s > stopifnot(identical(diff_6$old, tree_1)) 278s > stopifnot(identical(diff_6$new, tree_2)) 278s > stopifnot(identical(diff_6$files, diff_1$files)) 278s > 278s > ## Length of a diff 278s > stopifnot(identical(length(diff_1), 1L)) 278s > stopifnot(identical(length(diff_2), 0L)) 278s > stopifnot(identical(length(diff_3), 1L)) 278s > stopifnot(identical(length(diff_4), 1L)) 278s > stopifnot(identical(length(diff_5), 1L)) 278s > stopifnot(identical(length(diff_6), 1L)) 278s > 278s > ## Binary files 278s > set.seed(42) 278s > writeBin(as.raw((sample(0:255, 1000, replace = TRUE))), 278s + con = file.path(path, "test.bin")) 278s > add(repo, "test.bin") 278s > diff_7 <- diff(repo, index = TRUE) 278s > diff(repo, as_char = TRUE) 278s [1] "" 278s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 278s NULL 278s > 278s > stopifnot(any(grepl("binary file", capture.output(summary(diff_7))))) 278s > 278s > ## TODO: errors 278s > ## Check non-logical index argument 278s > res <- tools::assertError( 278s + .Call(git2r:::git2r_diff, NULL, NULL, NULL, "FALSE", 278s + NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 278s > stopifnot(length(grep(paste0("Error in 'git2r_diff': 'index' must be logical ", 278s + "vector of length one with non NA value\n"), 278s + res[[1]]$message)) > 0) 278s > 278s > ## Check various combinations of diff arguments 278s > res <- tools::assertError( 278s + .Call(git2r:::git2r_diff, NULL, NULL, 278s + tree(commits(repo)[[1]]), 278s + FALSE, NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 278s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 278s + res[[1]]$message)) > 0) 278s > 278s > res <- tools::assertError( 278s + .Call(git2r:::git2r_diff, NULL, NULL, 278s + tree(commits(repo)[[1]]), 278s + TRUE, NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 278s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 278s + res[[1]]$message)) > 0) 278s > 278s > res <- tools::assertError( 278s + .Call(git2r:::git2r_diff, repo, tree(commits(repo)[[1]]), 278s + NULL, FALSE, NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 278s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 278s + res[[1]]$message)) > 0) 278s > 278s > res <- tools::assertError( 278s + .Call(git2r:::git2r_diff, repo, tree(commits(repo)[[1]]), 278s + NULL, TRUE, NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 278s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 278s + res[[1]]$message)) > 0) 278s > 278s > res <- tools::assertError( 278s + .Call(git2r:::git2r_diff, repo, tree(commits(repo)[[1]]), 278s + tree(commits(repo)[[2]]), FALSE, NULL, 3L, 0L, "a", 278s + "b", NULL, NULL, NULL)) 278s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 278s + res[[1]]$message)) > 0) 278s > 278s > res <- tools::assertError( 278s + .Call(git2r:::git2r_diff, repo, tree(commits(repo)[[1]]), 278s + tree(commits(repo)[[2]]), TRUE, NULL, 3L, 0L, "a", 278s + "b", NULL, NULL, NULL)) 278s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 278s + res[[1]]$message)) > 0) 278s > 278s > ## TODO: printing 278s > 278s > ## Cleanup 278s > unlink(path, recursive = TRUE) 278s > 278s BEGIN TEST fast_forward_merge.R 278s 278s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 278s Copyright (C) 2024 The R Foundation for Statistical Computing 278s Platform: arm-unknown-linux-gnueabihf (32-bit) 278s 278s R is free software and comes with ABSOLUTELY NO WARRANTY. 278s You are welcome to redistribute it under certain conditions. 278s Type 'license()' or 'licence()' for distribution details. 278s 278s R is a collaborative project with many contributors. 278s Type 'contributors()' for more information and 278s 'citation()' on how to cite R or R packages in publications. 278s 278s Type 'demo()' for some demos, 'help()' for on-line help, or 278s 'help.start()' for an HTML browser interface to help. 278s Type 'q()' to quit R. 278s 278s > ## git2r, R bindings to the libgit2 library. 278s > ## Copyright (C) 2013-2023 The git2r contributors 278s > ## 278s > ## This program is free software; you can redistribute it and/or modify 278s > ## it under the terms of the GNU General Public License, version 2, 278s > ## as published by the Free Software Foundation. 278s > ## 278s > ## git2r is distributed in the hope that it will be useful, 278s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 278s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 278s > ## GNU General Public License for more details. 278s > ## 278s > ## You should have received a copy of the GNU General Public License along 278s > ## with this program; if not, write to the Free Software Foundation, Inc., 278s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 278s > 278s > library(git2r) 278s > 278s > ## For debugging 278s > sessionInfo() 278s R version 4.3.3 (2024-02-29) 278s Platform: arm-unknown-linux-gnueabihf (32-bit) 278s Running under: Ubuntu Noble Numbat (development branch) 278s 278s Matrix products: default 278s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 278s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 278s 278s locale: 278s [1] C 278s 278s time zone: Etc/UTC 278s tzcode source: system (glibc) 278s 278s attached base packages: 278s [1] stats graphics grDevices utils datasets methods base 278s 278s other attached packages: 278s [1] git2r_0.33.0 278s 278s loaded via a namespace (and not attached): 278s [1] compiler_4.3.3 278s > libgit2_version() 278s $major 278s [1] 1 278s 278s $minor 278s [1] 7 278s 278s $rev 278s [1] 2 278s 278s > libgit2_features() 278s $threads 278s [1] TRUE 278s 278s $https 278s [1] TRUE 278s 278s $ssh 278s [1] TRUE 278s 278s > 278s > 278s > ## Create directory for repository in tempdir 278s > path <- tempfile(pattern = "git2r-") 278s > dir.create(path) 278s > 278s > ## Create repository 278s > repo <- init(path, branch = "main") 278s > config(repo, user.name = "Alice", user.email = "alice@example.org") 278s > 278s > ## Add changes to repo 278s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 278s + con = file.path(path, "test-1.txt")) 278s > add(repo, "test-1.txt") 278s > commit_1 <- commit(repo, "First commit message") 278s > 278s > ## Create branch and checkout 278s > checkout(branch_create(commit_1, name = "test")) 278s > 278s > ## Add changes to test branch 278s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 278s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 278s + con = file.path(path, "test-1.txt")) 278s > add(repo, "test-1.txt") 278s > commit_2 <- commit(repo, "Second commit message") 278s > 278s > # Checkout main and merge 278s > b <- branches(repo) 278s > checkout(b[sapply(b, "[", "name") == "main"][[1]], force = TRUE) 278s > m <- merge(b[sapply(b, "[", "name") == "test"][[1]]) 278s > 278s > # Check merge 278s > stopifnot(inherits(m, "git_merge_result")) 278s > stopifnot(identical(m$up_to_date, FALSE)) 278s > stopifnot(identical(m$fast_forward, TRUE)) 278s > stopifnot(identical(m$conflicts, FALSE)) 278s > stopifnot(identical(sha(m), NA_character_)) 278s > stopifnot(identical(length(commits(repo)), 2L)) 278s > 278s > # Check reflog 278s > r <- reflog(repo) 278s > stopifnot(identical(r[[1]]$message, "merge test: Fast-forward")) 278s > 278s > ## Cleanup 278s > unlink(path, recursive = TRUE) 278s > 278s BEGIN TEST fetch.R 279s 279s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 279s Copyright (C) 2024 The R Foundation for Statistical Computing 279s Platform: arm-unknown-linux-gnueabihf (32-bit) 279s 279s R is free software and comes with ABSOLUTELY NO WARRANTY. 279s You are welcome to redistribute it under certain conditions. 279s Type 'license()' or 'licence()' for distribution details. 279s 279s R is a collaborative project with many contributors. 279s Type 'contributors()' for more information and 279s 'citation()' on how to cite R or R packages in publications. 279s 279s Type 'demo()' for some demos, 'help()' for on-line help, or 279s 'help.start()' for an HTML browser interface to help. 279s Type 'q()' to quit R. 279s 279s > ## git2r, R bindings to the libgit2 library. 279s > ## Copyright (C) 2013-2023 The git2r contributors 279s > ## 279s > ## This program is free software; you can redistribute it and/or modify 279s > ## it under the terms of the GNU General Public License, version 2, 279s > ## as published by the Free Software Foundation. 279s > ## 279s > ## git2r is distributed in the hope that it will be useful, 279s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 279s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 279s > ## GNU General Public License for more details. 279s > ## 279s > ## You should have received a copy of the GNU General Public License along 279s > ## with this program; if not, write to the Free Software Foundation, Inc., 279s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 279s > 279s > library(git2r) 279s > 279s > ## For debugging 279s > sessionInfo() 279s R version 4.3.3 (2024-02-29) 279s Platform: arm-unknown-linux-gnueabihf (32-bit) 279s Running under: Ubuntu Noble Numbat (development branch) 279s 279s Matrix products: default 279s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 279s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 279s 279s locale: 279s [1] C 279s 279s time zone: Etc/UTC 279s tzcode source: system (glibc) 279s 279s attached base packages: 279s [1] stats graphics grDevices utils datasets methods base 279s 279s other attached packages: 279s [1] git2r_0.33.0 279s 279s loaded via a namespace (and not attached): 279s [1] compiler_4.3.3 279s > libgit2_version() 279s $major 279s [1] 1 279s 279s $minor 279s [1] 7 279s 279s $rev 279s [1] 2 279s 279s > libgit2_features() 279s $threads 279s [1] TRUE 279s 279s $https 279s [1] TRUE 279s 279s $ssh 279s [1] TRUE 279s 279s > 279s > 279s > ## Create 2 directories in tempdir 279s > path_bare <- tempfile(pattern = "git2r-") 279s > path_repo_1 <- tempfile(pattern = "git2r-") 279s > path_repo_2 <- tempfile(pattern = "git2r-") 279s > 279s > dir.create(path_bare) 279s > dir.create(path_repo_1) 279s > dir.create(path_repo_2) 279s > 279s > ## Create repositories 279s > bare_repo <- init(path_bare, bare = TRUE) 279s > repo_1 <- clone(path_bare, path_repo_1) 279s cloning into '/tmp/RtmpiZwkhk/git2r-8797bb76b60'... 279s > repo_2 <- clone(path_bare, path_repo_2) 279s cloning into '/tmp/RtmpiZwkhk/git2r-87965451807'... 279s > 279s > ## Config repositories 279s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 279s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 279s > 279s > ## Add changes to repo 1 279s > writeLines("Hello world", con = file.path(path_repo_1, "test.txt")) 279s > add(repo_1, "test.txt") 279s > commit_1 <- commit(repo_1, "Commit message") 279s > branch_name <- branches(repo_1)[[1]]$name 279s > 279s > ## Push changes from repo 1 to origin 279s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 279s > 279s > ## Check result in bare repository 279s > stopifnot(identical(length(commits(bare_repo)), 1L)) 279s > bare_commit_1 <- commits(bare_repo)[[1]] 279s > stopifnot(identical(sha(commit_1), sha(bare_commit_1))) 279s > stopifnot(identical(commit_1$author, bare_commit_1$author)) 279s > stopifnot(identical(commit_1$committer, bare_commit_1$committer)) 279s > stopifnot(identical(commit_1$summary, bare_commit_1$summary)) 279s > stopifnot(identical(commit_1$message, bare_commit_1$message)) 279s > stopifnot(!identical(commit_1$repo, bare_commit_1$repo)) 279s > 279s > ## Fetch 279s > fetch(repo_2, "origin") 279s [new] 98964b89b273b853793b refs/remotes/origin/master 279s > fh <- fetch_heads(repo_2)[[1]] 279s > stopifnot(identical(sha(fh), fh$sha)) 279s > 279s > ## Test show method of non-empty repository where head is null 279s > show(repo_2) 279s Local: /tmp/RtmpiZwkhk/git2r-87965451807 279s Head: nothing commited (yet) 279s > 279s > ## Check that 'git2r_arg_check_credentials' raise error 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", 279s + 3, "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", repo_1, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > credentials <- cred_env(c("username", "username"), "password") 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > credentials <- cred_env("username", c("password", "passowrd")) 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > credentials <- cred_user_pass(c("username", "username"), "password") 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > credentials <- cred_user_pass("username", c("password", "passowrd")) 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > credentials <- cred_token(c("GITHUB_PAT", "GITHUB_PAT")) 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > credentials <- structure(list(publickey = c("id_rsa.pub", "id_rsa.pub"), 279s + privatekey = "id_rsa", 279s + passphrase = character(0)), 279s + class = "cred_ssh_key") 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > credentials <- structure(list(publickey = "id_rsa.pub", 279s + privatekey = c("id_rsa", "id_rsa"), 279s + passphrase = character(0)), 279s + class = "cred_ssh_key") 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > credentials <- structure(list(publickey = "id_rsa.pub", 279s + privatekey = "id_rsa", 279s + passphrase = NA_character_), 279s + class = "cred_ssh_key") 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > credentials <- structure(list(publickey = "id_rsa.pub", 279s + privatekey = "id_rsa", 279s + passphrase = c("passphrase", "passphrase")), 279s + class = "cred_ssh_key") 279s > res <- tools::assertError( 279s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 279s + "fetch", FALSE, NULL)) 279s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 279s + res[[1]]$message)) > 0) 279s > 279s > ## Cleanup 279s > unlink(path_bare, recursive = TRUE) 279s > unlink(path_repo_1, recursive = TRUE) 279s > unlink(path_repo_2, recursive = TRUE) 279s > 279s BEGIN TEST graph.R 279s 279s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 279s Copyright (C) 2024 The R Foundation for Statistical Computing 279s Platform: arm-unknown-linux-gnueabihf (32-bit) 279s 279s R is free software and comes with ABSOLUTELY NO WARRANTY. 279s You are welcome to redistribute it under certain conditions. 279s Type 'license()' or 'licence()' for distribution details. 279s 279s R is a collaborative project with many contributors. 279s Type 'contributors()' for more information and 279s 'citation()' on how to cite R or R packages in publications. 279s 279s Type 'demo()' for some demos, 'help()' for on-line help, or 279s 'help.start()' for an HTML browser interface to help. 279s Type 'q()' to quit R. 279s 279s > ## git2r, R bindings to the libgit2 library. 279s > ## Copyright (C) 2013-2023 The git2r contributors 279s > ## 279s > ## This program is free software; you can redistribute it and/or modify 279s > ## it under the terms of the GNU General Public License, version 2, 279s > ## as published by the Free Software Foundation. 279s > ## 279s > ## git2r is distributed in the hope that it will be useful, 279s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 279s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 279s > ## GNU General Public License for more details. 279s > ## 279s > ## You should have received a copy of the GNU General Public License along 279s > ## with this program; if not, write to the Free Software Foundation, Inc., 279s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 279s > 279s > library("git2r") 279s > 279s > ## For debugging 279s > sessionInfo() 279s R version 4.3.3 (2024-02-29) 279s Platform: arm-unknown-linux-gnueabihf (32-bit) 279s Running under: Ubuntu Noble Numbat (development branch) 279s 279s Matrix products: default 279s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 279s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 279s 279s locale: 279s [1] C 279s 279s time zone: Etc/UTC 279s tzcode source: system (glibc) 279s 279s attached base packages: 279s [1] stats graphics grDevices utils datasets methods base 279s 279s other attached packages: 279s [1] git2r_0.33.0 279s 279s loaded via a namespace (and not attached): 279s [1] compiler_4.3.3 279s > libgit2_version() 279s $major 279s [1] 1 279s 279s $minor 279s [1] 7 279s 279s $rev 279s [1] 2 279s 279s > libgit2_features() 279s $threads 279s [1] TRUE 279s 279s $https 279s [1] TRUE 279s 279s $ssh 279s [1] TRUE 279s 279s > 279s > 279s > ## Create a directory in tempdir 279s > path <- tempfile(pattern = "git2r-") 279s > dir.create(path) 279s > 279s > ## Initialize a repository 279s > repo <- init(path) 279s > config(repo, user.name = "Alice", user.email = "alice@example.org") 279s > 279s > ## Create a file and commit 279s > writeLines("Hello world!", file.path(path, "test.txt")) 279s > add(repo, "test.txt") 279s > commit_1 <- commit(repo, "First commit message") 279s > tag_1 <- tag(repo, "Tagname1", "Tag message 1") 279s > 279s > ## Change file and commit 279s > writeLines(c("Hello world!", "HELLO WORLD!"), 279s + file.path(path, "test.txt")) 279s > add(repo, "test.txt") 279s > commit_2 <- commit(repo, "Second commit message") 279s > tag_2 <- tag(repo, "Tagname2", "Tag message 2") 279s > 279s > ## Check ahead behind 279s > stopifnot(identical(ahead_behind(commit_1, commit_2), c(0L, 1L))) 279s > stopifnot(identical(ahead_behind(tag_1, tag_2), c(0L, 1L))) 279s > stopifnot(identical(ahead_behind(tag_2, tag_1), c(1L, 0L))) 279s > stopifnot(identical(ahead_behind(commit_1, branches(repo)[[1]]), c(0L, 1L))) 279s > stopifnot(identical(ahead_behind(branches(repo)[[1]], commit_1), c(1L, 0L))) 279s > 279s > ## Cleanup 279s > unlink(path, recursive = TRUE) 279s > 279s BEGIN TEST index.R 279s 279s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 279s Copyright (C) 2024 The R Foundation for Statistical Computing 279s Platform: arm-unknown-linux-gnueabihf (32-bit) 279s 279s R is free software and comes with ABSOLUTELY NO WARRANTY. 279s You are welcome to redistribute it under certain conditions. 279s Type 'license()' or 'licence()' for distribution details. 279s 279s R is a collaborative project with many contributors. 279s Type 'contributors()' for more information and 279s 'citation()' on how to cite R or R packages in publications. 279s 279s Type 'demo()' for some demos, 'help()' for on-line help, or 279s 'help.start()' for an HTML browser interface to help. 279s Type 'q()' to quit R. 279s 279s > ## git2r, R bindings to the libgit2 library. 279s > ## Copyright (C) 2013-2023 The git2r contributors 279s > ## 279s > ## This program is free software; you can redistribute it and/or modify 279s > ## it under the terms of the GNU General Public License, version 2, 279s > ## as published by the Free Software Foundation. 279s > ## 279s > ## git2r is distributed in the hope that it will be useful, 279s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 279s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 279s > ## GNU General Public License for more details. 279s > ## 279s > ## You should have received a copy of the GNU General Public License along 279s > ## with this program; if not, write to the Free Software Foundation, Inc., 279s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 279s > 279s > library(git2r) 279s > source("util/check.R") 279s > 279s > ## For debugging 279s > sessionInfo() 279s R version 4.3.3 (2024-02-29) 279s Platform: arm-unknown-linux-gnueabihf (32-bit) 279s Running under: Ubuntu Noble Numbat (development branch) 279s 279s Matrix products: default 279s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 279s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 279s 279s locale: 279s [1] C 279s 279s time zone: Etc/UTC 279s tzcode source: system (glibc) 279s 279s attached base packages: 279s [1] stats graphics grDevices utils datasets methods base 279s 279s other attached packages: 279s [1] git2r_0.33.0 279s 279s loaded via a namespace (and not attached): 279s [1] compiler_4.3.3 279s > libgit2_version() 279s $major 279s [1] 1 279s 279s $minor 279s [1] 7 279s 279s $rev 279s [1] 2 279s 279s > libgit2_features() 279s $threads 279s [1] TRUE 279s 279s $https 279s [1] TRUE 279s 279s $ssh 279s [1] TRUE 279s 279s > 279s > 279s > ## Create a directory in tempdir 279s > path <- tempfile(pattern = "git2r-") 279s > dir.create(path) 279s > 279s > ## Initialize a repository 279s > repo <- init(path) 279s > config(repo, user.name = "Alice", user.email = "alice@example.org") 279s > 279s > ## Create directories 279s > dir.create(file.path(path, "sub-folder")); 279s > dir.create(file.path(path, "sub-folder", "sub-sub-folder")); 279s > 279s > ## Create files 279s > writeLines("Hello world!", 279s + file.path(path, "file-1.txt")) 279s > writeLines("Hello world!", 279s + file.path(path, "sub-folder", "file-2.txt")) 279s > writeLines("Hello world!", 279s + file.path(path, "sub-folder", "file-3.txt")) 279s > writeLines("Hello world!", 279s + file.path(path, "sub-folder", "sub-sub-folder", "file-4.txt")) 279s > writeLines("Hello world!", 279s + file.path(path, "sub-folder", "sub-sub-folder", "file-5.txt")) 279s > 279s > ## Add 279s > add(repo, "file-1.txt") 279s > status_exp <- structure(list(staged = list(new = "file-1.txt"), 279s + unstaged = empty_named_list(), 279s + untracked = list(untracked = "sub-folder/")), 279s + class = "git_status") 279s > status_obs <- status(repo) 279s > stopifnot(identical(status_obs, status_exp)) 279s > 279s > ## Index remove by path 279s > index_remove_bypath(repo, "file-1.txt") 279s > status_exp <- structure(list(staged = empty_named_list(), 279s + unstaged = empty_named_list(), 279s + untracked = list(untracked = "file-1.txt", 279s + untracked = "sub-folder/")), 279s + class = "git_status") 279s > status_obs <- status(repo) 279s > stopifnot(identical(status_obs, status_exp)) 279s > 279s > ## Add 279s > add(repo, "sub-folder") 279s > status_exp <- structure(list(staged = list( 279s + new = "sub-folder/file-2.txt", 279s + new = "sub-folder/file-3.txt", 279s + new = "sub-folder/sub-sub-folder/file-4.txt", 279s + new = "sub-folder/sub-sub-folder/file-5.txt"), 279s + unstaged = empty_named_list(), 279s + untracked = list(untracked = "file-1.txt")), 279s + class = "git_status") 279s > status_obs <- status(repo) 279s > stopifnot(identical(status_obs, status_exp)) 279s > 279s > ## Commit 279s > commit(repo, "First commit message") 279s [a62082c] 2024-03-23: First commit message 279s > 279s > ## It should fail to remove non-existing, untracked and ignored files 279s > tools::assertError(rm_file(repo, c("file-1.txt", "file-2.txt"))) 279s > tools::assertError(rm_file(repo, c("file-1.txt", ""))) 279s > tools::assertError(rm_file(repo, c("file-1.txt"))) 279s > writeLines("/file-1.txt", file.path(path, ".gitignore")) 279s > tools::assertError(rm_file(repo, "file-1.txt")) 279s > 279s > ## It should fail to remove files with staged changes 279s > file.remove(file.path(path, ".gitignore")) 279s [1] TRUE 279s > add(repo, "file-1.txt") 279s > tools::assertError(rm_file(repo, "file-1.txt")) 279s > 279s > ## It should fail to remove files with unstaged changes 279s > commit(repo, "Second commit message") 279s [9e84700] 2024-03-23: Second commit message 279s > writeLines(c("Hello world!", "Hello world!"), 279s + file.path(path, "file-1.txt")) 279s > tools::assertError(rm_file(repo, "file-1.txt")) 279s > 279s > ## Remove file 279s > add(repo, "file-1.txt") 279s > commit(repo, "Third commit message") 279s [8494075] 2024-03-23: Third commit message 279s > rm_file(repo, "file-1.txt") 279s > status_exp <- structure(list(staged = list(deleted = "file-1.txt"), 279s + unstaged = empty_named_list(), 279s + untracked = empty_named_list()), 279s + class = "git_status") 279s > status_obs <- status(repo) 279s > stopifnot(identical(status_obs, status_exp)) 279s > 279s > ## Cleanup 279s > unlink(path, recursive = TRUE) 279s > 279s BEGIN TEST invalid-conf-var.R 279s 279s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 279s Copyright (C) 2024 The R Foundation for Statistical Computing 279s Platform: arm-unknown-linux-gnueabihf (32-bit) 279s 279s R is free software and comes with ABSOLUTELY NO WARRANTY. 279s You are welcome to redistribute it under certain conditions. 279s Type 'license()' or 'licence()' for distribution details. 279s 279s R is a collaborative project with many contributors. 279s Type 'contributors()' for more information and 279s 'citation()' on how to cite R or R packages in publications. 279s 279s Type 'demo()' for some demos, 'help()' for on-line help, or 279s 'help.start()' for an HTML browser interface to help. 279s Type 'q()' to quit R. 279s 279s > ## git2r, R bindings to the libgit2 library. 279s > ## Copyright (C) 2013-2023 The git2r contributors 279s > ## 279s > ## This program is free software; you can redistribute it and/or modify 279s > ## it under the terms of the GNU General Public License, version 2, 279s > ## as published by the Free Software Foundation. 279s > ## 279s > ## git2r is distributed in the hope that it will be useful, 279s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 279s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 279s > ## GNU General Public License for more details. 279s > ## 279s > ## You should have received a copy of the GNU General Public License along 279s > ## with this program; if not, write to the Free Software Foundation, Inc., 279s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 279s > 279s > library("git2r") 280s > 280s > ## For debugging 280s > sessionInfo() 280s R version 4.3.3 (2024-02-29) 280s Platform: arm-unknown-linux-gnueabihf (32-bit) 280s Running under: Ubuntu Noble Numbat (development branch) 280s 280s Matrix products: default 280s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 280s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 280s 280s locale: 280s [1] C 280s 280s time zone: Etc/UTC 280s tzcode source: system (glibc) 280s 280s attached base packages: 280s [1] stats graphics grDevices utils datasets methods base 280s 280s other attached packages: 280s [1] git2r_0.33.0 280s 280s loaded via a namespace (and not attached): 280s [1] compiler_4.3.3 280s > libgit2_version() 280s $major 280s [1] 1 280s 280s $minor 280s [1] 7 280s 280s $rev 280s [1] 2 280s 280s > libgit2_features() 280s $threads 280s [1] TRUE 280s 280s $https 280s [1] TRUE 280s 280s $ssh 280s [1] TRUE 280s 280s > 280s > 280s > ## Create a directory in tempdir 280s > path <- tempfile(pattern = "git2r-") 280s > dir.create(path) 280s > 280s > ## Initialize a repository 280s > repo <- init(path) 280s > 280s > ## Config repository 280s > config(repo, user.name = "Alice") 280s > 280s > ## Let's set one valid and one with variable with invalid format 280s > res <- tools::assertWarning(config(repo, 280s + user.email = "alice@example.org", 280s + lol = "wut")) 280s > stopifnot(length(grep("Variable was not in a valid format: 'lol'", 280s + res[[1]]$message)) > 0) 280s > 280s > cfg_exp <- structure(list(user.name = "Alice", 280s + user.email = "alice@example.org", 280s + "NA" = NULL), 280s + .Names = c("user.name", "user.email", NA)) 280s > 280s > cfg_obs <- config(repo)$local 280s > cfg_obs <- cfg_obs[c("user.name", "user.email", "lol")] 280s > stopifnot(identical(cfg_obs, cfg_exp)) 280s > 280s > ## Cleanup 280s > unlink(path, recursive = TRUE) 280s > 280s BEGIN TEST libgit2.R 280s 280s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 280s Copyright (C) 2024 The R Foundation for Statistical Computing 280s Platform: arm-unknown-linux-gnueabihf (32-bit) 280s 280s R is free software and comes with ABSOLUTELY NO WARRANTY. 280s You are welcome to redistribute it under certain conditions. 280s Type 'license()' or 'licence()' for distribution details. 280s 280s R is a collaborative project with many contributors. 280s Type 'contributors()' for more information and 280s 'citation()' on how to cite R or R packages in publications. 280s 280s Type 'demo()' for some demos, 'help()' for on-line help, or 280s 'help.start()' for an HTML browser interface to help. 280s Type 'q()' to quit R. 280s 280s > ## git2r, R bindings to the libgit2 library. 280s > ## Copyright (C) 2013-2023 The git2r contributors 280s > ## 280s > ## This program is free software; you can redistribute it and/or modify 280s > ## it under the terms of the GNU General Public License, version 2, 280s > ## as published by the Free Software Foundation. 280s > ## 280s > ## git2r is distributed in the hope that it will be useful, 280s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 280s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 280s > ## GNU General Public License for more details. 280s > ## 280s > ## You should have received a copy of the GNU General Public License along 280s > ## with this program; if not, write to the Free Software Foundation, Inc., 280s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 280s > 280s > library("git2r") 280s > 280s > ## For debugging 280s > sessionInfo() 280s R version 4.3.3 (2024-02-29) 280s Platform: arm-unknown-linux-gnueabihf (32-bit) 280s Running under: Ubuntu Noble Numbat (development branch) 280s 280s Matrix products: default 280s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 280s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 280s 280s locale: 280s [1] C 280s 280s time zone: Etc/UTC 280s tzcode source: system (glibc) 280s 280s attached base packages: 280s [1] stats graphics grDevices utils datasets methods base 280s 280s other attached packages: 280s [1] git2r_0.33.0 280s 280s loaded via a namespace (and not attached): 280s [1] compiler_4.3.3 280s > libgit2_version() 280s $major 280s [1] 1 280s 280s $minor 280s [1] 7 280s 280s $rev 280s [1] 2 280s 280s > libgit2_features() 280s $threads 280s [1] TRUE 280s 280s $https 280s [1] TRUE 280s 280s $ssh 280s [1] TRUE 280s 280s > 280s > 280s > stopifnot(identical(names(libgit2_features()), 280s + c("threads", "https", "ssh"))) 280s > 280s > stopifnot(identical(names(libgit2_version()), 280s + c("major", "minor", "rev"))) 280s > 280s > tools::assertError(ssl_cert_locations()) 280s > 280s > if (identical(Sys.getenv("R_COVR"), "true")) { 280s + if (isTRUE(libgit2_features()$https)) { 280s + ## Create a directory in tempdir 280s + path <- tempfile(pattern = "git2r-") 280s + dir.create(path) 280s + stopifnot(is.null(ssl_cert_locations(path = path))) 280s + unlink(path) 280s + } 280s + } 280s > 280s BEGIN TEST ls_tree.R 280s 280s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 280s Copyright (C) 2024 The R Foundation for Statistical Computing 280s Platform: arm-unknown-linux-gnueabihf (32-bit) 280s 280s R is free software and comes with ABSOLUTELY NO WARRANTY. 280s You are welcome to redistribute it under certain conditions. 280s Type 'license()' or 'licence()' for distribution details. 280s 280s R is a collaborative project with many contributors. 280s Type 'contributors()' for more information and 280s 'citation()' on how to cite R or R packages in publications. 280s 280s Type 'demo()' for some demos, 'help()' for on-line help, or 280s 'help.start()' for an HTML browser interface to help. 280s Type 'q()' to quit R. 280s 280s > ## git2r, R bindings to the libgit2 library. 280s > ## Copyright (C) 2013-2023 The git2r contributors 280s > ## 280s > ## This program is free software; you can redistribute it and/or modify 280s > ## it under the terms of the GNU General Public License, version 2, 280s > ## as published by the Free Software Foundation. 280s > ## 280s > ## git2r is distributed in the hope that it will be useful, 280s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 280s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 280s > ## GNU General Public License for more details. 280s > ## 280s > ## You should have received a copy of the GNU General Public License along 280s > ## with this program; if not, write to the Free Software Foundation, Inc., 280s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 280s > 280s > library("git2r") 280s > 280s > ## For debugging 280s > sessionInfo() 280s R version 4.3.3 (2024-02-29) 280s Platform: arm-unknown-linux-gnueabihf (32-bit) 280s Running under: Ubuntu Noble Numbat (development branch) 280s 280s Matrix products: default 280s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 280s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 280s 280s locale: 280s [1] C 280s 280s time zone: Etc/UTC 280s tzcode source: system (glibc) 280s 280s attached base packages: 280s [1] stats graphics grDevices utils datasets methods base 280s 280s other attached packages: 280s [1] git2r_0.33.0 280s 280s loaded via a namespace (and not attached): 280s [1] compiler_4.3.3 280s > libgit2_version() 280s $major 280s [1] 1 280s 280s $minor 280s [1] 7 280s 280s $rev 280s [1] 2 280s 280s > libgit2_features() 280s $threads 280s [1] TRUE 280s 280s $https 280s [1] TRUE 280s 280s $ssh 280s [1] TRUE 280s 280s > 280s > 280s > ## Initialize a temporary repository 280s > path <- tempfile(pattern = "git2r-") 280s > dir.create(path) 280s > dir.create(file.path(path, "subfolder")) 280s > repo <- init(path) 280s > 280s > ## Create a user 280s > config(repo, user.name = "Alice", user.email = "alice@example.org") 280s > 280s > ## Create three files and commit 280s > writeLines("First file", file.path(path, "example-1.txt")) 280s > writeLines("Second file", file.path(path, "subfolder/example-2.txt")) 280s > writeLines("Third file", file.path(path, "example-3.txt")) 280s > add(repo, c("example-1.txt", "subfolder/example-2.txt", "example-3.txt")) 280s > commit(repo, "Commit message") 280s [e1679ee] 2024-03-23: Commit message 280s > 280s > ## Traverse tree entries and its subtrees. 280s > ## Various approaches that give identical result. 280s > stopifnot(identical(ls_tree(tree = tree(last_commit(path))), 280s + ls_tree(tree = tree(last_commit(repo))))) 280s > stopifnot(identical(ls_tree(repo = path), ls_tree(repo = repo))) 280s > 280s > ## ls_tree(repo = repo) should match `git ls-tree -lr HEAD` 280s > ls_tree_result <- ls_tree(repo = repo) 280s > stopifnot(identical(ls_tree_result$name, 280s + c("example-1.txt", "example-3.txt", "example-2.txt"))) 280s > 280s > # Argument `tree` can be a 'character that identifies a tree in the repository' 280s > ls_tree(tree = tree(last_commit(path))$sha, repo = repo) 280s mode type sha path name 280s 1 100644 blob 4c5fd919d52e3c1b08f7924cfa05d6de100912fd example-1.txt 280s 2 100644 blob f89598da398eb016c504a5e272cb3eb1a31e2687 example-3.txt 280s 3 100644 blob 20d5b672a347112783818b3fc8cc7cd66ade3008 subfolder/ example-2.txt 280s len 280s 1 11 280s 2 11 280s 3 12 280s > 280s > ## Skip content in subfolder 280s > ls_tree_toplevel <- ls_tree(repo = repo, recursive = FALSE) 280s > stopifnot(nrow(ls_tree_toplevel) == 3) 280s > stopifnot(identical(ls_tree_toplevel$name, 280s + c("example-1.txt", "example-3.txt", "subfolder"))) 280s > 280s > ## Start in subfolder 280s > ls_tree_subfolder <- ls_tree(tree = "HEAD:subfolder", repo = repo) 280s > stopifnot(nrow(ls_tree_subfolder) == 1) 280s > stopifnot(identical(ls_tree_subfolder$name, "example-2.txt")) 280s > 280s > ## Cleanup 280s > unlink(path, recursive = TRUE) 280s > 280s BEGIN TEST merge.R 280s 280s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 280s Copyright (C) 2024 The R Foundation for Statistical Computing 280s Platform: arm-unknown-linux-gnueabihf (32-bit) 280s 280s R is free software and comes with ABSOLUTELY NO WARRANTY. 280s You are welcome to redistribute it under certain conditions. 280s Type 'license()' or 'licence()' for distribution details. 280s 280s R is a collaborative project with many contributors. 280s Type 'contributors()' for more information and 280s 'citation()' on how to cite R or R packages in publications. 280s 280s Type 'demo()' for some demos, 'help()' for on-line help, or 280s 'help.start()' for an HTML browser interface to help. 280s Type 'q()' to quit R. 280s 280s > ## git2r, R bindings to the libgit2 library. 280s > ## Copyright (C) 2013-2023 The git2r contributors 280s > ## 280s > ## This program is free software; you can redistribute it and/or modify 280s > ## it under the terms of the GNU General Public License, version 2, 280s > ## as published by the Free Software Foundation. 280s > ## 280s > ## git2r is distributed in the hope that it will be useful, 280s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 280s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 280s > ## GNU General Public License for more details. 280s > ## 280s > ## You should have received a copy of the GNU General Public License along 280s > ## with this program; if not, write to the Free Software Foundation, Inc., 280s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 280s > 280s > library(git2r) 280s > source("util/check.R") 280s > 280s > ## For debugging 280s > sessionInfo() 280s R version 4.3.3 (2024-02-29) 280s Platform: arm-unknown-linux-gnueabihf (32-bit) 280s Running under: Ubuntu Noble Numbat (development branch) 280s 280s Matrix products: default 280s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 280s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 280s 280s locale: 280s [1] C 280s 280s time zone: Etc/UTC 280s tzcode source: system (glibc) 280s 280s attached base packages: 280s [1] stats graphics grDevices utils datasets methods base 280s 280s other attached packages: 280s [1] git2r_0.33.0 280s 280s loaded via a namespace (and not attached): 280s [1] compiler_4.3.3 280s > libgit2_version() 280s $major 280s [1] 1 280s 280s $minor 280s [1] 7 280s 280s $rev 280s [1] 2 280s 280s > libgit2_features() 280s $threads 280s [1] TRUE 280s 280s $https 280s [1] TRUE 280s 280s $ssh 280s [1] TRUE 280s 280s > 280s > 280s > ## Create a directory in tempdir 280s > path <- tempfile(pattern = "git2r-") 280s > dir.create(path) 280s > 280s > ## Initialize a repository 280s > repo <- init(path, branch = "main") 280s > config(repo, user.name = "Alice", user.email = "alice@example.org") 280s > 280s > ## Create a file, add and commit 280s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 280s + con = file.path(path, "test.txt")) 280s > add(repo, "test.txt") 280s > commit_1 <- commit(repo, "Commit message 1") 280s > 280s > ## Create first branch, checkout, add file and commit 280s > b_1 <- branch_create(commit_1, "branch1") 280s > checkout(b_1) 280s > writeLines("Branch 1", file.path(path, "branch-1.txt")) 280s > add(repo, "branch-1.txt") 280s > commit_2 <- commit(repo, "Commit message branch 1") 280s > 280s > ## Create second branch, checkout, add file and commit 280s > b_2 <- branch_create(commit_1, "branch2") 280s > checkout(b_2) 280s > writeLines("Branch 2", file.path(path, "branch-2.txt")) 280s > add(repo, "branch-2.txt") 280s > commit_3 <- commit(repo, "Commit message branch 2") 280s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 280s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 280s + con = file.path(path, "test.txt")) 280s > add(repo, "test.txt") 280s > commit_4 <- commit(repo, "Second commit message branch 2") 280s > 280s > ## Check that merge base equals commit_1 280s > stopifnot(identical(merge_base(commit_2, commit_3), commit_1)) 280s > 280s > ## Checkout main 280s > b <- branches(repo) 280s > checkout(b[sapply(b, "[", "name") == "main"][[1]], force = TRUE) 280s > 280s > ## Merge branch 1 280s > m_1 <- merge(b[sapply(b, "[", "name") == "branch1"][[1]]) 280s > stopifnot(identical(m_1$fast_forward, TRUE)) 280s > stopifnot(identical(m_1$conflicts, FALSE)) 280s > stopifnot(identical(sha(m_1), NA_character_)) 280s > stopifnot(identical(print(m_1), m_1)) 280s Merge: Fast-forward 280s > 280s > ## Merge branch 1 again 280s > m_1_again <- merge(b[sapply(b, "[", "name") == "branch1"][[1]]) 280s > stopifnot(identical(m_1_again$up_to_date, TRUE)) 280s > stopifnot(identical(m_1_again$fast_forward, FALSE)) 280s > stopifnot(identical(m_1_again$conflicts, FALSE)) 280s > stopifnot(identical(sha(m_1_again), NA_character_)) 280s > 280s > ## Merge branch 2 280s > m_2 <- merge(b[sapply(b, "[", "name") == "branch2"][[1]]) 280s > stopifnot(identical(m_2$fast_forward, FALSE)) 280s > stopifnot(identical(m_2$conflicts, FALSE)) 280s > stopifnot(identical(sha(m_2), sha(commits(repo)[[1]]))) 280s > 280s > ## Create third branch, checkout, change file and commit 280s > b_3 <- branch_create(lookup(repo, sha(m_2)), "branch3") 280s > checkout(b_3) 280s > writeLines(c("Lorem ipsum dolor amet sit, consectetur adipisicing elit, sed do", 280s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 280s + con = file.path(path, "test.txt")) 280s > add(repo, "test.txt") 280s > commit(repo, "Commit message branch 3") 280s [cebeece] 2024-03-23: Commit message branch 3 280s > 280s > ## Checkout main and create a change that creates a conflict on 280s > ## merge 280s > b <- branches(repo) 280s > checkout(b[sapply(b, "[", "name") == "main"][[1]], force = TRUE) 280s > writeLines(c("Lorem ipsum dolor sit amet, adipisicing consectetur elit, sed do", 280s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 280s + con = file.path(path, "test.txt")) 280s > add(repo, "test.txt") 280s > commit(repo, "Some commit message branch 1") 280s [c48cdeb] 2024-03-23: Some commit message branch 1 280s > 280s > ## Merge branch 3 with fail = TRUE 280s > m_3 <- merge(b[sapply(b, "[", "name") == "branch3"][[1]], fail = TRUE) 280s > stopifnot(identical(m_3$up_to_date, FALSE)) 280s > stopifnot(identical(m_3$fast_forward, FALSE)) 280s > stopifnot(identical(m_3$conflicts, TRUE)) 280s > stopifnot(identical(sha(m_3), NA_character_)) 280s > m_3 280s Merge: Conflicts 280s > 280s > ## Check status; Expect to have a clean working directory 280s > wd <- structure(list(staged = empty_named_list(), 280s + unstaged = empty_named_list(), 280s + untracked = empty_named_list()), 280s + class = "git_status") 280s > stopifnot(identical(status(repo), wd)) 280s > 280s > ## Merge branch 3 280s > m_3 <- merge(b[sapply(b, "[", "name") == "branch3"][[1]]) 280s > stopifnot(identical(m_3$up_to_date, FALSE)) 280s > stopifnot(identical(m_3$fast_forward, FALSE)) 280s > stopifnot(identical(m_3$conflicts, TRUE)) 280s > stopifnot(identical(sha(m_3), NA_character_)) 280s > m_3 280s Merge: Conflicts 280s > 280s > ## Check status; Expect to have one unstaged unmerged conflict. 280s > stopifnot(identical(status(repo), 280s + structure(list(staged = empty_named_list(), 280s + unstaged = list(conflicted = "test.txt"), 280s + untracked = empty_named_list()), 280s + class = "git_status"))) 280s > 280s > ## Cleanup 280s > unlink(path, recursive = TRUE) 280s > 280s BEGIN TEST merge_named_branch.R 280s 280s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 280s Copyright (C) 2024 The R Foundation for Statistical Computing 280s Platform: arm-unknown-linux-gnueabihf (32-bit) 280s 280s R is free software and comes with ABSOLUTELY NO WARRANTY. 280s You are welcome to redistribute it under certain conditions. 280s Type 'license()' or 'licence()' for distribution details. 280s 280s R is a collaborative project with many contributors. 280s Type 'contributors()' for more information and 280s 'citation()' on how to cite R or R packages in publications. 280s 280s Type 'demo()' for some demos, 'help()' for on-line help, or 280s 'help.start()' for an HTML browser interface to help. 280s Type 'q()' to quit R. 280s 281s > ## git2r, R bindings to the libgit2 library. 281s > ## Copyright (C) 2013-2023 The git2r contributors 281s > ## 281s > ## This program is free software; you can redistribute it and/or modify 281s > ## it under the terms of the GNU General Public License, version 2, 281s > ## as published by the Free Software Foundation. 281s > ## 281s > ## git2r is distributed in the hope that it will be useful, 281s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 281s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 281s > ## GNU General Public License for more details. 281s > ## 281s > ## You should have received a copy of the GNU General Public License along 281s > ## with this program; if not, write to the Free Software Foundation, Inc., 281s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 281s > 281s > library(git2r) 281s > source("util/check.R") 281s > 281s > ## For debugging 281s > sessionInfo() 281s R version 4.3.3 (2024-02-29) 281s Platform: arm-unknown-linux-gnueabihf (32-bit) 281s Running under: Ubuntu Noble Numbat (development branch) 281s 281s Matrix products: default 281s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 281s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 281s 281s locale: 281s [1] C 281s 281s time zone: Etc/UTC 281s tzcode source: system (glibc) 281s 281s attached base packages: 281s [1] stats graphics grDevices utils datasets methods base 281s 281s other attached packages: 281s [1] git2r_0.33.0 281s 281s loaded via a namespace (and not attached): 281s [1] compiler_4.3.3 281s > libgit2_version() 281s $major 281s [1] 1 281s 281s $minor 281s [1] 7 281s 281s $rev 281s [1] 2 281s 281s > libgit2_features() 281s $threads 281s [1] TRUE 281s 281s $https 281s [1] TRUE 281s 281s $ssh 281s [1] TRUE 281s 281s > 281s > 281s > ## Create a directory in tempdir 281s > path <- tempfile(pattern = "git2r-") 281s > dir.create(path) 281s > 281s > ## Initialize a repository 281s > repo <- init(path, branch = "main") 281s > config(repo, user.name = "Alice", user.email = "alice@example.org") 281s > 281s > ## Create a file, add and commit 281s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 281s + con = file.path(path, "test.txt")) 281s > add(repo, "test.txt") 281s > commit_1 <- commit(repo, "Commit message 1") 281s > 281s > ## Create first branch, checkout, add file and commit 281s > checkout(repo, "branch1", create = TRUE) 281s > writeLines("Branch 1", file.path(path, "branch-1.txt")) 281s > add(repo, "branch-1.txt") 281s > commit_2 <- commit(repo, "Commit message branch 1") 281s > 281s > ## Create second branch, checkout, add file and commit 281s > b_2 <- branch_create(commit_1, "branch2") 281s > checkout(b_2) 281s > writeLines("Branch 2", file.path(path, "branch-2.txt")) 281s > add(repo, "branch-2.txt") 281s > commit_3 <- commit(repo, "Commit message branch 2") 281s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 281s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 281s + con = file.path(path, "test.txt")) 281s > add(repo, "test.txt") 281s > commit_4 <- commit(repo, "Second commit message branch 2") 281s > 281s > ## Check that merge base equals commit_1 281s > stopifnot(identical(merge_base(commit_2, commit_3), commit_1)) 281s > 281s > ## Checkout main 281s > b <- branches(repo) 281s > checkout(b[sapply(b, "[", "name") == "main"][[1]], force = TRUE) 281s > 281s > ## Merge branch 1 281s > m_1 <- merge(repo, "branch1") 281s > stopifnot(identical(m_1$fast_forward, TRUE)) 281s > stopifnot(identical(m_1$conflicts, FALSE)) 281s > stopifnot(identical(sha(m_1), NA_character_)) 281s > 281s > ## Merge branch 2 281s > m_2 <- merge(path, "branch2") 281s > stopifnot(identical(m_2$fast_forward, FALSE)) 281s > stopifnot(identical(m_2$conflicts, FALSE)) 281s > stopifnot(identical(sha(m_2), sha(commits(repo)[[1]]))) 281s > 281s > ## Create third branch, checkout, change file and commit 281s > checkout(repo, "branch3", create = TRUE) 281s > writeLines(c("Lorem ipsum dolor amet sit, consectetur adipisicing elit, sed do", 281s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 281s + con = file.path(path, "test.txt")) 281s > add(repo, "test.txt") 281s > commit(repo, "Commit message branch 3") 281s [27ac5be] 2024-03-23: Commit message branch 3 281s > 281s > ## Checkout main and create a change that creates a merge conflict 281s > checkout(repo, "main", force = TRUE) 281s > writeLines(c("Lorem ipsum dolor sit amet, adipisicing consectetur elit, sed do", 281s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 281s + con = file.path(path, "test.txt")) 281s > add(repo, "test.txt") 281s > commit(repo, "Some commit message branch 1") 281s [e9e20b4] 2024-03-23: Some commit message branch 1 281s > 281s > ## Merge branch 3 281s > m_3 <- merge(repo, "branch3") 281s > stopifnot(identical(m_3$up_to_date, FALSE)) 281s > stopifnot(identical(m_3$fast_forward, FALSE)) 281s > stopifnot(identical(m_3$conflicts, TRUE)) 281s > stopifnot(identical(sha(m_3), NA_character_)) 281s > 281s > ## Check status; Expect to have one unstaged unmerged conflict. 281s > stopifnot(identical(status(repo), 281s + structure(list(staged = empty_named_list(), 281s + unstaged = list(conflicted = "test.txt"), 281s + untracked = empty_named_list()), 281s + class = "git_status"))) 281s > 281s > ## Cleanup 281s > unlink(path, recursive = TRUE) 281s > 281s BEGIN TEST normal_merge.R 281s 281s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 281s Copyright (C) 2024 The R Foundation for Statistical Computing 281s Platform: arm-unknown-linux-gnueabihf (32-bit) 281s 281s R is free software and comes with ABSOLUTELY NO WARRANTY. 281s You are welcome to redistribute it under certain conditions. 281s Type 'license()' or 'licence()' for distribution details. 281s 281s R is a collaborative project with many contributors. 281s Type 'contributors()' for more information and 281s 'citation()' on how to cite R or R packages in publications. 281s 281s Type 'demo()' for some demos, 'help()' for on-line help, or 281s 'help.start()' for an HTML browser interface to help. 281s Type 'q()' to quit R. 281s 281s > ## git2r, R bindings to the libgit2 library. 281s > ## Copyright (C) 2013-2023 The git2r contributors 281s > ## 281s > ## This program is free software; you can redistribute it and/or modify 281s > ## it under the terms of the GNU General Public License, version 2, 281s > ## as published by the Free Software Foundation. 281s > ## 281s > ## git2r is distributed in the hope that it will be useful, 281s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 281s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 281s > ## GNU General Public License for more details. 281s > ## 281s > ## You should have received a copy of the GNU General Public License along 281s > ## with this program; if not, write to the Free Software Foundation, Inc., 281s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 281s > 281s > library(git2r) 281s > 281s > ## For debugging 281s > sessionInfo() 281s R version 4.3.3 (2024-02-29) 281s Platform: arm-unknown-linux-gnueabihf (32-bit) 281s Running under: Ubuntu Noble Numbat (development branch) 281s 281s Matrix products: default 281s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 281s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 281s 281s locale: 281s [1] C 281s 281s time zone: Etc/UTC 281s tzcode source: system (glibc) 281s 281s attached base packages: 281s [1] stats graphics grDevices utils datasets methods base 281s 281s other attached packages: 281s [1] git2r_0.33.0 281s 281s loaded via a namespace (and not attached): 281s [1] compiler_4.3.3 281s > libgit2_version() 281s $major 281s [1] 1 281s 281s $minor 281s [1] 7 281s 281s $rev 281s [1] 2 281s 281s > libgit2_features() 281s $threads 281s [1] TRUE 281s 281s $https 281s [1] TRUE 281s 281s $ssh 281s [1] TRUE 281s 281s > 281s > 281s > ## Initialize a temporary repository 281s > path <- tempfile(pattern = "git2r-") 281s > dir.create(path) 281s > repo <- init(path, branch = "main") 281s > 281s > ## Create a user and commit a file 281s > config(repo, user.name = "Author", user.email = "author@example.org") 281s > writeLines(c("First line in file 1.", "Second line in file 1."), 281s + file.path(path, "example-1.txt")) 281s > add(repo, "example-1.txt") 281s > commit(repo, "First commit message") 281s [b565b7b] 2024-03-23: First commit message 281s > 281s > ## Create and add one more file 281s > writeLines(c("First line in file 2.", "Second line in file 2."), 281s + file.path(path, "example-2.txt")) 281s > add(repo, "example-2.txt") 281s > commit(repo, "Second commit message") 281s [dfe76e7] 2024-03-23: Second commit message 281s > 281s > ## Create a new branch 'fix' 281s > checkout(repo, "fix", create = TRUE) 281s > 281s > ## Update 'example-1.txt' (swap words in first line) and commit 281s > writeLines(c("line First in file 1.", "Second line in file 1."), 281s + file.path(path, "example-1.txt")) 281s > add(repo, "example-1.txt") 281s > commit(repo, "Third commit message") 281s [2f1a2d8] 2024-03-23: Third commit message 281s > 281s > checkout(repo, "main") 281s > 281s > ## Update 'example-2.txt' (swap words in second line) and commit 281s > writeLines(c("First line in file 2.", "line Second in file 2."), 281s + file.path(path, "example-2.txt")) 281s > add(repo, "example-2.txt") 281s > commit(repo, "Fourth commit message") 281s [7f5f79b] 2024-03-23: Fourth commit message 281s > 281s > # Missing branch to merge with should throw an error 281s > tools::assertError(merge(repo)) 281s > 281s > ## Merge 'fix' 281s > m <- merge(repo, "fix", TRUE, default_signature(repo)) 281s > stopifnot(identical(format(m), "Merge")) 281s > 281s > ## Merge 'fix' again 281s > m <- merge(repo, "fix", TRUE, default_signature(repo)) 281s > stopifnot(identical(format(m), "Already up-to-date")) 281s > 281s > ## Check number of parents of each commit 281s > stopifnot(identical(sapply(commits(repo), function(x) length(parents(x))), 281s + c(2L, 1L, 1L, 1L, 0L))) 281s > 281s > ## Check that last commit is a merge 281s > stopifnot(is_merge(last_commit(repo))) 281s > summary(last_commit(repo)) 281s Commit: 3c3b18f4ea1523257cd3e6da4044c5cf18d7b0e7 281s Merge: 7f5f79ba39697ff9a5603649628a774dbe7cb48b 281s 2f1a2d8f3e332ad972615e8dd29219482d1d0794 281s Author: Author 281s When: 2024-03-23 01:14:59 GMT 281s 281s merge fix 281s 281s Commit message: 7f5f79ba39697ff9a5603649628a774dbe7cb48b 281s Fourth commit message 281s 281s Commit message: 2f1a2d8f3e332ad972615e8dd29219482d1d0794 281s Third commit message 281s 281s > 281s > ## Check that metadata associated with merge is removed 281s > stopifnot(!file.exists(file.path(path, ".git", "MERGE_HEAD"))) 281s > 281s > ## Cleanup 281s > unlink(path, recursive = TRUE) 281s > 281s BEGIN TEST note.R 281s 281s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 281s Copyright (C) 2024 The R Foundation for Statistical Computing 281s Platform: arm-unknown-linux-gnueabihf (32-bit) 281s 281s R is free software and comes with ABSOLUTELY NO WARRANTY. 281s You are welcome to redistribute it under certain conditions. 281s Type 'license()' or 'licence()' for distribution details. 281s 281s R is a collaborative project with many contributors. 281s Type 'contributors()' for more information and 281s 'citation()' on how to cite R or R packages in publications. 281s 281s Type 'demo()' for some demos, 'help()' for on-line help, or 281s 'help.start()' for an HTML browser interface to help. 281s Type 'q()' to quit R. 281s 281s > ## git2r, R bindings to the libgit2 library. 281s > ## Copyright (C) 2013-2023 The git2r contributors 281s > ## 281s > ## This program is free software; you can redistribute it and/or modify 281s > ## it under the terms of the GNU General Public License, version 2, 281s > ## as published by the Free Software Foundation. 281s > ## 281s > ## git2r is distributed in the hope that it will be useful, 281s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 281s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 281s > ## GNU General Public License for more details. 281s > ## 281s > ## You should have received a copy of the GNU General Public License along 281s > ## with this program; if not, write to the Free Software Foundation, Inc., 281s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 281s > 281s > library("git2r") 281s > 281s > ## For debugging 281s > sessionInfo() 281s R version 4.3.3 (2024-02-29) 281s Platform: arm-unknown-linux-gnueabihf (32-bit) 281s Running under: Ubuntu Noble Numbat (development branch) 281s 281s Matrix products: default 281s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 281s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 281s 281s locale: 281s [1] C 281s 281s time zone: Etc/UTC 281s tzcode source: system (glibc) 281s 281s attached base packages: 281s [1] stats graphics grDevices utils datasets methods base 281s 281s other attached packages: 281s [1] git2r_0.33.0 281s 281s loaded via a namespace (and not attached): 281s [1] compiler_4.3.3 281s > libgit2_version() 281s $major 281s [1] 1 281s 281s $minor 281s [1] 7 281s 281s $rev 281s [1] 2 281s 281s > libgit2_features() 281s $threads 281s [1] TRUE 281s 281s $https 281s [1] TRUE 281s 281s $ssh 281s [1] TRUE 281s 281s > 281s > 281s > ## Create a directory in tempdir 281s > path <- tempfile(pattern = "git2r-") 281s > dir.create(path) 281s > 281s > ## Initialize a repository 281s > repo <- init(path) 281s > config(repo, user.name = "Alice", user.email = "alice@example.org") 281s > 281s > ## Create a file, add and commit 281s > writeLines("Hello world!", file.path(path, "test.txt")) 281s > add(repo, "test.txt") 281s > commit_1 <- commit(repo, "Commit message 1") 281s > 281s > ## Create another commit 281s > writeLines(c("Hello world!", 281s + "HELLO WORLD!"), 281s + file.path(path, "test.txt")) 281s > add(repo, "test.txt") 281s > commit_2 <- commit(repo, "Commit message 2") 281s > 281s > ## Check default ref 281s > stopifnot(identical(note_default_ref(repo), 281s + "refs/notes/commits")) 281s > 281s > ## Check that an invalid object argument in note_create produce an 281s > ## error. 281s > tools::assertError(note_create(object = NULL, message = "test")) 281s > tools::assertError(note_create(object = 1, message = "test")) 281s > 281s > ## Check that notes is an empty list 281s > stopifnot(identical(notes(repo), list())) 281s > 281s > ## Create note in default namespace 281s > note_1 <- note_create(commit_1, "Note-1") 281s > stopifnot(identical(print(note_1), note_1)) 281s note: a801dfb10a85d13bc8ab304a9255b5cf180f94dd 281s > stopifnot(identical(length(notes(repo)), 1L)) 281s > stopifnot(identical(sha(note_1), note_1$sha)) 281s > tools::assertError(note_create(commit_1, "Note-2")) 281s > note_2 <- note_create(commit_1, "Note-2", force = TRUE) 281s > stopifnot(identical(length(notes(repo)), 1L)) 281s > 281s > ## Check that an invalid note argument in note_remove produce an 281s > ## error. 281s > tools::assertError(note_remove(note = 1)) 281s > 281s > ## Create note in named (review) namespace 281s > note_3 <- note_create(commit_1, "Note-3", ref = "refs/notes/review") 281s > note_4 <- note_create(commit_2, "Note-4", ref = "refs/notes/review") 281s > stopifnot(identical(length(notes(repo, ref = "refs/notes/review")), 2L)) 281s > note_remove(note_3) 281s > note_remove(note_4) 281s > stopifnot(identical(notes(repo, ref = "refs/notes/review"), list())) 281s > note_5 <- note_create(commit_1, "Note-5", ref = "review") 281s > note_6 <- note_create(commit_2, "Note-6", ref = "review") 281s > stopifnot(identical(length(notes(repo, ref = "review")), 2L)) 281s > note_remove(note_5) 281s > note_remove(note_6) 281s > stopifnot(identical(length(notes(repo, ref = "review")), 0L)) 281s > 281s > ## Create note on blob and tree 281s > tree_1 <- tree(commit_1) 281s > note_7 <- note_create(tree_1, "Note-7") 281s > stopifnot(is(object = lookup(repo, note_7$annotated), class2 = "git_tree")) 281s > stopifnot(identical(length(notes(repo)), 2L)) 281s > blob_1 <- lookup(repo, tree_1$id[1]) 281s > note_8 <- note_create(blob_1, "Note-8") 281s > stopifnot(is(object = lookup(repo, note_8$annotated), class2 = "git_blob")) 281s > stopifnot(identical(length(notes(repo)), 3L)) 281s > 281s > ## Cleanup 281s > unlink(path, recursive = TRUE) 281s > 281s BEGIN TEST odb_blobs.R 281s 281s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 281s Copyright (C) 2024 The R Foundation for Statistical Computing 281s Platform: arm-unknown-linux-gnueabihf (32-bit) 281s 281s R is free software and comes with ABSOLUTELY NO WARRANTY. 281s You are welcome to redistribute it under certain conditions. 281s Type 'license()' or 'licence()' for distribution details. 281s 281s R is a collaborative project with many contributors. 281s Type 'contributors()' for more information and 281s 'citation()' on how to cite R or R packages in publications. 281s 281s Type 'demo()' for some demos, 'help()' for on-line help, or 281s 'help.start()' for an HTML browser interface to help. 281s Type 'q()' to quit R. 281s 281s > ## git2r, R bindings to the libgit2 library. 281s > ## Copyright (C) 2013-2023 The git2r contributors 281s > ## 281s > ## This program is free software; you can redistribute it and/or modify 281s > ## it under the terms of the GNU General Public License, version 2, 281s > ## as published by the Free Software Foundation. 281s > ## 281s > ## git2r is distributed in the hope that it will be useful, 281s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 281s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 281s > ## GNU General Public License for more details. 281s > ## 281s > ## You should have received a copy of the GNU General Public License along 281s > ## with this program; if not, write to the Free Software Foundation, Inc., 281s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 281s > 281s > library("git2r") 282s > 282s > ## For debugging 282s > sessionInfo() 282s R version 4.3.3 (2024-02-29) 282s Platform: arm-unknown-linux-gnueabihf (32-bit) 282s Running under: Ubuntu Noble Numbat (development branch) 282s 282s Matrix products: default 282s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 282s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 282s 282s locale: 282s [1] C 282s 282s time zone: Etc/UTC 282s tzcode source: system (glibc) 282s 282s attached base packages: 282s [1] stats graphics grDevices utils datasets methods base 282s 282s other attached packages: 282s [1] git2r_0.33.0 282s 282s loaded via a namespace (and not attached): 282s [1] compiler_4.3.3 282s > libgit2_version() 282s $major 282s [1] 1 282s 282s $minor 282s [1] 7 282s 282s $rev 282s [1] 2 282s 282s > libgit2_features() 282s $threads 282s [1] TRUE 282s 282s $https 282s [1] TRUE 282s 282s $ssh 282s [1] TRUE 282s 282s > 282s > 282s > ## Create a directory in tempdir 282s > path <- tempfile(pattern = "git2r-") 282s > dir.create(path) 282s > 282s > ## Initialize a repository 282s > repo <- init(path) 282s > config(repo, user.name = "Alice", user.email = "alice@@example.org") 282s > 282s > ## Create a file, add and commit 282s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 282s + con = file.path(path, "test.txt")) 282s > add(repo, "test.txt") 282s > commit(repo, "Commit message 1") 282s [221f682] 2024-03-23: Commit message 1 282s > 282s > ## Change file and commit 282s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 282s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 282s + con = file.path(path, "test.txt")) 282s > add(repo, "test.txt") 282s > commit(repo, "Commit message 2") 282s [241b271] 2024-03-23: Commit message 2 282s > 282s > ## Commit same content under different name in a sub-directory 282s > dir.create(file.path(path, "sub-directory")) 282s > file.copy(file.path(path, "test.txt"), 282s + file.path(path, "sub-directory", "copy.txt")) 282s [1] TRUE 282s > add(repo, "sub-directory/copy.txt") 282s > commit(repo, "Commit message 3") 282s [f8b2aac] 2024-03-23: Commit message 3 282s > 282s > ## List blobs 282s > b <- odb_blobs(repo) 282s > 282s > ## Order the data.frame before checking 282s > b <- b[order(b$name), ] 282s > 282s > ## Check blobs 282s > stopifnot(identical(nrow(b), 3L)) 282s > stopifnot(identical( 282s + colnames(b), 282s + c("sha", "path", "name", "len", "commit", "author", "when"))) 282s > stopifnot(identical(b$path, c("sub-directory", "", ""))) 282s > stopifnot(identical(b$name, c("copy.txt", "test.txt", "test.txt"))) 282s > stopifnot(identical(b$author, c("Alice", "Alice", "Alice"))) 282s > 282s > ## Cleanup 282s > unlink(path, recursive = TRUE) 282s > 282s BEGIN TEST pre-process-path.R 282s 282s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 282s Copyright (C) 2024 The R Foundation for Statistical Computing 282s Platform: arm-unknown-linux-gnueabihf (32-bit) 282s 282s R is free software and comes with ABSOLUTELY NO WARRANTY. 282s You are welcome to redistribute it under certain conditions. 282s Type 'license()' or 'licence()' for distribution details. 282s 282s R is a collaborative project with many contributors. 282s Type 'contributors()' for more information and 282s 'citation()' on how to cite R or R packages in publications. 282s 282s Type 'demo()' for some demos, 'help()' for on-line help, or 282s 'help.start()' for an HTML browser interface to help. 282s Type 'q()' to quit R. 282s 282s > ## git2r, R bindings to the libgit2 library. 282s > ## Copyright (C) 2013-2023 The git2r contributors 282s > ## 282s > ## This program is free software; you can redistribute it and/or modify 282s > ## it under the terms of the GNU General Public License, version 2, 282s > ## as published by the Free Software Foundation. 282s > ## 282s > ## git2r is distributed in the hope that it will be useful, 282s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 282s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 282s > ## GNU General Public License for more details. 282s > ## 282s > ## You should have received a copy of the GNU General Public License along 282s > ## with this program; if not, write to the Free Software Foundation, Inc., 282s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 282s > 282s > library(git2r) 282s > source("util/check.R") 282s > 282s > ## For debugging 282s > sessionInfo() 282s R version 4.3.3 (2024-02-29) 282s Platform: arm-unknown-linux-gnueabihf (32-bit) 282s Running under: Ubuntu Noble Numbat (development branch) 282s 282s Matrix products: default 282s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 282s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 282s 282s locale: 282s [1] C 282s 282s time zone: Etc/UTC 282s tzcode source: system (glibc) 282s 282s attached base packages: 282s [1] stats graphics grDevices utils datasets methods base 282s 282s other attached packages: 282s [1] git2r_0.33.0 282s 282s loaded via a namespace (and not attached): 282s [1] compiler_4.3.3 282s > libgit2_version() 282s $major 282s [1] 1 282s 282s $minor 282s [1] 7 282s 282s $rev 282s [1] 2 282s 282s > libgit2_features() 282s $threads 282s [1] TRUE 282s 282s $https 282s [1] TRUE 282s 282s $ssh 282s [1] TRUE 282s 282s > 282s > 282s > ## Create a directory in tempdir 282s > path <- tempfile(pattern = "git2r-") 282s > dir.create(path) 282s > setwd(path) 282s > 282s > ## Initialize a repository 282s > repo <- init(path) 282s > config(repo, user.name = "Alice", user.email = "alice@example.org") 282s > 282s > ## Test to add file with a leading './' 282s > writeLines("foo-1", file.path(path, "foo-1")) 282s > add(repo, "./foo-1") 282s > status_exp <- structure(list(staged = list(new = "foo-1"), 282s + unstaged = empty_named_list(), 282s + untracked = empty_named_list()), 282s + class = "git_status") 282s > status_obs <- status(repo) 282s > str(status_exp) 282s List of 3 282s $ staged :List of 1 282s ..$ new: chr "foo-1" 282s $ unstaged : Named list() 282s $ untracked: Named list() 282s - attr(*, "class")= chr "git_status" 282s > str(status_obs) 282s List of 3 282s $ staged :List of 1 282s ..$ new: chr "foo-1" 282s $ unstaged : Named list() 282s $ untracked: Named list() 282s - attr(*, "class")= chr "git_status" 282s > stopifnot(identical(status_obs, status_exp)) 282s > 282s > ## Test to add file in sub-folder with sub-folder as working directory 282s > writeLines("foo-2", file.path(path, "foo-2")) 282s > dir.create(file.path(path, "foo_dir")) 282s > writeLines("foo-2", file.path(path, "foo_dir/foo-2")) 282s > setwd("./foo_dir") 282s > add(repo, "foo-2") 282s > status_exp <- structure(list(staged = list(new = "foo-1", 282s + new = "foo_dir/foo-2"), 282s + unstaged = empty_named_list(), 282s + untracked = list(untracked = "foo-2")), 282s + class = "git_status") 282s > status_obs <- status(repo) 282s > str(status_exp) 282s List of 3 282s $ staged :List of 2 282s ..$ new: chr "foo-1" 282s ..$ new: chr "foo_dir/foo-2" 282s $ unstaged : Named list() 282s $ untracked:List of 1 282s ..$ untracked: chr "foo-2" 282s - attr(*, "class")= chr "git_status" 282s > str(status_obs) 282s List of 3 282s $ staged :List of 2 282s ..$ new: chr "foo-1" 282s ..$ new: chr "foo_dir/foo-2" 282s $ unstaged : Named list() 282s $ untracked:List of 1 282s ..$ untracked: chr "foo-2" 282s - attr(*, "class")= chr "git_status" 282s > stopifnot(identical(status_obs, status_exp)) 282s > 282s > ## Test glob expansion 282s > setwd(tempdir()) 282s > dir.create(file.path(path, "glob_dir")) 282s > writeLines("a", file.path(path, "glob_dir/a.txt")) 282s > writeLines("b", file.path(path, "glob_dir/b.txt")) 282s > writeLines("c", file.path(path, "glob_dir/c.txt")) 282s > writeLines("d", file.path(path, "glob_dir/d.md")) 282s > add(repo, "glob_dir/*txt") 282s > status_exp <- structure(list(staged = list(new = "foo-1", 282s + new = "foo_dir/foo-2", 282s + new = "glob_dir/a.txt", 282s + new = "glob_dir/b.txt", 282s + new = "glob_dir/c.txt"), 282s + unstaged = empty_named_list(), 282s + untracked = list(untracked = "foo-2", 282s + untracked = "glob_dir/d.md")), 282s + class = "git_status") 282s > status_obs <- status(repo) 282s > str(status_exp) 282s List of 3 282s $ staged :List of 5 282s ..$ new: chr "foo-1" 282s ..$ new: chr "foo_dir/foo-2" 282s ..$ new: chr "glob_dir/a.txt" 282s ..$ new: chr "glob_dir/b.txt" 282s ..$ new: chr "glob_dir/c.txt" 282s $ unstaged : Named list() 282s $ untracked:List of 2 282s ..$ untracked: chr "foo-2" 282s ..$ untracked: chr "glob_dir/d.md" 282s - attr(*, "class")= chr "git_status" 282s > str(status_obs) 282s List of 3 282s $ staged :List of 5 282s ..$ new: chr "foo-1" 282s ..$ new: chr "foo_dir/foo-2" 282s ..$ new: chr "glob_dir/a.txt" 282s ..$ new: chr "glob_dir/b.txt" 282s ..$ new: chr "glob_dir/c.txt" 282s $ unstaged : Named list() 282s $ untracked:List of 2 282s ..$ untracked: chr "foo-2" 282s ..$ untracked: chr "glob_dir/d.md" 282s - attr(*, "class")= chr "git_status" 282s > stopifnot(identical(status_obs, status_exp)) 282s > 282s > ## Test glob expansion with relative path 282s > setwd(path) 282s > add(repo, "./glob_dir/*md") 282s > status_exp <- structure(list(staged = list(new = "foo-1", 282s + new = "foo_dir/foo-2", 282s + new = "glob_dir/a.txt", 282s + new = "glob_dir/b.txt", 282s + new = "glob_dir/c.txt", 282s + new = "glob_dir/d.md"), 282s + unstaged = empty_named_list(), 282s + untracked = list(untracked = "foo-2")), 282s + class = "git_status") 282s > status_obs <- status(repo) 282s > str(status_exp) 282s List of 3 282s $ staged :List of 6 282s ..$ new: chr "foo-1" 282s ..$ new: chr "foo_dir/foo-2" 282s ..$ new: chr "glob_dir/a.txt" 282s ..$ new: chr "glob_dir/b.txt" 282s ..$ new: chr "glob_dir/c.txt" 282s ..$ new: chr "glob_dir/d.md" 282s $ unstaged : Named list() 282s $ untracked:List of 1 282s ..$ untracked: chr "foo-2" 282s - attr(*, "class")= chr "git_status" 282s > str(status_obs) 282s List of 3 282s $ staged :List of 6 282s ..$ new: chr "foo-1" 282s ..$ new: chr "foo_dir/foo-2" 282s ..$ new: chr "glob_dir/a.txt" 282s ..$ new: chr "glob_dir/b.txt" 282s ..$ new: chr "glob_dir/c.txt" 282s ..$ new: chr "glob_dir/d.md" 282s $ unstaged : Named list() 282s $ untracked:List of 1 282s ..$ untracked: chr "foo-2" 282s - attr(*, "class")= chr "git_status" 282s > stopifnot(identical(status_obs, status_exp)) 282s > 282s > ## Test to add file in root of workdir when the file also exists in 282s > ## current workdir. 282s > setwd(tempdir()) 282s > writeLines("e", file.path(path, "e.txt")) 282s > writeLines("e", file.path(tempdir(), "e.txt")) 282s > add(repo, "e.txt") 282s > status_exp <- structure(list(staged = list(new = "e.txt", 282s + new = "foo-1", 282s + new = "foo_dir/foo-2", 282s + new = "glob_dir/a.txt", 282s + new = "glob_dir/b.txt", 282s + new = "glob_dir/c.txt", 282s + new = "glob_dir/d.md"), 282s + unstaged = empty_named_list(), 282s + untracked = list(untracked = "foo-2")), 282s + class = "git_status") 282s > status_obs <- status(repo) 282s > str(status_exp) 282s List of 3 282s $ staged :List of 7 282s ..$ new: chr "e.txt" 282s ..$ new: chr "foo-1" 282s ..$ new: chr "foo_dir/foo-2" 282s ..$ new: chr "glob_dir/a.txt" 282s ..$ new: chr "glob_dir/b.txt" 282s ..$ new: chr "glob_dir/c.txt" 282s ..$ new: chr "glob_dir/d.md" 282s $ unstaged : Named list() 282s $ untracked:List of 1 282s ..$ untracked: chr "foo-2" 282s - attr(*, "class")= chr "git_status" 282s > str(status_obs) 282s List of 3 282s $ staged :List of 7 282s ..$ new: chr "e.txt" 282s ..$ new: chr "foo-1" 282s ..$ new: chr "foo_dir/foo-2" 282s ..$ new: chr "glob_dir/a.txt" 282s ..$ new: chr "glob_dir/b.txt" 282s ..$ new: chr "glob_dir/c.txt" 282s ..$ new: chr "glob_dir/d.md" 282s $ unstaged : Named list() 282s $ untracked:List of 1 282s ..$ untracked: chr "foo-2" 282s - attr(*, "class")= chr "git_status" 282s > stopifnot(identical(status_obs, status_exp)) 282s > 282s > ## Cleanup 282s > unlink(path, recursive = TRUE) 282s > 282s BEGIN TEST pull.R 282s 282s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 282s Copyright (C) 2024 The R Foundation for Statistical Computing 282s Platform: arm-unknown-linux-gnueabihf (32-bit) 282s 282s R is free software and comes with ABSOLUTELY NO WARRANTY. 282s You are welcome to redistribute it under certain conditions. 282s Type 'license()' or 'licence()' for distribution details. 282s 282s R is a collaborative project with many contributors. 282s Type 'contributors()' for more information and 282s 'citation()' on how to cite R or R packages in publications. 282s 282s Type 'demo()' for some demos, 'help()' for on-line help, or 282s 'help.start()' for an HTML browser interface to help. 282s Type 'q()' to quit R. 282s 282s > ## git2r, R bindings to the libgit2 library. 282s > ## Copyright (C) 2013-2023 The git2r contributors 282s > ## 282s > ## This program is free software; you can redistribute it and/or modify 282s > ## it under the terms of the GNU General Public License, version 2, 282s > ## as published by the Free Software Foundation. 282s > ## 282s > ## git2r is distributed in the hope that it will be useful, 282s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 282s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 282s > ## GNU General Public License for more details. 282s > ## 282s > ## You should have received a copy of the GNU General Public License along 282s > ## with this program; if not, write to the Free Software Foundation, Inc., 282s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 282s > 282s > library(git2r) 282s > 282s > ## For debugging 282s > sessionInfo() 282s R version 4.3.3 (2024-02-29) 282s Platform: arm-unknown-linux-gnueabihf (32-bit) 282s Running under: Ubuntu Noble Numbat (development branch) 282s 282s Matrix products: default 282s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 282s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 282s 282s locale: 282s [1] C 282s 282s time zone: Etc/UTC 282s tzcode source: system (glibc) 282s 282s attached base packages: 282s [1] stats graphics grDevices utils datasets methods base 282s 282s other attached packages: 282s [1] git2r_0.33.0 282s 282s loaded via a namespace (and not attached): 282s [1] compiler_4.3.3 282s > libgit2_version() 282s $major 282s [1] 1 282s 282s $minor 282s [1] 7 282s 282s $rev 282s [1] 2 282s 282s > libgit2_features() 282s $threads 282s [1] TRUE 282s 282s $https 282s [1] TRUE 282s 282s $ssh 282s [1] TRUE 282s 282s > 282s > 282s > ## Create directories for repositories in tempdir 282s > path_bare <- tempfile(pattern = "git2r-") 282s > path_repo_1 <- tempfile(pattern = "git2r-") 282s > path_repo_2 <- tempfile(pattern = "git2r-") 282s > 282s > dir.create(path_bare) 282s > dir.create(path_repo_1) 282s > dir.create(path_repo_2) 282s > 282s > ## Create bare repository 282s > bare_repo <- init(path_bare, bare = TRUE) 282s > 282s > ## Clone to repo 1 282s > repo_1 <- clone(path_bare, path_repo_1) 282s cloning into '/tmp/RtmpuVU5ky/git2r-9097d38245f'... 282s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 282s > 282s > ## Add changes to repo 1 and push to bare 282s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 282s + con = file.path(path_repo_1, "test-1.txt")) 282s > add(repo_1, "test-1.txt") 282s > commit_1 <- commit(repo_1, "First commit message") 282s > branch_name <- branches(repo_1)[[1]]$name 282s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 282s > 282s > ## Clone to repo 2 282s > repo_2 <- clone(path_bare, path_repo_2) 282s cloning into '/tmp/RtmpuVU5ky/git2r-909345d7188'... 282s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 282s > 282s > ## Add more changes to repo 1 and push to bare 282s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 282s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 282s + con = file.path(path_repo_1, "test-1.txt")) 282s > add(repo_1, "test-1.txt") 282s > commit_2 <- commit(repo_1, "Second commit message") 282s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 282s > 282s > ## Pull changes to repo_2 282s > pull(repo_2) 282s [updated] 6e23341d37..8bc3f8a6e8 refs/remotes/origin/master 282s Merge: Fast-forward 282s > stopifnot(identical(length(commits(repo_2)), 2L)) 282s > 282s > ## Check remote url of repo_2 282s > stopifnot(identical( 282s + branch_remote_url(branch_get_upstream(repository_head(repo_2))), 282s + path_bare)) 282s > 282s > ## Unset remote remote tracking branch 282s > branch_set_upstream(repository_head(repo_2), NULL) 282s > stopifnot(is.null(branch_get_upstream(repository_head(repo_2)))) 282s > tools::assertError(pull(repo_2)) 282s > tools::assertError(branch_set_upstream(repository_head(repo_2), NULL)) 282s > 282s > ## Add more changes to repo 1 and push to bare 282s > writeLines( 282s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 282s + "eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad", 282s + "minim veniam, quis nostrud exercitation ullamco laboris nisi ut"), 282s + con = file.path(path_repo_1, "test-1.txt")) 282s > add(repo_1, "test-1.txt") 282s > commit_3 <- commit(repo_1, "Third commit message") 282s > push(repo_1) 282s > 282s > ## Set remote tracking branch 282s > branch_set_upstream(repository_head(repo_2), 282s + paste0("origin/", branch_name)) 282s > stopifnot(identical( 282s + branch_remote_url(branch_get_upstream(repository_head(repo_2))), 282s + path_bare)) 282s > 282s > ## Pull changes to repo_2 282s > pull(repo_2) 282s [updated] 8bc3f8a6e8..7dca53f7b3 refs/remotes/origin/master 282s Merge: Fast-forward 282s > stopifnot(identical(length(commits(repo_2)), 3L)) 282s > 282s > ## Check references in repo_1 and repo_2. Must clear the repo item 282s > ## since the repositories have different paths. 282s > stopifnot(identical(length(references(repo_1)), 2L)) 282s > 282s > ref_1 <- references(repo_1) 282s > lapply(seq_len(length(ref_1)), function(i) { 282s + ref_1[[i]]$repo <<- NULL 282s + }) 282s [[1]] 282s NULL 282s 282s [[2]] 282s NULL 282s 282s > 282s > ref_2 <- references(repo_2) 282s > lapply(seq_len(length(ref_2)), function(i) { 282s + ref_2[[i]]$repo <<- NULL 282s + }) 282s [[1]] 282s NULL 282s 282s [[2]] 282s NULL 282s 282s [[3]] 282s NULL 282s 282s > 282s > name <- paste0("refs/heads/", branch_name) 282s > stopifnot(identical(ref_1[[name]], ref_2[[name]])) 282s > 282s > name <- paste0("refs/remotes/", branch_name) 282s > stopifnot(identical(ref_1[[name]], ref_2[[name]])) 282s > 282s > ref_1 <- references(repo_1)[[paste0("refs/heads/", branch_name)]] 282s > stopifnot(identical(ref_1$name, paste0("refs/heads/", branch_name))) 282s > stopifnot(identical(ref_1$type, 1L)) 282s > stopifnot(identical(sha(ref_1), sha(commit_3))) 282s > stopifnot(identical(ref_1$target, NA_character_)) 282s > stopifnot(identical(ref_1$shorthand, branch_name)) 282s > 282s > ref_2 <- references(repo_1)[[paste0("refs/remotes/origin/", branch_name)]] 282s > stopifnot(identical(ref_2$name, paste0("refs/remotes/origin/", branch_name))) 282s > stopifnot(identical(ref_2$type, 1L)) 282s > stopifnot(identical(sha(ref_2), sha(commit_3))) 282s > stopifnot(identical(ref_2$target, NA_character_)) 282s > stopifnot(identical(ref_2$shorthand, paste0("origin/", branch_name))) 282s > 282s > ## Check references with missing repo argument 282s > wd <- setwd(path_repo_1) 282s > stopifnot(identical(length(references()), 2L)) 282s > if (!is.null(wd)) 282s + setwd(wd) 282s > 282s > ## Cleanup 282s > unlink(path_bare, recursive = TRUE) 282s > unlink(path_repo_1, recursive = TRUE) 282s > unlink(path_repo_2, recursive = TRUE) 282s > 282s BEGIN TEST push-force.R 282s 282s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 282s Copyright (C) 2024 The R Foundation for Statistical Computing 282s Platform: arm-unknown-linux-gnueabihf (32-bit) 282s 282s R is free software and comes with ABSOLUTELY NO WARRANTY. 282s You are welcome to redistribute it under certain conditions. 282s Type 'license()' or 'licence()' for distribution details. 282s 282s R is a collaborative project with many contributors. 282s Type 'contributors()' for more information and 282s 'citation()' on how to cite R or R packages in publications. 282s 282s Type 'demo()' for some demos, 'help()' for on-line help, or 282s 'help.start()' for an HTML browser interface to help. 282s Type 'q()' to quit R. 282s 282s > ## git2r, R bindings to the libgit2 library. 282s > ## Copyright (C) 2013-2023 The git2r contributors 282s > ## 282s > ## This program is free software; you can redistribute it and/or modify 282s > ## it under the terms of the GNU General Public License, version 2, 282s > ## as published by the Free Software Foundation. 282s > ## 282s > ## git2r is distributed in the hope that it will be useful, 282s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 282s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 282s > ## GNU General Public License for more details. 282s > ## 282s > ## You should have received a copy of the GNU General Public License along 282s > ## with this program; if not, write to the Free Software Foundation, Inc., 282s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 282s > 282s > library(git2r) 282s > 282s > ## For debugging 282s > sessionInfo() 282s R version 4.3.3 (2024-02-29) 282s Platform: arm-unknown-linux-gnueabihf (32-bit) 282s Running under: Ubuntu Noble Numbat (development branch) 282s 282s Matrix products: default 282s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 282s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 282s 282s locale: 282s [1] C 282s 282s time zone: Etc/UTC 282s tzcode source: system (glibc) 282s 282s attached base packages: 282s [1] stats graphics grDevices utils datasets methods base 282s 282s other attached packages: 282s [1] git2r_0.33.0 282s 282s loaded via a namespace (and not attached): 282s [1] compiler_4.3.3 282s > libgit2_version() 282s $major 282s [1] 1 282s 282s $minor 282s [1] 7 282s 282s $rev 282s [1] 2 282s 282s > libgit2_features() 282s $threads 282s [1] TRUE 282s 282s $https 282s [1] TRUE 282s 282s $ssh 282s [1] TRUE 282s 282s > 282s > 282s > ## Create directories for repositories in tempdir 282s > path_bare <- tempfile(pattern = "git2r-") 282s > path_repo_1 <- tempfile(pattern = "git2r-") 282s > path_repo_2 <- tempfile(pattern = "git2r-") 282s > 282s > dir.create(path_bare) 282s > dir.create(path_repo_1) 282s > dir.create(path_repo_2) 282s > 282s > ## Create bare repository 282s > bare_repo <- init(path_bare, bare = TRUE) 282s > 282s > ## Clone to repo 1 282s > repo_1 <- clone(path_bare, path_repo_1) 282s cloning into '/tmp/RtmpESoQfr/git2r-9182e18070b'... 282s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 282s > 282s > ## Add changes to repo 1 and push to bare 282s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 282s + con = file.path(path_repo_1, "test-1.txt")) 282s > add(repo_1, "test-1.txt") 282s > commit_1 <- commit(repo_1, "First commit message") 282s > branch_name <- branches(repo_1)[[1]]$name 282s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 282s > 282s > ## Clone to repo 2 282s > repo_2 <- clone(path_bare, path_repo_2) 282s cloning into '/tmp/RtmpESoQfr/git2r-918520a26f'... 282s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 282s > 282s > ## Add more changes to repo 1 and push to bare 282s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 282s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 282s + con = file.path(path_repo_1, "test-1.txt")) 282s > add(repo_1, "test-1.txt") 282s > commit_2 <- commit(repo_1, "Second commit message") 282s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 282s > 282s > ## Add changes to repo 2 and push to bare 282s > writeLines( 282s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 282s + "eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad", 282s + "minim veniam, quis nostrud exercitation ullamco laboris nisi ut"), 282s + con = file.path(path_repo_2, "test-1.txt")) 282s > add(repo_2, "test-1.txt") 282s > commit_3 <- commit(repo_2, "Third commit message") 282s > 282s > ## We are behind, so this should fail 282s > tools::assertError(push(repo_2)) 282s > 282s > ## Push with force = TRUE 282s > push(repo_2, force = TRUE) 282s > 282s > ## Check commits 282s > stopifnot(identical(length(commits(bare_repo)), 2L)) 282s > stopifnot(identical(sha(commits(repo_2)[[1]]), sha(commits(bare_repo)[[1]]))) 282s > stopifnot(identical(sha(commits(repo_2)[[2]]), sha(commits(bare_repo)[[2]]))) 282s > 282s > ## Cleanup 282s > unlink(path_bare, recursive = TRUE) 282s > unlink(path_repo_1, recursive = TRUE) 283s > unlink(path_repo_2, recursive = TRUE) 283s > 283s BEGIN TEST push.R 283s 283s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 283s Copyright (C) 2024 The R Foundation for Statistical Computing 283s Platform: arm-unknown-linux-gnueabihf (32-bit) 283s 283s R is free software and comes with ABSOLUTELY NO WARRANTY. 283s You are welcome to redistribute it under certain conditions. 283s Type 'license()' or 'licence()' for distribution details. 283s 283s R is a collaborative project with many contributors. 283s Type 'contributors()' for more information and 283s 'citation()' on how to cite R or R packages in publications. 283s 283s Type 'demo()' for some demos, 'help()' for on-line help, or 283s 'help.start()' for an HTML browser interface to help. 283s Type 'q()' to quit R. 283s 283s > ## git2r, R bindings to the libgit2 library. 283s > ## Copyright (C) 2013-2023 The git2r contributors 283s > ## 283s > ## This program is free software; you can redistribute it and/or modify 283s > ## it under the terms of the GNU General Public License, version 2, 283s > ## as published by the Free Software Foundation. 283s > ## 283s > ## git2r is distributed in the hope that it will be useful, 283s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 283s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 283s > ## GNU General Public License for more details. 283s > ## 283s > ## You should have received a copy of the GNU General Public License along 283s > ## with this program; if not, write to the Free Software Foundation, Inc., 283s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 283s > 283s > library(git2r) 283s > 283s > ## For debugging 283s > sessionInfo() 283s R version 4.3.3 (2024-02-29) 283s Platform: arm-unknown-linux-gnueabihf (32-bit) 283s Running under: Ubuntu Noble Numbat (development branch) 283s 283s Matrix products: default 283s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 283s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 283s 283s locale: 283s [1] C 283s 283s time zone: Etc/UTC 283s tzcode source: system (glibc) 283s 283s attached base packages: 283s [1] stats graphics grDevices utils datasets methods base 283s 283s other attached packages: 283s [1] git2r_0.33.0 283s 283s loaded via a namespace (and not attached): 283s [1] compiler_4.3.3 283s > libgit2_version() 283s $major 283s [1] 1 283s 283s $minor 283s [1] 7 283s 283s $rev 283s [1] 2 283s 283s > libgit2_features() 283s $threads 283s [1] TRUE 283s 283s $https 283s [1] TRUE 283s 283s $ssh 283s [1] TRUE 283s 283s > 283s > 283s > ## Create 2 directories in tempdir 283s > path_bare <- tempfile(pattern = "git2r-") 283s > path_repo <- tempfile(pattern = "git2r-") 283s > 283s > dir.create(path_bare) 283s > dir.create(path_repo) 283s > 283s > ## Create repositories 283s > bare_repo <- init(path_bare, bare = TRUE) 283s > repo <- clone(path_bare, path_repo) 283s cloning into '/tmp/RtmpJ9qfRf/git2r-9242bc348f2'... 283s > 283s > ## Check the repositores 283s > stopifnot(identical(is_bare(bare_repo), TRUE)) 283s > stopifnot(identical(is_bare(repo), FALSE)) 283s > 283s > ## Config repositories 283s > config(repo, user.name = "Alice", user.email = "alice@example.org") 283s > 283s > ## Add changes to repo 283s > writeLines("Hello world", con = file.path(path_repo, "test.txt")) 283s > add(repo, "test.txt") 283s > commit_1 <- commit(repo, "Commit message") 283s > branch_name <- branches(repo)[[1]]$name 283s > 283s > ## Check commit 283s > stopifnot(identical(commit_1$author$name, "Alice")) 283s > stopifnot(identical(commit_1$author$email, "alice@example.org")) 283s > stopifnot(identical(length(commits(repo)), 1L)) 283s > stopifnot(identical(commits(repo)[[1]]$author$name, "Alice")) 283s > stopifnot(identical(commits(repo)[[1]]$author$email, "alice@example.org")) 283s > 283s > ## Check push arguments 283s > tools::assertError(push(repo, character(0), paste0("refs/heads/", branch_name))) 283s > tools::assertError(push(repo, NA_character_, paste0("refs/heads/", branch_name))) 283s > tools::assertError(push(repo, c("origin", "origin"), paste0("refs/heads/", branch_name))) 283s > tools::assertError(push(repo, "origin")) 283s > tools::assertError(push(repo, name = "origin")) 283s > push(repo, "origin", character(0)) 283s > push(repo, "origin", NA_character_) 283s > push(repo, "origin", c(NA_character_, NA_character_)) 283s > stopifnot(identical(reflog(repo, paste0("refs/remotes/origin/", branch_name)), 283s + structure(list(), class = "git_reflog"))) 283s > 283s > ## No tracking branch assigned to master 283s > tools::assertError(push(branches(repo)[[1]])) 283s > 283s > ## Push changes from repo to origin 283s > push(repo, "origin", paste0("refs/heads/", branch_name)) 283s > r <- reflog(repo, paste0("refs/remotes/origin/", branch_name)) 283s > stopifnot(identical(length(r), 1L)) 283s > r <- r[[1]] 283s > stopifnot(identical(sha(r), sha(commit_1))) 283s > stopifnot(identical(r$message, "update by push")) 283s > stopifnot(identical(r$index, 0L)) 283s > stopifnot(identical(r$committer$name, "Alice")) 283s > stopifnot(identical(r$committer$email, "alice@example.org")) 283s > stopifnot(identical(r$refname, paste0("refs/remotes/origin/", branch_name))) 283s > stopifnot(identical(r$repo$path, repo$path)) 283s > push(branches(repo)[[1]]) 283s > 283s > ## Check result in bare repository 283s > stopifnot(identical(length(commits(bare_repo)), 1L)) 283s > bare_commit_1 <- commits(bare_repo)[[1]] 283s > stopifnot(identical(sha(commit_1), sha(bare_commit_1))) 283s > stopifnot(identical(commit_1$author, bare_commit_1$author)) 283s > stopifnot(identical(commit_1$committer, bare_commit_1$committer)) 283s > stopifnot(identical(commit_1$summary, bare_commit_1$summary)) 283s > stopifnot(identical(commit_1$message, bare_commit_1$message)) 283s > stopifnot(!identical(commit_1$repo, bare_commit_1$repo)) 283s > 283s > ## Add changes to repo and push head 283s > writeLines(c("Hello world", "HELLO WORLD"), 283s + con = file.path(path_repo, "test.txt")) 283s > add(repo, "test.txt") 283s > commit_2 <- commit(repo, "Commit message 2") 283s > push(repo) 283s > bare_commit_2 <- lookup(bare_repo, sha(commit_2)) 283s > stopifnot(identical(sha(commit_2), sha(bare_commit_2))) 283s > stopifnot(identical(commit_2$author, bare_commit_2$author)) 283s > stopifnot(identical(commit_2$committer, bare_commit_2$committer)) 283s > stopifnot(identical(commit_2$summary, bare_commit_2$summary)) 283s > stopifnot(identical(commit_2$message, bare_commit_2$message)) 283s > stopifnot(!identical(commit_2$repo, bare_commit_2$repo)) 283s > 283s > ## Check 'set_upstream' 283s > branch_set_upstream(repository_head(repo), NULL) 283s > push(repo, "origin", paste0("refs/heads/", branch_name)) 283s > stopifnot(is.null(branch_get_upstream(repository_head(repo)))) 283s > push(repo, "origin", paste0("refs/heads/", branch_name), set_upstream = TRUE) 283s > stopifnot(!is.null(branch_get_upstream(repository_head(repo)))) 283s > 283s > ## Cleanup 283s > unlink(path_bare, recursive = TRUE) 283s > unlink(path_repo, recursive = TRUE) 283s > 283s BEGIN TEST reference.R 283s 283s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 283s Copyright (C) 2024 The R Foundation for Statistical Computing 283s Platform: arm-unknown-linux-gnueabihf (32-bit) 283s 283s R is free software and comes with ABSOLUTELY NO WARRANTY. 283s You are welcome to redistribute it under certain conditions. 283s Type 'license()' or 'licence()' for distribution details. 283s 283s R is a collaborative project with many contributors. 283s Type 'contributors()' for more information and 283s 'citation()' on how to cite R or R packages in publications. 283s 283s Type 'demo()' for some demos, 'help()' for on-line help, or 283s 'help.start()' for an HTML browser interface to help. 283s Type 'q()' to quit R. 283s 283s > ## git2r, R bindings to the libgit2 library. 283s > ## Copyright (C) 2013-2023 The git2r contributors 283s > ## 283s > ## This program is free software; you can redistribute it and/or modify 283s > ## it under the terms of the GNU General Public License, version 2, 283s > ## as published by the Free Software Foundation. 283s > ## 283s > ## git2r is distributed in the hope that it will be useful, 283s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 283s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 283s > ## GNU General Public License for more details. 283s > ## 283s > ## You should have received a copy of the GNU General Public License along 283s > ## with this program; if not, write to the Free Software Foundation, Inc., 283s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 283s > 283s > library(git2r) 283s > 283s > ## For debugging 283s > sessionInfo() 283s R version 4.3.3 (2024-02-29) 283s Platform: arm-unknown-linux-gnueabihf (32-bit) 283s Running under: Ubuntu Noble Numbat (development branch) 283s 283s Matrix products: default 283s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 283s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 283s 283s locale: 283s [1] C 283s 283s time zone: Etc/UTC 283s tzcode source: system (glibc) 283s 283s attached base packages: 283s [1] stats graphics grDevices utils datasets methods base 283s 283s other attached packages: 283s [1] git2r_0.33.0 283s 283s loaded via a namespace (and not attached): 283s [1] compiler_4.3.3 283s > libgit2_version() 283s $major 283s [1] 1 283s 283s $minor 283s [1] 7 283s 283s $rev 283s [1] 2 283s 283s > libgit2_features() 283s $threads 283s [1] TRUE 283s 283s $https 283s [1] TRUE 283s 283s $ssh 283s [1] TRUE 283s 283s > 283s > 283s > ## Create a directory in tempdir 283s > path <- tempfile(pattern = "git2r-") 283s > dir.create(path) 283s > 283s > ## Initialize a repository 283s > repo <- init(path, branch = "main") 283s > config(repo, user.name = "Alice", user.email = "alice@example.org") 283s > 283s > ## Create a file 283s > writeLines("Hello world!", file.path(path, "test.txt")) 283s > 283s > ## add and commit 283s > add(repo, "test.txt") 283s > commit(repo, "Commit message") 283s [5fe3d36] 2024-03-23: Commit message 283s > 283s > ## Check dwim of reference shorthand 283s > stopifnot(identical(.Call(git2r:::git2r_reference_dwim, repo, "")$name, 283s + "refs/heads/main")) 283s > stopifnot(identical(.Call(git2r:::git2r_reference_dwim, repo, "main")$name, 283s + "refs/heads/main")) 283s > stopifnot(identical( 283s + .Call(git2r:::git2r_reference_dwim, repo, "refs/heads/main")$name, 283s + "refs/heads/main")) 283s > 283s > ## print reference 283s > r <- .Call(git2r:::git2r_reference_dwim, repo, "refs/heads/main") 283s > stopifnot(identical(print(r), r)) 283s [5fe3d3] main 283s > 283s > ## Cleanup 283s > unlink(path, recursive = TRUE) 283s > 283s BEGIN TEST reflog.R 283s 283s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 283s Copyright (C) 2024 The R Foundation for Statistical Computing 283s Platform: arm-unknown-linux-gnueabihf (32-bit) 283s 283s R is free software and comes with ABSOLUTELY NO WARRANTY. 283s You are welcome to redistribute it under certain conditions. 283s Type 'license()' or 'licence()' for distribution details. 283s 283s R is a collaborative project with many contributors. 283s Type 'contributors()' for more information and 283s 'citation()' on how to cite R or R packages in publications. 283s 283s Type 'demo()' for some demos, 'help()' for on-line help, or 283s 'help.start()' for an HTML browser interface to help. 283s Type 'q()' to quit R. 283s 283s > ## git2r, R bindings to the libgit2 library. 283s > ## Copyright (C) 2013-2023 The git2r contributors 283s > ## 283s > ## This program is free software; you can redistribute it and/or modify 283s > ## it under the terms of the GNU General Public License, version 2, 283s > ## as published by the Free Software Foundation. 283s > ## 283s > ## git2r is distributed in the hope that it will be useful, 283s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 283s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 283s > ## GNU General Public License for more details. 283s > ## 283s > ## You should have received a copy of the GNU General Public License along 283s > ## with this program; if not, write to the Free Software Foundation, Inc., 283s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 283s > 283s > library("git2r") 283s > 283s > ## For debugging 283s > sessionInfo() 283s R version 4.3.3 (2024-02-29) 283s Platform: arm-unknown-linux-gnueabihf (32-bit) 283s Running under: Ubuntu Noble Numbat (development branch) 283s 283s Matrix products: default 283s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 283s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 283s 283s locale: 283s [1] C 283s 283s time zone: Etc/UTC 283s tzcode source: system (glibc) 283s 283s attached base packages: 283s [1] stats graphics grDevices utils datasets methods base 283s 283s other attached packages: 283s [1] git2r_0.33.0 283s 283s loaded via a namespace (and not attached): 283s [1] compiler_4.3.3 283s > libgit2_version() 283s $major 283s [1] 1 283s 283s $minor 283s [1] 7 283s 283s $rev 283s [1] 2 283s 283s > libgit2_features() 283s $threads 283s [1] TRUE 283s 283s $https 283s [1] TRUE 283s 283s $ssh 283s [1] TRUE 283s 283s > 283s > 283s > ## Create a directory in tempdir 283s > path <- tempfile(pattern = "git2r-") 283s > dir.create(path) 283s > 283s > ## Initialize a repository 283s > repo <- init(path) 283s > config(repo, user.name = "Alice", user.email = "alice@example.org") 283s > 283s > ## Check that reflog is empty 283s > stopifnot(identical(reflog(repo), structure(list(), class = "git_reflog"))) 283s > 283s > ## Create a file 283s > writeLines("Hello world!", file.path(path, "test.txt")) 283s > 283s > ## add and commit 283s > add(repo, "test.txt") 283s > commit_1 <- commit(repo, "Commit message") 283s > 283s > ## Check that reflog is not empry 283s > stopifnot(identical(length(reflog(repo)), 1L)) 283s > reflog_entry <- reflog(repo)[[1]] 283s > stopifnot(identical(sha(reflog_entry), sha(commit_1))) 283s > stopifnot(identical(reflog_entry$refname, "HEAD")) 283s > stopifnot(identical(reflog_entry$index, 0L)) 283s > stopifnot(identical(reflog_entry$committer$email, "alice@example.org")) 283s > stopifnot(identical(reflog_entry$message, "commit (initial): Commit message")) 283s > 283s > ## Check printing 283s > r <- reflog(repo) 283s > stopifnot(identical(print(r), r)) 283s [5fe3d36] HEAD@{0}: commit (initial): Commit message 283s > 283s > ## Cleanup 283s > unlink(path, recursive = TRUE) 283s > 283s BEGIN TEST refspec.R 283s 283s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 283s Copyright (C) 2024 The R Foundation for Statistical Computing 283s Platform: arm-unknown-linux-gnueabihf (32-bit) 283s 283s R is free software and comes with ABSOLUTELY NO WARRANTY. 283s You are welcome to redistribute it under certain conditions. 283s Type 'license()' or 'licence()' for distribution details. 283s 283s R is a collaborative project with many contributors. 283s Type 'contributors()' for more information and 283s 'citation()' on how to cite R or R packages in publications. 283s 283s Type 'demo()' for some demos, 'help()' for on-line help, or 283s 'help.start()' for an HTML browser interface to help. 283s Type 'q()' to quit R. 283s 283s > ## git2r, R bindings to the libgit2 library. 283s > ## Copyright (C) 2013-2023 The git2r contributors 283s > ## 283s > ## This program is free software; you can redistribute it and/or modify 283s > ## it under the terms of the GNU General Public License, version 2, 283s > ## as published by the Free Software Foundation. 283s > ## 283s > ## git2r is distributed in the hope that it will be useful, 283s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 283s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 283s > ## GNU General Public License for more details. 283s > ## 283s > ## You should have received a copy of the GNU General Public License along 283s > ## with this program; if not, write to the Free Software Foundation, Inc., 283s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 283s > 283s > library("git2r") 284s > 284s > ## For debugging 284s > sessionInfo() 284s R version 4.3.3 (2024-02-29) 284s Platform: arm-unknown-linux-gnueabihf (32-bit) 284s Running under: Ubuntu Noble Numbat (development branch) 284s 284s Matrix products: default 284s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 284s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 284s 284s locale: 284s [1] C 284s 284s time zone: Etc/UTC 284s tzcode source: system (glibc) 284s 284s attached base packages: 284s [1] stats graphics grDevices utils datasets methods base 284s 284s other attached packages: 284s [1] git2r_0.33.0 284s 284s loaded via a namespace (and not attached): 284s [1] compiler_4.3.3 284s > libgit2_version() 284s $major 284s [1] 1 284s 284s $minor 284s [1] 7 284s 284s $rev 284s [1] 2 284s 284s > libgit2_features() 284s $threads 284s [1] TRUE 284s 284s $https 284s [1] TRUE 284s 284s $ssh 284s [1] TRUE 284s 284s > 284s > 284s > ## Create directories for repositories in tempdir 284s > path_bare <- tempfile(pattern = "git2r-") 284s > path_repo <- tempfile(pattern = "git2r-") 284s > 284s > dir.create(path_bare) 284s > dir.create(path_repo) 284s > 284s > ## Create bare repository 284s > bare_repo <- init(path_bare, bare = TRUE) 284s > 284s > ## Clone to repo 284s > repo <- clone(path_bare, path_repo) 284s cloning into '/tmp/RtmpVAwzyK/git2r-94b3b31f985'... 284s > config(repo, user.name = "Alice", user.email = "alice@example.org") 284s > 284s > ## Add changes to repo 284s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 284s + con = file.path(path_repo, "test.txt")) 284s > add(repo, "test.txt") 284s > commit_1 <- commit(repo, "First commit message") 284s > 284s > ## Add more changes to repo 284s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 284s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 284s + con = file.path(path_repo, "test.txt")) 284s > add(repo, "test.txt") 284s > commit_2 <- commit(repo, "Second commit message") 284s > 284s > ## Check remote 284s > stopifnot(identical( 284s + git2r:::get_refspec(repo, spec = "master")$remote, 284s + "origin")) 284s > 284s > ## Detach 284s > checkout(commit_1) 284s > tools::assertError(git2r:::get_refspec(repo)) 284s > 284s > ## Cleanup 284s > unlink(path_bare, recursive = TRUE) 284s > unlink(path_repo, recursive = TRUE) 284s > 284s BEGIN TEST remotes.R 284s 284s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 284s Copyright (C) 2024 The R Foundation for Statistical Computing 284s Platform: arm-unknown-linux-gnueabihf (32-bit) 284s 284s R is free software and comes with ABSOLUTELY NO WARRANTY. 284s You are welcome to redistribute it under certain conditions. 284s Type 'license()' or 'licence()' for distribution details. 284s 284s R is a collaborative project with many contributors. 284s Type 'contributors()' for more information and 284s 'citation()' on how to cite R or R packages in publications. 284s 284s Type 'demo()' for some demos, 'help()' for on-line help, or 284s 'help.start()' for an HTML browser interface to help. 284s Type 'q()' to quit R. 284s 284s > ## git2r, R bindings to the libgit2 library. 284s > ## Copyright (C) 2013-2023 The git2r contributors 284s > ## 284s > ## This program is free software; you can redistribute it and/or modify 284s > ## it under the terms of the GNU General Public License, version 2, 284s > ## as published by the Free Software Foundation. 284s > ## 284s > ## git2r is distributed in the hope that it will be useful, 284s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 284s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 284s > ## GNU General Public License for more details. 284s > ## 284s > ## You should have received a copy of the GNU General Public License along 284s > ## with this program; if not, write to the Free Software Foundation, Inc., 284s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 284s > 284s > library("git2r") 284s > 284s > ## For debugging 284s > sessionInfo() 284s R version 4.3.3 (2024-02-29) 284s Platform: arm-unknown-linux-gnueabihf (32-bit) 284s Running under: Ubuntu Noble Numbat (development branch) 284s 284s Matrix products: default 284s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 284s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 284s 284s locale: 284s [1] C 284s 284s time zone: Etc/UTC 284s tzcode source: system (glibc) 284s 284s attached base packages: 284s [1] stats graphics grDevices utils datasets methods base 284s 284s other attached packages: 284s [1] git2r_0.33.0 284s 284s loaded via a namespace (and not attached): 284s [1] compiler_4.3.3 284s > libgit2_version() 284s $major 284s [1] 1 284s 284s $minor 284s [1] 7 284s 284s $rev 284s [1] 2 284s 284s > libgit2_features() 284s $threads 284s [1] TRUE 284s 284s $https 284s [1] TRUE 284s 284s $ssh 284s [1] TRUE 284s 284s > 284s > 284s > ## Create a directory in tempdir 284s > path <- tempfile(pattern = "git2r-") 284s > dir.create(path) 284s > 284s > ## Initialize a repository 284s > repo <- init(path) 284s > config(repo, user.name = "Alice", user.email = "alice@example.org") 284s > 284s > ## Create a file 284s > writeLines("Hello world!", file.path(path, "test.txt")) 284s > 284s > ## Add and commit 284s > add(repo, "test.txt") 284s > commit_1 <- commit(repo, "Commit message") 284s > 284s > ## Add a remote 284s > remote_add(repo, "playground", 284s + "https://github.com/gaborcsardi/playground") 284s > 284s > stopifnot(identical(remotes(repo), "playground")) 284s > stopifnot(identical(remote_url(repo, "playground"), 284s + "https://github.com/gaborcsardi/playground")) 284s > stopifnot(identical(remote_url(repo), 284s + "https://github.com/gaborcsardi/playground")) 284s > 284s > ## Rename a remote 284s > remote_rename(repo, "playground", "foobar") 284s > 284s > stopifnot(identical(remotes(repo), "foobar")) 284s > stopifnot(identical(remote_url(repo, "foobar"), 284s + "https://github.com/gaborcsardi/playground")) 284s > 284s > ## Set remote url 284s > remote_set_url(repo, "foobar", "https://github.com/stewid/playground") 284s > stopifnot(identical(remote_url(repo, "foobar"), 284s + "https://github.com/stewid/playground")) 284s > 284s > ## Remove a remote 284s > remote_remove(repo, "foobar") 284s > 284s > stopifnot(identical(remotes(repo), character(0))) 284s > 284s > if (identical(Sys.getenv("NOT_CRAN"), "true")) { 284s + if (isTRUE(libgit2_features()$https)) { 284s + refs <- remote_ls("https://github.com/ropensci/git2r") 284s + stopifnot(length(refs) > 0) 284s + stopifnot(names(refs) > 0) 284s + stopifnot(any(names(refs) == "HEAD")) 284s + } 284s + } 284s > 284s > # an invalid URL should throw an error 284s > tools::assertError(remote_ls("bad")) 284s > 284s > ## Cleanup 284s > unlink(path, recursive = TRUE) 284s > 284s BEGIN TEST remove.R 284s 284s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 284s Copyright (C) 2024 The R Foundation for Statistical Computing 284s Platform: arm-unknown-linux-gnueabihf (32-bit) 284s 284s R is free software and comes with ABSOLUTELY NO WARRANTY. 284s You are welcome to redistribute it under certain conditions. 284s Type 'license()' or 'licence()' for distribution details. 284s 284s R is a collaborative project with many contributors. 284s Type 'contributors()' for more information and 284s 'citation()' on how to cite R or R packages in publications. 284s 284s Type 'demo()' for some demos, 'help()' for on-line help, or 284s 'help.start()' for an HTML browser interface to help. 284s Type 'q()' to quit R. 284s 284s > ## git2r, R bindings to the libgit2 library. 284s > ## Copyright (C) 2013-2023 The git2r contributors 284s > ## 284s > ## This program is free software; you can redistribute it and/or modify 284s > ## it under the terms of the GNU General Public License, version 2, 284s > ## as published by the Free Software Foundation. 284s > ## 284s > ## git2r is distributed in the hope that it will be useful, 284s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 284s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 284s > ## GNU General Public License for more details. 284s > ## 284s > ## You should have received a copy of the GNU General Public License along 284s > ## with this program; if not, write to the Free Software Foundation, Inc., 284s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 284s > 284s > library("git2r") 284s > 284s > ## For debugging 284s > sessionInfo() 284s R version 4.3.3 (2024-02-29) 284s Platform: arm-unknown-linux-gnueabihf (32-bit) 284s Running under: Ubuntu Noble Numbat (development branch) 284s 284s Matrix products: default 284s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 284s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 284s 284s locale: 284s [1] C 284s 284s time zone: Etc/UTC 284s tzcode source: system (glibc) 284s 284s attached base packages: 284s [1] stats graphics grDevices utils datasets methods base 284s 284s other attached packages: 284s [1] git2r_0.33.0 284s 284s loaded via a namespace (and not attached): 284s [1] compiler_4.3.3 284s > libgit2_version() 284s $major 284s [1] 1 284s 284s $minor 284s [1] 7 284s 284s $rev 284s [1] 2 284s 284s > libgit2_features() 284s $threads 284s [1] TRUE 284s 284s $https 284s [1] TRUE 284s 284s $ssh 284s [1] TRUE 284s 284s > 284s > 284s > ## Create a directory in tempdir 284s > path <- tempfile(pattern = "git2r-") 284s > dir.create(path) 284s > 284s > ## Initialize a repository 284s > repo <- init(path) 284s > config(repo, user.name = "Alice", user.email = "alice@example.org") 284s > 284s > ## Add files 284s > invisible(lapply(file.path(path, letters[1:4]), writeLines, text = "")) 284s > add(repo, letters) 284s > commit(repo, "init") 284s [829ab42] 2024-03-23: init 284s > 284s > ## Remove one file 284s > rm_file(repo, letters[1]) 284s > commit(repo, "remove") 284s [fcb9522] 2024-03-23: remove 284s > 284s > ## Remove two files. Don't raise warnings 284s > withCallingHandlers(rm_file(repo, letters[2:3]), warning = function(w) stop(w)) 284s > 284s > ## Remove one file using the absolute path to the file. 284s > rm_file(repo, file.path(path, letters[4])) 284s > 284s > ## Cleanup 284s > unlink(path, recursive = TRUE) 284s > 284s BEGIN TEST repository.R 284s 284s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 284s Copyright (C) 2024 The R Foundation for Statistical Computing 284s Platform: arm-unknown-linux-gnueabihf (32-bit) 284s 284s R is free software and comes with ABSOLUTELY NO WARRANTY. 284s You are welcome to redistribute it under certain conditions. 284s Type 'license()' or 'licence()' for distribution details. 284s 284s R is a collaborative project with many contributors. 284s Type 'contributors()' for more information and 284s 'citation()' on how to cite R or R packages in publications. 284s 284s Type 'demo()' for some demos, 'help()' for on-line help, or 284s 'help.start()' for an HTML browser interface to help. 284s Type 'q()' to quit R. 284s 284s > ## git2r, R bindings to the libgit2 library. 284s > ## Copyright (C) 2013-2023 The git2r contributors 284s > ## 284s > ## This program is free software; you can redistribute it and/or modify 284s > ## it under the terms of the GNU General Public License, version 2, 284s > ## as published by the Free Software Foundation. 284s > ## 284s > ## git2r is distributed in the hope that it will be useful, 284s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 284s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 284s > ## GNU General Public License for more details. 284s > ## 284s > ## You should have received a copy of the GNU General Public License along 284s > ## with this program; if not, write to the Free Software Foundation, Inc., 284s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 284s > 284s > library(git2r) 284s > source("util/check.R") 284s > 284s > ## For debugging 284s > sessionInfo() 284s R version 4.3.3 (2024-02-29) 284s Platform: arm-unknown-linux-gnueabihf (32-bit) 284s Running under: Ubuntu Noble Numbat (development branch) 284s 284s Matrix products: default 284s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 284s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 284s 284s locale: 284s [1] C 284s 284s time zone: Etc/UTC 284s tzcode source: system (glibc) 284s 284s attached base packages: 284s [1] stats graphics grDevices utils datasets methods base 284s 284s other attached packages: 284s [1] git2r_0.33.0 284s 284s loaded via a namespace (and not attached): 284s [1] compiler_4.3.3 284s > libgit2_version() 284s $major 284s [1] 1 284s 284s $minor 284s [1] 7 284s 284s $rev 284s [1] 2 284s 284s > libgit2_features() 284s $threads 284s [1] TRUE 284s 284s $https 284s [1] TRUE 284s 284s $ssh 284s [1] TRUE 284s 284s > 284s > 284s > ## Create a directory in tempdir 284s > path <- tempfile(pattern = "git2r-") 284s > dir.create(path) 284s > 284s > ## is_bare: "Invalid repository" 284s > tools::assertError(is_bare(new("git_repository"))) 284s > 284s > ## is_empty: "Invalid repository" 284s > tools::assertError(is_empty(new("git_repository"))) 284s > 284s > ## Check that open an invalid repository fails 284s > tools::assertError(repository(path)) 284s > tools::assertError(repository(path, discover = FALSE)) 284s > 284s > ## Check that it fails to open/init a repository with a path to a 284s > ## file. 284s > writeLines("test", file.path(path, "test.txt")) 284s > tools::assertError(repository(file.path(path, "test.txt"), 284s + discover = FALSE)) 284s > tools::assertError(init(file.path(path, "test.txt"))) 284s > unlink(file.path(path, "test.txt")) 284s > 284s > ## Initialize a repository 284s > repo <- init(path) 284s > stopifnot(identical(print(repo), repo)) 284s Local: /tmp/RtmpaJKKtn/git2r-96f2d597cc6 284s Head: nothing commited (yet) 284s > 284s > ## Check the state of the repository 284s > stopifnot(identical(is_bare(repo), FALSE)) 284s > stopifnot(identical(is_empty(repo), TRUE)) 284s > stopifnot(identical(is_shallow(repo), FALSE)) 284s > stopifnot(identical(branches(repo), empty_named_list())) 284s > stopifnot(identical(references(repo), empty_named_list())) 284s > stopifnot(identical(commits(repo), list())) 284s > stopifnot(identical(repository_head(repo), NULL)) 284s > 284s > # check that we can find repository from a path 284s > wd <- sub(paste0("[", .Platform$file.sep, "]$"), "", workdir(repo)) 284s > writeLines("test file", con = file.path(wd, "myfile.txt")) 284s > stopifnot(identical(discover_repository(file.path(wd, "myfile.txt")), 284s + file.path(wd, ".git"))) 284s > stopifnot(identical(discover_repository(file.path(wd, "doesntexist.txt")), 284s + NULL)) 284s > 284s > # Check that we can use ceiling in discover repostiory 284s > dir.create(file.path(wd, "temp")) 284s > stopifnot(identical(discover_repository(file.path(wd, "temp"), 0), NULL)) 284s > stopifnot(identical(discover_repository(file.path(wd, "temp"), 1), 284s + file.path(wd, ".git"))) 284s > tools::assertError(discover_repository(file.path(wd, "temp"), 2)) 284s > 284s > ## Check that lookup with a sha of less than 4 characters or more than 284s > ## 40 characters fail. 284s > tools::assertError(lookup(repo, paste0(rep("a", 3), collapse = ""))) 284s > tools::assertError(lookup(repo, paste0(rep("a", 41), collapse = ""))) 284s > 284s > ## Check in_repository 284s > stopifnot(identical(in_repository(path), TRUE)) 284s > 284s > ## Check: 284s > ## - in_repository method with missing path argument 284s > ## - repository method with missing path argument 284s > ## - workdir method with missing path argument 284s > ## - is_empty method with missing repo argument 284s > ## - is_shallow method with missing repo argument 284s > wd <- setwd(path) 284s > stopifnot(identical(in_repository(), TRUE)) 284s > stopifnot(identical(workdir(repository(path)), workdir(repository()))) 284s > stopifnot(identical(workdir(repository(path)), workdir())) 284s > stopifnot(identical(is_empty(), TRUE)) 284s > stopifnot(identical(is_shallow(), FALSE)) 284s Warning message: 284s In normalizePath(path) : 284s path[1]="/tmp/RtmpaJKKtn/git2r-96f2d597cc6/doesntexist.txt": No such file or directory 284s > if (!is.null(wd)) 284s + setwd(wd) 284s > 284s > ## Cleanup 284s > unlink(path, recursive = TRUE) 284s > 284s BEGIN TEST reset.R 284s 284s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 284s Copyright (C) 2024 The R Foundation for Statistical Computing 284s Platform: arm-unknown-linux-gnueabihf (32-bit) 284s 284s R is free software and comes with ABSOLUTELY NO WARRANTY. 284s You are welcome to redistribute it under certain conditions. 284s Type 'license()' or 'licence()' for distribution details. 284s 284s R is a collaborative project with many contributors. 284s Type 'contributors()' for more information and 284s 'citation()' on how to cite R or R packages in publications. 284s 284s Type 'demo()' for some demos, 'help()' for on-line help, or 284s 'help.start()' for an HTML browser interface to help. 284s Type 'q()' to quit R. 284s 285s > ## git2r, R bindings to the libgit2 library. 285s > ## Copyright (C) 2013-2023 The git2r contributors 285s > ## 285s > ## This program is free software; you can redistribute it and/or modify 285s > ## it under the terms of the GNU General Public License, version 2, 285s > ## as published by the Free Software Foundation. 285s > ## 285s > ## git2r is distributed in the hope that it will be useful, 285s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 285s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 285s > ## GNU General Public License for more details. 285s > ## 285s > ## You should have received a copy of the GNU General Public License along 285s > ## with this program; if not, write to the Free Software Foundation, Inc., 285s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 285s > 285s > library(git2r) 285s > source("util/check.R") 285s > 285s > ## For debugging 285s > sessionInfo() 285s R version 4.3.3 (2024-02-29) 285s Platform: arm-unknown-linux-gnueabihf (32-bit) 285s Running under: Ubuntu Noble Numbat (development branch) 285s 285s Matrix products: default 285s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 285s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 285s 285s locale: 285s [1] C 285s 285s time zone: Etc/UTC 285s tzcode source: system (glibc) 285s 285s attached base packages: 285s [1] stats graphics grDevices utils datasets methods base 285s 285s other attached packages: 285s [1] git2r_0.33.0 285s 285s loaded via a namespace (and not attached): 285s [1] compiler_4.3.3 285s > libgit2_version() 285s $major 285s [1] 1 285s 285s $minor 285s [1] 7 285s 285s $rev 285s [1] 2 285s 285s > libgit2_features() 285s $threads 285s [1] TRUE 285s 285s $https 285s [1] TRUE 285s 285s $ssh 285s [1] TRUE 285s 285s > 285s > 285s > ## Create a directory in tempdir 285s > path <- tempfile(pattern = "git2r-") 285s > dir.create(path) 285s > 285s > ## Initialize a repository 285s > repo <- init(path) 285s > config(repo, user.name = "Alice", user.email = "alice@example.org") 285s > 285s > ## Create a file 285s > writeLines("Hello world!", file.path(path, "test-1.txt")) 285s > 285s > ## Add and reset an empty repository using a path 285s > add(repo, "test-1.txt") 285s > stopifnot(identical( 285s + status(repo), 285s + structure(list(staged = list(new = "test-1.txt"), 285s + unstaged = empty_named_list(), 285s + untracked = empty_named_list()), 285s + class = "git_status"))) 285s > reset(repo, path = "test-1.txt") 285s > stopifnot(identical( 285s + status(repo), 285s + structure(list(staged = empty_named_list(), 285s + unstaged = empty_named_list(), 285s + untracked = list(untracked = "test-1.txt")), 285s + class = "git_status"))) 285s > 285s > ## Add and reset a non-empty repository using a path 285s > add(repo, "test-1.txt") 285s > commit(repo, "First commit") 285s [a582390] 2024-03-23: First commit 285s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-1.txt")) 285s > add(repo, "test-1.txt") 285s > stopifnot(identical( 285s + status(repo), 285s + structure(list(staged = list(modified = "test-1.txt"), 285s + unstaged = empty_named_list(), 285s + untracked = empty_named_list()), 285s + class = "git_status"))) 285s > reset(repo, path = "test-1.txt") 285s > stopifnot(identical( 285s + status(repo), 285s + structure(list(staged = empty_named_list(), 285s + unstaged = list(modified = "test-1.txt"), 285s + untracked = empty_named_list()), 285s + class = "git_status"))) 285s > 285s > ## add and commit 285s > add(repo, "test-1.txt") 285s > commit_1 <- commit(repo, "Commit message") 285s > 285s > ## Make one more commit 285s > writeLines(c("Hello world!", "HELLO WORLD!", "hello world!"), 285s + file.path(path, "test-1.txt")) 285s > add(repo, "test-1.txt") 285s > commit(repo, "Next commit message") 285s [92f3273] 2024-03-23: Next commit message 285s > 285s > ## Create one more file 285s > writeLines("Hello world!", file.path(path, "test-2.txt")) 285s > 285s > ## 'soft' reset to first commit 285s > reset(commit_1) 285s > soft_exp <- structure(list(staged = list(modified = "test-1.txt"), 285s + unstaged = empty_named_list(), 285s + untracked = list(untracked = "test-2.txt")), 285s + class = "git_status") 285s > soft_obs <- status(repo) 285s > stopifnot(identical(soft_obs, soft_exp)) 285s > stopifnot(identical(length(commits(repo)), 2L)) 285s > stopifnot(identical(commits(repo)[[1]], commit_1)) 285s > 285s > ## 'mixed' reset to first commit 285s > commit(repo, "Next commit message") 285s [92f3273] 2024-03-23: Next commit message 285s > reset(commit_1, "mixed") 285s > mixed_exp <- structure(list(staged = empty_named_list(), 285s + unstaged = list(modified = "test-1.txt"), 285s + untracked = list(untracked = "test-2.txt")), 285s + class = "git_status") 285s > mixed_obs <- status(repo) 285s > stopifnot(identical(mixed_obs, mixed_exp)) 285s > stopifnot(identical(length(commits(repo)), 2L)) 285s > stopifnot(identical(commits(repo)[[1]], commit_1)) 285s > 285s > ## 'hard' reset to first commit 285s > add(repo, "test-1.txt") 285s > commit(repo, "Next commit message") 285s [92f3273] 2024-03-23: Next commit message 285s > reset(commit_1, "hard") 285s > hard_exp <- structure(list(staged = empty_named_list(), 285s + unstaged = empty_named_list(), 285s + untracked = list(untracked = "test-2.txt")), 285s + class = "git_status") 285s > hard_obs <- status(repo) 285s > stopifnot(identical(hard_obs, hard_exp)) 285s > stopifnot(identical(length(commits(repo)), 2L)) 285s > stopifnot(identical(commits(repo)[[1]], commit_1)) 285s > 285s > ## Cleanup 285s > unlink(path, recursive = TRUE) 285s > 285s BEGIN TEST revparse.R 285s 285s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 285s Copyright (C) 2024 The R Foundation for Statistical Computing 285s Platform: arm-unknown-linux-gnueabihf (32-bit) 285s 285s R is free software and comes with ABSOLUTELY NO WARRANTY. 285s You are welcome to redistribute it under certain conditions. 285s Type 'license()' or 'licence()' for distribution details. 285s 285s R is a collaborative project with many contributors. 285s Type 'contributors()' for more information and 285s 'citation()' on how to cite R or R packages in publications. 285s 285s Type 'demo()' for some demos, 'help()' for on-line help, or 285s 'help.start()' for an HTML browser interface to help. 285s Type 'q()' to quit R. 285s 285s > ## git2r, R bindings to the libgit2 library. 285s > ## Copyright (C) 2013-2023 The git2r contributors 285s > ## 285s > ## This program is free software; you can redistribute it and/or modify 285s > ## it under the terms of the GNU General Public License, version 2, 285s > ## as published by the Free Software Foundation. 285s > ## 285s > ## git2r is distributed in the hope that it will be useful, 285s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 285s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 285s > ## GNU General Public License for more details. 285s > ## 285s > ## You should have received a copy of the GNU General Public License along 285s > ## with this program; if not, write to the Free Software Foundation, Inc., 285s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 285s > 285s > library("git2r") 285s > 285s > ## For debugging 285s > sessionInfo() 285s R version 4.3.3 (2024-02-29) 285s Platform: arm-unknown-linux-gnueabihf (32-bit) 285s Running under: Ubuntu Noble Numbat (development branch) 285s 285s Matrix products: default 285s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 285s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 285s 285s locale: 285s [1] C 285s 285s time zone: Etc/UTC 285s tzcode source: system (glibc) 285s 285s attached base packages: 285s [1] stats graphics grDevices utils datasets methods base 285s 285s other attached packages: 285s [1] git2r_0.33.0 285s 285s loaded via a namespace (and not attached): 285s [1] compiler_4.3.3 285s > libgit2_version() 285s $major 285s [1] 1 285s 285s $minor 285s [1] 7 285s 285s $rev 285s [1] 2 285s 285s > libgit2_features() 285s $threads 285s [1] TRUE 285s 285s $https 285s [1] TRUE 285s 285s $ssh 285s [1] TRUE 285s 285s > 285s > 285s > ## Create a directory in tempdir 285s > path <- tempfile(pattern = "git2r-") 285s > dir.create(path) 285s > 285s > ## Initialize a repository 285s > repo <- init(path) 285s > config(repo, user.name = "Alice", user.email = "alice@example.org") 285s > 285s > ## Create a file 285s > writeLines("Hello world!", file.path(path, "test.txt")) 285s > 285s > ## Add and commit 285s > add(repo, "test.txt") 285s > commit_1 <- commit(repo, "First commit message") 285s > 285s > tools::assertError(revparse_single(repo, "HEAD^")) 285s > 285s > ## Add another commit 285s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test.txt")) 285s > add(repo, "test.txt") 285s > commit(repo, "Second commit message") 285s [2c295e2] 2024-03-23: Second commit message 285s > 285s > stopifnot(identical(revparse_single(repo, "HEAD^"), commit_1)) 285s > stopifnot(is_blob(revparse_single(repo, "HEAD:test.txt"))) 285s > 285s > ## Cleanup 285s > unlink(path, recursive = TRUE) 285s > 285s BEGIN TEST signature.R 285s 285s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 285s Copyright (C) 2024 The R Foundation for Statistical Computing 285s Platform: arm-unknown-linux-gnueabihf (32-bit) 285s 285s R is free software and comes with ABSOLUTELY NO WARRANTY. 285s You are welcome to redistribute it under certain conditions. 285s Type 'license()' or 'licence()' for distribution details. 285s 285s R is a collaborative project with many contributors. 285s Type 'contributors()' for more information and 285s 'citation()' on how to cite R or R packages in publications. 285s 285s Type 'demo()' for some demos, 'help()' for on-line help, or 285s 'help.start()' for an HTML browser interface to help. 285s Type 'q()' to quit R. 285s 285s > ## git2r, R bindings to the libgit2 library. 285s > ## Copyright (C) 2013-2023 The git2r contributors 285s > ## 285s > ## This program is free software; you can redistribute it and/or modify 285s > ## it under the terms of the GNU General Public License, version 2, 285s > ## as published by the Free Software Foundation. 285s > ## 285s > ## git2r is distributed in the hope that it will be useful, 285s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 285s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 285s > ## GNU General Public License for more details. 285s > ## 285s > ## You should have received a copy of the GNU General Public License along 285s > ## with this program; if not, write to the Free Software Foundation, Inc., 285s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 285s > 285s > library("git2r") 285s > 285s > ## For debugging 285s > sessionInfo() 285s R version 4.3.3 (2024-02-29) 285s Platform: arm-unknown-linux-gnueabihf (32-bit) 285s Running under: Ubuntu Noble Numbat (development branch) 285s 285s Matrix products: default 285s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 285s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 285s 285s locale: 285s [1] C 285s 285s time zone: Etc/UTC 285s tzcode source: system (glibc) 285s 285s attached base packages: 285s [1] stats graphics grDevices utils datasets methods base 285s 285s other attached packages: 285s [1] git2r_0.33.0 285s 285s loaded via a namespace (and not attached): 285s [1] compiler_4.3.3 285s > libgit2_version() 285s $major 285s [1] 1 285s 285s $minor 285s [1] 7 285s 285s $rev 285s [1] 2 285s 285s > libgit2_features() 285s $threads 285s [1] TRUE 285s 285s $https 285s [1] TRUE 285s 285s $ssh 285s [1] TRUE 285s 285s > 285s > 285s > ## Check printing of a class git_signature 285s > when <- structure(list(time = 1395567947, offset = 60), 285s + class = "git_time") 285s > 285s > signature <- structure(list(name = "Alice", 285s + email = "alice@example.org", 285s + when = when), 285s + class = "git_signature") 285s > stopifnot(identical(print(signature), signature)) 285s name: Alice 285s email: alice@example.org 285s when: 2014-03-23 09:45:47 GMT 285s > 285s BEGIN TEST stash.R 285s 285s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 285s Copyright (C) 2024 The R Foundation for Statistical Computing 285s Platform: arm-unknown-linux-gnueabihf (32-bit) 285s 285s R is free software and comes with ABSOLUTELY NO WARRANTY. 285s You are welcome to redistribute it under certain conditions. 285s Type 'license()' or 'licence()' for distribution details. 285s 285s R is a collaborative project with many contributors. 285s Type 'contributors()' for more information and 285s 'citation()' on how to cite R or R packages in publications. 285s 285s Type 'demo()' for some demos, 'help()' for on-line help, or 285s 'help.start()' for an HTML browser interface to help. 285s Type 'q()' to quit R. 285s 285s > ## git2r, R bindings to the libgit2 library. 285s > ## Copyright (C) 2013-2023 The git2r contributors 285s > ## 285s > ## This program is free software; you can redistribute it and/or modify 285s > ## it under the terms of the GNU General Public License, version 2, 285s > ## as published by the Free Software Foundation. 285s > ## 285s > ## git2r is distributed in the hope that it will be useful, 285s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 285s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 285s > ## GNU General Public License for more details. 285s > ## 285s > ## You should have received a copy of the GNU General Public License along 285s > ## with this program; if not, write to the Free Software Foundation, Inc., 285s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 285s > 285s > library("git2r") 285s > 285s > ## For debugging 285s > sessionInfo() 285s R version 4.3.3 (2024-02-29) 285s Platform: arm-unknown-linux-gnueabihf (32-bit) 285s Running under: Ubuntu Noble Numbat (development branch) 285s 285s Matrix products: default 285s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 285s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 285s 285s locale: 285s [1] C 285s 285s time zone: Etc/UTC 285s tzcode source: system (glibc) 285s 285s attached base packages: 285s [1] stats graphics grDevices utils datasets methods base 285s 285s other attached packages: 285s [1] git2r_0.33.0 285s 285s loaded via a namespace (and not attached): 285s [1] compiler_4.3.3 285s > libgit2_version() 285s $major 285s [1] 1 285s 285s $minor 285s [1] 7 285s 285s $rev 285s [1] 2 285s 285s > libgit2_features() 285s $threads 285s [1] TRUE 285s 285s $https 285s [1] TRUE 285s 285s $ssh 285s [1] TRUE 285s 285s > 285s > 285s > ## Create a directory in tempdir 285s > path <- tempfile(pattern = "git2r-") 285s > dir.create(path) 285s > 285s > ## Initialize a repository 285s > repo <- init(path) 285s > config(repo, user.name = "Alice", user.email = "alice@example.org") 285s > 285s > ## Create a file 285s > writeLines("Hello world!", file.path(path, "test-1.txt")) 285s > 285s > ## add and commit 285s > add(repo, "test-1.txt") 285s > commit(repo, "Commit message") 285s [04518fd] 2024-03-23: Commit message 285s > 285s > ## Pop stash 285s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-1.txt")) 285s > stash(repo) 285s > stopifnot(identical("Hello world!", 285s + readLines(file.path(path, "test-1.txt")))) 285s > stash_pop(repo) 285s > stopifnot(identical(c("Hello world!", "HELLO WORLD!"), 285s + readLines(file.path(path, "test-1.txt")))) 285s > 285s > ## Make one more commit 285s > add(repo, "test-1.txt") 285s > commit(repo, "Next commit message") 285s [84f94f3] 2024-03-23: Next commit message 285s > 285s > ## Check that there are no stashes 285s > stopifnot(identical(stash_list(repo), list())) 285s > 285s > ## Apply stash 285s > writeLines(c("Hello world!", "HELLO WORLD!", "hello world!"), 285s + file.path(path, "test-1.txt")) 285s > stash(repo) 285s > stopifnot(identical(c("Hello world!", "HELLO WORLD!"), 285s + readLines(file.path(path, "test-1.txt")))) 285s > stash_apply(repo) 285s > stopifnot(identical(c("Hello world!", "HELLO WORLD!", "hello world!"), 285s + readLines(file.path(path, "test-1.txt")))) 285s > stopifnot(identical(length(stash_list(repo)), 1L)) 285s > stash_drop(repo, 1) 285s > stopifnot(identical(stash_list(repo), list())) 285s > 285s > ## Make one more commit 285s > add(repo, "test-1.txt") 285s > commit(repo, "Apply stash commit message") 285s [7a19f51] 2024-03-23: Apply stash commit message 285s > 285s > ## Create one more file 285s > writeLines("Hello world!", file.path(path, "test-2.txt")) 285s > 285s > ## Check that there are no stashes 285s > stopifnot(identical(stash_list(repo), list())) 285s > 285s > ## Stash 285s > stash(repo) 285s > stopifnot(identical(stash_list(repo), list())) 285s > s <- stash(repo, untracked = TRUE) 285s > stopifnot(identical(print(s), s)) 285s On master: 2024-03-23 01:15:03.840352 285s 285s > summary(s) 285s message: On master: 2024-03-23 01:15:03.840352 285s stasher: Alice 285s when: 2024-03-23 01:15:03 GMT 285s sha: 190181ea28b59633d334b728aa31f791568905b7 285s 285s > stopifnot(identical(length(stash_list(repo)), 1L)) 285s > tree(stash_list(repo)[[1]]) 285s tree: af5711badde07055d853088e98c6d988bfdd139f 285s 285s mode type sha name 285s 1 100644 blob 5b168e5ff4e9eeff020b99a3c1c83c4979294e76 test-1.txt 285s > 285s > ## Drop stash 285s > stash_drop(repo, 1) 285s > stopifnot(identical(stash_list(repo), list())) 285s > 285s > ## Check stash_drop argument 285s > tools::assertError(stash_drop(repo)) 285s > tools::assertError(stash_drop(repo, -1)) 285s > tools::assertError(stash_drop(repo, 0.5)) 285s > 285s > ## Create one more file 285s > writeLines("Hello world!", file.path(path, "test-3.txt")) 285s > 285s > ## Create stash in repository 285s > stash(repo, untracked = TRUE) 285s > stopifnot(identical(length(stash_list(repo)), 1L)) 285s > 285s > ## Check stash_list method with missing repo argument 285s > wd <- setwd(path) 285s > stopifnot(identical(length(stash_list()), 1L)) 285s > if (!is.null(wd)) 285s + setwd(wd) 285s > 285s > ## Drop git_stash object in repository 285s > stash_drop(stash_list(repo)[[1]]) 285s > 285s > ## Cleanup 285s > unlink(path, recursive = TRUE) 285s > 285s BEGIN TEST status.R 285s 285s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 285s Copyright (C) 2024 The R Foundation for Statistical Computing 285s Platform: arm-unknown-linux-gnueabihf (32-bit) 285s 285s R is free software and comes with ABSOLUTELY NO WARRANTY. 285s You are welcome to redistribute it under certain conditions. 285s Type 'license()' or 'licence()' for distribution details. 285s 285s R is a collaborative project with many contributors. 285s Type 'contributors()' for more information and 285s 'citation()' on how to cite R or R packages in publications. 285s 285s Type 'demo()' for some demos, 'help()' for on-line help, or 285s 'help.start()' for an HTML browser interface to help. 285s Type 'q()' to quit R. 285s 286s > ## git2r, R bindings to the libgit2 library. 286s > ## Copyright (C) 2013-2023 The git2r contributors 286s > ## 286s > ## This program is free software; you can redistribute it and/or modify 286s > ## it under the terms of the GNU General Public License, version 2, 286s > ## as published by the Free Software Foundation. 286s > ## 286s > ## git2r is distributed in the hope that it will be useful, 286s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 286s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 286s > ## GNU General Public License for more details. 286s > ## 286s > ## You should have received a copy of the GNU General Public License along 286s > ## with this program; if not, write to the Free Software Foundation, Inc., 286s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 286s > 286s > library(git2r) 286s > source("util/check.R") 286s > 286s > ## For debugging 286s > sessionInfo() 286s R version 4.3.3 (2024-02-29) 286s Platform: arm-unknown-linux-gnueabihf (32-bit) 286s Running under: Ubuntu Noble Numbat (development branch) 286s 286s Matrix products: default 286s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 286s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 286s 286s locale: 286s [1] C 286s 286s time zone: Etc/UTC 286s tzcode source: system (glibc) 286s 286s attached base packages: 286s [1] stats graphics grDevices utils datasets methods base 286s 286s other attached packages: 286s [1] git2r_0.33.0 286s 286s loaded via a namespace (and not attached): 286s [1] compiler_4.3.3 286s > libgit2_version() 286s $major 286s [1] 1 286s 286s $minor 286s [1] 7 286s 286s $rev 286s [1] 2 286s 286s > libgit2_features() 286s $threads 286s [1] TRUE 286s 286s $https 286s [1] TRUE 286s 286s $ssh 286s [1] TRUE 286s 286s > 286s > 286s > ## Create a directory in tempdir 286s > path <- tempfile(pattern = "git2r-") 286s > dir.create(path) 286s > 286s > ## Initialize a repository 286s > repo <- init(path) 286s > config(repo, user.name = "Alice", user.email = "alice@example.org") 286s > 286s > ## Status case 1 286s > status_exp_1 <- structure(list(staged = empty_named_list(), 286s + unstaged = empty_named_list(), 286s + untracked = empty_named_list()), 286s + class = "git_status") 286s > status_obs_1 <- status(repo) 286s > stopifnot(identical(print(status_obs_1), status_obs_1)) 286s working directory clean 286s > str(status_exp_1) 286s List of 3 286s $ staged : Named list() 286s $ unstaged : Named list() 286s $ untracked: Named list() 286s - attr(*, "class")= chr "git_status" 286s > str(status_obs_1) 286s List of 3 286s $ staged : Named list() 286s $ unstaged : Named list() 286s $ untracked: Named list() 286s - attr(*, "class")= chr "git_status" 286s > stopifnot(identical(status_obs_1, status_exp_1)) 286s > stopifnot(identical(capture.output(status(repo)), 286s + "working directory clean")) 286s > 286s > ## Status case 2, include ignored files 286s > status_exp_2 <- structure(list(staged = empty_named_list(), 286s + unstaged = empty_named_list(), 286s + untracked = empty_named_list(), 286s + ignored = empty_named_list()), 286s + class = "git_status") 286s > status_obs_2 <- status(repo, ignored = TRUE) 286s > status_obs_2 286s working directory clean 286s > str(status_exp_2) 286s List of 4 286s $ staged : Named list() 286s $ unstaged : Named list() 286s $ untracked: Named list() 286s $ ignored : Named list() 286s - attr(*, "class")= chr "git_status" 286s > str(status_obs_2) 286s List of 4 286s $ staged : Named list() 286s $ unstaged : Named list() 286s $ untracked: Named list() 286s $ ignored : Named list() 286s - attr(*, "class")= chr "git_status" 286s > stopifnot(identical(status_obs_2, status_exp_2)) 286s > stopifnot(identical(capture.output(status(repo, ignored = TRUE)), 286s + "working directory clean")) 286s > 286s > ## Create 4 files 286s > writeLines("File-1", file.path(path, "test-1.txt")) 286s > writeLines("File-2", file.path(path, "test-2.txt")) 286s > writeLines("File-3", file.path(path, "test-3.txt")) 286s > writeLines("File-4", file.path(path, "test-4.txt")) 286s > 286s > ## Status case 3: 4 untracked files 286s > status_exp_3 <- structure(list(staged = empty_named_list(), 286s + unstaged = empty_named_list(), 286s + untracked = list(untracked = "test-1.txt", 286s + untracked = "test-2.txt", 286s + untracked = "test-3.txt", 286s + untracked = "test-4.txt")), 286s + class = "git_status") 286s > status_obs_3 <- status(repo) 286s > status_obs_3 286s Untracked files: 286s Untracked: test-1.txt 286s Untracked: test-2.txt 286s Untracked: test-3.txt 286s Untracked: test-4.txt 286s 286s > str(status_exp_3) 286s List of 3 286s $ staged : Named list() 286s $ unstaged : Named list() 286s $ untracked:List of 4 286s ..$ untracked: chr "test-1.txt" 286s ..$ untracked: chr "test-2.txt" 286s ..$ untracked: chr "test-3.txt" 286s ..$ untracked: chr "test-4.txt" 286s - attr(*, "class")= chr "git_status" 286s > str(status_obs_3) 286s List of 3 286s $ staged : Named list() 286s $ unstaged : Named list() 286s $ untracked:List of 4 286s ..$ untracked: chr "test-1.txt" 286s ..$ untracked: chr "test-2.txt" 286s ..$ untracked: chr "test-3.txt" 286s ..$ untracked: chr "test-4.txt" 286s - attr(*, "class")= chr "git_status" 286s > stopifnot(identical(status_obs_3, status_exp_3)) 286s > 286s > ## Add file 1 and 2 to the repository and commit 286s > add(repo, c("test-1.txt", "test-2.txt")) 286s > commit(repo, "Commit message") 286s [a326af9] 2024-03-23: Commit message 286s > 286s > ## Status case 4: 2 untracked files 286s > status_exp_4 <- structure(list(staged = empty_named_list(), 286s + unstaged = empty_named_list(), 286s + untracked = list(untracked = "test-3.txt", 286s + untracked = "test-4.txt")), 286s + class = "git_status") 286s > status_obs_4 <- status(repo) 286s > status_obs_4 286s Untracked files: 286s Untracked: test-3.txt 286s Untracked: test-4.txt 286s 286s > str(status_exp_4) 286s List of 3 286s $ staged : Named list() 286s $ unstaged : Named list() 286s $ untracked:List of 2 286s ..$ untracked: chr "test-3.txt" 286s ..$ untracked: chr "test-4.txt" 286s - attr(*, "class")= chr "git_status" 286s > str(status_obs_4) 286s List of 3 286s $ staged : Named list() 286s $ unstaged : Named list() 286s $ untracked:List of 2 286s ..$ untracked: chr "test-3.txt" 286s ..$ untracked: chr "test-4.txt" 286s - attr(*, "class")= chr "git_status" 286s > stopifnot(identical(status_obs_4, status_exp_4)) 286s > 286s > ## Update file 1 & 2 286s > writeLines(c("File-1", "Hello world"), file.path(path, "test-1.txt")) 286s > writeLines(c("File-2", "Hello world"), file.path(path, "test-2.txt")) 286s > 286s > ## Add file 1 286s > add(repo, "test-1.txt") 286s > 286s > ## Status case 5: 1 staged file, 1 unstaged file and 2 untracked files 286s > status_exp_5 <- structure(list(staged = list(modified = "test-1.txt"), 286s + unstaged = list(modified = "test-2.txt"), 286s + untracked = list(untracked = "test-3.txt", 286s + untracked = "test-4.txt")), 286s + class = "git_status") 286s > status_obs_5 <- status(repo) 286s > status_obs_5 286s Untracked files: 286s Untracked: test-3.txt 286s Untracked: test-4.txt 286s 286s Unstaged changes: 286s Modified: test-2.txt 286s 286s Staged changes: 286s Modified: test-1.txt 286s 286s > str(status_exp_5) 286s List of 3 286s $ staged :List of 1 286s ..$ modified: chr "test-1.txt" 286s $ unstaged :List of 1 286s ..$ modified: chr "test-2.txt" 286s $ untracked:List of 2 286s ..$ untracked: chr "test-3.txt" 286s ..$ untracked: chr "test-4.txt" 286s - attr(*, "class")= chr "git_status" 286s > str(status_obs_5) 286s List of 3 286s $ staged :List of 1 286s ..$ modified: chr "test-1.txt" 286s $ unstaged :List of 1 286s ..$ modified: chr "test-2.txt" 286s $ untracked:List of 2 286s ..$ untracked: chr "test-3.txt" 286s ..$ untracked: chr "test-4.txt" 286s - attr(*, "class")= chr "git_status" 286s > stopifnot(identical(status_obs_5, status_exp_5)) 286s > 286s > ## Add .gitignore file with file test-4.txt 286s > writeLines("test-4.txt", file.path(path, ".gitignore")) 286s > 286s > ## Status case 6: 1 staged file, 1 unstaged file, 2 untracked files 286s > ## and 1 ignored file 286s > status_exp_6 <- structure(list(staged = list(modified = "test-1.txt"), 286s + unstaged = list(modified = "test-2.txt"), 286s + untracked = list(untracked = ".gitignore", 286s + untracked = "test-3.txt"), 286s + ignored = list(ignored = "test-4.txt")), 286s + class = "git_status") 286s > status_obs_6 <- status(repo, ignore = TRUE) 286s > status_obs_6 286s Ignored files: 286s Ignored: test-4.txt 286s 286s Untracked files: 286s Untracked: .gitignore 286s Untracked: test-3.txt 286s 286s Unstaged changes: 286s Modified: test-2.txt 286s 286s Staged changes: 286s Modified: test-1.txt 286s 286s > str(status_exp_6) 286s List of 4 286s $ staged :List of 1 286s ..$ modified: chr "test-1.txt" 286s $ unstaged :List of 1 286s ..$ modified: chr "test-2.txt" 286s $ untracked:List of 2 286s ..$ untracked: chr ".gitignore" 286s ..$ untracked: chr "test-3.txt" 286s $ ignored :List of 1 286s ..$ ignored: chr "test-4.txt" 286s - attr(*, "class")= chr "git_status" 286s > str(status_obs_6) 286s List of 4 286s $ staged :List of 1 286s ..$ modified: chr "test-1.txt" 286s $ unstaged :List of 1 286s ..$ modified: chr "test-2.txt" 286s $ untracked:List of 2 286s ..$ untracked: chr ".gitignore" 286s ..$ untracked: chr "test-3.txt" 286s $ ignored :List of 1 286s ..$ ignored: chr "test-4.txt" 286s - attr(*, "class")= chr "git_status" 286s > stopifnot(identical(status_obs_6, status_exp_6)) 286s > 286s > ## Cleanup 286s > unlink(path, recursive = TRUE) 286s > 286s BEGIN TEST tag.R 286s 286s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 286s Copyright (C) 2024 The R Foundation for Statistical Computing 286s Platform: arm-unknown-linux-gnueabihf (32-bit) 286s 286s R is free software and comes with ABSOLUTELY NO WARRANTY. 286s You are welcome to redistribute it under certain conditions. 286s Type 'license()' or 'licence()' for distribution details. 286s 286s R is a collaborative project with many contributors. 286s Type 'contributors()' for more information and 286s 'citation()' on how to cite R or R packages in publications. 286s 286s Type 'demo()' for some demos, 'help()' for on-line help, or 286s 'help.start()' for an HTML browser interface to help. 286s Type 'q()' to quit R. 286s 286s > ## git2r, R bindings to the libgit2 library. 286s > ## Copyright (C) 2013-2023 The git2r contributors 286s > ## 286s > ## This program is free software; you can redistribute it and/or modify 286s > ## it under the terms of the GNU General Public License, version 2, 286s > ## as published by the Free Software Foundation. 286s > ## 286s > ## git2r is distributed in the hope that it will be useful, 286s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 286s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 286s > ## GNU General Public License for more details. 286s > ## 286s > ## You should have received a copy of the GNU General Public License along 286s > ## with this program; if not, write to the Free Software Foundation, Inc., 286s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 286s > 286s > library(git2r) 286s > source("util/check.R") 286s > 286s > ## For debugging 286s > sessionInfo() 286s R version 4.3.3 (2024-02-29) 286s Platform: arm-unknown-linux-gnueabihf (32-bit) 286s Running under: Ubuntu Noble Numbat (development branch) 286s 286s Matrix products: default 286s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 286s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 286s 286s locale: 286s [1] C 286s 286s time zone: Etc/UTC 286s tzcode source: system (glibc) 286s 286s attached base packages: 286s [1] stats graphics grDevices utils datasets methods base 286s 286s other attached packages: 286s [1] git2r_0.33.0 286s 286s loaded via a namespace (and not attached): 286s [1] compiler_4.3.3 286s > libgit2_version() 286s $major 286s [1] 1 286s 286s $minor 286s [1] 7 286s 286s $rev 286s [1] 2 286s 286s > libgit2_features() 286s $threads 286s [1] TRUE 286s 286s $https 286s [1] TRUE 286s 286s $ssh 286s [1] TRUE 286s 286s > 286s > 286s > ## Create a directory in tempdir 286s > path <- tempfile(pattern = "git2r-") 286s > dir.create(path) 286s > 286s > ## Initialize a repository 286s > repo <- init(path) 286s > config(repo, user.name = "Alice", user.email = "alice@example.org") 286s > 286s > ## Create a file 286s > writeLines("Hello world!", file.path(path, "test.txt")) 286s > 286s > ## add and commit 286s > add(repo, "test.txt") 286s > commit(repo, "Commit message") 286s [fba1450] 2024-03-23: Commit message 286s > 286s > ## Check tags, no tag added 286s > stopifnot(identical(tags(repo), empty_named_list())) 286s > 286s > ## Create tag 286s > new_tag <- tag(repo, "Tagname", "Tag message") 286s > stopifnot(identical(print(new_tag), new_tag)) 286s [fba145] Tagname 286s > summary(new_tag) 286s name: Tagname 286s target: fba1450410a42ebe122f5619a239f0875b7b5ae2 286s tagger: Alice 286s when: 2024-03-23 01:15:04 GMT 286s message: Tag message 286s > 286s > ## Check tag 286s > stopifnot(identical(lookup(repo, sha(new_tag)), new_tag)) 286s > stopifnot(identical(new_tag$name, "Tagname")) 286s > stopifnot(identical(new_tag$message, "Tag message")) 286s > stopifnot(identical(new_tag$tagger$name, "Alice")) 286s > stopifnot(identical(new_tag$tagger$email, "alice@example.org")) 286s > stopifnot(identical(length(tags(repo)), 1L)) 286s > stopifnot(identical(tags(repo)[[1]]$name, "Tagname")) 286s > stopifnot(identical(tags(repo)[[1]]$message, "Tag message")) 286s > stopifnot(identical(tags(repo)[[1]]$tagger$name, "Alice")) 286s > stopifnot(identical(tags(repo)[[1]]$tagger$email, "alice@example.org")) 286s > 286s > ## Check objects in object database 286s > stopifnot(identical(table(odb_objects(repo)$type), 286s + structure(c(1L, 1L, 1L, 1L), 286s + .Dim = 4L, 286s + .Dimnames = structure(list( 286s + c("blob", "commit", "tag", "tree")), 286s + .Names = ""), 286s + class = "table"))) 286s > 286s > ## Delete tag 286s > tag_delete(new_tag) 286s > stopifnot(identical(length(tags(repo)), 0L)) 286s > 286s > ## Create tag with session info 286s > tag(repo, "Tagname", "Tag message", session = TRUE) 286s > stopifnot(grep("git2r", tags(repo)[[1]]$message) > 0) 286s > 286s > ## Check tags method with default repo argument 286s > wd <- setwd(path) 286s > stopifnot(identical(length(tags()), 1L)) 286s > tag_delete(name = "Tagname") 286s > stopifnot(identical(length(tags()), 0L)) 286s > if (!is.null(wd)) 286s + setwd(wd) 286s > 286s > ## Cleanup 286s > unlink(path, recursive = TRUE) 286s > 286s BEGIN TEST time.R 286s 286s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 286s Copyright (C) 2024 The R Foundation for Statistical Computing 286s Platform: arm-unknown-linux-gnueabihf (32-bit) 286s 286s R is free software and comes with ABSOLUTELY NO WARRANTY. 286s You are welcome to redistribute it under certain conditions. 286s Type 'license()' or 'licence()' for distribution details. 286s 286s R is a collaborative project with many contributors. 286s Type 'contributors()' for more information and 286s 'citation()' on how to cite R or R packages in publications. 286s 286s Type 'demo()' for some demos, 'help()' for on-line help, or 286s 'help.start()' for an HTML browser interface to help. 286s Type 'q()' to quit R. 286s 286s > ## git2r, R bindings to the libgit2 library. 286s > ## Copyright (C) 2013-2023 The git2r contributors 286s > ## 286s > ## This program is free software; you can redistribute it and/or modify 286s > ## it under the terms of the GNU General Public License, version 2, 286s > ## as published by the Free Software Foundation. 286s > ## 286s > ## git2r is distributed in the hope that it will be useful, 286s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 286s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 286s > ## GNU General Public License for more details. 286s > ## 286s > ## You should have received a copy of the GNU General Public License along 286s > ## with this program; if not, write to the Free Software Foundation, Inc., 286s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 286s > 286s > library(git2r) 286s > 286s > ## For debugging 286s > sessionInfo() 286s R version 4.3.3 (2024-02-29) 286s Platform: arm-unknown-linux-gnueabihf (32-bit) 286s Running under: Ubuntu Noble Numbat (development branch) 286s 286s Matrix products: default 286s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 286s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 286s 286s locale: 286s [1] C 286s 286s time zone: Etc/UTC 286s tzcode source: system (glibc) 286s 286s attached base packages: 286s [1] stats graphics grDevices utils datasets methods base 286s 286s other attached packages: 286s [1] git2r_0.33.0 286s 286s loaded via a namespace (and not attached): 286s [1] compiler_4.3.3 286s > libgit2_version() 286s $major 286s [1] 1 286s 286s $minor 286s [1] 7 286s 286s $rev 286s [1] 2 286s 286s > libgit2_features() 286s $threads 286s [1] TRUE 286s 286s $https 286s [1] TRUE 286s 286s $ssh 286s [1] TRUE 286s 286s > 286s > 286s > ## Test to coerce 286s > git_t <- structure(list(time = 1395567947, offset = 60), 286s + class = "git_time") 286s > stopifnot(identical(as.character(git_t), "2014-03-23 09:45:47 GMT")) 286s > stopifnot(identical(as.character(git_t, usetz = FALSE), "2014-03-23 09:45:47")) 286s > stopifnot(identical(as.POSIXct(git_t), 286s + as.POSIXct(1395567947, tz = "GMT", origin = "1970-01-01"))) 286s > stopifnot(identical(print(git_t), git_t)) 286s 2014-03-23 09:45:47 GMT 286s > 286s > as.POSIXct(1395567947, origin = "1970-01-01", tz = "-03") 286s [1] "2014-03-23 09:45:47" 286s > 286s > ## Test that origin/tz can be passed to as.POSIXct 286s > stopifnot(identical(as.POSIXct(git_t, tz = "Europe/Stockholm", 286s + origin = "1980-02-02"), 286s + as.POSIXct(1395567947, tz = "Europe/Stockholm", 286s + origin = "1980-02-02"))) 286s > 286s > ## Test that origin/tz can be passed to as.character 286s > stopifnot(identical(as.character(git_t, tz = "Europe/Stockholm", 286s + origin = "1980-02-02"), 286s + "2024-04-23 11:45:47 CEST")) 286s > stopifnot(identical(as.character(git_t, tz = "Europe/Stockholm", 286s + origin = "1980-02-02", usetz = FALSE), 286s + "2024-04-23 11:45:47")) 286s > 286s > ## Test that origin/tz can be passed to print 286s > stopifnot(identical( 286s + utils::capture.output(print(git_t, tz = "Europe/Stockholm", 286s + origin = "1980-02-02")), 286s + "2024-04-23 11:45:47 CEST" 286s + )) 286s > stopifnot(identical( 286s + utils::capture.output(print(git_t, tz = "Europe/Stockholm", 286s + origin = "1980-02-02", usetz = FALSE)), 286s + "2024-04-23 11:45:47" 286s + )) 286s > 286s BEGIN TEST tree.R 286s 286s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 286s Copyright (C) 2024 The R Foundation for Statistical Computing 286s Platform: arm-unknown-linux-gnueabihf (32-bit) 286s 286s R is free software and comes with ABSOLUTELY NO WARRANTY. 286s You are welcome to redistribute it under certain conditions. 286s Type 'license()' or 'licence()' for distribution details. 286s 286s R is a collaborative project with many contributors. 286s Type 'contributors()' for more information and 286s 'citation()' on how to cite R or R packages in publications. 286s 286s Type 'demo()' for some demos, 'help()' for on-line help, or 286s 'help.start()' for an HTML browser interface to help. 286s Type 'q()' to quit R. 286s 286s > ## git2r, R bindings to the libgit2 library. 286s > ## Copyright (C) 2013-2023 The git2r contributors 286s > ## 286s > ## This program is free software; you can redistribute it and/or modify 286s > ## it under the terms of the GNU General Public License, version 2, 286s > ## as published by the Free Software Foundation. 286s > ## 286s > ## git2r is distributed in the hope that it will be useful, 286s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 286s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 286s > ## GNU General Public License for more details. 286s > ## 286s > ## You should have received a copy of the GNU General Public License along 286s > ## with this program; if not, write to the Free Software Foundation, Inc., 286s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 286s > 286s > library("git2r") 286s > 286s > ## For debugging 286s > sessionInfo() 286s R version 4.3.3 (2024-02-29) 286s Platform: arm-unknown-linux-gnueabihf (32-bit) 286s Running under: Ubuntu Noble Numbat (development branch) 286s 286s Matrix products: default 286s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 286s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 286s 286s locale: 286s [1] C 286s 286s time zone: Etc/UTC 286s tzcode source: system (glibc) 286s 286s attached base packages: 286s [1] stats graphics grDevices utils datasets methods base 286s 286s other attached packages: 286s [1] git2r_0.33.0 286s 286s loaded via a namespace (and not attached): 286s [1] compiler_4.3.3 286s > libgit2_version() 286s $major 286s [1] 1 286s 286s $minor 286s [1] 7 286s 286s $rev 286s [1] 2 286s 286s > libgit2_features() 286s $threads 286s [1] TRUE 286s 286s $https 286s [1] TRUE 286s 286s $ssh 286s [1] TRUE 286s 286s > 286s > 286s > ## Create a directory in tempdir 286s > path <- tempfile(pattern = "git2r-") 286s > dir.create(path) 286s > 286s > ## Initialize a repository 286s > repo <- init(path) 286s > config(repo, user.name = "Alice", user.email = "alice@example.org") 286s > 286s > ## Create a file 286s > f <- file(file.path(path, "test.txt"), "wb") 286s > writeChar("Hello world!\n", f, eos = NULL) 286s > close(f) 286s > 286s > ## add and commit 286s > add(repo, "test.txt") 286s > commit(repo, "Commit message") 286s [fba1450] 2024-03-23: Commit message 286s > 286s > ## Check tree 286s > stopifnot(is_tree(lookup(repo, "a0b0b9e615e9e433eb5f11859e9feac4564c58c5"))) 286s > stopifnot(identical( 286s + sha(lookup(repo, "a0b0b9e615e9e433eb5f11859e9feac4564c58c5")), 286s + "a0b0b9e615e9e433eb5f11859e9feac4564c58c5")) 286s > stopifnot(is_tree(tree(commits(repo)[[1]]))) 286s > stopifnot(identical(lookup(repo, "a0b0b9e615e9e433eb5f11859e9feac4564c58c5"), 286s + tree(commits(repo)[[1]]))) 286s > stopifnot(identical(length(tree(commits(repo)[[1]])), 1L)) 286s > 286s > ## Coerce to a data.frame and check column names 286s > stopifnot(identical(names(as.data.frame(tree(commits(repo)[[1]]))), 286s + c("mode", "type", "sha", "name"))) 286s > 286s > ## Coerce to list and check length 286s > stopifnot(identical(length(as.list(tree(last_commit(repo)))), 1L)) 286s > 286s > ## Print and summary 286s > stopifnot(identical(print(tree(last_commit(repo))), tree(last_commit(repo)))) 286s tree: a0b0b9e615e9e433eb5f11859e9feac4564c58c5 286s 286s mode type sha name 286s 1 100644 blob cd0875583aabe89ee197ea133980a9085d08e497 test.txt 286s > summary(tree(last_commit(repo))) 286s mode type sha name 286s 1 100644 blob cd0875583aabe89ee197ea133980a9085d08e497 test.txt 286s > 286s > ## Check indexing 286s > stopifnot(is_blob(tree(last_commit(repo))[TRUE])) 286s > stopifnot(is_blob(tree(last_commit(repo))["test.txt"])) 286s > res <- tools::assertError(tree(last_commit(repo))[data.frame()]) 286s > stopifnot(length(grep("Invalid index", res[[1]]$message)) > 0) 286s > 286s > ## Check ls_tree 286s > stopifnot(identical(ls_tree(repo = repo), ls_tree(repo = path))) 286s > stopifnot(identical(ls_tree(tree = sha(tree(last_commit(repo))), repo = repo), 286s + ls_tree(repo = repo))) 287s > 287s > ## Cleanup 287s > unlink(path, recursive = TRUE) 287s > 287s BEGIN TEST when.R 287s 287s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 287s Copyright (C) 2024 The R Foundation for Statistical Computing 287s Platform: arm-unknown-linux-gnueabihf (32-bit) 287s 287s R is free software and comes with ABSOLUTELY NO WARRANTY. 287s You are welcome to redistribute it under certain conditions. 287s Type 'license()' or 'licence()' for distribution details. 287s 287s R is a collaborative project with many contributors. 287s Type 'contributors()' for more information and 287s 'citation()' on how to cite R or R packages in publications. 287s 287s Type 'demo()' for some demos, 'help()' for on-line help, or 287s 'help.start()' for an HTML browser interface to help. 287s Type 'q()' to quit R. 287s 287s > ## git2r, R bindings to the libgit2 library. 287s > ## Copyright (C) 2013-2023 The git2r contributors 287s > ## 287s > ## This program is free software; you can redistribute it and/or modify 287s > ## it under the terms of the GNU General Public License, version 2, 287s > ## as published by the Free Software Foundation. 287s > ## 287s > ## git2r is distributed in the hope that it will be useful, 287s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 287s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 287s > ## GNU General Public License for more details. 287s > ## 287s > ## You should have received a copy of the GNU General Public License along 287s > ## with this program; if not, write to the Free Software Foundation, Inc., 287s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 287s > 287s > library("git2r") 287s > 287s > ## For debugging 287s > sessionInfo() 287s R version 4.3.3 (2024-02-29) 287s Platform: arm-unknown-linux-gnueabihf (32-bit) 287s Running under: Ubuntu Noble Numbat (development branch) 287s 287s Matrix products: default 287s BLAS: /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3.12.0 287s LAPACK: /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3.12.0 287s 287s locale: 287s [1] C 287s 287s time zone: Etc/UTC 287s tzcode source: system (glibc) 287s 287s attached base packages: 287s [1] stats graphics grDevices utils datasets methods base 287s 287s other attached packages: 287s [1] git2r_0.33.0 287s 287s loaded via a namespace (and not attached): 287s [1] compiler_4.3.3 287s > libgit2_version() 287s $major 287s [1] 1 287s 287s $minor 287s [1] 7 287s 287s $rev 287s [1] 2 287s 287s > libgit2_features() 287s $threads 287s [1] TRUE 287s 287s $https 287s [1] TRUE 287s 287s $ssh 287s [1] TRUE 287s 287s > 287s > 287s > ## Check when method 287s > w1 <- structure(list(time = 1395567947, offset = 60), 287s + class = "git_time") 287s > stopifnot(identical(when(w1), "2014-03-23 09:45:47 GMT")) 287s > stopifnot(identical(when(w1, usetz = FALSE), "2014-03-23 09:45:47")) 287s > stopifnot(identical(when(w1, tz = "Europe/Stockholm", origin = "1980-02-02"), 287s + "2024-04-23 11:45:47 CEST")) 287s > 287s > s1 <- structure(list(name = "Alice", email = "alice@example.org", when = w1), 287s + class = "git_signature") 287s > stopifnot(identical(when(s1), "2014-03-23 09:45:47 GMT")) 287s > stopifnot(identical(when(s1, usetz = FALSE), "2014-03-23 09:45:47")) 287s > stopifnot(identical(when(s1, tz = "Europe/Stockholm", origin = "1980-02-02"), 287s + "2024-04-23 11:45:47 CEST")) 287s > 287s > w2 <- structure(list(time = 1395567950, offset = 60), 287s + class = "git_time") 287s > s2 <- structure(list(name = "Alice", email = "alice@example.org", when = w2), 287s + class = "git_signature") 287s > c1 <- structure(list(sha = "166f3f779fd7e4165aaa43f2828050ce040052b0", 287s + author = s1, 287s + committer = s2, 287s + summary = "A commit summary", 287s + message = "A commit message"), 287s + class = "git_commit") 287s > stopifnot(identical(when(c1), "2014-03-23 09:45:47 GMT")) 287s > stopifnot(identical(when(c1, usetz = FALSE), "2014-03-23 09:45:47")) 287s > stopifnot(identical(when(c1, tz = "Europe/Stockholm", origin = "1980-02-02"), 287s + "2024-04-23 11:45:47 CEST")) 287s > 287s > t1 <- structure(list(sha = "166f3f779fd7e4165aaa43f2828050ce040052b0", 287s + message = "A tag message", 287s + name = "A tage name", 287s + tagger = s1, 287s + target = "166f3f779fd7e4165aaa43f2828050ce040052b0"), 287s + class = "git_tag") 287s > stopifnot(identical(when(t1), "2014-03-23 09:45:47 GMT")) 287s > stopifnot(identical(when(t1, usetz = FALSE), "2014-03-23 09:45:47")) 287s > stopifnot(identical(when(t1, tz = "Europe/Stockholm", origin = "1980-02-02"), 287s + "2024-04-23 11:45:47 CEST")) 287s > 287s autopkgtest [01:15:05]: test run-unit-test: -----------------------] 291s autopkgtest [01:15:09]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 291s run-unit-test PASS 294s autopkgtest [01:15:12]: test pkg-r-autopkgtest: preparing testbed 304s Reading package lists... 304s Building dependency tree... 304s Reading state information... 305s Starting pkgProblemResolver with broken count: 0 305s Starting 2 pkgProblemResolver with broken count: 0 305s Done 305s The following additional packages will be installed: 305s build-essential cpp cpp-13 cpp-13-arm-linux-gnueabihf 305s cpp-arm-linux-gnueabihf dctrl-tools g++ g++-13 g++-13-arm-linux-gnueabihf 305s g++-arm-linux-gnueabihf gcc gcc-13 gcc-13-arm-linux-gnueabihf 305s gcc-arm-linux-gnueabihf gfortran gfortran-13 gfortran-13-arm-linux-gnueabihf 305s gfortran-arm-linux-gnueabihf icu-devtools libasan8 libatomic1 libblas-dev 305s libbz2-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libgcc-13-dev 305s libgfortran-13-dev libicu-dev libisl23 libjpeg-dev libjpeg-turbo8-dev 305s libjpeg8-dev liblapack-dev liblzma-dev libmpc3 libncurses-dev libpcre2-16-0 305s libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev 305s libreadline-dev libstdc++-13-dev libubsan1 linux-libc-dev pkg-config 306s pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev rpcsvc-proto zlib1g-dev 306s Suggested packages: 306s cpp-doc gcc-13-locales cpp-13-doc debtags gcc-13-doc gcc-multilib 306s manpages-dev autoconf automake libtool flex bison gdb gcc-doc 306s gdb-arm-linux-gnueabihf gfortran-doc gfortran-13-doc libcoarrays-dev 306s liblapack-doc glibc-doc icu-doc liblzma-doc ncurses-doc readline-doc 306s libstdc++-13-doc texlive-base texlive-latex-base texlive-plain-generic 306s texlive-fonts-recommended texlive-fonts-extra texlive-extra-utils 306s texlive-latex-recommended texlive-latex-extra texinfo 306s Recommended packages: 306s bzip2-doc manpages manpages-dev libc-devtools libpng-tools 306s The following NEW packages will be installed: 306s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-arm-linux-gnueabihf 306s cpp-arm-linux-gnueabihf dctrl-tools g++ g++-13 g++-13-arm-linux-gnueabihf 306s g++-arm-linux-gnueabihf gcc gcc-13 gcc-13-arm-linux-gnueabihf 306s gcc-arm-linux-gnueabihf gfortran gfortran-13 gfortran-13-arm-linux-gnueabihf 306s gfortran-arm-linux-gnueabihf icu-devtools libasan8 libatomic1 libblas-dev 306s libbz2-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libgcc-13-dev 306s libgfortran-13-dev libicu-dev libisl23 libjpeg-dev libjpeg-turbo8-dev 306s libjpeg8-dev liblapack-dev liblzma-dev libmpc3 libncurses-dev libpcre2-16-0 306s libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev 306s libreadline-dev libstdc++-13-dev libubsan1 linux-libc-dev pkg-config 306s pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev rpcsvc-proto zlib1g-dev 306s 0 upgraded, 56 newly installed, 0 to remove and 1 not upgraded. 306s Need to get 74.3 MB/74.3 MB of archives. 306s After this operation, 232 MB of additional disk space will be used. 306s Get:1 /tmp/autopkgtest.nkTgZk/2-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [716 B] 306s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc-dev-bin armhf 2.39-0ubuntu6 [19.1 kB] 306s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main armhf linux-libc-dev armhf 6.8.0-20.20 [1555 kB] 306s Get:4 http://ftpmaster.internal/ubuntu noble/main armhf libcrypt-dev armhf 1:4.4.36-4 [136 kB] 306s Get:5 http://ftpmaster.internal/ubuntu noble/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu6 [63.7 kB] 306s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc6-dev armhf 2.39-0ubuntu6 [1351 kB] 306s Get:7 http://ftpmaster.internal/ubuntu noble/main armhf libisl23 armhf 0.26-3 [595 kB] 306s Get:8 http://ftpmaster.internal/ubuntu noble/main armhf libmpc3 armhf 1.3.1-1 [46.4 kB] 306s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cpp-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [8753 kB] 306s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cpp-13 armhf 13.2.0-19ubuntu1 [1036 B] 306s Get:11 http://ftpmaster.internal/ubuntu noble/main armhf cpp-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [5320 B] 306s Get:12 http://ftpmaster.internal/ubuntu noble/main armhf cpp armhf 4:13.2.0-7ubuntu1 [22.4 kB] 306s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcc1-0 armhf 14-20240315-1ubuntu1 [39.0 kB] 306s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libatomic1 armhf 14-20240315-1ubuntu1 [7824 B] 306s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libasan8 armhf 14-20240315-1ubuntu1 [2941 kB] 307s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libubsan1 armhf 14-20240315-1ubuntu1 [1152 kB] 307s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgcc-13-dev armhf 13.2.0-19ubuntu1 [900 kB] 307s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [16.8 MB] 307s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13 armhf 13.2.0-19ubuntu1 [448 kB] 307s Get:20 http://ftpmaster.internal/ubuntu noble/main armhf gcc-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1220 B] 307s Get:21 http://ftpmaster.internal/ubuntu noble/main armhf gcc armhf 4:13.2.0-7ubuntu1 [5022 B] 307s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libstdc++-13-dev armhf 13.2.0-19ubuntu1 [2403 kB] 307s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main armhf g++-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [9935 kB] 307s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main armhf g++-13 armhf 13.2.0-19ubuntu1 [14.5 kB] 307s Get:25 http://ftpmaster.internal/ubuntu noble/main armhf g++-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [966 B] 307s Get:26 http://ftpmaster.internal/ubuntu noble/main armhf g++ armhf 4:13.2.0-7ubuntu1 [1090 B] 307s Get:27 http://ftpmaster.internal/ubuntu noble/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 307s Get:28 http://ftpmaster.internal/ubuntu noble/main armhf dctrl-tools armhf 2.24-3build2 [57.2 kB] 307s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgfortran-13-dev armhf 13.2.0-19ubuntu1 [359 kB] 307s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gfortran-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [9176 kB] 308s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gfortran-13 armhf 13.2.0-19ubuntu1 [10.4 kB] 308s Get:32 http://ftpmaster.internal/ubuntu noble/main armhf gfortran-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1024 B] 308s Get:33 http://ftpmaster.internal/ubuntu noble/main armhf gfortran armhf 4:13.2.0-7ubuntu1 [1166 B] 308s Get:34 http://ftpmaster.internal/ubuntu noble/main armhf icu-devtools armhf 74.2-1ubuntu1 [201 kB] 308s Get:35 http://ftpmaster.internal/ubuntu noble/main armhf libblas-dev armhf 3.12.0-3 [132 kB] 308s Get:36 http://ftpmaster.internal/ubuntu noble/main armhf libbz2-dev armhf 1.0.8-5ubuntu1 [30.4 kB] 308s Get:37 http://ftpmaster.internal/ubuntu noble/main armhf libicu-dev armhf 74.2-1ubuntu1 [11.6 MB] 308s Get:38 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg-turbo8-dev armhf 2.1.5-2ubuntu1 [263 kB] 308s Get:39 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg8-dev armhf 8c-2ubuntu11 [1484 B] 308s Get:40 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg-dev armhf 8c-2ubuntu11 [1482 B] 308s Get:41 http://ftpmaster.internal/ubuntu noble/main armhf liblapack-dev armhf 3.12.0-3 [2177 kB] 308s Get:42 http://ftpmaster.internal/ubuntu noble/main armhf libncurses-dev armhf 6.4+20240113-1ubuntu1 [501 kB] 308s Get:43 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-16-0 armhf 10.42-4ubuntu1 [180 kB] 308s Get:44 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-32-0 armhf 10.42-4ubuntu1 [171 kB] 308s Get:45 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-posix3 armhf 10.42-4ubuntu1 [6096 B] 308s Get:46 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-dev armhf 10.42-4ubuntu1 [664 kB] 308s Get:47 http://ftpmaster.internal/ubuntu noble/main armhf libpkgconf3 armhf 1.8.1-2 [26.3 kB] 308s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main armhf zlib1g-dev armhf 1:1.3.dfsg-3.1ubuntu1 [880 kB] 308s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpng-dev armhf 1.6.43-3 [248 kB] 308s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreadline-dev armhf 8.2-3.1build1 [153 kB] 308s Get:51 http://ftpmaster.internal/ubuntu noble/main armhf pkgconf-bin armhf 1.8.1-2 [20.6 kB] 308s Get:52 http://ftpmaster.internal/ubuntu noble/main armhf pkgconf armhf 1.8.1-2 [16.7 kB] 308s Get:53 http://ftpmaster.internal/ubuntu noble/main armhf pkg-config armhf 1.8.1-2 [7170 B] 308s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblzma-dev armhf 5.6.0-0.2 [166 kB] 308s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf r-base-dev all 4.3.3-2build1 [4334 B] 308s Get:56 http://ftpmaster.internal/ubuntu noble/universe armhf pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 308s Fetched 74.3 MB in 2s (30.3 MB/s) 308s Selecting previously unselected package libc-dev-bin. 308s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60539 files and directories currently installed.) 308s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu6_armhf.deb ... 308s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 308s Selecting previously unselected package linux-libc-dev:armhf. 308s Preparing to unpack .../01-linux-libc-dev_6.8.0-20.20_armhf.deb ... 308s Unpacking linux-libc-dev:armhf (6.8.0-20.20) ... 309s Selecting previously unselected package libcrypt-dev:armhf. 309s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_armhf.deb ... 309s Unpacking libcrypt-dev:armhf (1:4.4.36-4) ... 309s Selecting previously unselected package rpcsvc-proto. 309s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu6_armhf.deb ... 309s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 309s Selecting previously unselected package libc6-dev:armhf. 309s Preparing to unpack .../04-libc6-dev_2.39-0ubuntu6_armhf.deb ... 309s Unpacking libc6-dev:armhf (2.39-0ubuntu6) ... 309s Selecting previously unselected package libisl23:armhf. 309s Preparing to unpack .../05-libisl23_0.26-3_armhf.deb ... 309s Unpacking libisl23:armhf (0.26-3) ... 309s Selecting previously unselected package libmpc3:armhf. 309s Preparing to unpack .../06-libmpc3_1.3.1-1_armhf.deb ... 309s Unpacking libmpc3:armhf (1.3.1-1) ... 309s Selecting previously unselected package cpp-13-arm-linux-gnueabihf. 309s Preparing to unpack .../07-cpp-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 309s Unpacking cpp-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 309s Selecting previously unselected package cpp-13. 309s Preparing to unpack .../08-cpp-13_13.2.0-19ubuntu1_armhf.deb ... 309s Unpacking cpp-13 (13.2.0-19ubuntu1) ... 309s Selecting previously unselected package cpp-arm-linux-gnueabihf. 309s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 309s Unpacking cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 309s Selecting previously unselected package cpp. 309s Preparing to unpack .../10-cpp_4%3a13.2.0-7ubuntu1_armhf.deb ... 309s Unpacking cpp (4:13.2.0-7ubuntu1) ... 309s Selecting previously unselected package libcc1-0:armhf. 309s Preparing to unpack .../11-libcc1-0_14-20240315-1ubuntu1_armhf.deb ... 309s Unpacking libcc1-0:armhf (14-20240315-1ubuntu1) ... 309s Selecting previously unselected package libatomic1:armhf. 309s Preparing to unpack .../12-libatomic1_14-20240315-1ubuntu1_armhf.deb ... 309s Unpacking libatomic1:armhf (14-20240315-1ubuntu1) ... 309s Selecting previously unselected package libasan8:armhf. 309s Preparing to unpack .../13-libasan8_14-20240315-1ubuntu1_armhf.deb ... 309s Unpacking libasan8:armhf (14-20240315-1ubuntu1) ... 309s Selecting previously unselected package libubsan1:armhf. 309s Preparing to unpack .../14-libubsan1_14-20240315-1ubuntu1_armhf.deb ... 309s Unpacking libubsan1:armhf (14-20240315-1ubuntu1) ... 309s Selecting previously unselected package libgcc-13-dev:armhf. 309s Preparing to unpack .../15-libgcc-13-dev_13.2.0-19ubuntu1_armhf.deb ... 309s Unpacking libgcc-13-dev:armhf (13.2.0-19ubuntu1) ... 309s Selecting previously unselected package gcc-13-arm-linux-gnueabihf. 309s Preparing to unpack .../16-gcc-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 309s Unpacking gcc-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 310s Selecting previously unselected package gcc-13. 310s Preparing to unpack .../17-gcc-13_13.2.0-19ubuntu1_armhf.deb ... 310s Unpacking gcc-13 (13.2.0-19ubuntu1) ... 310s Selecting previously unselected package gcc-arm-linux-gnueabihf. 310s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 310s Unpacking gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 310s Selecting previously unselected package gcc. 310s Preparing to unpack .../19-gcc_4%3a13.2.0-7ubuntu1_armhf.deb ... 310s Unpacking gcc (4:13.2.0-7ubuntu1) ... 310s Selecting previously unselected package libstdc++-13-dev:armhf. 310s Preparing to unpack .../20-libstdc++-13-dev_13.2.0-19ubuntu1_armhf.deb ... 310s Unpacking libstdc++-13-dev:armhf (13.2.0-19ubuntu1) ... 310s Selecting previously unselected package g++-13-arm-linux-gnueabihf. 310s Preparing to unpack .../21-g++-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 310s Unpacking g++-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 310s Selecting previously unselected package g++-13. 310s Preparing to unpack .../22-g++-13_13.2.0-19ubuntu1_armhf.deb ... 310s Unpacking g++-13 (13.2.0-19ubuntu1) ... 310s Selecting previously unselected package g++-arm-linux-gnueabihf. 310s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 310s Unpacking g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 310s Selecting previously unselected package g++. 310s Preparing to unpack .../24-g++_4%3a13.2.0-7ubuntu1_armhf.deb ... 310s Unpacking g++ (4:13.2.0-7ubuntu1) ... 310s Selecting previously unselected package build-essential. 310s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ... 310s Unpacking build-essential (12.10ubuntu1) ... 310s Selecting previously unselected package dctrl-tools. 310s Preparing to unpack .../26-dctrl-tools_2.24-3build2_armhf.deb ... 310s Unpacking dctrl-tools (2.24-3build2) ... 310s Selecting previously unselected package libgfortran-13-dev:armhf. 310s Preparing to unpack .../27-libgfortran-13-dev_13.2.0-19ubuntu1_armhf.deb ... 310s Unpacking libgfortran-13-dev:armhf (13.2.0-19ubuntu1) ... 310s Selecting previously unselected package gfortran-13-arm-linux-gnueabihf. 310s Preparing to unpack .../28-gfortran-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 310s Unpacking gfortran-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 311s Selecting previously unselected package gfortran-13. 311s Preparing to unpack .../29-gfortran-13_13.2.0-19ubuntu1_armhf.deb ... 311s Unpacking gfortran-13 (13.2.0-19ubuntu1) ... 311s Selecting previously unselected package gfortran-arm-linux-gnueabihf. 311s Preparing to unpack .../30-gfortran-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 311s Unpacking gfortran-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 311s Selecting previously unselected package gfortran. 311s Preparing to unpack .../31-gfortran_4%3a13.2.0-7ubuntu1_armhf.deb ... 311s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 311s Selecting previously unselected package icu-devtools. 311s Preparing to unpack .../32-icu-devtools_74.2-1ubuntu1_armhf.deb ... 311s Unpacking icu-devtools (74.2-1ubuntu1) ... 311s Selecting previously unselected package libblas-dev:armhf. 311s Preparing to unpack .../33-libblas-dev_3.12.0-3_armhf.deb ... 311s Unpacking libblas-dev:armhf (3.12.0-3) ... 311s Selecting previously unselected package libbz2-dev:armhf. 311s Preparing to unpack .../34-libbz2-dev_1.0.8-5ubuntu1_armhf.deb ... 311s Unpacking libbz2-dev:armhf (1.0.8-5ubuntu1) ... 311s Selecting previously unselected package libicu-dev:armhf. 311s Preparing to unpack .../35-libicu-dev_74.2-1ubuntu1_armhf.deb ... 311s Unpacking libicu-dev:armhf (74.2-1ubuntu1) ... 311s Selecting previously unselected package libjpeg-turbo8-dev:armhf. 311s Preparing to unpack .../36-libjpeg-turbo8-dev_2.1.5-2ubuntu1_armhf.deb ... 311s Unpacking libjpeg-turbo8-dev:armhf (2.1.5-2ubuntu1) ... 311s Selecting previously unselected package libjpeg8-dev:armhf. 311s Preparing to unpack .../37-libjpeg8-dev_8c-2ubuntu11_armhf.deb ... 311s Unpacking libjpeg8-dev:armhf (8c-2ubuntu11) ... 311s Selecting previously unselected package libjpeg-dev:armhf. 311s Preparing to unpack .../38-libjpeg-dev_8c-2ubuntu11_armhf.deb ... 311s Unpacking libjpeg-dev:armhf (8c-2ubuntu11) ... 311s Selecting previously unselected package liblapack-dev:armhf. 311s Preparing to unpack .../39-liblapack-dev_3.12.0-3_armhf.deb ... 311s Unpacking liblapack-dev:armhf (3.12.0-3) ... 311s Selecting previously unselected package libncurses-dev:armhf. 311s Preparing to unpack .../40-libncurses-dev_6.4+20240113-1ubuntu1_armhf.deb ... 311s Unpacking libncurses-dev:armhf (6.4+20240113-1ubuntu1) ... 311s Selecting previously unselected package libpcre2-16-0:armhf. 311s Preparing to unpack .../41-libpcre2-16-0_10.42-4ubuntu1_armhf.deb ... 311s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu1) ... 311s Selecting previously unselected package libpcre2-32-0:armhf. 311s Preparing to unpack .../42-libpcre2-32-0_10.42-4ubuntu1_armhf.deb ... 311s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu1) ... 311s Selecting previously unselected package libpcre2-posix3:armhf. 311s Preparing to unpack .../43-libpcre2-posix3_10.42-4ubuntu1_armhf.deb ... 311s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu1) ... 311s Selecting previously unselected package libpcre2-dev:armhf. 311s Preparing to unpack .../44-libpcre2-dev_10.42-4ubuntu1_armhf.deb ... 311s Unpacking libpcre2-dev:armhf (10.42-4ubuntu1) ... 311s Selecting previously unselected package libpkgconf3:armhf. 311s Preparing to unpack .../45-libpkgconf3_1.8.1-2_armhf.deb ... 311s Unpacking libpkgconf3:armhf (1.8.1-2) ... 311s Selecting previously unselected package zlib1g-dev:armhf. 311s Preparing to unpack .../46-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_armhf.deb ... 311s Unpacking zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu1) ... 311s Selecting previously unselected package libpng-dev:armhf. 311s Preparing to unpack .../47-libpng-dev_1.6.43-3_armhf.deb ... 311s Unpacking libpng-dev:armhf (1.6.43-3) ... 312s Selecting previously unselected package libreadline-dev:armhf. 312s Preparing to unpack .../48-libreadline-dev_8.2-3.1build1_armhf.deb ... 312s Unpacking libreadline-dev:armhf (8.2-3.1build1) ... 312s Selecting previously unselected package pkgconf-bin. 312s Preparing to unpack .../49-pkgconf-bin_1.8.1-2_armhf.deb ... 312s Unpacking pkgconf-bin (1.8.1-2) ... 312s Selecting previously unselected package pkgconf:armhf. 312s Preparing to unpack .../50-pkgconf_1.8.1-2_armhf.deb ... 312s Unpacking pkgconf:armhf (1.8.1-2) ... 312s Selecting previously unselected package pkg-config:armhf. 312s Preparing to unpack .../51-pkg-config_1.8.1-2_armhf.deb ... 312s Unpacking pkg-config:armhf (1.8.1-2) ... 312s Selecting previously unselected package liblzma-dev:armhf. 312s Preparing to unpack .../52-liblzma-dev_5.6.0-0.2_armhf.deb ... 312s Unpacking liblzma-dev:armhf (5.6.0-0.2) ... 312s Selecting previously unselected package r-base-dev. 312s Preparing to unpack .../53-r-base-dev_4.3.3-2build1_all.deb ... 312s Unpacking r-base-dev (4.3.3-2build1) ... 312s Selecting previously unselected package pkg-r-autopkgtest. 312s Preparing to unpack .../54-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 312s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 312s Selecting previously unselected package autopkgtest-satdep. 312s Preparing to unpack .../55-2-autopkgtest-satdep.deb ... 312s Unpacking autopkgtest-satdep (0) ... 312s Setting up linux-libc-dev:armhf (6.8.0-20.20) ... 312s Setting up libpcre2-16-0:armhf (10.42-4ubuntu1) ... 312s Setting up libpcre2-32-0:armhf (10.42-4ubuntu1) ... 312s Setting up libpkgconf3:armhf (1.8.1-2) ... 312s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 312s Setting up libmpc3:armhf (1.3.1-1) ... 312s Setting up libatomic1:armhf (14-20240315-1ubuntu1) ... 312s Setting up icu-devtools (74.2-1ubuntu1) ... 312s Setting up pkgconf-bin (1.8.1-2) ... 312s Setting up liblzma-dev:armhf (5.6.0-0.2) ... 312s Setting up libubsan1:armhf (14-20240315-1ubuntu1) ... 312s Setting up libpcre2-posix3:armhf (10.42-4ubuntu1) ... 312s Setting up libcrypt-dev:armhf (1:4.4.36-4) ... 312s Setting up libasan8:armhf (14-20240315-1ubuntu1) ... 312s Setting up libisl23:armhf (0.26-3) ... 312s Setting up libc-dev-bin (2.39-0ubuntu6) ... 312s Setting up libcc1-0:armhf (14-20240315-1ubuntu1) ... 312s Setting up libblas-dev:armhf (3.12.0-3) ... 312s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so to provide /usr/lib/arm-linux-gnueabihf/libblas.so (libblas.so-arm-linux-gnueabihf) in auto mode 312s Setting up dctrl-tools (2.24-3build2) ... 312s Setting up cpp-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 312s Setting up pkgconf:armhf (1.8.1-2) ... 312s Setting up liblapack-dev:armhf (3.12.0-3) ... 312s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so to provide /usr/lib/arm-linux-gnueabihf/liblapack.so (liblapack.so-arm-linux-gnueabihf) in auto mode 312s Setting up pkg-config:armhf (1.8.1-2) ... 312s Setting up libgcc-13-dev:armhf (13.2.0-19ubuntu1) ... 312s Setting up libc6-dev:armhf (2.39-0ubuntu6) ... 312s Setting up libgfortran-13-dev:armhf (13.2.0-19ubuntu1) ... 312s Setting up libicu-dev:armhf (74.2-1ubuntu1) ... 312s Setting up cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 312s Setting up libstdc++-13-dev:armhf (13.2.0-19ubuntu1) ... 312s Setting up libbz2-dev:armhf (1.0.8-5ubuntu1) ... 312s Setting up libjpeg-turbo8-dev:armhf (2.1.5-2ubuntu1) ... 312s Setting up libncurses-dev:armhf (6.4+20240113-1ubuntu1) ... 312s Setting up libpcre2-dev:armhf (10.42-4ubuntu1) ... 312s Setting up cpp-13 (13.2.0-19ubuntu1) ... 312s Setting up libreadline-dev:armhf (8.2-3.1build1) ... 312s Setting up gcc-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 312s Setting up gcc-13 (13.2.0-19ubuntu1) ... 312s Setting up zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu1) ... 312s Setting up cpp (4:13.2.0-7ubuntu1) ... 312s Setting up libjpeg8-dev:armhf (8c-2ubuntu11) ... 312s Setting up gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 312s Setting up g++-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 312s Setting up gfortran-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 312s Setting up g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 312s Setting up g++-13 (13.2.0-19ubuntu1) ... 312s Setting up libpng-dev:armhf (1.6.43-3) ... 312s Setting up libjpeg-dev:armhf (8c-2ubuntu11) ... 312s Setting up gcc (4:13.2.0-7ubuntu1) ... 312s Setting up gfortran-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 312s Setting up gfortran-13 (13.2.0-19ubuntu1) ... 312s Setting up g++ (4:13.2.0-7ubuntu1) ... 312s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 312s Setting up build-essential (12.10ubuntu1) ... 312s Setting up gfortran (4:13.2.0-7ubuntu1) ... 312s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 312s update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist 312s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 312s update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist 312s Setting up r-base-dev (4.3.3-2build1) ... 312s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 312s Setting up autopkgtest-satdep (0) ... 312s Processing triggers for man-db (2.12.0-3build4) ... 313s Processing triggers for install-info (7.1-3build1) ... 313s Processing triggers for libc-bin (2.39-0ubuntu6) ... 325s (Reading database ... 63959 files and directories currently installed.) 325s Removing autopkgtest-satdep (0) ... 331s autopkgtest [01:15:48]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 331s autopkgtest [01:15:48]: test pkg-r-autopkgtest: [----------------------- 332s Test: Try to load the R library git2r 332s 332s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 332s Copyright (C) 2024 The R Foundation for Statistical Computing 332s Platform: arm-unknown-linux-gnueabihf (32-bit) 332s 332s R is free software and comes with ABSOLUTELY NO WARRANTY. 332s You are welcome to redistribute it under certain conditions. 332s Type 'license()' or 'licence()' for distribution details. 332s 332s R is a collaborative project with many contributors. 332s Type 'contributors()' for more information and 332s 'citation()' on how to cite R or R packages in publications. 332s 332s Type 'demo()' for some demos, 'help()' for on-line help, or 332s 'help.start()' for an HTML browser interface to help. 332s Type 'q()' to quit R. 332s 332s > library('git2r') 332s > 332s > 332s Other tests are currently unsupported! 332s They will be progressively added. 332s autopkgtest [01:15:50]: test pkg-r-autopkgtest: -----------------------] 336s pkg-r-autopkgtest PASS 336s autopkgtest [01:15:54]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 340s autopkgtest [01:15:58]: @@@@@@@@@@@@@@@@@@@@ summary 340s run-unit-test PASS 340s pkg-r-autopkgtest PASS