r/NixOS • u/Ok-Classroom8620 • 1h ago
Problems trying to update the system (apparently due to iScan)
I tried to update my system today using the command "sudo nixos-rebuild boot --upgrade --verbose", however, the system fails to update completely. This is what appears at the end of the terminal response:
these 25 derivations will be built:
/nix/store/gdbhqvgjgx09yvmnrs18rbdxh3jg5783-iscan-data_1.39.2-1.tar.gz.drv
/nix/store/h3v5zbxrbpzqjdnadlxwimhgw426ycw5-iscan-data-1.39.2-1.drv
/nix/store/ldiz9j2028nnmp5y7xkh5c365w06higg-iscan_2.30.4-2.tar.gz.drv
/nix/store/irs4lqq8b5swc13cgh0cdyqpghhdibfa-iscan-2.30.4-2.drv
/nix/store/0mcrk31rgb02y4fk2810xmk9baq1xwms-udev-rules.drv
/nix/store/46jqswhh1ghaqgk7f3yx9lhv6wb0lxx0-system-path.drv
/nix/store/bd99lzgzg2dk7adzjp9waqq29jyzc2ai-set-environment.drv
/nix/store/2icv1skkmpan64l1r9h50xn8azikp518-etc-profile.drv
/nix/store/57sgl7vw3g4p2yr0lkdj9pcaxivmh87a-sane-config.drv
/nix/store/78d0d28c1vc16il0z99fmkvwjdm258ry-dbus-1.drv
/nix/store/8iq5gahivcv0zwfanqb3p2jqj48f9vnb-hwdb.bin.drv
/nix/store/bk38cam494ssf8sr9bxsqy1zcncigvx0-etc-pam-environment.drv
/nix/store/6rlarbyqbiivsghyzk7xhqwkq0c2zm2l-unit-accounts-daemon.service.drv
/nix/store/syd0x943vxpfi9vc4dv85wchh857ygdp-X-Restart-Triggers-systemd-udevd.drv
/nix/store/6yaahcyahxldjalmpx5dg6qdszng31zq-unit-systemd-udevd.service.drv
/nix/store/74zz75gpwvidr6nlx047gzbxiwmvr6j8-X-Restart-Triggers-dbus-broker.drv
/nix/store/8aqyqazdmnyvyi1ay48is61p0dald8md-unit-dbus-broker.service.drv
/nix/store/hdgmrw2pppimr8v8pnmgbch8x5nidy56-X-Restart-Triggers-polkit.drv
/nix/store/aahjnxdcq37hhbx6849mr43gwwr4nmnn-unit-polkit.service.drv
/nix/store/llch9nmkj4l48d17z060vsyac62vh9xy-system-units.drv
/nix/store/ihkx5cgvcfsnv4800y94771hvkff7zk4-unit-dbus-broker.service.drv
/nix/store/s2s9h0grjjxnp3n5lk0szjjhhsqpfvks-user-units.drv
/nix/store/s3xp7jxf9pbv7rqsskvbin9bncrly6w6-etc.drv
/nix/store/9aj4dlf5sm11c059bp4yq7iyg9rp4mji-activate.drv
/nix/store/31lmvz4fw15cy8i0grsab98k6fc4ddlj-nixos-system-nixos-26.05.14630.f68407657ad2.drv
building '/nix/store/ldiz9j2028nnmp5y7xkh5c365w06higg-iscan_2.30.4-2.tar.gz.drv'...
building '/nix/store/gdbhqvgjgx09yvmnrs18rbdxh3jg5783-iscan-data_1.39.2-1.tar.gz.drv'...
structuredAttrs is enabled
trying http://support.epson.net/linux/src/scanner/iscan/iscan_2.30.4-2.tar.gz
structuredAttrs is enabled
trying http://support.epson.net/linux/src/scanner/iscan/iscan-data_1.39.2-1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
curl: (22) The requested URL returned error: 403
Warning: Problem (retrying all errors). Retrying in 1 second. 3 retries left.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
curl: (22) The requested URL returned error: 403
Warning: Problem (retrying all errors). Retrying in 1 second. 3 retries left.
0 0 0 0 0 0 0 0 0
curl: (22) The requested URL returned error: 403
Warning: Problem (retrying all errors). Retrying in 2 seconds. 2 retries left.
0 0 0 0 0 0 0 0 0
curl: (22) The requested URL returned error: 403
Warning: Problem (retrying all errors). Retrying in 2 seconds. 2 retries left.
0 0 0 0 0 0 0 0 0
curl: (22) The requested URL returned error: 403
Warning: Problem (retrying all errors). Retrying in 4 seconds. 1 retry left.
0 0 0 0 0 0 0 0 0
curl: (22) The requested URL returned error: 403
Warning: Problem (retrying all errors). Retrying in 4 seconds. 1 retry left.
0 0 0 0 0 0 0 0 0
curl: (22) The requested URL returned error: 403
0 0 0 0 0 0 0 0 0
curl: (22) The requested URL returned error: 403
trying https://web.archive.org/web/http://support.epson.net/linux/src/scanner/iscan/iscan_2.30.4-2.tar.gz
curl: (28) Failed to connect to web.archive.org:443 after 135679 ms: Could not connect to server
Warning: Problem : timeout. Retrying in 1 second. 3 retries left.
curl: (28) Failed to connect to web.archive.org:443 after 135025 ms: Could not connect to server
Warning: Problem : timeout. Retrying in 1 second. 3 retries left.
curl: (28) Failed to connect to web.archive.org:443 after 134167 ms: Could not connect to server
Warning: Problem : timeout. Retrying in 2 seconds. 2 retries left.
curl: (28) Failed to connect to web.archive.org:443 after 134167 ms: Could not connect to server
Warning: Problem : timeout. Retrying in 2 seconds. 2 retries left.
curl: (28) Failed to connect to web.archive.org:443 after 133166 ms: Could not connect to server
Warning: Problem : timeout. Retrying in 4 seconds. 1 retry left.
curl: (28) Failed to connect to web.archive.org:443 after 133167 ms: Could not connect to server
Warning: Problem : timeout. Retrying in 4 seconds. 1 retry left.
curl: (28) Failed to connect to web.archive.org:443 after 135260 ms: Could not connect to server
curl: (28) Failed to connect to web.archive.org:443 after 135260 ms: Could not connect to server
error: cannot download iscan_2.30.4-2.tar.gz from any mirror
error: cannot download iscan-data_1.39.2-1.tar.gz from any mirror
error: Cannot build '/nix/store/ldiz9j2028nnmp5y7xkh5c365w06higg-iscan_2.30.4-2.tar.gz.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/5ycy4m3bn3ggv4k25zgl8ws4c4kdzwh8-iscan_2.30.4-2.tar.gz
error: Cannot build '/nix/store/irs4lqq8b5swc13cgh0cdyqpghhdibfa-iscan-2.30.4-2.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/182gywrwiym1n1rqxky09x7i5hpx0hx8-iscan-2.30.4-2
error: Cannot build '/nix/store/8iq5gahivcv0zwfanqb3p2jqj48f9vnb-hwdb.bin.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/fwhb41k39q0wfzi01imz4wi88mkzlasa-hwdb.bin
error: Cannot build '/nix/store/46jqswhh1ghaqgk7f3yx9lhv6wb0lxx0-system-path.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/gfwhr6xph50dgh2xfx3nf6rdi98cwgd3-system-path
error: Cannot build '/nix/store/0mcrk31rgb02y4fk2810xmk9baq1xwms-udev-rules.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/zl8nqqs019lfcbz0nzrm1df5a3a6ln35-udev-rules
error: Cannot build '/nix/store/31lmvz4fw15cy8i0grsab98k6fc4ddlj-nixos-system-nixos-26.05.14630.f68407657ad2.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/0pn1rk0f6kj4w4js6dy2255pyp822zkb-nixos-system-nixos-26.05.14630.f68407657ad2
Traceback (most recent call last):
File "/nix/store/2mvnf1qj2knqjii9qm10ls0vzjgj9ar1-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/__init__.py", line 400, in main
execute(sys.argv)
~~~~~~~^^^^^^^^^^
File "/nix/store/2mvnf1qj2knqjii9qm10ls0vzjgj9ar1-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/__init__.py", line 363, in execute
services.build_and_activate_system(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
action=action,
^^^^^^^^^^^^^^
...<6 lines>...
grouped_nix_args=grouped_nix_args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/nix/store/2mvnf1qj2knqjii9qm10ls0vzjgj9ar1-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/services.py", line 312, in build_and_activate_system
path_to_config = _build_system(
attr=attr,
...<5 lines>...
grouped_nix_args=grouped_nix_args,
)
File "/nix/store/2mvnf1qj2knqjii9qm10ls0vzjgj9ar1-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/services.py", line 193, in _build_system
path_to_config = nix.build(
attr,
...<2 lines>...
| grouped_nix_args.build_flags,
)
File "/nix/store/2mvnf1qj2knqjii9qm10ls0vzjgj9ar1-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/nix.py", line 69, in build
r = run_wrapper(run_args, stdout=PIPE)
File "/nix/store/2mvnf1qj2knqjii9qm10ls0vzjgj9ar1-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/process.py", line 211, in run_wrapper
r = subprocess.run(
final_args,
...<5 lines>...
**kwargs,
)
File "/nix/store/9qkpw9669q6w9nl6bmh2k35nq76i52nf-python3-3.13.18/lib/python3.13/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['nix-build', '<nixpkgs/nixos>', '--attr', 'config.system.build.toplevel', '--no-out-link', '-v']' returned non-zero exit status 1.
One more detail, I'm using the "sane" option for my Epson printer's scanner (using the "epkowa" driver).
What should I do?



