• "file exists in filesystem" error when trying to update system


    I issue

    $ sudo pacman -Syy
    [sudo] password for sas: 
    :: Synchronizing package databases...
     antergos                  169,0 KiB   286K/s 00:01 [##########################] 100%
     core                      131,7 KiB  2,14M/s 00:00 [##########################] 100%
     extra                    1685,1 KiB  1787K/s 00:01 [##########################] 100%
     community                   4,4 MiB   822K/s 00:06 [##########################] 100%
     multilib                  170,2 KiB  1091K/s 00:00 [##########################] 100%
     archlinuxfr                12,8 KiB  51,1K/s 00:00 [##########################] 100%
     DEB_Arch_Extra              3,6 KiB  0,00B/s 00:00 [##########################] 100%
     DEB_Arch_Extra.sig        280,0   B  0,00B/s 00:00 [##########################] 100%
    

    and everything goes fine, but when I try to update the system running auru this is what I get:

    $ auru
    :: Synchronizing package databases...
    
    [...]
    
    ==> Continue upgrade ? [Y/n]
    ==> [V]iew package detail   [M]anually select packages
    ==> --------------------------------------------------
    ==> :: Starting full system upgrade...
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (180) archlinux-keyring-20180808-1  avahi-0.7+16+g1cc2b8e-2  bind-9.13.2-1
    
    [...]
    
    Total Installed Size:  2893,89 MiB
    Net Upgrade Size:        28,65 MiB
    
    :: Proceed with installation? [Y/n] 
    (180/180) checking keys in keyring                  [##########################] 100%
    (180/180) checking package integrity                [##########################] 100%
    (180/180) loading package files                     [##########################] 100%
    (180/180) checking for file conflicts               [##########################] 100%
    error: failed to commit transaction (conflicting files)
    python2-cairo: /usr/include/pycairo/pycairo.h exists in filesystem
    python2-cairo: /usr/lib/pkgconfig/pycairo.pc exists in filesystem
    python2-cairo: /usr/lib/python2.7/site-packages/cairo/__init__.py exists in filesystem
    python2-cairo: /usr/lib/python2.7/site-packages/cairo/__init__.pyc exists in filesystem
    python2-cairo: /usr/lib/python2.7/site-packages/cairo/__init__.pyi exists in filesystem
    python2-cairo: /usr/lib/python2.7/site-packages/cairo/__init__.pyo exists in filesystem
    python2-cairo: /usr/lib/python2.7/site-packages/cairo/_cairo.so exists in filesystem
    python2-cairo: /usr/lib/python2.7/site-packages/cairo/include/pycairo.h exists in filesystem
    python2-cairo: /usr/lib/python2.7/site-packages/cairo/py.typed exists in filesystem
    python2-cairo: /usr/lib/python2.7/site-packages/pycairo-1.17.0-py2.7.egg-info exists in filesystem
    Errors occurred, no packages were upgraded.
    No database errors have been found!
    

    I guess there must be a problem with python2-cairo, but I don’t know how to solve it

  • @opensas said in "file exists in filesystem" error when trying to update system:

    archlinuxfr
    DEB_Arch_Extra
    DEB_Arch_Extra.sig

    what for you include this mirrors?

  • @joekamprad I have no idea who added them, I’m using auru to update my system.

    Do you think it’s safe/recommendable to remove them? How would I do that.

  • @opensas
    Where did you get auru?
    You could check https://wiki.archlinux.org/index.php/Pacman#Repositories_and_mirrors
    for info about repositories.

    Repos

    archlinuxfr
    DEB_Arch_Extra
    DEB_Arch_Extra.sig
    

    are not part of regular Antergos install.
    You can use pamac-manager for handling all packages, including AUR. In pamac-manager, you just need to enable AUR support in order to handle also AUR.

    But, keep in mind, AUR packages are not official packages, so it is recommended to use them only if there is no alternative official package (and you really need that package).

  • @manuel said in "file exists in filesystem" error when trying to update system:

    DEB_Arch_Extra

    to get megasync installed?

  • Thanks @joekamprad .

    @opensas If you have problems knowing why you have such external repositories, then is it so that someone else installed the system for you? Then I’d recommend re-installing Antergos yourself, so that you know what you have in your machine. And learn a few bits about the system as well… :)

pacman112 updateupgrade2 auru1 Posts 8Views 284
Bloom Email Optin Plugin

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