You are not logged in.

#1 2021-09-06 22:22:42

yorkz
Member
Registered: 2020-03-22
Posts: 32

[SOLVED] Unable to re-install Wine after system upgrade

I was trying to upgrade my archlinux system today, but failed with the following errors:

:: unable to satisfy dependency 'libcap=2.56' required by lib32-libcap
:: unable to satisfy dependency 'libnsl=2.0.0' required by lib32-libnsl
:: unable to satisfy dependency 'libcap=2.56' required by lib32-libcap

I figured out that lib32-libcap and lib32-libnsl were dependencies of Wine. So I uninstalled Wine, and then upgraded the system with:

sudo pacman -Syyu

The upgrade was successful, however, as I tried to re-install Wine by:

sudo pacman -S wine

I got the following messages:

$ sudo pacman -S wine
resolving dependencies...
warning: cannot resolve "libcap=2.56", a dependency of "lib32-libcap"
warning: cannot resolve "lib32-libcap", a dependency of "lib32-systemd"
warning: cannot resolve "lib32-systemd", a dependency of "lib32-dbus"
warning: cannot resolve "libdbus-1.so=3-32", a dependency of "lib32-libpcap"
warning: cannot resolve "lib32-libpcap", a dependency of "wine"
warning: cannot resolve "libcap=2.56", a dependency of "lib32-libcap"
warning: cannot resolve "lib32-libcap", a dependency of "lib32-systemd"
warning: cannot resolve "lib32-systemd", a dependency of "lib32-dbus"
warning: cannot resolve "lib32-dbus", a dependency of "lib32-faudio"
warning: cannot resolve "lib32-faudio", a dependency of "wine"
:: The following package cannot be upgraded due to unresolvable dependencies:
      wine

:: Do you want to skip the above package for this upgrade? [y/N] 
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libcap=2.56' required by lib32-libcap
:: unable to satisfy dependency 'lib32-libcap' required by lib32-systemd
:: unable to satisfy dependency 'lib32-systemd' required by lib32-dbus
:: unable to satisfy dependency 'libdbus-1.so=3-32' required by lib32-libpcap
:: unable to satisfy dependency 'lib32-libpcap' required by wine
:: unable to satisfy dependency 'libcap=2.56' required by lib32-libcap
:: unable to satisfy dependency 'lib32-libcap' required by lib32-systemd
:: unable to satisfy dependency 'lib32-systemd' required by lib32-dbus
:: unable to satisfy dependency 'lib32-dbus' required by lib32-faudio
:: unable to satisfy dependency 'lib32-faudio' required by wine

I then checked the version of libcap:

pacman -Qi libcap

which gives:

Name            : libcap
Version         : 2.53-1
Description     : POSIX 1003.1e capabilities
Architecture    : x86_64
URL             : [url]https://sites.google.com/site/fullycapable/[/url]
Licenses        : GPL2
Groups          : None
Provides        : libcap.so=2-64  libpsx.so=2-64
Depends On      : glibc  pam
Optional Deps   : None
Required By     : avahi  bubblewrap  cdrtools  cifs-utils  coreutils  gstreamer  inetutils  iputils  libpulse  pinentry  systemd  systemd-libs  wireshark-cli
Optional For    : iproute2
Conflicts With  : None
Replaces        : None
Installed Size  : 209.52 KiB
Packager        : David Runge <dvzrv@archlinux.org>
Build Date      : Thu 19 Aug 2021 03:08:22 PM EDT
Install Date    : Mon 06 Sep 2021 05:45:53 PM EDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Looks like the version of libcap in my system was still 2.53-1. So why libcap was not upgraded, and how do I resolve this issue so that I can reinstall Wine?

Last edited by yorkz (2021-09-06 23:23:49)

Offline

#2 2021-09-06 22:29:00

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Unable to re-install Wine after system upgrade

Post your pacman.conf. It looks like you only have some of the [testing] repos enabled, you need to use either all or none of them.

Also please edit your post to use [⁣code] [/⁣code] tags instead of quotes.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-09-06 22:46:35

yorkz
Member
Registered: 2020-03-22
Posts: 32

Re: [SOLVED] Unable to re-install Wine after system upgrade

Hi Slithery,

Thank you very much for your fast reply.

Post your pacman.conf. It looks like you only have some of the [testing] repos enabled, you need to use either all or none of them.

The following is my pacman.conf:

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
# IgnorePkg   = vagrant
IgnoreGroup = modified

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib-testing]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Also please edit your post to use [⁣code] [/⁣code] tags instead of quotes.

Done.

Last edited by yorkz (2021-09-06 22:52:44)

Offline

#4 2021-09-06 23:17:31

yorkz
Member
Registered: 2020-03-22
Posts: 32

Re: [SOLVED] Unable to re-install Wine after system upgrade

Hi Slithery,

I tried enabling all the testing repos, and I was able to install wine again. Since I was not comfortable going to testing repos, I reverted back to using all non-testing repos which also worked for installing wine. Thanks a lot.

Offline

Board footer

Powered by FluxBB