You are not logged in.

#1 2012-01-24 10:28:34

jst
Member
Registered: 2012-01-24
Posts: 5

check system unmet dependencies

Is there any way to check unmet dependencies? something like "apt-get check" on debian?

Offline

#2 2012-01-24 11:06:58

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

Re: check system unmet dependencies

According to https://wiki.archlinux.org/index.php/Pacman_Rosetta - no, there is no way to do this.
Can you describe your problem?

Offline

#3 2012-01-24 11:13:59

jst
Member
Registered: 2012-01-24
Posts: 5

Re: check system unmet dependencies

I actually found the same page, and I deduced there is no such option into Pacman...

Actually, I've not any problem right now, but I've removed XFCE4 from my system, and I've run pacman -Rd xfce4... So I wanted to check now that no dependency was unmet in my system smile

Offline

#4 2012-01-24 11:39:04

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

Re: check system unmet dependencies

Why did you run 'pacman -Rd xfce4' instead of e.g. 'pacman -Rns xfce4'?

Offline

#5 2012-01-24 11:44:18

jst
Member
Registered: 2012-01-24
Posts: 5

Re: check system unmet dependencies

Because I did not read carefully man pacman  smile RTFM to me!!! big_smile Anyway, I'm quite sure nothing wrong happened, profided I checked the packages were going to be removed...

Anyway, I was really courious about finding a way to check broken packages...

Offline

#6 2012-01-24 12:07:45

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,409
Website

Re: check system unmet dependencies

testdb

Offline

#7 2012-01-24 12:11:11

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

Re: check system unmet dependencies

I've noticed that running 'testdb extra' returns a lot of warnings about missing dependencies. Is it because we assume base and base-devel to be installed and do not explicitely list them?

Offline

#8 2012-01-24 12:11:16

jst
Member
Registered: 2012-01-24
Posts: 5

Re: check system unmet dependencies

Allan wrote:

testdb

Thanks a lot!! more info here : https://bbs.archlinux.org/viewtopic.php?pid=320958

Offline

#9 2012-01-24 12:12:36

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,409
Website

Re: check system unmet dependencies

karol wrote:

I've noticed that running 'testdb extra' returns a lot of warnings about missing dependencies. Is it because we assume base and base-devel to be installed and do not explicitely list them?

Nope...  it tends to be because you have missing dependencies...   Care to post any output?

Offline

#10 2012-01-24 12:17:10

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

Re: check system unmet dependencies

jst wrote:
Allan wrote:

testdb

Thanks a lot!! more info here : https://bbs.archlinux.org/viewtopic.php?pid=320958

I find 'testdb -h' to be clear enough :-)

Added to the wiki: https://wiki.archlinux.org/index.php?ti … did=176162

Offline

#11 2012-01-24 12:21:12

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

Re: check system unmet dependencies

Allan wrote:
karol wrote:

I've noticed that running 'testdb extra' returns a lot of warnings about missing dependencies. Is it because we assume base and base-devel to be installed and do not explicitely list them?

Nope...  it tends to be because you have missing dependencies...   Care to post any output?

[karol@black ~]$ testdb extra
missing dependency for a2ps : perl
missing dependency for a52dec : glibc
missing dependency for aalib : glibc
missing dependency for aalib : ncurses
missing dependency for aalib : gpm
missing dependency for abook : readline
missing dependency for abs : bash
missing dependency for acpi : glibc
missing dependency for acpid : bash
missing dependency for aif : util-linux-ng
missing dependency for aif : bash
missing dependency for aif : pacman
missing dependency for aif : coreutils
missing dependency for aif : grub
missing dependency for aif : grep
missing dependency for aif : awk
missing dependency for aif : sed
missing dependency for alex : gmp
missing dependency for allegro4 : sh
missing dependency for alsa-lib : glibc
missing dependency for alsa-utils : dialog
missing dependency for alsa-utils : pciutils
missing dependency for alsa-utils : ncurses
missing dependency for alsa-utils : psmisc
missing dependency for alsaplayer : gcc-libs
missing dependency for antlr2 : sh
missing dependency for apache : openssl
missing dependency for apache : zlib
missing dependency for apache : pcre
missing dependency for apr : util-linux-ng>=2.16
missing dependency for apr-util : gdbm
missing dependency for apr-util : expat
missing dependency for apr-util : db
missing dependency for apr-util : libldap
missing dependency for apricots : gcc-libs
missing dependency for archboot : mkinitcpio>=0.7.2-1
missing dependency for archboot : initscripts>=2011.07.3-1
missing dependency for archboot : wget>=1.13.3-1
missing dependency for archboot : bash>=4.2.010-1
missing dependency for archboot : coreutils>=8.13-1
missing dependency for archboot : cryptsetup>=1.3.1-2
missing dependency for archboot : dialog>=1.1_20110707-1
missing dependency for archboot : e2fsprogs>=1.41.14-1
missing dependency for archboot : findutils>=4.4.2-3
missing dependency for archboot : gawk>=4.0.0-1
missing dependency for archboot : grep>=2.9-1
missing dependency for archboot : iputils>=20101006-1
missing dependency for archboot : jfsutils>=1.1.15-2
missing dependency for archboot : less>=444-1
missing dependency for archboot : lvm2>=2.02.88-1
...

I can upload it whole if you want.

Some of them are OK, as I don't have e.g. lvm2, but the rest ...

Offline

#12 2012-01-24 12:26:26

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,409
Website

Re: check system unmet dependencies

Ah ...  that is because you are just testing the [extra] db which has dependencies in [core].   You really need to run "testdb core extra"

Offline

#13 2012-01-24 12:32:33

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

Re: check system unmet dependencies

Allan wrote:

Ah ...  that is because you are just testing the [extra] db which has dependencies in [core].   You really need to run "testdb core extra"

Yup, that's what 'testdb -h' tells me, but I was curious where exactly the errors are coming from, thanks for the explanation, I somehow couldn't figure it out :-)

[karol@black ~]$ testdb core extra
missing dependency for archboot : kernel26-lts>=2.6.32.46-1
missing dependency for archboot : squashfs-tools>=4.2-1
missing dependency for gnucash : libdbi-drivers
missing dependency for gnucash : aqbanking
missing dependency for mod_perl : perl-linux-pid
missing dependency for nouveau-drm-lts : kernel26-lts>=2.6.32
missing dependency for nouveau-drm-lts : kernel26-lts<2.6.33
missing dependency for ruby : libyaml
missing dependency for spamassassin : perl-mail-dkim

Looks familiar https://bbs.archlinux.org/viewtopic.php … 3#p1045863 ;P

Offline

#14 2013-03-01 16:53:40

giner
Member
Registered: 2007-02-28
Posts: 26
Website

Re: check system unmet dependencies

As I can see "testdb core extra" or "testdb core extra community" checks not installed packages but the whole synced database.

Offline

#15 2013-03-02 23:35:57

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

Re: check system unmet dependencies

giner wrote:

As I can see "testdb core extra" or "testdb core extra community" checks not installed packages but the whole synced database.

This is what it seems to do here, as well. It lists missing dependencies for packages which I've never had installed. I suspect it would also not list dependencies missing on my system but available in the repos but obviously I could be wrong about that.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

Board footer

Powered by FluxBB