You are not logged in.

#1 2010-09-15 23:38:04

Anonymo
Member
Registered: 2005-04-07
Posts: 427
Website

[solved] pacman not recognizing packages

I noticed it when I tried to do a pacman -Qs gnome

Nothing shows up

I tried to remove flashplugin, does not show it's installed.  Tried clyde -Sy flashplugin-square.  Downloads a bunch of dependancies that I already should have:

[raul@Arrakis ~]$ sudo pacman -Qs gnome
[raul@Arrakis ~]$ sudo clyde -S flashplugin-square
:: flashplugin-square package not found, searching for group...
:: flashplugin-square group not found, searching AUR...                                                                                                                                                                                            

==> Installing the following packages from repos                                                                                                                                                                                                   

==> Installing the following packages from AUR                                                                                                                                                                                                     
Targets (1): flashplugin-square  

==> Proceed with installation? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
:: Retrieving packages from core...
iana-etc-2.30-1-any....  193.0K  175.4K/s 00:00:01 [#########################################################################################################################################################################################] 100%
filesystem-2010.07-1...    4.4K   36.5K/s 00:00:00 [#########################################################################################################################################################################################] 100%
util-linux-ng-2.18-3... 1311.9K  251.5K/s 00:00:05 [#########################################################################################################################################################################################] 100%
pcre-8.10-1-x86_64.p...  493.1K  225.6K/s 00:00:02 [#########################################################################################################################################################################################] 100%
sqlite3-3.7.2-1-x86_...  352.1K  198.1K/s 00:00:02 [#########################################################################################################################################################################################] 100%
e2fsprogs-1.41.12-1-...  572.6K  239.0K/s 00:00:02 [#########################################################################################################################################################################################] 100%
heimdal-1.3.3-1-x86_... 1916.1K  296.5K/s 00:00:06 [#########################################################################################################################################################################################] 100%
findutils-4.4.2-2-x8...  367.8K  320.5K/s 00:00:01 [#########################################################################################################################################################################################] 100%
gzip-1.4-1-x86_64         81.6K  171.0K/s 00:00:00 [#########################################################################################################################################################################################] 100%
texinfo-4.13a-4-x86_...  670.7K  269.7K/s 00:00:02 [#########################################################################################################################################################################################] 100%
libgpg-error-1.9-2-x...   47.5K  152.9K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libgcrypt-1.4.6-1-x8...  362.8K  240.2K/s 00:00:02 [#########################################################################################################################################################################################] 100%
run-parts-3.2.3-1-x8...    7.8K   94.5K/s 00:00:00 [#########################################################################################################################################################################################] 100%
sed-4.2.1-2-x86_64.p...  108.5K  177.6K/s 00:00:01 [#########################################################################################################################################################################################] 100%
ca-certificates-2009...  108.6K  212.5K/s 00:00:01 [#########################################################################################################################################################################################] 100%
:: Retrieving packages from extra...
mozilla-common-1.4-1...    0.6K    2.9M/s 00:00:00 [#########################################################################################################################################################################################] 100%
xproto-7.0.18-1-any....   56.0K  133.0K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libice-1.0.6-1-x86_64    102.1K  176.9K/s 00:00:01 [#########################################################################################################################################################################################] 100%
libsm-1.1.1-1-x86_64      32.9K   97.0K/s 00:00:00 [#########################################################################################################################################################################################] 100%
xcb-proto-1.6-1-any       64.2K  137.7K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxdmcp-1.0.3-1-x86_64   12.8K   65.9K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxau-1.0.6-1-x86_6...   10.2K   91.1K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxcb-1.7-1-x86_64....  268.9K  227.9K/s 00:00:01 [#########################################################################################################################################################################################] 100%
kbproto-1.0.5-1-any....   21.7K  107.0K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libx11-1.3.5-1-x86_6...    2.3M  336.2K/s 00:00:07 [#########################################################################################################################################################################################] 100%
libxt-1.0.8-1-x86_64...  412.4K  257.7K/s 00:00:02 [#########################################################################################################################################################################################] 100%
atk-1.30.0-1-x86_64....  246.1K  249.6K/s 00:00:01 [#########################################################################################################################################################################################] 100%
renderproto-0.11.1-1...   15.0K   66.3K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxrender-0.9.6-1-x...   22.4K   98.4K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libpng-1.4.3-1-x86_6...  189.5K  178.7K/s 00:00:01 [#########################################################################################################################################################################################] 100%
freetype2-2.4.2-1-x8...  455.6K  225.2K/s 00:00:02 [#########################################################################################################################################################################################] 100%
fontconfig-2.8.0-1-x...  930.8K  236.3K/s 00:00:04 [#########################################################################################################################################################################################] 100%
pixman-0.18.4-1-x86_...  137.7K  154.8K/s 00:00:01 [#########################################################################################################################################################################################] 100%
xcb-util-0.3.6-1-x86_64   65.2K  151.5K/s 00:00:00 [#########################################################################################################################################################################################] 100%
cairo-1.8.10-1-x86_6...  319.5K  204.2K/s 00:00:02 [#########################################################################################################################################################################################] 100%
libxft-2.1.14-1-x86_64    55.8K  132.5K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libdatrie-0.2.4-1-x8...   20.8K   69.7K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libthai-0.1.14-1-x86...  141.5K  155.3K/s 00:00:01 [#########################################################################################################################################################################################] 100%
pango-1.28.1-1-x86_6...  494.4K  203.4K/s 00:00:02 [#########################################################################################################################################################################################] 100%
xextproto-7.1.2-1-an...   89.2K  214.4K/s 00:00:00 [#########################################################################################################################################################################################] 100%
fixesproto-4.1.1-1-any     9.2K   77.5K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxfixes-4.0.5-1-x8...   11.4K  125.0K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxcursor-1.1.10-1-...   48.4K  171.1K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxext-1.1.2-1-x86_...   81.6K  165.8K/s 00:00:00 [#########################################################################################################################################################################################] 100%
xineramaproto-1.2-1-any    2.5K 1282.3K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxinerama-1.1-1-x8...   10.8K   96.5K/s 00:00:00 [#########################################################################################################################################################################################] 100%
randrproto-1.3.1-1-any    26.1K   97.9K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxrandr-1.3.0-1-x8...   37.5K  100.2K/s 00:00:00 [#########################################################################################################################################################################################] 100%
inputproto-2.0-1-any      16.8K   61.4K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxi-1.3.2-1-x86_64...   95.9K  223.8K/s 00:00:00 [#########################################################################################################################################################################################] 100%
compositeproto-0.4.1...    7.1K   80.5K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxcomposite-0.4.2-...    9.4K  100.2K/s 00:00:00 [#########################################################################################################################################################################################] 100%
damageproto-1.2.0-1-any    5.4K   43.7K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libxdamage-1.1.3-1-x...    5.6K   71.5K/s 00:00:00 [#########################################################################################################################################################################################] 100%
libtasn1-2.6-1-x86_6...  103.8K  147.7K/s 00:00:01 [#########################################################################################################################################################################################] 100%
gnutls-2.8.6-1-x86_6... 1552.9K  257.1K/s 00:00:06 [#########################################################################################################################################################################################] 100%
shared-mime-info-0.7...  639.1K  227.9K/s 00:00:03 [#########################################################################################################################################################################################] 100%
libjpeg-8.0.2-1-x86_...  195.5K  210.0K/s 00:00:01 [#########################################################################################################################################################################################] 100%
libtiff-3.9.4-1-x86_...  765.6K  202.7K/s 00:00:04 [#########################################################################################################################################################################################] 100%
libdaemon-0.14-1-x86_64   28.8K  104.7K/s 00:00:00 [#########################################################################################################################################################################################] 100%
dbus-1.2.24-1-x86_64...   22.6K   95.4K/s 00:00:00 [#########################################################################################################################################################################################] 100%
avahi-0.6.27-2-x86_6...  491.7K  229.9K/s 00:00:02 [#########################################################################################################################################################################################] 100%
libcups-1.4.4-3-x86_...  270.5K  163.5K/s 00:00:02 [#########################################################################################################################################################################################] 100%
gtk2-2.20.1-2-x86_64...    5.3M  398.8K/s 00:00:14 [#########################################################################################################################################################################################] 100%
nspr-4.8.6-1-x86_64....  223.2K  231.6K/s 00:00:01 [#########################################################################################################################################################################################] 100%
nss-3.12.7-1-x86_64.... 1382.5K  250.4K/s 00:00:06 [#########################################################################################################################################################################################] 100%
curl-7.21.1-1-x86_64...  431.2K  264.9K/s 00:00:02 [#########################################################################################################################################################################################] 100%
libxslt-1.1.26-1-x86_64  717.7K  204.6K/s 00:00:04 [#########################################################################################################################################################################################] 100%
python-2.6.5-3-x86_6...    7.9M  379.3K/s 00:00:21 [#########################################################################################################################################################################################] 100%
rarian-0.8.1-1-x86_64    169.9K  256.7K/s 00:00:01 [#########################################################################################################################################################################################] 100%
checking package integrity...
(101/101) checking for file conflicts              [#########################################################################################################################################################################################] 100%
error: failed to commit transaction (conflicting files)
mozilla-common: /etc/profile.d/mozilla-common.csh exists in filesystem
mozilla-common: /etc/profile.d/mozilla-common.sh exists in filesystem
linux-api-headers: /usr/include/asm-generic/auxvec.h exists in filesystem
linux-api-headers: /usr/include/asm-generic/bitsperlong.h exists in filesystem
linux-api-headers: /usr/include/asm-generic/errno-base.h exists in filesystem
.... and so on

So I'm thinking my database is messed up for pacman?

I'm running -pf kernel and pacman-cage

[raul@Arrakis ~]$ cd /var/lib/pacman/
arch-games.db.tar.gz  community.db.tar.gz   core.db.tar.gz        extra.db.tar.gz       lost+found/           multilib.db.tar.gz    pfkernel.db.tar.gz    sync/                 
[raul@Arrakis core]$ sudo pacman-uncage
Password: 
==> md5sum'ing the old database...
==> copying pacman.db contents back, note: the time needed to get a brew is now.
==> unmounting old dbroot and moving new one in
umount: /var/lib/pacman: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
rmdir: failed to remove `/var/lib/pacman': Device or resource busy
==> md5sum'ing the new database...
==> checking integrity...
rm: cannot remove `/var/lib/pacman': Device or resource busy
mkdir: cannot create directory `/var/lib/pacman': File exists
mount: according to mtab /var/lib/pacman.db is already mounted on /var/lib/pacman as loop
pacman-uncage: integrity check FAILED, reverting to old database

Last edited by Anonymo (2010-09-16 03:28:29)

Offline

#2 2010-09-16 01:31:23

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [solved] pacman not recognizing packages

Looks like another pacman-cage screw-up....  these are fun to recover from.

Anyway, the error from pacman-cage shows that something is using a file in the pacman db folder so pacman cage can not unmount that folder to re-extract your pacman database.  Close what ever program is pointing there (pacman???), reboot if you can not figure it out, and re-run pacman-uncage.

Offline

#3 2010-09-16 03:28:55

Anonymo
Member
Registered: 2005-04-07
Posts: 427
Website

Re: [solved] pacman not recognizing packages

Could not get this working.  Thanks Allen.
I reinstalled Arch.

Offline

Board footer

Powered by FluxBB