You are not logged in.
Pages: 1
I'm able to install other things but this one package causes network disconnect. I can restore the network by rebooting. How can I fix the network without rebooting? ip link shows it's UP but there's no ip address. I'm using NetworkManager.
$ sudo pacman -S npm
resolving dependencies...
looking for conflicting packages...
Packages (4) node-gyp-9.4.0-1 nodejs-nopt-7.2.0-1 semver-7.5.0-1
npm-10.0.0-1
Total Download Size: 2.83 MiB
Total Installed Size: 15.55 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
npm-10.0.0-1-any.pkg.tar.zst failed to download
Total (1/4) 2.8 MiB 688 KiB/s 00:04 [----------------------] 100%
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from mirror.dal10.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from america.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from mirror.lty.me : The requested URL returned error: 404
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from mirror.hackingand.coffee : The requested URL returned error: 404
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from mirror.theash.xyz : The requested URL returned error: 404
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from archmirror1.octyl.net : The requested URL returned error: 404
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from arch.hu.fo : The requested URL returned error: 404
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from mirrors.ocf.berkeley.edu : The requested URL returned error: 404
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from m.lqy.me : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
$ sudo ip link set dev enp1s0 up
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 18:60:24:e4:14:0e brd ff:ff:ff:ff:ff:ffOffline
error: failed retrieving file 'npm-10.0.0-1-any.pkg.tar.zst' from m.lqy.me : The requested URL returned error: 404No it does not?
npm is currently at 10.1.0-1 and the 404 only informs you that what you're trying to download (an older version of npm) doesn't exist.
pacman -Syu npmOffline
Thanks, it installs now. I thought I did an update first but I guess not. But why does it make the network get broken and how can I get it back working without a reboot?
Offline
What makes you think that the network "broke"?
Nothing in your OP suggests anything like that.
404 is a message from the server that you're looking for data that it doesn't have, but you do talk to the server. Your network works fine at that moment.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1