Re: powerpill reborn: pacman wrapper for faster downloads

That problem is fixed but now I have found another bug in aria2c

Basically, the "--continue" option is required to avoid redundant downloads, but enabling it with "--split" generates invalid range headers from most servers. For now I have disabled splitting and enabled continue. Update the package and merge the aria2/args changes from the new powerpill.json file. Let me know if it works as expected.

Re: powerpill reborn: pacman wrapper for faster downloads

Re: powerpill reborn: pacman wrapper for faster downloads

The range header errors were due to a regression upstream. The dev sent me a patch. You can find an updated PKGBUILD with the patch here if you do not want to wait for the upstream release. Rebuild and edit powerpill.json to re-enable splitting.

Re: powerpill reborn: pacman wrapper for faster downloads

Re: powerpill reborn: pacman wrapper for faster downloads

@XyneHave you noticed that when run -Sy, normally break any repository? Then I have to run -Syy to correct. It's a problem with aria2? Have you thought about leaving the pacman update repositories and powerpill only download them? I prefer powerpill doing all the work.

Re: powerpill reborn: pacman wrapper for faster downloads

@XyneHave you noticed that when run -Sy, normally break any repository? Then I have to run -Syy to correct. It's a problem with aria2?

Yes, I have noticed and yes, it is an aria2c bug. I'll try to figure out the right set of options for database downloads.

Have you thought about leaving the pacman update repositories and powerpill only download them? I prefer powerpill doing all the work.

I might add an option to use pacman internally for database downloads but I would rather just fix the current bug. If you prefer to use pacman then you can create an alias that runs "pacman -Sy; powerpill..".

but they do not exist. When I tested it, aria2c reported the same error on my system, but it continued to download packages. You should be able to ignore the error. Otherwise, change the SigLevel to "PackageRequired" for the official repos.

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
# SyncFirst = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel = Optional TrustedOnly
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[archlinuxfr]
Server = http://repo.archlinux.fr/$arch
SigLevel = Never
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Re: powerpill reborn: pacman wrapper for faster downloads

Hi silmaa,

It looks like a transient error. Either the Mirrorstatus server was not responding when you ran the command, or there was a problem with your internet connection. I have updated pm2ml to catch this error and print a warning instead of exiting, but the underlying problem is beyond my control. If you see the error often then you should check your connection.

Re: powerpill reborn: pacman wrapper for faster downloads

Your mirror(s) in /etc/pacman.conf are likely out of sync with the mirrors retrieved by reflector. You can do one of the following:

* Look at the Mirror Status page and select a mirror that matches the default Reflector options in /etc/powerpill/powerpill.json* Adjust the Reflector options to try to match your main mirrors.* Switch to an Rsync mirror.

Read the output of "reflector --help" to see the available Reflector options.