If $XDG_CONFIG_HOME/aria2/nf does not yet exist and you wish to simplify the management of configuration options: The following example does not use the default configuration file and downloads using the options specified in the configuration file /file/aria2.rapidshare $ aria2c -no-conf -conf-path=/file/aria2.rapidshare If $XDG_CONFIG_HOME/aria2/nf exists and the options specified in /file/aria2.rapidshare are desired, the -no-conf switch must be appended to the command: The following example downloads using the options specified in the configuration file /file/aria2.rapidshare $ aria2c -conf-path=/file/aria2.rapidshare This behavior can be modified with the -conf-path switch: To use aria2 as a daemon, you can write a systemd user unit.Īria2 looks at $XDG_CONFIG_HOME/aria2/nf for a set of global configuration options by default. aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces. It supports HTTP/ HTTPS, FTP, BitTorrent and Metalink. 05:09:59 ERROR - exception: Failed to open the file ///var/lib/pacman/community.db.tar.gz.Aria2 is a lightweight multi-protocol & multi-source command-line download utility. 05:09:59 ERROR - CUID#4 - Download aborted. 05:09:59 NOTICE - Download complete: ///var/lib/pacman/extra.db.tar.gz.part 05:09:54 ERROR - exception: Failed to open the file ///var/lib/pacman/core.db.tar.gz.part, cause: File not foundĮrror: could not open /var/lib/pacman/core.db.tar.gz: Failed to open '/var/lib/pacman/core.db.tar.gz': No such file or directoryĮrror: failed to update core (unexpected system error) 05:09:54 ERROR - CUID#4 - Download aborted. immediately following that I changed nf to un-comment the aria2 line and re-ran pac -Syu As you can see, now it just says it has a problem finding the file.īut. Here is the results of aria2 after I removed the -s 2 flag. 04:45:23 ERROR - exception: Failed to open the file ///var/lib/pacman/community.db.tar.gz.part, cause: File not foundĮrror: could not open /var/lib/pacman/community.db.tar.gz: Failed to open '/var/lib/pacman/community.db.tar.gz': No such file or directoryĮrror: failed to update community (unexpected system error) 04:45:23 ERROR - CUID#4 - Download aborted. 04:45:22 NOTICE - Download complete: ///var/lib/pacman/extra.db.tar.gz.part 04:45:18 NOTICE - Download complete: ///var/lib/pacman/core.db.tar.gz.part 20:09:36 ERROR - exception: Failed to accept a peer connection, cause: Resource temporarily unavailable 20:09:36 ERROR - CUID#5 - Download aborted. 20:09:33 ERROR - exception: Failed to accept a peer connection, cause: Resource temporarily unavailable 20:09:33 ERROR - CUID#4 - Download aborted. 20:09:32 NOTICE - Download complete: ///var/lib/pacman/extra.db.tar.gz.part 20:09:27 NOTICE - Download complete: ///var/lib/pacman/core.db.tar.gz.part 20:07:40 NOTICE - Download complete: ///var/lib/pacman/community.db.tar.gz.partġ|OK |///var/lib/pacman/community.db.tar.gz.part 20:07:35 ERROR - exception: Failed to accept a peer connection, cause: Resource temporarily unavailable ![]() 20:07:35 ERROR - CUID#4 - Download aborted. 20:07:34 NOTICE - Download complete: ///var/lib/pacman/extra.db.tar.gz.partġ|OK |///var/lib/pacman/extra.db.tar.gz.part 20:07:29 NOTICE - Download complete: ///var/lib/pacman/core.db.tar.gz.partġ|OK |///var/lib/pacman/core.db.tar.gz.part # tips on creating your own repositories. # An example of a custom package repository. # Add your preferred servers here, they will be used first # have identical names, regardless of version number # - repositories listed first will take precedence when packages # - local/custom mirrors can be added here or in separate files # - pacman will search repositories in the order defined here # - can be defined here or included from another file #XferCommand = /usr/bin/aria2c -s 2 -m 2 -d / -o %o %u #XferCommand = /usr/bin/axel -n 3 -o %o %u #XferCommand = /usr/bin/wget -passive-ftp -c -O %o %u # See the pacman manpage for option directives It works sometimes and other times it don't. I have no idea how to run it with -l switch, since pacman uses aria2, not me. ![]() This is completely annoying now, next step is to uninstall aria2 because it doesn't work. This is straight copy and paste, I didn't change later the output of the terminal at all. ![]() I issued these two identical commands back to back in a terminal window, within seconds of each other once it worked the second time it didn't. Check the log.Īria2 will resume download if the transfer is restarted.Įrror: failed to synchronize any databases Some downloads were not complete because of errors. 05:38:47 ERROR - exception: Failed to accept a peer connection, cause: Resource temporarily unavailable 05:38:47 ERROR - CUID#4 - Download aborted.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |