You are not logged in.

#1 2008-08-22 20:48:59

kimba
Member
Registered: 2008-08-22
Posts: 3

Pacman fights with gnome-keyring [SOLVED]

Hi,
i am a new user of archlinux and just installed it on a virtualbox. I have Xfce and a very basic sistem (basically xfce, geany and firefox... just use it to program java).
So i am pretty sure i have not screw up with some strange conf yet wink (i hope...).

Anyway anytime i use pacman i got this error:

error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory

Then it works perfectly, but i want to fix it.
When i try to remove keyring it tells me:


error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
(....the same line for like 50-60 times....)
error: failed to prepare transaction (could not satisfy dependencies)
:: libgnomeui: requires gnome-keyring>=2.22.1

and even if i try to install(or reinstall?) it:

error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
(....the same line for like 50-60 times....)

Targets (1): gnome-keyring-2.22.3-1  

Total Download Size:    0.00 MB
Total Installed Size:   2.21 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts                   [#####################] 100%
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/files: No such file or directory
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
gnome-keyring: /lib/security/pam_gnome_keyring.so exists in filesystem
Errors occurred, no packages were upgraded.

Thanks for helping!

Last edited by kimba (2008-08-24 00:59:08)

Offline

#2 2008-08-22 22:06:50

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Pacman fights with gnome-keyring [SOLVED]

1) which pacman version? (pacman -V)

2) Which command did you use for installing / reinstalling gnome-keyring ?

3) What does this say :

/lib/security/pam_gnome_keyring.so

4) And can you provide the debug output :

pacman -S gnome-keyring --debug

pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2008-08-23 12:12:18

kimba
Member
Registered: 2008-08-22
Posts: 3

Re: Pacman fights with gnome-keyring [SOLVED]

Thank for your answer smile

1)

bash-3.2# pacman -V

 .--.                  Pacman v3.2.0 - libalpm v3.0.0


2)
I never installed gnome-keyring by itself (never use it in all my life). I guess it was installed when i installed xfce group.
(INSTALLED THINGS BY ME:
base (default)
xfce gruop
java
abiword
vcl
firefox
flash
geany)

I always use the command

pacman -S SOMETHING

3)

bash-3.2# /lib/security/pam_gnome_keyring.so
Segmentation fault

Uhm...



4)

bash-3.2# pacman -S gnome-keyring --debug
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: new section 'core'
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: opening database 'core'
debug: opening database from path '/var/lib/pacman/sync/core/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': ftp://mir2.archlinuxfr.org/archlinux/core/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: opening database 'extra'
debug: opening database from path '/var/lib/pacman/sync/extra/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': ftp://mir2.archlinuxfr.org/archlinux/extra/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: opening database 'community'
debug: opening database from path '/var/lib/pacman/sync/community/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': ftp://mir2.archlinuxfr.org/archlinux/community/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
debug: opening database 'local'
debug: opening database from path '/var/lib/pacman/local/'
debug: loading package cache for repository 'local'
debug: loading package cache for repository 'core'
debug: loading package cache for repository 'extra'
warning: gnome-keyring-2.22.3-1 is up to date -- reinstalling
debug: adding package gnome-keyring-2.22.3-1 to the transaction targets
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package gnome-keyring-2.22.3-1
debug: finished resolving dependencies
debug: started sorting dependencies
debug: sorting dependencies finished
looking for inter-conflicts...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: check targets vs db and db vs targets
debug: check targets vs db
debug: check db vs targets
debug: checking dependencies
debug: checkdeps: package gnome-keyring-2.22.3-1
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory


(....many many lines like this, i had to set scrollback on terminal on 10 000 to see the start ....)



debug: found cached pkg: /var/cache/pacman/pkg/gnome-keyring-2.22.3-1-i686.pkg.tar.gz
debug: setting download size 0 for pkg gnome-keyring

Targets (1): gnome-keyring-2.22.3-1  

Total Download Size:    0.00 MB
Total Installed Size:   2.21 MB

Proceed with installation? [Y/n] 
debug: using cachedir: /var/cache/pacman/pkg/
checking package integrity...
debug: found cached pkg: /var/cache/pacman/pkg/gnome-keyring-2.22.3-1-i686.pkg.tar.gz
debug: md5(/var/cache/pacman/pkg/gnome-keyring-2.22.3-1-i686.pkg.tar.gz) = d5f0c1f3fab0823977551c580866a78d
debug: installing packages
debug: found cached pkg: /var/cache/pacman/pkg/gnome-keyring-2.22.3-1-i686.pkg.tar.gz
debug: loading target '/var/cache/pacman/pkg/gnome-keyring-2.22.3-1-i686.pkg.tar.gz'
debug: sorting package filelist for /var/cache/pacman/pkg/gnome-keyring-2.22.3-1-i686.pkg.tar.gz
checking for file conflicts...
debug: looking for file conflicts
debug: searching for file conflicts: gnome-keyring
debug: searching for filesystem conflicts: gnome-keyring
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/files: No such file or directory
debug: checking possible conflict: /lib/security/pam_gnome_keyring.so
debug: file found in conflict: /lib/security/pam_gnome_keyring.so
debug: found file conflict /lib/security/pam_gnome_keyring.so, packages gnome-keyring and (filesystem)
debug: returning error 40 from _alpm_add_prepare : conflicting files
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
gnome-keyring: /lib/security/pam_gnome_keyring.so exists in filesystem
Errors occurred, no packages were upgraded.
debug: closing database 'local'
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: closing database 'core'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: closing database 'extra'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: closing database 'community'
debug: unregistering database 'community'

Maybe i just have to remove  "/lib/security/pam_gnome_keyring.so"?



I think this can olso be a clue:



bash-3.2# pacman -R gnome-keyring --debug
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: new section 'core'
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: opening database 'core'
debug: opening database from path '/var/lib/pacman/sync/core/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': ftp://mir2.archlinuxfr.org/archlinux/core/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: opening database 'extra'
debug: opening database from path '/var/lib/pacman/sync/extra/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': ftp://mir2.archlinuxfr.org/archlinux/extra/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: opening database 'community'
debug: opening database from path '/var/lib/pacman/sync/community/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': ftp://mir2.archlinuxfr.org/archlinux/community/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
debug: opening database 'local'
debug: opening database from path '/var/lib/pacman/local/'
debug: loading package cache for repository 'local'
debug: adding gnome-keyring in the targets list
checking dependencies...
debug: looking for unsatisfied dependencies
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends: No such file or directory






(....many many lines like this)


debug: returning error 38 from _alpm_remove_prepare : could not satisfy dependencies
error: failed to prepare transaction (could not satisfy dependencies)
:: libgnomeui: requires gnome-keyring>=2.22.1
debug: closing database 'local'
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: closing database 'core'
debug: unregistering database 'core'
debug: closing database 'extra'
debug: unregistering database 'extra'
debug: closing database 'community'
debug: unregistering database 'community'

I hope i gave you the right infos. smile

Thanks again and hoping for a tip!

Last edited by kimba (2008-08-23 12:21:47)

Offline

#4 2008-08-23 21:56:35

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Pacman fights with gnome-keyring [SOLVED]

Oops, in 3) I meant this : pacman -Qo /lib/security/pam_gnome_keyring.so
I forgot half the command sorry.
Anyway, I got the answer of this command in the debug output :
debug: found file conflict /lib/security/pam_gnome_keyring.so, packages gnome-keyring and (filesystem)

Sorry if I didn't give you a workaround yet, I wanted to reproduce the problem first and understand it.
And I was able to, by removing both depends and files from gnome-keyring database entry :
rm /var/lib/pacman/local/gnome-keyring-2.22.3-1/depends /var/lib/pacman/local/gnome-keyring-2.22.3-1/files

It still looks something bad happened during the installation of gnome-keyring. The gnome-keyring-2.22.3-1 directory was created, the /lib/security/pam_gnome_keyring.so was extracted, but the installation did not complete and the database entry was not fully created.

Anyway, here is a simple workaround :

pacman -Rd gnome-keyring
pacman -Sf gnome-keyring

pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#5 2008-08-24 01:01:57

kimba
Member
Registered: 2008-08-22
Posts: 3

Re: Pacman fights with gnome-keyring [SOLVED]

It worked just perfectly! wink

What can i say? I am very happy about my new arch and about the wounderful support from this community.

Thank you again!

PS: Ill be back with new problem soon tongue Bwahahaha!

Offline

Board footer

Powered by FluxBB