s12mc
1
我直接git clone是正常的但是使用AUR Helper之后会爆炸
具体表现如下:
➜ ~ paru -S atom
:: 正在解析依赖关系……
:: 正在计算冲突……
:: 正在计算内部冲突……
Aur (1) atom-ng-bin-1.66.12-8
:: 继续以审阅? [Y/n]:
:: 正在下载 PKGBUILD……
PKGBUILD 都已是最新版本
没有可供审阅的新更改
正在获取开发版信息……
==> 正在创建软件包:atom-ng-bin 1.66.12-8 (2025年11月02日 星期日 20时50分10秒)
==> 获取源代码...
-> 正在下载 atom-ng-1.66.12.zip...
Download from mirror https://github.com/Alex313031/atom-ng/releases/download/v1.66.12/Atom-ng_linux_1.66.12_AVX.zip
11/02 20:50:10 [NOTICE] Downloading 1 item(s)
*** Download Progress Summary as of Sun Nov 2 20:51:10 2025 ***
========================================================================================================================================================================
[#6dc171 0B/0B CN:1 DL:0B]
FILE: /home/jasoncj0814/.cache/paru/clone/atom-ng-bin/atom-ng-1.66.12.zip.part
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#6dc171 0B/0B CN:1 DL:0B]
11/02 20:51:31 [ERROR] CUID#7 - Download aborted. URI=https://github.com/Alex313031/atom-ng/releases/download/v1.66.12/Atom-ng_linux_1.66.12_AVX.zip
Exception: [AbstractCommand.cc:856] errorCode=1 创建连接失败,原因:连接被拒绝
11/02 20:51:31 [NOTICE] GID 为 6dc171e5d1a74906 的下载项未完成:/home/jasoncj0814/.cache/paru/clone/atom-ng-bin/atom-ng-1.66.12.zip.part
下载结果:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
6dc171|ERR | 0B/s|/home/jasoncj0814/.cache/paru/clone/atom-ng-bin/atom-ng-1.66.12.zip.part
状态标识:
(ERR):发生错误。
传输重启后 aria2 可继续该下载。
如果发生任何错误,请参阅日志文件。详细信息见帮助/手册页面中的“-l”选项。
[WARN] GitHub 原始地址下载失败,启动镜像检测...
[FATAL] 所有下载尝试失败,请检查网络或镜像配置
==> 错误: 无法下载 https://github.com/Alex313031/atom-ng/releases/download/v1.66.12/Atom-ng_linux_1.66.12_AVX.zip
正在放弃...
错误: 未能下载 'atom-ng-bin-1.66.12-8' 的源:
错误: 未能构建的软件包:atom-ng-bin-1.66.12-8
➜ ~
xtricman
(炸鱼薯条·德里克)
2
看起来是不应该用aria2。
git clone跟aria2下载某个文件的协议还是不一样的,尽管可能都是over https。
aria2的安装与否不应该影响aur helper的配置,更何况绝大多数正常的aur helper在构建aur包是都是遵循的/etc/makepkg.conf的配置
检查你/etc/makepkg.conf里是否配置了aria2,更改配置使其走代理或者换回curl
s12mc
7
换回curl后会有新的问题:
未知下载协议:https
以及:
无效的软件包架构
➜ ~ paru -Syu
[sudo] jasoncj0814 的密码:
:: 正在同步软件包数据库...
core 已经是最新版本
extra 已经是最新版本
multilib 已经是最新版本
archlinuxcn 1344.5 KiB 376 KiB/s 00:04 [############################################################] 100%
:: 正在进行全面系统更新...
今日无事可做
:: 正在查找 PKGBUILD 更新……
:: 正在查找 AUR 更新……
:: 正在查找开发版更新……
:: 正在解析依赖关系……
:: 正在计算冲突……
:: 正在计算内部冲突……
:: 无人维护:lib32-libdbusmenu-gtk2 libdbusmenu-gtk2 libindicator-gtk2
Aur (15) dingtalk-bin-7.8.15.5102301-1 libdbusmenu-gtk2-16.04.0.r498-3 lib32-libdbusmenu-gtk2-16.04.0-7 lib32-libappindicator-gtk2-12.10.0.r298-5
libindicator-gtk2-12.10.1-11 lib32-libindicator-gtk2-12.10.1-11 lib32-libjpeg6-turbo-1.5.3-4 libgcrypt15-1.5.6-7 libidn11-1.33-3 libjpeg6-turbo-1.5.3-3
libudev0-shim-2-2 libvpx1.3-1.3.0-4 linuxqq-5:3.2.21_41857-1 microsoft-edge-stable-bin-142.0.3595.53-2 wechat-bin-4.1.0.13-1
:: 继续以审阅? [Y/n]:
:: 正在下载 PKGBUILD……
PKGBUILD 都已是最新版本
没有可供审阅的新更改
正在获取开发版信息……
==> 正在创建软件包:dingtalk-bin 7.8.15.5102301-1 (2025年11月05日 星期三 00时30分23秒)
==> 获取源代码...
==> 错误: 未知下载协议:https
正在放弃...
错误: 未能下载 'dingtalk-bin-7.8.15.5102301-1' 的源:
==> 正在创建软件包:libdbusmenu-gtk2 16.04.0.r498-3 (2025年11月05日 星期三 00时30分24秒)
==> 获取源代码...
-> 正在获取 https://code.launchpad.net/~dbusmenu-team/libdbusmenu/trunk.16.10 的最新版本...
brz: ERROR: Not a branch: "/home/jasoncj0814/.cache/paru/clone/libdbusmenu-gtk2/libdbusmenu/.bzr/branch/": location is a repository.
==> 警告: 获取 https://code.launchpad.net/~dbusmenu-team/libdbusmenu/trunk.16.10 的最新版本失败
==> 正在验证 source 文件,使用sha512sums...
libdbusmenu ... brz: ERROR: Not a branch: "/home/jasoncj0814/.cache/paru/clone/libdbusmenu-gtk2/libdbusmenu/.bzr/branch/": location is a repository.
==> 错误: 一个或多个文件没有通过有效性检查!
错误: 未能下载 'libdbusmenu-gtk2-16.04.0.r498-3' 的源:
==> 正在创建软件包:lib32-libdbusmenu-gtk2 16.04.0-7 (2025年11月05日 星期三 00时30分25秒)
==> 获取源代码...
==> 错误: 未知下载协议:https
正在放弃...
错误: 未能下载 'lib32-libdbusmenu-gtk2-16.04.0-7' 的源:
==> 正在创建软件包:lib32-libappindicator-gtk2 12.10.0.r298-5 (2025年11月05日 星期三 00时30分26秒)
==> 获取源代码...
-> 正在获取 https://code.launchpad.net/~indicator-applet-developers/libappindicator/trunk 的最新版本...
No revisions or tags to pull.revisions
-> 找到 libappindicator-fix-unfallback.patch
==> 正在验证 source 文件,使用sha512sums...
libappindicator ... 通过
libappindicator-fix-unfallback.patch ... 通过
==> 正在验证 source 文件,使用sha512sums...
libappindicator ... 通过
libappindicator-fix-unfallback.patch ... 通过
==> 正在创建软件包:lib32-libappindicator-gtk2 12.10.0.r298-5 (2025年11月05日 星期三 00时30分47秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
-> 正在获取 https://code.launchpad.net/~indicator-applet-developers/libappindicator/trunk 的最新版本...
No revisions or tags to pull.
-> 找到 libappindicator-fix-unfallback.patch
==> 正在验证 source 文件,使用sha512sums...
libappindicator ... 通过
libappindicator-fix-unfallback.patch ... 通过
==> 正在验证 source 文件,使用sha512sums...
libappindicator ... 通过
libappindicator-fix-unfallback.patch ... 通过
==> 正在删除现存的 $srcdir/ 目录...
==> 正在释放源码...
-> 正在创建 libappindicator bzr 仓库的活动拷贝...
==> 正在开始 prepare()...
patching file src/app-indicator.c
/usr/bin/gnome-autogen.sh
***Warning*** USE_COMMON_DOC_BUILD is deprecated, you may remove it from autogen.sh
***Warning*** USE_GNOME2_MACROS is deprecated, you may remove it from autogen.sh
***Warning*** $srcdir is not defined, out of dir autogen is broken!
configure.ac:158: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:158: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:158: the top level
configure.ac:187: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:187: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:187: the top level
checking for automake >= 1.11.2...
testing automake... found 1.18.1
checking for autoreconf >= 2.53...
testing autoreconf... found 2.72
configure.ac:158: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:158: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:158: the top level
configure.ac:187: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:187: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:187: the top level
checking for pkg-config >= 0.14.0...
testing pkg-config... found 2.5.1
checking for gtk-doc >= 1.0...
testing gtkdocize... found 1.35.1
Checking for required M4 macros...
Processing ./configure.ac
configure.ac:158: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:158: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:158: the top level
configure.ac:187: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:187: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:187: the top level
Running gtkdocize...
Running autoreconf...
autoreconf: export WARNINGS=no-portability
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: running: gtkdocize --copy
autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}
autoreconf: running: /usr/bin/autoconf --force
configure.ac:158: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:158: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:158: the top level
configure.ac:187: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:187: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:187: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:20: installing './compile'
configure.ac:25: installing './config.guess'
configure.ac:25: installing './config.sub'
configure.ac:13: installing './install-sh'
configure.ac:13: installing './missing'
Makefile.am: installing './INSTALL'
bindings/mono/Makefile.am:128: warning: addprefix $(srcdir: non-POSIX variable name
bindings/mono/Makefile.am:128: (probably a GNU make extension)
bindings/mono/Makefile.am:58: warning: variable 'TEST_SOURCES' is defined but no program or
bindings/mono/Makefile.am:58: library has 'TEST' as canonical name (possible typo)
bindings/vala/examples/Makefile.am: installing './depcomp'
src/Makefile.am:43: warning: addprefix $(srcdir: non-POSIX variable name
src/Makefile.am:43: (probably a GNU make extension)
src/Makefile.am:106: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:108: warning: subst -,_,$(subst .,_,$(basename $(notdir $<: non-POSIX variable name
src/Makefile.am:108: (probably a GNU make extension)
src/Makefile.am:110: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:112: warning: subst -,_,$(subst .,_,$(basename $(notdir $<: non-POSIX variable name
src/Makefile.am:112: (probably a GNU make extension)
src/Makefile.am:138: warning: addprefix --c-include=$(libappindicatorincludefolder: non-POSIX variable name
src/Makefile.am:138: (probably a GNU make extension)
src/Makefile.am:145: warning: addprefix --c-include=$(libappindicatorincludefolder: non-POSIX variable name
src/Makefile.am:145: (probably a GNU make extension)
src/Makefile.am:154: warning: addprefix $(srcdir: non-POSIX variable name
src/Makefile.am:154: (probably a GNU make extension)
/usr/share/automake-1.18/am/ltlibrary.am: warning: 'libappindicator.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.18/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:7: while processing Libtool library 'libappindicator.la'
/usr/share/automake-1.18/am/ltlibrary.am: warning: 'libappindicator3.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.18/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:3: while processing Libtool library 'libappindicator3.la'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory '.'
Skipping configure process.
==> 源代码已就绪。
lib32-libappindicator-gtk2-12.10.0.r298-5:正在解析软件包列表……
:: lib32-libappindicator-gtk2-12.10.0.r298-5 已是最新版本 -- 跳过构建
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'lib32-libappindicator-gtk2-12.10.0.r298-5-' 未包含一个有效的架构
错误: 未能构建的软件包:dingtalk-bin-7.8.15.5102301-1 libdbusmenu-gtk2-16.04.0.r498-3 lib32-libdbusmenu-gtk2-16.04.0-7 libindicator-gtk2-12.10.1-11 lib32-libindicator-gtk2-12.10.1-11 lib32-libjpeg6-turbo-1.5.3-4 libgcrypt15-1.5.6-7 libidn11-1.33-3 libjpeg6-turbo-1.5.3-3 libudev0-shim-2-2 libvpx1.3-1.3.0-4 linuxqq-5:3.2.21_41857-1 microsoft-edge-stable-bin-142.0.3595.53-2 wechat-bin-4.1.0.13-1
➜ ~
劳烦了
s12mc
9
==> 正在创建软件包:dingtalk-bin 7.8.15.5102301-1 (2025年11月05日 星期三 00时30分23秒)
==> 获取源代码...
==> 错误: 未知下载协议:https
正在放弃...
错误: 未能下载 'dingtalk-bin-7.8.15.5102301-1' 的源:
依云
(lilydjwg)
10
看看你的makepkg.conf的DLAGENTS设置?
s12mc
11
DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
依云
(lilydjwg)
14
默认值是:
DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
s12mc
15
tks
但是很多时候我会遇到无效的软件包架构这一问题,如:
libidn11-1.33-3:正在解析软件包列表……
:: libidn11-1.33-3 已是最新版本 -- 跳过构建
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'libidn11-1.33-3-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'libidn11-1.33-3-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'libidn11-1.33-3-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'libidn11-1.33-3-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'libidn11-1.33-3-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'libidn11-1.33-3-' 未包含一个有效的架构
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'libidn11-1.33-3-' 未包含一个有效的架构
错误: 未能构建的软件包:libjpeg6-turbo-1.5.3-3 libudev0-shim-2-2 libvpx1.3-1.3.0-4 linuxqq-5:3.2.21_41857-1 microsoft-edge-stable-bin-142.0.3595.53-2 wechat-bin-4.1.0.13-1
这是为什么,劳烦了
s12mc
17
DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
MAKEFLAGS="-j8"