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

Paru returns 141 as exit code after showing PKGBUILD (exit less with q) #1228

Open
PD-Kerman opened this issue Aug 4, 2024 · 1 comment
Open

Comments

@PD-Kerman
Copy link

Affected Version

paru v2.0.3 +git - libalpm v14.0.0

Description

yes, and there wasnt even any infos about returing error code 141

Output

Include the FULL output of any relevant commands/configs
image

[0][~]
% paru firefox-vaapi      
1 aur/firefox-vaapi 127.0.2-1 [+11 ~0.69]
    Fast, Private & Safe Web Browser (with VA-API 
    patches)
:: Packages to install (eg: 1 2 3, 1-3):
:: 1
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1) firefox-vaapi-127.0.2-1

:: Proceed to review? [Y/n]: Y

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
[141][~]
% 

paru.conf

#
# $PARU_CONF
# /etc/paru.conf
# ~/.config/paru/paru.conf
#
# See the paru.conf(5) manpage for options

#
# GENERAL OPTIONS
#
[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
#AurOnly
#BottomUp
#RemoveMake
#SudoLoop
#UseAsk
#SaveChanges
#CombinedUpgrade
#CleanAfter
#UpgradeMenu
#NewsOnUpgrade

#LocalRepo
#Chroot
#Sign
#SignDb
#KeepRepoCache

#
# Binary OPTIONS
#
#[bin]
#FileManager = vifm
#MFlags = --skippgpcheck
#Sudo = doas

Description/Behavior

  1. use paru <package_name> to install some random packages
  2. after some terminal flushes (dependencies checkings something like that)
  3. The :: Proceed to review? [Y/n]: Y pops up and u choose Y to proceed the installation with checking the PKGBUILD for that specific package
  4. Use q to exit the PKGBUILD checking session (less)
  5. and the whole paru installation just aborted without any warnings/error as shown in the output

Solutions I've tried (but didnt help):

  1. reinstalling less with sudo pacman -Sy less and/or sudo pacman -Rdns less && sudo pacman -Sy less
  2. reinstalling paru

Temporary workaround I'm using rn:

Adding SkipReview in the end of the file/etc/paru.conf

@PD-Kerman PD-Kerman changed the title Paru returns 141 as exit code showing PKGBUILD (exit less with q) Paru returns 141 as exit code after showing PKGBUILD (exit less with q) Aug 4, 2024
@Morganamilo
Copy link
Owner

141 would be a sigpipe. Paru does have code to handle that so it shouldn't be happening. I can't reproduce it on my side so I don't think I can debug this. If you know of anything I could do to reproduce it let me know.

Also you can set ParuPager = cat as a less severe workaround than SkipReview.

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

2 participants