You are not logged in.

#1 2017-06-13 19:15:56

kabads
Member
Registered: 2012-09-22
Posts: 243
Website

[Solved] Error on pacman update

[adam@hark lineage]$ sudo pacman -Syu
[sudo] password for adam: 
:: Synchronising package databases...
 core                           124.4 KiB  2.02M/s 00:00 [##############################] 100%
 extra                         1668.6 KiB  4.07M/s 00:00 [##############################] 100%
 community                        3.9 MiB  6.12M/s 00:01 [##############################] 100%
 multilib                       176.5 KiB  6.38M/s 00:00 [##############################] 100%
:: Starting full system upgrade...
:: Replace wxgtk with extra/wxgtk2? [Y/n] 
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: gconf-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: gnome-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: gnome-vfs-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: gnomecanvas-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-gnome2-wnck: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-goo-canvas: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-gtk2-imageview: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-gtk2-unique: installing perl (5.26.0-1) breaks dependency 'perl<5.25'

How to get around this?

Last edited by kabads (2017-06-13 19:37:05)

Offline

#2 2017-06-13 19:20:27

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 3,355

Re: [Solved] Error on pacman update

Uninstall the conflicting AUR packages and then rebuild/reinstall them after the upgrade.


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 2017-06-13 19:22:43

ayekat
Member
Registered: 2011-01-17
Posts: 1,342
Website

Re: [Solved] Error on pacman update

kabads wrote:
:: gconf-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: gnome-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: gnome-vfs-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: gnomecanvas-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-gnome2-wnck: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-goo-canvas: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-gtk2-imageview: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-gtk2-unique: installing perl (5.26.0-1) breaks dependency 'perl<5.25'

None of these packages are in the official repositories. If you built them yourself (e.g. from the AUR), you'll need to rebuild them against the new perl version.

I see that all of them removed the versioned dependency, so I guess simply updating them first (before -Syu) should work.

--edit: Actually, I can't find any recent change where the versioned dependency was removed (or ever existed)—I don't really know why it would complain here.

--edit2: No, actually I was right (it just happend half a year ago). Updating the packages in question first should fix the issues.

Last edited by ayekat (2017-06-13 19:31:06)


{,META,RE}PKGBUILDSpacman-hacks (includes makemetapkg and remakepkg) │ dotfiles

Offline

#4 2017-06-13 19:27:41

Executor
Member
From: England
Registered: 2017-06-13
Posts: 20

Re: [Solved] Error on pacman update

If you have installed these packages from the User Repository you may need to reinstall them individually if that particular update still doesn't work then removing those packages might be the next option.


i7 4790K 4.0GHz, ASUS B85-PRO GAMER, 8GB RAM, GTX 750 Ti, Arch x86_64

Offline

#5 2017-06-13 19:32:01

Scorpick
Member
Registered: 2016-02-16
Posts: 20

Re: [Solved] Error on pacman update

They were previously in official repositories, but where dropped to AUR.
https://www.archlinux.org/todo/phasing- … libraries/

If you don't have packages from AUR requiring these, you can safely remove them.

Offline

Board footer

Powered by FluxBB