Is there a way to fix this error?

Lately, when I run sudo pacman -Syu, I get this message.

(3/4) Checking which packages need to be rebuilt
parallel: This should not happen. You have found a bug. Please follow
https://www.gnu.org/software/parallel/man.html#reporting-bugs

Include this in the report:

  • The version number: 20221022
  • The bugid: Cannot read /root/.parallel/tmp/sshlogin/arkeo/linelen
  • The command line being run
  • The files being read (put the files on a webserver if they are big)

If you get the error on smaller/fewer files, please include those instead.
(4/4) Updating the desktop file MIME type cache…

I understand that the error is caused by the /root/.parallel/tmp/sshlogin/arkeo/linelen which isn’t readable, although I can see it with sudo ls -als /root/.parallel/tmp/sshlogin/arkeo.

total 8
4 drwxr-xr-x 2 root root 4096 Oct  5 11:22 .
4 drwxr-xr-x 3 root root 4096 Oct  5 11:22 ..
0 -rw-r--r-- 1 root root    0 Oct  5 11:22 linelen

Is there a simple way to fix that error?

For example, if I edit that file to contain the console line length, would that be sufficient to avoid the error?
Is putting 134 sufficient to set the line length?

What is this GNU? :thinking: :laughing:

I know I can report the bug. I was wondering if a workaround could be as simple as editing a file. I know that wouldn’t fix the bug, but I wouldn’t see that error message, at least. :wink:

I’m not sure. Not familiar with this. :man_shrugging:

community/parallel 20221022-1 (319.8 KiB 817.2 KiB) (Installiert)
    A shell tool for executing jobs in parallel

So you are using this for something?
It is a dependency for rebuild-detector.
And can be used in many ways… not sure for what you set it up?

1 Like

I didn’t set it up. Actually, I thought that was an error every user who runs pacman -Syu would get.

When I install something from AUR, I don’t remove the build dependencies. Could that be a build dependency used from an AUR package?

I checked with yay -Qi parallel why it was installed.

Name            : parallel
Version         : 20221022-1
Description     : A shell tool for executing jobs in parallel
Architecture    : any
URL             : https://www.gnu.org/software/parallel/
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : perl  procps
Optional Deps   : None
Required By     : rebuild-detector
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 817.23 KiB
Packager        : George Rawlinson <grawlinson@archlinux.org>
Build Date      : Sun 23 Oct 2022 12:36:06 AM CEST
Install Date    : Tue 01 Nov 2022 09:01:10 PM CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

yay -Qi rebuild-detector got me the following.

Name            : rebuild-detector
Version         : 4.4.1-2
Description     : Detects which packages need to be rebuilt
Architecture    : any
URL             : https://github.com/maximbaz/rebuild-detector
Licenses        : ISC
Groups          : None
Provides        : None
Depends On      : parallel  pacutils  pacman-contrib
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 6.12 KiB
Packager        : Maxim Baz <maximbaz@archlinux.org>
Build Date      : Fri 25 Feb 2022 10:14:11 AM CET
Install Date    : Mon 03 Oct 2022 07:12:02 PM CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

So, it was a dependency of rebuild-detector I installed without understanding it runs every time I update packages.

I removed it with yay -Rs rebuild-detector.

rebuild-detector
is installed per default … to give some info in case about packages that needs rebuilding:

it does not give any error here on several installs… so I was assuming you set something up…

I started getting that error three/four days ago; before, I was getting only a message about pacman which was checking which Perl modules had to be updated.

I haven’t installed anything new, these days. I just keep updating EOS with yay -Syu.

Your previous reply helped me to understand it’s not an error caused by pacman but by a tool that “hooks” into pacman. Without that tool, att least, I can run pacman -Syu or yay -Syu without seeing that message error.
I will reinstall rebuild-detector later.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.