-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning on apt-fast.config file while reconfigure apt-fast #102
Comments
hi, can you put it in the code braces?
|
I think this has to do with PPA/.deb packaging rather than the code on this repo, @saiarcot895 is who I would refer this to |
So this has just always been a thing that I ignored while using apt-fast, but after trying to install today on Kubuntu 17.10, it's outright preventing me from using apt-fast at all. Maybe it's more strict about illegal regex? Anyway, while attempting to fix this, I've run into multiple issues: |
Thank you for reporting this issue and providing a fix. I updated the apt-fast/stable PPA with the current version and fixed this issue in the config file. |
Hi,
Dont know if I am in the right place but...
When you run dpkg-reconfigure on apt-fast version 1.8.3
137+git7b72bb7-0ubuntu1ppa3 (on willy and xenial) wich is on https://launchpad.net/~saiarcot895 ppa you have this warning at the end of the reconfiguring:Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/${ <-- HERE _MAXNUM}/ at /var/lib/dpkg/info/apt-fast.config line 205."
The original line is:
if ($downloadcmd =~ /${_MAXNUM}/){
But it can be replaced by
if ($downloadcmd =~ /${_MAXNUM}/){
and the regex warning will disapear.Edit: I'm sorry but I don't know why but the corrected code don't appear even in the brace, so I put space to see it:
if ($downloadcmd =~ /$ \ <-- HERE {_MAXNUM}/){
The text was updated successfully, but these errors were encountered: