You are not logged in.

#1 2013-12-17 18:48:03

kageurufu
Member
Registered: 2013-04-01
Posts: 17

How to specify that a package can ignore a dependancy in an upgrade?

I use PostgreSQL on my laptop for development in general, and leave it running at all times, so instead of using MariaDB for Akonadi, I have it configured to use Postgres.

I then uninstalled MariaDB ( pacman -Rdd mariadb mariadb-clients ) to keep the clutter down

How can I upgrade Akonadi without it requiring a reinstall of mariadb?

And realistically, is there a way I can be able to just specify that ignore in a pacman config file, so I can just run pacman -Syu and not need to worry about the broken dependancy?

EDIT:
Hacked together a quick PKGBUILD that provides mariadb, this seems to fix it.
Now, I guess the question should be is there a better way to do this?

https://aur.archlinux.org/packages/mariadb-fake/

Last edited by kageurufu (2013-12-17 18:57:10)

Offline

#2 2013-12-17 18:58:58

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: How to specify that a package can ignore a dependancy in an upgrade?

kageurufu wrote:

How can I upgrade Akonadi without it requiring a reinstall of mariadb?

You can tell pacman to skip dependency checks, there is a switch for it - look to manual page or wiki, I don't remember it.

kageurufu wrote:

And realistically, is there a way I can be able to just specify that ignore in a pacman config file, so I can just run pacman -Syu and not need to worry about the broken dependancy?

Well, there are several options in pacman.conf, such as IgnorePkg. Again, look to man page or wiki, they're described pretty well there.

I wouldn't recommend disabling dependency checks system-wide though and I'm not even sure you can do on a per-package basis in pacman.conf..

-miky


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#3 2013-12-17 19:04:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to specify that a package can ignore a dependancy in an upgrade?

akonadi depends on mariadb, so you would have to change that e.g. using ABS.
Maybe you can suggest the devs to make mariadb dependency optional?

Offline

Board footer

Powered by FluxBB