You are not logged in.

#1 2021-01-20 15:29:29

W1F3B34T3R
Banned
Registered: 2020-04-06
Posts: 12

[SOLVED]Can't update system

i was trying to update but idk what happened

Packages (165) adobe-source-code-pro-fonts-2.038ro+1.058it+1.018var-1  alsa-card-profiles-14.2-1
               btrfs-progs-5.10-1  caribou-0.4.21+66+g14f5428-3  electron9-9.4.1-1
               filesystem-2021.01.19-1  glib2-2.66.4-2  glib2-docs-2.66.4-2  go-2:1.15.7-1
               gsasl-1.10.0-1  gst-libav-1.18.3-1  gst-plugins-bad-1.18.3-1
               gst-plugins-bad-libs-1.18.3-1  gst-plugins-base-1.18.3-1
               gst-plugins-base-libs-1.18.3-1  gst-plugins-good-1.18.3-1  gstreamer-1.18.3-1
               gtk-doc-1.33.2-1  gtk-update-icon-cache-1:4.0.2-1  gufw-21.04.0-1
               haskell-aeson-1.5.5.1-5  haskell-aeson-pretty-0.8.8-116  haskell-ansi-terminal-0.11-52
               haskell-asn1-encoding-0.9.6-76  haskell-asn1-parse-0.9.5-76
               haskell-asn1-types-0.3.4-55  haskell-assoc-1.0.2-45  haskell-async-2.2.2-75
               haskell-attoparsec-0.13.2.4-54  haskell-base-compat-batteries-0.11.2-45
               haskell-base-orphans-0.8.4-35  haskell-base16-bytestring-1.0.1.0-14
               haskell-base64-bytestring-1.2.0.1-21  haskell-bifunctors-5.5.9-10
               haskell-blaze-html-0.9.1.2-75  haskell-blaze-markup-0.8.2.7-45
               haskell-case-insensitive-1.2.1.0-57  haskell-citeproc-0.3.0.2-1
               haskell-cmark-gfm-0.2.2-33  haskell-colour-2.3.5-110  haskell-commonmark-0.1.1.3-2
               haskell-commonmark-extensions-0.2.0.4-20  haskell-commonmark-pandoc-0.2.0.1-52
               haskell-comonad-5.0.8-12  haskell-conduit-1.3.4-23  haskell-conduit-extra-1.3.5-90
               haskell-connection-0.3.1-85  haskell-cryptonite-0.27-50
               haskell-data-default-0.7.1.1-105  haskell-data-default-instances-dlist-0.0.1-118
               haskell-data-fix-0.3.0-45  haskell-distributive-0.6.2.1-13  haskell-dlist-1.0-41
               haskell-doclayout-0.3-63  haskell-doctemplates-0.9-2  haskell-emojis-0.1-65
               haskell-glob-0.10.1-46  haskell-haddock-library-1.9.0-84  haskell-hashable-1.3.0.0-71
               haskell-hourglass-0.2.12-100  haskell-hslua-1.3.0-23
               haskell-hslua-module-system-0.2.2.1-39  haskell-hslua-module-text-0.3.0.1-27
               haskell-hsyaml-0.2.1.0-70  haskell-http-4000.3.15-78  haskell-http-client-0.7.4-2
               haskell-http-client-tls-0.3.5.3-362  haskell-http-types-0.12.3-119
               haskell-hxt-9.3.1.18-202  haskell-ipynb-0.1.0.1-151  haskell-jira-wiki-markup-1.3.2-45
               haskell-juicypixels-3.3.5-55  haskell-memory-0.15.0-67
               haskell-mono-traversable-1.0.15.1-94  haskell-network-3.1.2.1-19
               haskell-network-uri-2.6.3.0-221  haskell-pandoc-types-1.22-35  haskell-pem-0.2.4-132
               haskell-primitive-0.7.1.0-64  haskell-quickcheck-2.14.2-64  haskell-random-1.2.0-111
               haskell-resourcet-1.2.4.2-49  haskell-scientific-0.3.6.2-71
               haskell-skylighting-0.10.2-2  haskell-skylighting-core-0.10.2-2
               haskell-socks-0.6.1-77  haskell-split-0.2.3.4-99  haskell-splitmix-0.1.0.3-40
               haskell-streaming-commons-0.2.2.1-46  haskell-strict-0.4.0.1-19
               haskell-tagsoup-0.14.8-80  haskell-temporary-1.3-178  haskell-texmath-0.12.1-10
               haskell-text-conversions-0.3.1-35  haskell-these-1.1.1.1-46
               haskell-time-compat-1.9.5-19  haskell-tls-1.5.4-65  haskell-typed-process-0.2.6.0-81
               haskell-unicode-transforms-0.3.7.1-29  haskell-uniplate-1.6.13-22
               haskell-unordered-containers-0.2.13.0-29  haskell-utf8-string-1.0.2-4
               haskell-uuid-types-1.0.3-76  haskell-vector-0.12.1.2-105
               haskell-vector-algorithms-0.8.0.4-19  haskell-x509-1.7.5-110
               haskell-x509-store-1.6.7-109  haskell-x509-system-1.6.6-177
               haskell-x509-validation-1.6.11-109  haskell-xml-conduit-1.9.0.0-97
               haskell-zip-archive-0.4.1-84  hydra-9.1-1  imagemagick-7.0.10.58-1  kdiagram-2.8.0-1
               lib32-glib2-2.66.4-2  lib32-libdrm-2.4.104-1  lib32-libelf-0.182-1
               lib32-libpulse-14.2-1  lib32-libtiff-4.2.0-1  lib32-lz4-1.9.3-1  lib32-mesa-20.3.3-1
               lib32-sdl2-2.0.14-1  lib32-sqlite-3.34.0-1  lib32-vulkan-intel-20.3.3-1
               lib32-zstd-1.4.8-1  libblockdev-2.25-1  libbytesize-2.4-4
               libibus-1.5.23+3+gaa558de8-3  libinih-52-1  libkgapi-20.12.1-2  libmm-glib-1.14.10-1
               libnftnl-1.1.9-1  libodfgen-0.1.8-1  libpulse-14.2-1  linux-5.10.8.arch1-1
               linux-headers-5.10.8.arch1-1  mesa-20.3.3-1  metasploit-framework-6.0.26-1
               modemmanager-1.14.10-1  nano-5.5-1  nodejs-15.6.0-1
               opera-ffmpeg-codecs-87.0.4280.141-1  p7zip-17.03-2  pandoc-2.11.3-7  pulseaudio-14.2-1
               python-evdev-1.4.0-1  python-hyperlink-21.0.0-1  python-markdown-3.3.3-3
               python-setuptools-1:51.3.1-1  python-urllib3-1.26.2-1  python2-urllib3-1.26.2-1
               qt5-base-5.15.2-3  rav1e-0.4.0-1  ruby-bundler-2.2.6-1  smplayer-21.1.0-1  tar-1.33-1
               tk-8.6.11.1-1  vim-8.2.2347-1  vim-runtime-8.2.2347-1  virtualbox-6.1.18-1
               virtualbox-host-modules-arch-6.1.18-1  vulkan-intel-20.3.3-1  wine-6.0-1
               xfsprogs-5.10.0-1  youtube-dl-2021.01.16-1

Total Installed Size:  2694.35 MiB
Net Upgrade Size:        15.62 MiB

:: Proceed with installation? [Y/n] 
(165/165) checking keys in keyring                            [#################################] 100%
(165/165) checking package integrity                          [#################################] 100%
(165/165) loading package files                               [#################################] 100%
(165/165) checking for file conflicts                         [#################################] 100%
error: failed to commit transaction (conflicting files)
libinih: /usr/include/INIReader.h exists in filesystem
libinih: /usr/include/ini.h exists in filesystem
libinih: /usr/lib/libINIReader.so exists in filesystem
libinih: /usr/lib/libINIReader.so.0 exists in filesystem
libinih: /usr/lib/libinih.so exists in filesystem
libinih: /usr/lib/libinih.so.0 exists in filesystem
libinih: /usr/lib/pkgconfig/INIReader.pc exists in filesystem
libinih: /usr/lib/pkgconfig/inih.pc exists in filesystem
Errors occurred, no packages were upgraded.

Last edited by W1F3B34T3R (2021-01-21 14:56:39)

Offline

#2 2021-01-20 15:34:22

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

Re: [SOLVED]Can't update system

What is the output of

pacman -Qikk libinih

Offline

#3 2021-01-20 15:35:56

RagnarOlafsson
Member
Registered: 2021-01-11
Posts: 14

Re: [SOLVED]Can't update system

It seems that you have manually removed some files and now pacman shows conflicts, as seen in the log you attached.
Solution is simple https://bbs.archlinux.org/viewtopic.php?id=56373.

Offline

#4 2021-01-20 15:44:27

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

Re: [SOLVED]Can't update system

RagnarOlafsson wrote:

It seems that you have manually removed some files and now pacman shows conflicts, as seen in the log you attached.

Removal of files from the filesystem would not produce pacman detecting conflicting files.  The error is caused by files being present on the filesystem that are not tracked by pacman either due to not being installed by pacman or pacman's database becoming corrupt and losing track of files it installed.

Offline

#5 2021-01-20 19:36:53

RagnarOlafsson
Member
Registered: 2021-01-11
Posts: 14

Re: [SOLVED]Can't update system

loqs wrote:
RagnarOlafsson wrote:

It seems that you have manually removed some files and now pacman shows conflicts, as seen in the log you attached.

Removal of files from the filesystem would not produce pacman detecting conflicting files.  The error is caused by files being present on the filesystem that are not tracked by pacman either due to not being installed by pacman or pacman's database becoming corrupt and losing track of files it installed.

True, thanks for correction.

Offline

#6 2021-01-21 06:19:40

2shrestha22
Member
Registered: 2021-01-21
Posts: 5

Re: [SOLVED]Can't update system

Exact problem happened to me. And I have not touched any files, just doing my weekly update.

pacman -Qikk libinih gives;
error: package 'libinih' was not found

pacman -Qo /path/to/file gives;
error: No package owns /usr/lib/pkgconfig/inih.pc
for all of the conflicts files.

Last edited by 2shrestha22 (2021-01-21 06:26:55)

Offline

#7 2021-01-21 07:13:15

2shrestha22
Member
Registered: 2021-01-21
Posts: 5

Re: [SOLVED]Can't update system

I followed for the solution here - https://wiki.archlinux.org/index.php/pa … )%22_error

update was trying to install libinih pacakge but my system do not have that package itself but has those files causing conflicting. So I renamed all those files and updated system. After then those files are populated again since libinih package is installed through update then I remoced old renamed files.

Offline

#8 2021-01-21 14:45:26

W1F3B34T3R
Banned
Registered: 2020-04-06
Posts: 12

Re: [SOLVED]Can't update system

sudo pacman -Qikk libinih
[sudo] password for : 
error: package 'libinih' was not found

Offline

#9 2021-01-21 14:56:10

W1F3B34T3R
Banned
Registered: 2020-04-06
Posts: 12

Re: [SOLVED]Can't update system

2shrestha22 wrote:

I followed for the solution here - https://wiki.archlinux.org/index.php/pa … )%22_error

update was trying to install libinih pacakge but my system do not have that package itself but has those files causing conflicting. So I renamed all those files and updated system. After then those files are populated again since libinih package is installed through update then I remoced old renamed files.

This method works, just be ready to manually check every conflicting package and move/rename then.

Offline

#10 2021-01-23 18:19:44

sjg
Member
From: UK
Registered: 2007-02-10
Posts: 63

Re: [SOLVED]Can't update system

I've got a similar issue, on a pretty fresh install I did for my son. Nothing manually touched or removed, only one thing installed from AUR (teams) which doesn't seem relevant.

His current xfsprogs package (5.8.0-2) doesn't list libinih as a dependency. The package dependency list is: h  util-linux-libs  icu  device-mapper

He does not have the libinih package installed. He also doesn't seem to have any of the files which would be contained within the libinih package.

Strangely, if I sync pacman (regardless of mirror) it cannot even find the libinih package. Community is enabled.

Not quite sure what is going on, but it's not as simple as having manually installed some conflicting files.

Also - am I wrong in thinking it's strange for a core package to have a dependency within community? Or is libinih imminently going to be moved to core?

*EDIT*
It turns out community doesn't work at all - it is enabled in pacman.conf, and on an -Syu it reports it is syncing / up to date. /var/lib/pacman/sync/community.db exists but is 0 bytes in size. Changing mirror and trying to re-sync doesn't make any difference. Don't know why. Strange.

I still don't understand why the xfsprogs package he has has different deps.

Last edited by sjg (2021-01-23 18:39:36)

Offline

#11 2021-01-23 18:44:58

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

Re: [SOLVED]Can't update system

sjg wrote:

I've got a similar issue, on a pretty fresh install I did for my son. Nothing manually touched or removed, only one thing installed from AUR (teams) which doesn't seem relevant.

His current xfsprogs package (5.8.0-2) doesn't list libinih as a dependency. The package dependency list is: h  util-linux-libs  icu  device-mapper

xfsprogs 5.10.0-1 is in core and has a dependency on libinih 52-1,  libinih 52-2 is in testing and will be moved to core when it leaves testing.
So the system is not up to date and is syncing against a broken mirror.  Please be careful not to thread hijack.

Offline

#12 2021-01-23 19:08:32

sjg
Member
From: UK
Registered: 2007-02-10
Posts: 63

Re: [SOLVED]Can't update system

Sorry for the hijack. I thought it was similar, but turns out a separate problem just happened to be same package involved.

You're of course right it was syncing against a broken mirror. It had been ever since install a couple of weeks ago. Most things had worked fine, this was the first sign of any trouble. Now all fixed.

Last edited by sjg (2021-01-23 19:09:49)

Offline

Board footer

Powered by FluxBB