• removing akonadi breaks dependency 'akonadi'


    Using GUI to Add Remove software and when I select to update kdepimlibs4 it comes up with a number of errors regarding “removing akonadi breaking dependencies”. New to Antergos but have tried updating keyrings as this solved the last update issue. Any guidance would be appreciated. Thanks

  • @since4once said in removing akonadi breaks dependency 'akonadi':

    removing akonadi breaking dependencie

    Open a terminal and type “sudo pacman -Syyu” to update all packages.

    if there are errors please paste exact messages here !

  • @randomdude Many thanks for reply, output from terminal pasted below:

    :: Synchronising package databases…
    antergos 179.8 KiB 1486K/s 00:00 [#######################################] 100%
    core 128.1 KiB 1407K/s 00:00 [#######################################] 100%
    extra 1594.3 KiB 1707K/s 00:01 [#######################################] 100%
    community 4.2 MiB 1706K/s 00:03 [#######################################] 100%
    multilib 167.5 KiB 1469K/s 00:00 [#######################################] 100%
    :: Starting full system upgrade…
    warning: pepper-flash: local (1:25.0.0.148-1) is newer than extra (28.0.0.161-1)
    there is nothing to do
    [[email protected] ~]$

    Updates still shows dbus-cpp and kdepimlibs4 and they will not clear.0_1519397158199_Screenshot_20180223_144539.png

  • @since4once said in removing akonadi breaks dependency 'akonadi':

    pepper-flash: local (1:25.0.0.148-1)

    when was your last working update?

    the two updates pamac shows are both from AUR so pacman do not update them…

    [updates once a week] = [90% less problems]
    my#repo
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • i do not know but this version of pepper-flash is from 2016 ?
    I find this also old thread about a similar version problem:
    https://forum.antergos.com/topic/7654/pepper-flash-1-26-0-0-137-1-vs-26-0-0-151-1/6

    So if i follow what we talk there this epoche versioning is done by Antergos development long time ago…
    This is may not the reason for your problem but as @lots-0-logs sayin there you should do a sudo pacman -Syuu to fill that gap…

    [updates once a week] = [90% less problems]
    my#repo
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • to update the lasting AUR BUILDS do it with yaourt: yaourt -Syua

    [updates once a week] = [90% less problems]
    my#repo
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • Have tried both sudo pacman -Syuu and yaourt -Syua but seems to go round in an endless loop. Paste below the last few lines but I do have all the output if it helps. Thanks

    ==> Tidying install…
    -> Removing libtool files…
    -> Purging unwanted files…
    -> Removing static library files…
    -> Stripping unneeded symbols from binaries and libraries…
    -> Compressing man and info pages…
    ==> Checking for packaging issue…
    ==> Creating package “akonadi-qt4”…
    -> Generating .PKGINFO file…
    -> Generating .BUILDINFO file…
    -> Generating .MTREE file…
    -> Compressing package…
    ==> Leaving fakeroot environment.
    ==> Finished making: akonadi-qt4 1.13.0-14 (Fri 23 Feb 19:19:21 GMT 2018)
    ==> Cleaning up…

    ==> Continue installing akonadi-qt4 ? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ---------------------------------------------------
    ==> Y

    [sudo] password for steve:
    loading packages…
    warning: libakonadi-qt4-1.13.0-14 is up to date – reinstalling
    resolving dependencies…
    looking for conflicting packages…
    :: akonadi-qt4 and akonadi are in conflict. Remove akonadi? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: akonadi-contacts: removing akonadi breaks dependency ‘akonadi’
    :: akonadi-mime: removing akonadi breaks dependency ‘akonadi’
    :: kalarmcal: removing akonadi breaks dependency ‘akonadi’
    :: libkolab: removing akonadi breaks dependency ‘akonadi’
    ==> WARNING: Your packages are saved in /tmp/yaourt-tmp-steve
    cp: overwrite ‘/tmp/yaourt-tmp-steve/akonadi-qt4-1.13.0-14-x86_64.pkg.tar’?

  • @since4once said in removing akonadi breaks dependency 'akonadi':

    akonadi-qt4

    akonadi-qt4 is in direct conflict to akondi, and is from AUR, so what for you need it?
    Installing it will remove akondi and all packages dependig on it.

    So if you do not know what for you installed it once, remove it (or try)

    sudo pacman -R akonadi-qt4
    

    [updates once a week] = [90% less problems]
    my#repo
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • I do not recall having installed this myself and only seems to be an issue since I tried to update kdepimlibs4 and dbus-cpp
    Used remove command and got the following.
    [[email protected] ~]$ sudo pacman -R akonadi-qt4
    [sudo] password for steve:
    error: target not found: akonadi-qt4

    As both problems seem to come from AUR can I set the system to disregard updates from AUR or is this necessary for the system?

  • AUR is not needed, but without enable it it would not try to install or update anything, so you must have enabled it somehow… You can disable it inside settings of pamac package manager

    [updates once a week] = [90% less problems]
    my#repo
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • Thanks for all the assistance, I have disabled in Pacman. Will wait to see if anything fails to work without it upgrading.

  • @since4once said in removing akonadi breaks dependency 'akonadi':

    I do not recall having installed this myself and only seems to be an issue since I tried to update kdepimlibs4 and dbus-cpp
    Used remove command and got the following.
    [[email protected] ~]$ sudo pacman -R akonadi-qt4
    [sudo] password for steve:
    error: target not found: akonadi-qt4

    You’ve tried to use pacman to remove the package, which comes from AUR. Pacman doesn’t work with AUR packages. It cannot neither install nor uninstall them.

    Akonadi-qt4 is from AUR. Use yaourt to install or uninstall an AUR package.

    As both problems seem to come from AUR can I set the system to disregard updates from AUR or is this necessary for the system?

    There’s no need to disable AUR. Just remove an offending AUR package from the system.

    On one of computers here I found an old Arch installation, not upgraded for about a year. I started the upgrade, and encountered exactly the same problem as yours:

    • yaourt wanted to upgrade the old aur/kdepimlibs4
    • aur/kdepimlibs4 depends on the old aur/akonadi-qt4
    • aur/akonadi-qt4 conflicts with the newer extra/aconadi
    • yaourt proposed to remove extra/akonadi
    • accepting extra/akonadi removal would break many dependencies:
      looking for conflicting packages...
      :: akonadi-qt4 and akonadi are in conflict. 
      Remove akonadi? [y/N] y
      error: failed to prepare transaction (could not satisfy dependencies)
      :: akonadi-contacts: removing akonadi breaks dependency 'akonadi'
      :: akonadi-mime: removing akonadi breaks dependency 'akonadi'
      :: akonadi-socialutils: removing akonadi breaks dependency 'akonadi'
      :: kalarmcal: removing akonadi breaks dependency 'akonadi'
      :: libkolab: removing akonadi breaks dependency 'akonadi'
      ==> WARNING: Your packages are saved in /tmp/yaourt-tmp-just
      ==> WARNING: Dependencies have been 
      installed before the failure
      checking dependencies...
      

    What to do? The solution was simple:

    • I’ve used aur/kdepimlibs4 for KUser only; I can live without KUser
    • I don’t use any Kde PIM software, which might require aur/kdepimlibs4
    • why keep the old aur/kdepimlibs4?
    • I simply completely removed it, with all its dependencies:
      yaourt -Rcnssu kdepimlibs4
      

    All other 900+ packages were upgraded earlier. Removing kdepilibs4 has solved all issues and conflicts:

    $ sudo pacman -Syu
    :: Synchronizing package databases...
     core is up to date
     extra is up to date
     community is up to date
     multilib is up to date
     antergos is up to date
     bluestar is up to date
     herecura is up to date
     netrunner is up to date
     nurunner is up to date
     nurunner-extra is up to date
    :: Starting full system upgrade...
     there is nothing to do
    $ 
    

    The system is clean and fully upgraded now.

  • Thanks for this. The only program I use that may require the PIM is Kmail.

  • @since4once said in removing akonadi breaks dependency 'akonadi':

    The only program I use that may require the PIM is Kmail.

    Yes, KMain requires Kde PIM libraries. I think it should use modern Qt5 libraries, and almost surely doesn’t need the old kdepimlibs4, made for Qt4.

    I can’t check it on the fly, because all my Arch systems are being backed up right now, and it’ll take four more hours.

  • Had a look at the files in kmail and list below the ones relating to libraries. Cannot see kdepimlibs4 but perhaps not looking in the right place
    /usr/lib/libkmailprivate.so.5
    /usr/lib/libkmailprivate.so.5.7.2
    /usr/lib/qt/plugins/kcm_kmail.so
    /usr/lib/qt/plugins/kcm_kmailsummary.so
    /usr/lib/qt/plugins/kcm_kontactsummary.so
    /usr/lib/qt/plugins/kcm_kpimidentities.so
    /usr/lib/qt/plugins/kmailpart.so
    /usr/lib/qt/plugins/kontact_kmailplugin.so
    /usr/lib/qt/plugins/kontact_summaryplugin.so

  • @since4once
    Hi there!
    Could you show the output of command

    pacman -Qm
    

    It should show the “foreign” packages you have installed, i.e. not official ones.

    System info commands:
    lsblk -fm
    lspci
    sudo blkid
    sudo fdisk -l

  • @since4once said in removing akonadi breaks dependency 'akonadi':

    Had a look at the files in kmail and list below the ones relating to libraries. Cannot see kdepimlibs4 but perhaps not looking in the right place…

    Follow @manuel 's suggestion - query the list of installed foreign packages. Does it include kdepimlibs4?

    It’s logic, that there’s no kdepimlib4 in a modern Kmail installation. kdepimlib4 was needed by old Qt4 apps. Plasma 5 apps should use Qt5.

    As an additional info, I found an Arch Plasma here without kdepim-meta and|or without kmail packages installed.

    This is the full list of all packages, which would be installed along with kmail package installation. As expected, there’s no kdepimlib4 in it. A modern Kmail doesn’t need the old kdepimlib4.

  • Out as suggested

    [[email protected] ~]$ pacman -Qm
    anbox-image 1:3-1
    dbus-cpp 5.0.0-1
    kdepimlibs4 4.14.10-11
    libakonadi-qt4 1.13.0-14
    libkolab 1.0.2-3
    libqzeitgeist 0.8.0-6
    libtxc_dxtn 1.0.1-6
    openslp 2.0.0-2
    process-cpp 3.0.1-1
    properties-cpp 0.0.1-1
    skypeforlinux-bin 8.13.76.8-1
    teamviewer 12.0.90041-7
    unetbootin 657-1
    webkitgtk 2.4.11-11
    xorg-server-utils 7.6-4
    [[email protected] ~]$

    Any suggestions as to what would be good to remove please?

  • It’s often faster and easier to reinstall smth from scratch, rather than try to repair a chaotic heap of various packages.

    I’d do two things:

    1. Backup the whole system (with FSArchiver) - all partitions it uses.

    2. Remove kdepimlibs4 with all and any its descending and ascending dependencies:

      yaourt -Rcnssu kdepimlibs4
      

    Hopefully, it will be possible to upgrade the system after that. If not, restore the backup, returning at the starting point.

  • Many thanks, I will give it a try

breaks22 dependency14 removing11 akonadi1 Posts 25Views 918
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.