Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Invalid escape sequence error on AUR install #39

@rcorre

Description

@rcorre

Describe the Bug:
I tried to install pacback via yay -S pacback, and got the following error:

(1/1) installing pacback                                                          [###############################################] 100%
/usr/share/pacback/core/paf/linux.py:117: SyntaxWarning: invalid escape sequence '\$'
  return re.sub("(!| |\$|#|&|\"|\'|\(|\)|\||<|>|`|\\\|;)", r"\\\1", astr)
/usr/share/pacback/core/utils.py:84: SyntaxWarning: invalid escape sequence '\d'
  r = re.split("\d+-\d+|\d+(?:\.\d+)+|\d:\d+(?:\.\d+)+", p)[0]
Critical Error! Pacback Already Has An Active Session Running.
Optional dependencies for pacback
    pigz: Multithreaded de/compression of custom user files
:: Running post-transaction hooks...

It seemed to install. Note that I've never run or installed pacback before

Output of Command

  • Output sent to the user in terminal
  • Log output in /var/log/pacback.log
  • Config file in /etc/pacback/config

Machine (please fill in the following information):

  • Kernel Version: (uname -r): 6.13.2-arch1-1
  • Python Version: (python3 --version): Python 3.13.1
  • Python Rich Version (pacman -Q | grep python-rich): python-rich 13.9.4-3
  • Python Requests Version (pacman -Q | grep python-requests): python-requests 2.32.3-4
  • Pacback Version: (sudo pacback -v): Pacback Version: 2.1.0 PAF Version: 412fd69
  • Install Type: (pacback vs pacback-git): pacback

To Reproduce
Steps to reproduce the behavior:

  1. yay -S pacback

Expected behavior
No errors on install.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions