Cannot install sogou pinyin via AUR

Cannot install sogou pinyin via AUR. Error message. I am using Linux Mint now. Willing to switch back to manjaro-i3 if only I could install sogou pinyin…

Welcome to the forum! :vulcan_salute:

Well, I’m sorry, but without the verbatim error message, nobody here is going to be able to help you. We need to see that error message in order to understand what went wrong. :man_shrugging:

3 Likes

Asking for help with running Games

Before asking for help about running Games on Manjaro, we usually ask members to see the pinned topic in the Gaming category:

As the article suggests:


Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements, and the many ways to use the forum to your benefit:


Update Announcements

The Update Announcements contain important information and a Known Issues and Solutions section that should generally be checked before posting a request for support.

System Information

While information from *-fetch type apps might be fine for someone wishing to buy your computer, for Support purposes more indepth information is usually needed;

It’s best to ask your system directly. :eyes:

Output of the inxi command with appropriate parameters will achieve this (naturally, formatted according to forum requirements) and will generally be more useful for those wishing to help:

inxi --filter --verbosity=8

or the short form:

inxi -zv8

Be prepared to provide output from other commands whenever asked. It’s equally important to provide as much actionable information as possible in your first post, rather than simply indicating there is a problem.

Highly Recommended
Technical Resources

1 Like

Roger that. Would go install manjaro-i3 on my spare notebook asap, and then try to install sogou pinyin, and copy and paste the error message here… o7

It’s a Chinese input package. A popular Chinese input software. Used to be able to install it via AUR at manjaro-i3. It just no longer able to recently (a few weeks ago when I try and then I switch to linux mint 22.1).

I know what, just boot up the manjaro usb stick and try and install the software, and copy and paste the error message here…

Did you know?

You can quote and edit your messages and add text instead of creating multiple posts. This style is preferred here in the forum.

2 Likes

But which package? There are several packages with the words “sogou” and “pinyin” in their name. Some of them have not been maintained anymore since 2023, while some others were still updated late 2024.

2 Likes
"Preparing...
Cloning fcitx-sogoupinyin build files...
Generating fcitx-sogoupinyin information...
Checking fcitx-sogoupinyin dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building fcitx-sogoupinyin...
==> Making package: fcitx-sogoupinyin 4.2.1.145-1 (Sun 20 Apr 2025 05:32:54 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
==> Retrieving sources...
  -> Found sogoupinyin_4.2.1.145_amd64.deb
==> Validating source files with sha256sums...
    sogoupinyin_4.2.1.145_amd64.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build fcitx-sogoupinyin"

YES! The above is the error message been haunting me for a few ‘trials’ in solving the problem, and end up I gave up and switch to Linux Mint/ Ubuntu. But I really enjoy my previous months of using manjaro-i3, love the yay software. So I am thinking of giving it one more try, if I could install this fcitx-sogoupinyin software successfully…

In the months of using manjaro-i3, I had install this fcitx-sogoupinyin, no problem at all. Although it takes some time to ‘compile’ when I try to install it via AUR. And, somehow this package just broken. And I can’t reinstall or install it again…

that particular AUR package was last updated two years ago.

last comments on it from 9 years ago - from 2016

Personally, I can’t read the glyphs - I can’t read chinese or whatever these represent.

so:
the linked to upstream URL doesn’t help me to even begin to understand the problem you have

I simply can’t read the language …

1 Like

This means that the file sogoupinyin_4.2.1.145_amd64.deb — which is a Debian package — is corrupt, or that its accompanying sha256sum is incorrect.

There is an alternative manner of getting it installed, though, but there is no guarantee that this will work.

It’s a two-step process. First, you must fetch the sogoupinyin_4.2.1.145_amd64.deb package from this website, and then you must install debtap from the AUR, which will allow you to convert the Debian package into an Arch package.

2 Likes

Okay, I will go try it out asap, booting into manjaro-i3 environment, and then follow your instruction, convert that debian package into an arch package…

Had tried to convert, but the debtap ask me to run debtap -u as root at least once, and I did. But when i try to debtap it ask me to run as root, debtap -u, again. So yea…

using debtap requires some knowledge about the structure of .deb packages
and how this would be translated into an equivalent Arch package.

It is not “automatic” by any means.

1 Like

K. I think I will just stay put stick to my current distro then until I have a better grasp in Linux knowledge. Thank you all! Thumbs up.

Should I click the solution as solved? Because it kind of ‘solved’ for me. The direction is clear for me from here, it’s out of my league this problem. I should give up in solving this problem until I have a better understanding of knowledge about the structure of debian package, which I don’t have…

Nothing is really solved.
Don’t give a solution. … as there is none (for you).

1 Like

Okay, I will just leave it as it is. Hopefully one day, this package could be install ‘automatically’ again, without much tweaking.

No need for any of that. FYI, debtap is not recommended and should be a last resort.

@advnoob:

Make sure you’re up to date:

sudo pacman -Syu

Make sure you have the prerequisites for using the AUR installed:

sudo pacman -S --needed base-devel git

Clone the AUR package:

git clone https://aur.archlinux.org/fcitx-sogoupinyin.git
cd fcitx-sogoupinyin

Update the checksums:

makepkg -g

Finally, build and install the package:

makepkg -srif
3 Likes

Having had a look at the various packages available, the OP might also want to consider installing fcitx5-sogou, which relies on fcitx5, rather than the older fcitx-sogoupinyin, which relies on fcitx v4.

AUR links:

I just successfully built & installed fcitx5-sogou from the AUR via Pamac’s GUI on my Testing branch machine - it only took a few seconds:

fcitx5-sogou build process
Preparing...
Checking fcitx5-sogou dependencies...
Resolving dependencies...
Checking inter-conflicts...
Cloning fcitx5-sogou build files...
Generating fcitx5-sogou information...
Download of chrpath (0.17-1) started
Download of chrpath (0.17-1) finished
Download of xcb-imdkit (1.0.9-1) finished
Download of fcitx5 (5.1.12-1) finished
Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing xcb-imdkit (1.0.9-1)...
Installing fcitx5 (5.1.12-1)...
Installing chrpath (0.17-1)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Updating icon theme caches...
Updating the desktop file MIME type cache...

Building fcitx5-sogou...
==> Making package: fcitx5-sogou 10.0.9.0.6-2 (Mon 21 Apr 2025 09:51:28)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading cpis-base_10.0.9.0.6-202311280935_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  3 91.2M    3 3189k    0     0  2195k      0  0:00:42  0:00:01  0:00:41 2194k
 15 91.2M   15 14.3M    0     0  6004k      0  0:00:15  0:00:02  0:00:13 6002k
 28 91.2M   28 25.6M    0     0  7606k      0  0:00:12  0:00:03  0:00:09 7605k
 40 91.2M   40 36.8M    0     0  8486k      0  0:00:11  0:00:04  0:00:07 8484k
 52 91.2M   52 48.1M    0     0  9042k      0  0:00:10  0:00:05  0:00:05 11.1M
 64 91.2M   64 59.2M    0     0  9399k      0  0:00:09  0:00:06  0:00:03 11.2M
 76 91.2M   76 69.9M    0     0  9615k      0  0:00:09  0:00:07  0:00:02 11.1M
 88 91.2M   88 80.4M    0     0  9741k      0  0:00:09  0:00:08  0:00:01 10.9M
100 91.2M  100 91.2M    0     0  9902k      0  0:00:09  0:00:09 --:--:-- 10.9M
  -> Downloading sogou-ime-ng-cpis-dict-keyboard-chs-pcpy_10.0.1-48.1_all.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
 63 15.2M   63 9835k    0     0  4886k      0  0:00:03  0:00:02  0:00:01 4888k
100 15.2M  100 15.2M    0     0  6212k      0  0:00:02  0:00:02 --:--:-- 6212k
  -> Downloading sogou-ime-ng-cpis-dict-keyboard-chs-pcwb_10.0.1-48.1_all.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0 5152k    0  2115    0     0   2344      0  0:37:31 --:--:--  0:37:31  2342
100 5152k  100 5152k    0     0  3649k      0  0:00:01  0:00:01 --:--:-- 3651k
  -> Downloading sogou-ime-ng-cpis-dict-keyboard-multilingual-pcen_10.0.1-48.1_all.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 47 9500k   47 4527k    0     0  4353k      0  0:00:02  0:00:01  0:00:01 4353k
100 9500k  100 9500k    0     0  6461k      0  0:00:01  0:00:01 --:--:-- 6458k
  -> Downloading sogou-ime-ng-cpis-user-default-profile_10.0.1-48.1_all.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
100  5960  100  5960    0     0    525      0  0:00:11  0:00:11 --:--:--  1399
  -> Downloading sogou-ime-ng-fcitx5-kylin-desktop_10.0.9.0.6-20231128000607_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 26  8410   26  2246    0     0   2503      0  0:00:03 --:--:--  0:00:03  2501
100  8410  100  8410    0     0   9355      0 --:--:-- --:--:-- --:--:--  9354
  -> Downloading sogou-ime-ng_10.0.9.0.6-20231128000607_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 26 12.8M   26 3490k    0     0  2712k      0  0:00:04  0:00:01  0:00:03 2711k
100 12.8M  100 12.8M    0     0  6111k      0  0:00:02  0:00:02 --:--:-- 6114k
==> Validating source files with sha256sums...
    cpis-base_10.0.9.0.6-202311280935_amd64.deb ... Passed
    sogou-ime-ng-cpis-dict-keyboard-chs-pcpy_10.0.1-48.1_all.deb ... Passed
    sogou-ime-ng-cpis-dict-keyboard-chs-pcwb_10.0.1-48.1_all.deb ... Passed
    sogou-ime-ng-cpis-dict-keyboard-multilingual-pcen_10.0.1-48.1_all.deb ... Passed
    sogou-ime-ng-cpis-user-default-profile_10.0.1-48.1_all.deb ... Passed
    sogou-ime-ng-fcitx5-kylin-desktop_10.0.9.0.6-20231128000607_amd64.deb ... Passed
    sogou-ime-ng_10.0.9.0.6-20231128000607_amd64.deb ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
libfakeroot internal error: payload not recognized!
==> Checking for packaging issues...
==> Creating package "fcitx5-sogou"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
bsdtar: usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/古诗词名句【官方推荐】.scel: Can't translate pathname 'usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/古诗词名句【官方推荐】.scel' to UTF-8
bsdtar: usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/成语俗语【官方推荐】.scel: Can't translate pathname 'usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/成语俗语【官方推荐】.scel' to UTF-8
bsdtar: usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/政府机关团体机构大全【官方推荐】.scel: Can't translate pathname 'usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/政府机关团体机构大全【官方推荐】.scel' to UTF-8
bsdtar: usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/行政地区.scel: Can't translate pathname 'usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/行政地区.scel' to UTF-8
bsdtar: usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/计算机词汇大全【官方推荐】.scel: Can't translate pathname 'usr/share/cpis/dict/sogou/keyboard/chinese/pcpy/scd/计算机词汇大全【官方推荐】.scel' to UTF-8
==> Leaving fakeroot environment.
==> Finished making: fcitx5-sogou 10.0.9.0.6-2 (Mon 21 Apr 2025 09:52:08)
==> Cleaning up...

Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing fcitx5-sogou (10.0.9.0.6-2)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Updating icon theme caches...
Transaction successfully finished.

Here are the full details of the fcitx5-sogou package:

pamac info fcitx5-sogou
pamac info fcitx5-sogou 
Name                  : fcitx5-sogou
Version               : 10.0.9.0.6-2
Description           : Sogou Pinyin for Linux
URL                   : https://shurufa.sogou.com/linux
Licenses              : custom
Repository            : AUR
Installed Size        : 320.3 MB
Groups                : --
Depends On            : fcitx5 hicolor-icon-theme glibc gcc-libs qt5-base openal libx11 libxtst systemd-libs gtk3
                        gdk-pixbuf2 glib2 dbus cairo curl
Optional Dependencies : kcm-fcitx5
Make Dependencies     : chrpath
Check Dependencies    : --
Required By           : --
Optional For          : --
Provides              : --
Replaces              : --
Conflicts With        : --
Packager              : Unknown Packager
Maintainer            : a645162
First Submitted       : Sun 24 Sep 2023 03:14:50
Last Modified         : Tue 31 Dec 2024 20:19:33
Votes                 : 4
Out of Date           : --
Build Date            : Mon 21 Apr 2025 09:51:28
Install Date          : Mon 21 Apr 2025 09:52:09
Install Reason        : Explicitly installed
Validated By          : None
Backup files          : --
2 Likes

Thanks! Would try and install manjaro on my spare notebook and try it out asap!

I might have try it before. But there’s no input option for sogoupinyin when I try to configure the fcitx input system via fcitx config. Would check it out the method again, but first I would go install manjaro i3 on my spare notebook. Cheers!

1 Like

You need to install the fcitx5-configtool package to configure fcitx5. Probably the best thing to do if you replace fcitx with fcitx5 is run the command:

pamac search -i fcitx

to see what packages you currently have installed. You may need to replace some of them with their fcitx5 versions.

Had installed fcitx5-sogou, and the fcitx5-configtool. But the input selection, there’s no sogoupinyin to be found. Only sogou ime ng for kylin is the closest to sogoupinyin. But when I hit ctrl space to bring up the sogou input (sogou ime ng for kylin), nothing comes up. I mean, there’s no Chinese characters to choose from… I did reboot after all the installation of fcitx5 packages…

After the last command “makepkg -srif”, here’s the error message:

==> Validating source files with sha256sums...
    sogoupinyin_4.2.1.145_amd64.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!

Installing the latest kernel 6.14, see how it goes…