actionless / pikaur

AUR helper with minimal dependencies. Review PKGBUILDs all in once, next build them all without user interaction.
GNU General Public License v3.0
869 stars 87 forks source link

Can't upgrade two packages that are in a lockstep #511

Closed tuxayo closed 4 years ago

tuxayo commented 4 years ago
Pikaur v1.6.11
Pacman v5.2.2 - libalpm v12.0.2

I had to remove gajim-plugin-omemo, upgrade gajim and then install gajim-plugin-omemo again.

Attached log:
~ ❯❯❯ pikaur -Syu --verbose --pikaur-debug
[sudo] password for victor: 
=> GET https://www.archlinux.org/feeds/news/
=> sudo pacman --color=always --sync --refresh
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 endeavouros is up to date

:: Starting full AUR upgrade...
:: debug: install_info_fetcher: Gonna fetch install info for:
    install_package_names=[]
    not_found_repo_pkgs_names=[]
    pkgbuilds_packagelists={}
    manually_excluded_packages_names=[]

Reading repository package databases...
Reading local package database...
:: debug: install_info_fetcher: Gonna get repo pkgs install info...
=> pacman --color=always --sync --sysupgrade --print-format %r/%n
:: installing gajim (1.2.1-1) breaks dependency 'gajim<=1.1.90' required by gajim-plugin-omemo

:: debug: install_info_fetcher: gonna get AUR pkgs install info for:
    aur_packages_versionmatchers=[]
    self.aur_updates_install_info=[]
    aur_packages_names_to_versions={}
Reading AUR packages info...
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=0ad-data-git&arg[]=0ad-git&arg[]=android-sdk&arg[]=android-sdk-build-tools&arg[]=android-studio&arg[]=android-support&arg[]=android-support-repository&arg[]=aspell-eo&arg[]=debianutils&arg[]=electron6&arg[]=firmware-manager-git&arg[]=fzf-extras&arg[]=gajim-plugin-omemo&arg[]=gamehub&arg[]=gamin&arg[]=glimpse-editor-git&arg[]=hunspell-eo&arg[]=imagewriter&arg[]=keepassx&arg[]=kernel-modules-hook&arg[]=kurso_esperanto&arg[]=libreoffice-extension-languagetool&arg[]=light-locker-settings&arg[]=love07&arg[]=minigalaxy&arg[]=minitube-aur&arg[]=namebench&arg[]=nottetris2&arg[]=olive&arg[]=openttd-openmsx&arg[]=otf-league-gothic&arg[]=pbuilder-ubuntu&arg[]=perl-devel-overloadinfo&arg[]=perl-io-prompt-tiny&arg[]=perl-modern-perl&arg[]=perl-module-runtime-conflicts&arg[]=perl-moose&arg[]=perl-rest-client&arg[]=perl-test-cleannamespaces&arg[]=perl-text-multimarkdown&arg[]=phonon-qt4&arg[]=phonon-qt4-gstreamer&arg[]=pikaur&arg[]=pingtcp&arg[]=playonlinux5-git&arg[]=powder-toy&arg[]=prezto-git&arg[]=protontricks&arg[]=pybitmessage&arg[]=pygtk&arg[]=pyqt4-common&arg[]=pystopwatch&arg[]=python-cssutils&arg[]=python-vdf&arg[]=python2-graphy&arg[]=python2-pyqt4&arg[]=python2-sip-pyqt4&arg[]=qt4&arg[]=sex&arg[]=tealdeer&arg[]=tor-browser&arg[]=unetbootin&arg[]=vrms-arch&arg[]=webtorrent-desktop&arg[]=xfce4-panel-profiles&arg[]=xkb-switch-git
:: Ignoring package update gajim-plugin-omemo (2.6.30-1 => 2.6.80-1)
:: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[]

=> sudo pacman --color=always --sync --verbose --sysupgrade
Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/  
Hook Dirs : /usr/share/libalpm/hooks/  /etc/pacman.d/hooks/  
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
GPG Dir   : /etc/pacman.d/gnupg/
Targets   : None
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing gajim (1.2.1-1) breaks dependency 'gajim<=1.1.90' required by gajim-plugin-omemo
Command 'sudo pacman --color=always --sync --verbose --sysupgrade' failed to execute.
Do you want to retry? [Y/n] n
Do you want to proceed? [y/N] y
actionless commented 4 years ago

:: installing gajim (1.2.1-1) breaks dependency 'gajim<=1.1.90' required by gajim-plugin-omemo

looks like a valid error, can't tell more since there are no explicit steps to reproduce it and the log seems to be stripped

tuxayo commented 3 years ago

Sorry for not following up @actionless Now with the new versions, it happens again.

looks like a valid error,

The two old versions of gajim(1.2.2-2) and gajim-plugin-omemo(2.6.80) work together. The new versions 1.3.1-1 and 2.7.13-1 work together Upgrade isn't possible because gajim(1.2.2-2) isn't compatible with gajim-plugin-omemo(2.7.13-1) and gajim-plugin-omemo(2.6.80) isn't compatible with gajim(1.3.1-1)

reproduce

Install the old versions. 1.2.2-2: https://archive.archlinux.org/packages/g/gajim/ 2.6.80: https://aur.archlinux.org/cgit/aur.git/tree/?h=gajim-plugin-omemo&id=43a5c9fd0b4c1226b89ddc096be5c11f0b9ba08d

pikaur -Syu --verbose --pikaur-debug

/ ❯❯❯ pikaur -Syu --verbose --pikaur-debug                                                                                                                                                                                             ✘ 130 
=> GET https://www.archlinux.org/feeds/news/
=> sudo pacman --color=always --sync --refresh
:: Sinkronigado de pakaĵaj datumbazoj...
core estas ĝisdata
extra estas ĝisdata
community estas ĝisdata
multilib estas ĝisdata
endeavouros estas ĝisdata

:: Starting full AUR upgrade...
:: debug: install_info_fetcher: Gonna fetch install info for:
    install_package_names=[]
    not_found_repo_pkgs_names=[]
    pkgbuilds_packagelists={}
    manually_excluded_packages_names=[]

Reading repository package databases...
Reading local package database...
:: debug: install_info_fetcher: Gonna get repo pkgs install info...
=> pacman --color=always --sync --sysupgrade --print-format %r/%n
:: instalo de gajim (1.3.1-1) malplenumas dependaĵon 'gajim<=1.2.90' postulita de gajim-plugin-omemo

:: debug: install_info_fetcher: gonna get AUR pkgs install info for:
    aur_packages_versionmatchers=[]
    self.aur_updates_install_info=[]
    aur_packages_names_to_versions={}
Reading AUR packages info...
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=android-sdk&arg[]=android-sdk-build-tools&arg[]=android-studio&arg[]=android-support&arg[]=android-support-repository&arg[]=aspell-eo&arg[]=cpu-g-bzr&arg[]=cpu-x&arg[]=fzf-extras&arg[]=gajim-plugin-omemo&arg[]=gamehub&arg[]=gamin&arg[]=goverlay-git&arg[]=gpu-viewer&arg[]=hunspell-eo&arg[]=imagewriter&arg[]=keepassx&arg[]=kernel-modules-hook&arg[]=kurso_esperanto&arg[]=libcpuid&arg[]=libreoffice-extension-languagetool&arg[]=light-locker-settings&arg[]=linux-wifi-hotspot&arg[]=love07&arg[]=mangohud&arg[]=mangohud-common&arg[]=minigalaxy&arg[]=nameinator&arg[]=nottetris2&arg[]=olive&arg[]=openttd-openmsx&arg[]=otf-league-gothic&arg[]=pdfsam&arg[]=perl-devel-caller&arg[]=perl-devel-lexalias&arg[]=perl-devel-overloadinfo&arg[]=perl-io-prompt-tiny&arg[]=perl-lexical-persistence&arg[]=perl-modern-perl&arg[]=perl-module-refresh&arg[]=perl-module-runtime-conflicts&arg[]=perl-moose&arg[]=perl-rest-client&arg[]=perl-text-multimarkdown&arg[]=perlconsole&arg[]=phonon-qt4&arg[]=phonon-qt4-gstreamer&arg[]=pikaur&arg[]=pingtcp&arg[]=playonlinux5-git&arg[]=powder-toy&arg[]=prezto-git&arg[]=protontricks&arg[]=pygtk&arg[]=pystopwatch&arg[]=python-vdf&arg[]=python2-gobject2&arg[]=qt4&arg[]=sex&arg[]=simple-rt&arg[]=tealdeer&arg[]=tor-browser&arg[]=unetbootin&arg[]=vrms-arch&arg[]=xfce4-panel-profiles&arg[]=xkb-switch-git
:: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[<InstallInfo "gajim-plugin-omemo" 2.6.80-3 -> 2.7.13-1>]
Resolving AUR dependencies...
=> pacman --color=always --deptest gajim>=1.2.91 gajim<=1.3.90 python-qrcode python-setuptools python-cryptography python-axolotl
=> pacman --color=always --sync --print-format=%% gajim>=1.2.91 gajim<=1.3.90
=> pacman --color=always --deptest gajim>=1.2.91 gajim<=1.3.90 python-qrcode python-setuptools python-cryptography python-axolotl
=> pacman --color=always --sync gajim>=1.2.91 gajim<=1.3.90 --print-format %r/%n
:: instalo de gajim (1.3.1-1) malplenumas dependaĵon 'gajim<=1.2.90' postulita de gajim-plugin-omemo

:: AUR package will be installed:
 gajim-plugin-omemo                    2.6.80-3             -> 2.7.13-1

:: Proceed with installation? [Y/n] 
:: [v]iew package details   [m]anually select packages
>> 
=> git -C /home/victor/.local/share/pikaur/aur_repos/gajim-plugin-omemo pull origin master
=> pacman --color=always --deptest gajim>=1.2.91 gajim<=1.3.90 python-qrcode python-setuptools python-cryptography python-axolotl
looking for conflicting AUR packages...
=> pacman --color=always --deptest gajim>=1.2.91 gajim<=1.3.90 python-qrcode python-setuptools python-cryptography python-axolotl
Do you want to see build files diff for gajim-plugin-omemo package? [Y/n] n
Do you want to edit PKGBUILD for gajim-plugin-omemo package? [y/N] 

=> sudo pacman --color=always --sync --verbose --sysupgrade
Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/  
Hook Dirs : /usr/share/libalpm/hooks/  /etc/pacman.d/hooks/  
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
GPG Dir   : /etc/pacman.d/gnupg/
Targets   : Neniu
:: Komencado de kompleta promociado de sistemo...
solvado de dependecoj...
serĉado de konfliktaj pakaĵoj...
eraro:pretado de transakcio malsukcesis (ne eblis satigi dependencojn)
:: instalo de gajim (1.3.1-1) malplenumas dependaĵon 'gajim<=1.2.90' postulita de gajim-plugin-omemo
Command 'sudo pacman --color=always --sync --verbose --sysupgrade' failed to execute.
Do you want to retry? [Y/n] 

info

Pikaur v1.6.16.2 Pacman v5.2.2 - libalpm v12.0.2 - pyalpm v0.9.2

Somehow gajim isn't listed in the packges being upgraded, related to #560

actionless commented 3 years ago
=> pacman --color=always --sync --sysupgrade --print-format %r/%n
:: instalo de gajim (1.3.1-1) malplenumas dependaĵon 'gajim<=1.2.90' postulita de gajim-plugin-omemo
$ rg 'malplenumas dependaĵon' /usr/share/locale/
/usr/share/locale/eo/LC_MESSAGES/pacman.mo
433:instalitainstaladoinstalo de %s (%s) malplenumas dependaĵon '%s' postulita de %s
468:forviŝadoforigadoforigo de %s malplenumas dependaĵon '%s' postulita de %s
actionless commented 3 years ago

see also: https://github.com/actionless/pikaur/issues/194

tuxayo commented 3 years ago

$ rg 'malplenumas dependaĵon' /usr/share/locale/

oops oops oops, forgot to switch the local to C

Just in case, here is the log in english

~ ❯❯❯ pikaur -Syu --verbose --pikaur-debug
=> GET https://www.archlinux.org/feeds/news/
=> sudo pacman --color=always --sync --refresh
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 endeavouros is up to date

:: Starting full AUR upgrade...
:: debug: install_info_fetcher: Gonna fetch install info for:
    install_package_names=[]
    not_found_repo_pkgs_names=[]
    pkgbuilds_packagelists={}
    manually_excluded_packages_names=[]

Reading repository package databases...
Reading local package database...
:: debug: install_info_fetcher: Gonna get repo pkgs install info...
=> pacman --color=always --sync --sysupgrade --print-format %r/%n
:: installing gajim (1.3.1-1) breaks dependency 'gajim<=1.2.90' required by gajim-plugin-omemo

:: debug: install_info_fetcher: gonna get AUR pkgs install info for:
    aur_packages_versionmatchers=[]
    self.aur_updates_install_info=[]
    aur_packages_names_to_versions={}
Reading AUR packages info...
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=android-sdk&arg[]=android-sdk-build-tools&arg[]=android-studio&arg[]=android-support&arg[]=android-support-repository&arg[]=aspell-eo&arg[]=cpu-g-bzr&arg[]=cpu-x&arg[]=fzf-extras&arg[]=gajim-plugin-omemo&arg[]=gamehub&arg[]=gamin&arg[]=goverlay-git&arg[]=gpu-viewer&arg[]=hunspell-eo&arg[]=imagewriter&arg[]=keepassx&arg[]=kernel-modules-hook&arg[]=kurso_esperanto&arg[]=libcpuid&arg[]=libreoffice-extension-languagetool&arg[]=light-locker-settings&arg[]=linux-wifi-hotspot&arg[]=love07&arg[]=mangohud&arg[]=mangohud-common&arg[]=minigalaxy&arg[]=mozilla-common&arg[]=nameinator&arg[]=nottetris2&arg[]=olive&arg[]=openttd-openmsx&arg[]=otf-league-gothic&arg[]=pdfsam&arg[]=perl-devel-caller&arg[]=perl-devel-lexalias&arg[]=perl-devel-overloadinfo&arg[]=perl-io-prompt-tiny&arg[]=perl-lexical-persistence&arg[]=perl-modern-perl&arg[]=perl-module-refresh&arg[]=perl-module-runtime-conflicts&arg[]=perl-moose&arg[]=perl-rest-client&arg[]=perl-text-multimarkdown&arg[]=perlconsole&arg[]=phonon-qt4&arg[]=phonon-qt4-gstreamer&arg[]=pikaur&arg[]=pingtcp&arg[]=playonlinux5-git&arg[]=powder-toy&arg[]=prezto-git&arg[]=protontricks&arg[]=pygtk&arg[]=pystopwatch&arg[]=python-vdf&arg[]=python2-gobject2&arg[]=qt4&arg[]=sex&arg[]=simple-rt&arg[]=tealdeer&arg[]=tor-browser&arg[]=unetbootin&arg[]=vrms-arch&arg[]=xfce4-panel-profiles&arg[]=xkb-switch-git
:: warning: Following package cannot be found in AUR:
    mozilla-common    
:: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[<InstallInfo "gajim-plugin-omemo" 2.6.80-3 -> 2.7.13-1>]
Resolving AUR dependencies...
=> pacman --color=always --deptest gajim>=1.2.91 gajim<=1.3.90 python-qrcode python-setuptools python-cryptography python-axolotl
=> pacman --color=always --sync --print-format=%% gajim>=1.2.91 gajim<=1.3.90
=> pacman --color=always --deptest gajim>=1.2.91 gajim<=1.3.90 python-qrcode python-setuptools python-cryptography python-axolotl
=> pacman --color=always --sync gajim>=1.2.91 gajim<=1.3.90 --print-format %r/%n
:: installing gajim (1.3.1-1) breaks dependency 'gajim<=1.2.90' required by gajim-plugin-omemo

:: AUR package will be installed:
 gajim-plugin-omemo                    2.6.80-3             -> 2.7.13-1

:: Proceed with installation? [Y/n] 
:: [v]iew package details   [m]anually select packages
>> 
=> git -C /home/victor/.local/share/pikaur/aur_repos/gajim-plugin-omemo pull origin master
=> pacman --color=always --deptest gajim>=1.2.91 gajim<=1.3.90 python-qrcode python-setuptools python-cryptography python-axolotl
looking for conflicting AUR packages...
=> pacman --color=always --deptest gajim>=1.2.91 gajim<=1.3.90 python-qrcode python-setuptools python-cryptography python-axolotl
Do you want to see build files diff for gajim-plugin-omemo package? [Y/n] n
Do you want to edit PKGBUILD for gajim-plugin-omemo package? [y/N]  

=> sudo pacman --color=always --sync --verbose --sysupgrade
Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/  
Hook Dirs : /usr/share/libalpm/hooks/  /etc/pacman.d/hooks/  
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
GPG Dir   : /etc/pacman.d/gnupg/
Targets   : None
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing gajim (1.3.1-1) breaks dependency 'gajim<=1.2.90' required by gajim-plugin-omemo
Command 'sudo pacman --color=always --sync --verbose --sysupgrade' failed to execute.
Do you want to retry? [Y/n] 
tuxayo commented 3 years ago

see also: #194

This ticket is over my head, does this mean that this one is a duplicate of #194 ?