You are not logged in.

#1 2020-09-29 22:02:32

lnxpy
Member
Registered: 2020-09-29
Posts: 8

Having Trouble with Pacman Packages on Arch

It's about a few months that I've forgotten to update my Arch system. I've changed some packages, deleted some files manually, and installed some new packages. Now, I'm in trouble with some packages and dependencies. Before that, every time I was updating my system, an error related to the Python packages appeared up. (Not sure, I think that was about missing some dependency packages)

It's about a month I'm getting this error when I start an application in the Terminal. (Does not appear anything by starting visually)

telegram-desktop: error while loading shared libraries: libicui18n.so.67: cannot open shared object file: No such file or directory.

Not only the telegram-desktop package, but also I've already installed some other packages including qpdfview, FBReader, CoolReader3, and Bookworm and they show up the above error. I think I need a huge change in my packages. I need a way to update all those packages and download the missing dependencies, what's more, I need to clean up my system. I guess reinstalling the Arch Linux goes to be a solution but the worst one. Is there any other way to do that using Pacman?

Last edited by lnxpy (2020-09-29 22:05:04)

Offline

#2 2020-09-29 22:19:21

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Having Trouble with Pacman Packages on Arch

Please post the output of the following also with the full contents of /var/log/pacman.log.

pacman -Qikk icu
pacman -Qo /usr/lib/libicui18n.so

Offline

#3 2020-09-29 22:23:41

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: Having Trouble with Pacman Packages on Arch

Offline

#4 2020-09-29 22:28:23

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Having Trouble with Pacman Packages on Arch

@d_fajardo I think this is different as libicui18n.so.67 is the version supplied by the current package in core.

Offline

#5 2020-09-29 22:30:02

lnxpy
Member
Registered: 2020-09-29
Posts: 8

Re: Having Trouble with Pacman Packages on Arch

Here is the output of those commands:

➜  /tmp  pacman -Qikk icu                 
Name            : icu
Version         : 65.1-3
Description     : International Components for Unicode library
Architecture    : x86_64
URL             : http://site.icu-project.org/home
Licenses        : custom:icu
Groups          : None
Provides        : None
Depends On      : gcc-libs  sh
Optional Deps   : None
Required By     : gnustep-base  harfbuzz-icu  libical  libxml2  postgresql
                  texlive-bin  unarchiver  xfsprogs
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 36.91 MiB
Packager        : Evangelos Foutras <evangelos@foutrelis.com>
Build Date      : Tue 25 Feb 2020 02:18:49 AM +0330
Install Date    : Mon 16 Mar 2020 05:30:34 PM +0330
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

icu: 266 total files, 0 altered files
➜  /tmp  pacman -Qo /usr/lib/libicui18n.so
/usr/lib/libicui18n.so is owned by icu 65.1-3
➜  /tmp

Now, I'm updating my packages with the following command:

➜  /tmp sudo pacman -Syu

NOTE: I've canceled the updating process for several times in the past.

Last edited by lnxpy (2020-09-29 22:35:10)

Offline

#6 2020-09-29 22:34:40

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Having Trouble with Pacman Packages on Arch

Please post the full contents of /var/log/pacman.log see the tip box from List_of_applications#Pastebin_clients to post the output directly to a pastebin.
Also the output of:

pacman-conf

Offline

#7 2020-09-29 22:40:02

lnxpy
Member
Registered: 2020-09-29
Posts: 8

Re: Having Trouble with Pacman Packages on Arch

Here is the content of /var/log/pacman.log.
http://ix.io/2zda

And here is the output of the command.
http://ix.io/2zdb

Offline

#8 2020-09-29 22:52:54

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Having Trouble with Pacman Packages on Arch

[2020-09-28T23:59:29+0330] [PACMAN] Running 'pacman -Sy icu lib32-icu'

Partial upgrades are unsupported.
Why did you execute the above command?

[2020-09-30T00:23:43+0330] [PACMAN] Running 'pacman -Syu'
[2020-09-30T00:23:43+0330] [PACMAN] synchronizing package lists
[2020-09-30T00:24:24+0330] [PACMAN] starting full system upgrade

Why did the full system upgrade not run?

[2020-09-22T13:11:05+0330] [PACMAN] Running 'pacman -Syu'
[2020-09-22T13:11:05+0330] [PACMAN] synchronizing package lists
[2020-09-22T13:11:07+0330] [PACMAN] starting full system upgrade
...
[2020-09-22T13:16:05+0330] [PACMAN] Running 'pacman -Syy'
[2020-09-22T13:16:05+0330] [PACMAN] synchronizing package lists
[2020-09-22T13:16:25+0330] [PACMAN] Running 'pacman -Scc'
[2020-09-22T13:16:34+0330] [PACMAN] Running 'pacman -Suu'
[2020-09-22T13:16:34+0330] [PACMAN] starting full system upgrade
[2020-09-22T13:17:48+0330] [PACMAN] Running 'pacman -Rsn apparmor granite gtkspell3 squashfs-tools'
[2020-09-22T13:48:00+0330] [PACMAN] Running 'pacman -Scc'
[2020-09-22T13:48:13+0330] [PACMAN] Running 'pacman -Syy'
[2020-09-22T13:48:13+0330] [PACMAN] synchronizing package lists
[2020-09-23T10:09:19+0330] [PACMAN] Running 'pacman -S telegram-desktop'
[2020-09-23T10:10:34+0330] [ALPM] transaction started
[2020-09-23T10:10:34+0330] [ALPM] installed openal (1.20.1-2)
[2020-09-23T10:10:34+0330] [ALPM] installed tslib (1.22-1)
[2020-09-23T10:10:34+0330] [ALPM] installed double-conversion (3.1.5-2)
[2020-09-23T10:10:34+0330] [ALPM] installed md4c (0.4.5-1)
[2020-09-23T10:10:35+0330] [ALPM] installed qt5-base (5.15.1-1)
[2020-09-23T10:10:35+0330] [ALPM] installed libmng (2.0.3-3)
[2020-09-23T10:10:35+0330] [ALPM] installed qt5-imageformats (5.15.1-1)
[2020-09-23T10:10:35+0330] [ALPM] installed xxhash (0.8.0-1)
[2020-09-23T10:10:35+0330] [ALPM] installed libdbusmenu-qt5 (0.9.3+16.04.20160218-5)
[2020-09-23T10:10:35+0330] [ALPM] installed qt5-declarative (5.15.1-1)
[2020-09-23T10:10:35+0330] [ALPM] installed qt5-wayland (5.15.1-1)
[2020-09-23T10:10:36+0330] [ALPM] installed telegram-desktop (2.3.2-2)
[2020-09-23T10:10:36+0330] [ALPM] transaction completed
[2020-09-23T10:10:36+0330] [ALPM] running '30-systemd-update.hook'...
[2020-09-23T10:10:36+0330] [ALPM] running 'gtk-update-icon-cache.hook'...
[2020-09-23T10:10:37+0330] [ALPM] running 'update-desktop-database.hook'...

I can not find any succesful pacman -Syu running to completion in pacman.log.

Offline

#9 2020-09-29 22:56:39

lnxpy
Member
Registered: 2020-09-29
Posts: 8

Re: Having Trouble with Pacman Packages on Arch

As I mentioned, I canceled this process for several times. (Which is terrifying)
For now, It's in the process. I'm updating my packages. I'm not sure if it works..!
What do you think?

Last edited by lnxpy (2020-09-29 22:58:00)

Offline

#10 2020-09-29 23:00:49

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Having Trouble with Pacman Packages on Arch

So far everything can be explained by your repeated use of partial upgrades.  Every pacman -Syu you cancelled is a partial upgrade.
It does explain why there were no full system upgrades in pacman.log.

Last edited by loqs (2020-09-29 23:01:01)

Offline

#11 2020-09-29 23:09:25

lnxpy
Member
Registered: 2020-09-29
Posts: 8

Re: Having Trouble with Pacman Packages on Arch

The updating process completed. This error showed. (refer to the end of the snippet)
https://paste.ubuntu.ir/jcgv

Offline

#12 2020-09-29 23:17:10

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Having Trouble with Pacman Packages on Arch

:: File /var/cache/pacman/pkg/lightdm-webkit2-greeter-2.2.5-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded. 

What is the output of

pacman -Qi archlinux-keyring
pacman-key --list-keys 3DCE51D60930EBA47858BA4146F633CBB0EB4BF2

Offline

#13 2020-09-29 23:18:29

lnxpy
Member
Registered: 2020-09-29
Posts: 8

Re: Having Trouble with Pacman Packages on Arch

➜  ~  pacman -Qi archlinux-keyring
Name            : archlinux-keyring
Version         : 20200108-1
Description     : Arch Linux PGP keyring
Architecture    : any
URL             : https://projects.archlinux.org/archlinux-keyring.git/
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : pacman
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1222.54 KiB
Packager        : Christian Hesse <arch@eworm.de>
Build Date      : Wed 08 Jan 2020 05:20:28 PM +0330
Install Date    : Fri 13 Mar 2020 07:02:09 PM +0330
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature

➜  ~  pacman-key --list-keys 3DCE51D60930EBA47858BA4146F633CBB0EB4BF2
gpg: Note: trustdb not writable
pub   rsa4096 2018-04-18 [SC] [expires: 2023-04-17]
      3DCE51D60930EBA47858BA4146F633CBB0EB4BF2
uid           [  full  ] Filipe Laíns (FFY00) <lains@archlinux.org>
uid           [  full  ] Filipe Laíns (FFY00) <lains@aurorafoss.org>
uid           [  full  ] Filipe Laíns (FFY00) <filipe.lains@gmail.com>
sub   rsa4096 2018-04-18 [E] [expires: 2023-04-17]
sub   rsa4096 2019-10-13 [A] [expires: 2021-10-12]

Offline

#14 2020-09-29 23:19:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Having Trouble with Pacman Packages on Arch

Update (install) the archlinux-keyring package first.

Offline

#15 2020-09-30 10:03:47

lnxpy
Member
Registered: 2020-09-29
Posts: 8

Re: Having Trouble with Pacman Packages on Arch

I've cleared the cache history and tried to upgrade the system but the following error appears.

error: failed to commit transaction (conflicting files)
nss: /usr/lib/p11-kit-trust.so exists in filesystem
python-filelock: /usr/lib/python3.8/site-packages/__pycache__/filelock.cpython-38.pyc exists in filesystem
python-filelock: /usr/lib/python3.8/site-packages/filelock.py exists in filesystem
Errors occurred, no packages were upgraded.

Offline

#16 2020-09-30 10:48:09

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: Having Trouble with Pacman Packages on Arch

Offline

#17 2020-09-30 11:49:27

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Having Trouble with Pacman Packages on Arch

Aside from running full updates, you should also be updating in a timely manner and paying attention to the news: https://www.archlinux.org/news/nss3511- … ervention/

If you are unable or unwilling to do this, perhaps Arch is not the right distro for you?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#18 2020-10-03 21:12:22

lnxpy
Member
Registered: 2020-09-29
Posts: 8

Re: Having Trouble with Pacman Packages on Arch

Thanks all. Everything is ok now. I just did overwrite all packages and then, I update all of them. Now, everything is working fine. The package that was missing is now archived in.

Offline

#19 2020-10-03 21:28:10

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Having Trouble with Pacman Packages on Arch

lnxpy wrote:

I just did overwrite all packages and then, I update all of them.

The news instructions provide specific overwrites to avoid doing just that.

Offline

Board footer

Powered by FluxBB