Skip to content
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

Can't install on Ubuntu 17.10 from PPA #132

Closed
francogp opened this issue Oct 20, 2017 · 6 comments
Closed

Can't install on Ubuntu 17.10 from PPA #132

francogp opened this issue Oct 20, 2017 · 6 comments
Assignees

Comments

@francogp
Copy link

francogp commented Oct 20, 2017

Using ppa, the config files cancel the installation process because of errors in it.
Configurando apt-fast (1.8.3~144+git3a6bd77-0ubuntu1~ppa4) ... Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE _MAXNUM}/ at /var/lib/dpkg/info/apt-fast.config line 212.

@fcastilloec
Copy link

+1

@francogp francogp changed the title Can't install in Ubuntu 17.10 Can't install on Ubuntu 17.10 Oct 24, 2017
@francogp francogp changed the title Can't install on Ubuntu 17.10 Can't install on Ubuntu 17.10 from PPA Oct 25, 2017
@fuelflo
Copy link

fuelflo commented Oct 27, 2017

+1

@rlineros
Copy link

I also have the same problem when installing apt-fast via PPA in Ubuntu 17.10. Here it is the output:

Setting up apt-fast (1.8.3~144+git3a6bd77-0ubuntu1~ppa4) ...
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE _MAXNUM}/ at /var/lib/dpkg/info/apt-fast.config line 212.
dpkg: error processing package apt-fast (--configure):
 subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
 apt-fast
E: Sub-process /usr/bin/dpkg returned an error code (1)

@necromuralist
Copy link

It'd be nice if this got fixed, but in case anyone is blocked by this - you can open the /var/lib/dpkg/info/apt-fast.config file (as root) and add a backslash to line 212. i.e. change this:

if ($downloadcmd =~ /\${_MAXNUM}/){

To this:

if ($downloadcmd =~ /\$\{_MAXNUM}/){

(add a backslash between the $ and the {). Then the install should work.

@rlineros
Copy link

Perfect.
I confirm that by editing /var/lib/dpkg/info/apt-fast.config with the indications of @necromuralist the installation problem gets fixed.
Thanks.

@Lasall Lasall self-assigned this Oct 29, 2017
@Lasall
Copy link
Collaborator

Lasall commented Oct 29, 2017

Duplicate of #102

@Lasall Lasall marked this as a duplicate of #102 Oct 29, 2017
@Lasall Lasall closed this as completed Oct 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants