You are not logged in.
I had the liblzma.so.0 problem and tought pacman was the problem. I tried to reinstall pacman several time and find out that the liblzma.so.0 symlink was the problem.
Now pacman don't work I have the following message:
No Usable Pacman Repositories Configured
Here is the pacman -v output:
Root : /
Conf File : /usr/local/etc/pacman.conf
DB Path : /usr/local/var/lib/pacman/
Cache Dirs: /usr/local/var/cache/pacman/pkg/
Lock File : /usr/local/var/lib/pacman/db.lck
Log File : /usr/local/var/log/pacman.log
Targets : --
Erreur: aucune opération spécifiée (utiliser -h pour l'aide)
That wrong! /usr/local/ shouldn't be there but I am unable to change it!
Last edited by srivo (2010-12-19 20:39:14)
Offline
How did you reinstall pacman?
Online
with powerpill and I tried also to untar pacman-3.4.1-1-i686.pkg.tar.gz
Offline
By the way, should that post be put in pacman forum?
Offline
What did you do after you unpacked pacman?
You may have to use arch livecd and chroot in too try to fix pacman issue ...
Mr Green
Offline
What did you do after you unpacked pacman?
Notting, I just tryed to do pacman -Syu and receive again the same message.
pacman don't point to the right place and I don't know how to correct that!
Offline
All right! Something new!
If I use pacman -Syu I get the error message.
If I use /usr/bin/pacman -Syu everything work!
How to fix that?
Offline
which pacman
What does that show?
Mr Green
Offline
$ which pacman
/usr/local/bin/pacman
Offline
EDIT: Whoops, I had this window open way to long, should have refreshed before posting... below was written before the last ~4 posts!
I don't get what you did to have database paths, and especially pacman.conf, in /usr/local (here someone else as well? I doubt this is an intentional setup, or you would surely have mentioned it.
What does "whereis -b pacman" show? Can you run "pacman -Qil pacman"? If you untared pacman to root, these files will be put in the standard location.
From how I understand it, you should:
a) check if you are running /usr/bin/pacman
b) check where your actual database resides
c) configure /etc/pacman.conf accordingly
d) point pacman to its default config file per commandline
e) if you still have "broken libs" errors, untar all of pacman's "stack" packages to root
d) force reinstall any untared packages with pacman
//
I had the liblzma.so.0 problem and tought pacman was the problem. I tried to reinstall pacman several time and find out that the liblzma.so.0 symlink was the problem.
Just one more time:
- always do full system updates
- symlinking libraries is not a "solution", but the seed for further frustration
Last edited by hokasch (2010-12-19 18:11:20)
Offline
@hokasch would cleaning out /usr/local/var help?
Last edited by Mr Green (2010-12-19 18:27:46)
Mr Green
Offline
Hmm, I guess it should, but without understanding how the pacman files ended up there...
Could you check where your local database is (look into /var/lib/pacman/local/ and /usr/local/var/lib/pacman/local/)?
Edit: also, can you post the output from "/usr/local/bin/pacman -Qil pacman"?
argh typo, I did mean the /usr/local/bin one.. corrected
Last edited by hokasch (2010-12-19 18:27:42)
Offline
Is there an easy way to change it? So that the pacman command point to the right pacman.
Offline
That is what we are trying to figure out....
Last edited by Mr Green (2010-12-19 18:29:47)
Mr Green
Offline
Here is the output:
# /usr/bin/pacman -Qil pacman
Nom : pacman
Version : 3.4.1-1
URL : [url]http://www.archlinux.org/pacman/[/url]
Licences : GPL
Groupes : base
Fournit : --
Dépend de : bash libarchive>=2.7.1 libfetch>=2.25
pacman-mirrorlist
Dépendances opt. : fakeroot: for makepkg usage as normal user
curl: for rankmirrors usage
Requis par : archup package-query pkgstats yaourt
Est en conflit avec : --
Remplace : --
Taille (installé) : 2244,00 K
Paqueteur : Dan McGee <dan@archlinux.org>
Architecture : i686
Compilé le : ven 03 sep 2010 21:12:12 EDT
Installé le : dim 19 déc 2010 13:31:36 EST
Motif d'installation : Explicitement installé
Script d'installation : Oui
Description : A library-based package manager with dependency support
pacman /etc/
pacman /etc/bash_completion.d/
pacman /etc/bash_completion.d/pacman
pacman /etc/makepkg.conf
pacman /etc/pacman.conf
pacman /usr/
pacman /usr/bin/
pacman /usr/bin/cleanupdelta
pacman /usr/bin/makepkg
pacman /usr/bin/pacman
pacman /usr/bin/pacman-optimize
pacman /usr/bin/pkgdelta
pacman /usr/bin/rankmirrors
pacman /usr/bin/repo-add
pacman /usr/bin/repo-remove
pacman /usr/bin/testdb
pacman /usr/bin/testpkg
pacman /usr/bin/vercmp
pacman /usr/include/
pacman /usr/include/alpm.h
pacman /usr/include/alpm_list.h
pacman /usr/lib/
pacman /usr/lib/libalpm.a
pacman /usr/lib/libalpm.so
pacman /usr/lib/libalpm.so.5
pacman /usr/lib/libalpm.so.5.0.1
pacman /usr/share/
pacman /usr/share/locale/
pacman /usr/share/locale/ca/
pacman /usr/share/locale/ca/LC_MESSAGES/
pacman /usr/share/locale/ca/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/ca/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/cs/
pacman /usr/share/locale/cs/LC_MESSAGES/
pacman /usr/share/locale/cs/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/cs/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/de/
pacman /usr/share/locale/de/LC_MESSAGES/
pacman /usr/share/locale/de/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/de/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/el/
pacman /usr/share/locale/el/LC_MESSAGES/
pacman /usr/share/locale/el/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/el/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/en_GB/
pacman /usr/share/locale/en_GB/LC_MESSAGES/
pacman /usr/share/locale/en_GB/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/en_GB/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/es/
pacman /usr/share/locale/es/LC_MESSAGES/
pacman /usr/share/locale/es/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/es/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/fr/
pacman /usr/share/locale/fr/LC_MESSAGES/
pacman /usr/share/locale/fr/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/fr/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/hu/
pacman /usr/share/locale/hu/LC_MESSAGES/
pacman /usr/share/locale/hu/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/hu/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/it/
pacman /usr/share/locale/it/LC_MESSAGES/
pacman /usr/share/locale/it/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/it/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/kk/
pacman /usr/share/locale/kk/LC_MESSAGES/
pacman /usr/share/locale/kk/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/kk/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/nb/
pacman /usr/share/locale/nb/LC_MESSAGES/
pacman /usr/share/locale/nb/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/nb/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/pl/
pacman /usr/share/locale/pl/LC_MESSAGES/
pacman /usr/share/locale/pl/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/pl/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/pt/
pacman /usr/share/locale/pt/LC_MESSAGES/
pacman /usr/share/locale/pt/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/pt/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/pt_BR/
pacman /usr/share/locale/pt_BR/LC_MESSAGES/
pacman /usr/share/locale/pt_BR/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/pt_BR/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/ro/
pacman /usr/share/locale/ro/LC_MESSAGES/
pacman /usr/share/locale/ro/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/ro/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/ru/
pacman /usr/share/locale/ru/LC_MESSAGES/
pacman /usr/share/locale/ru/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/ru/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/sk/
pacman /usr/share/locale/sk/LC_MESSAGES/
pacman /usr/share/locale/sk/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/sk/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/sv/
pacman /usr/share/locale/sv/LC_MESSAGES/
pacman /usr/share/locale/sv/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/sv/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/tr/
pacman /usr/share/locale/tr/LC_MESSAGES/
pacman /usr/share/locale/tr/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/tr/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/uk/
pacman /usr/share/locale/uk/LC_MESSAGES/
pacman /usr/share/locale/uk/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/uk/LC_MESSAGES/pacman.mo
pacman /usr/share/locale/zh_CN/
pacman /usr/share/locale/zh_CN/LC_MESSAGES/
pacman /usr/share/locale/zh_CN/LC_MESSAGES/libalpm.mo
pacman /usr/share/locale/zh_CN/LC_MESSAGES/pacman.mo
pacman /usr/share/man/
pacman /usr/share/man/man3/
pacman /usr/share/man/man3/libalpm.3.gz
pacman /usr/share/man/man5/
pacman /usr/share/man/man5/PKGBUILD.5.gz
pacman /usr/share/man/man5/makepkg.conf.5.gz
pacman /usr/share/man/man5/pacman.conf.5.gz
pacman /usr/share/man/man8/
pacman /usr/share/man/man8/makepkg.8.gz
pacman /usr/share/man/man8/pacman.8.gz
pacman /usr/share/man/man8/repo-add.8.gz
pacman /usr/share/man/man8/repo-remove.8.gz
pacman /usr/share/pacman/
pacman /usr/share/pacman/ChangeLog.proto
pacman /usr/share/pacman/PKGBUILD-split.proto
pacman /usr/share/pacman/PKGBUILD.proto
pacman /usr/share/pacman/proto.install
pacman /usr/share/zsh/
pacman /usr/share/zsh/site-functions/
pacman /usr/share/zsh/site-functions/_pacman
pacman /var/
pacman /var/cache/
pacman /var/cache/pacman/
pacman /var/cache/pacman/pkg/
pacman /var/lib/
pacman /var/lib/pacman/
Offline
Here is the ouput of /usr/bin/pacman -v:
# /usr/bin/pacman -v
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
Targets : --
Erreur: aucune opération spécifiée (utiliser -h pour l'aide)
Offline
What did do after you unpacked pacman? can you list command from powerpill? will be in your history [possibly]
Mr Green
Offline
Sorry, I misspelled it - can you run the same command with the pacman in /usr/local/bin (->" /usr/local/bin/pacman -Qil pacman "?
Is there an easy way to change it? So that the pacman command point to the right pacman.
You added /usr/local/bin to your path somewhere. If you do not have any needed binaries there, you can just remove them. What I don't get is if your local database, and your "primary" pacman install, is in /var/lib/pacman/local or in /usr/var/lib/pacman/local - I suspect the former, but just to be sure, have a look into both directories, I hope one is quite full and the other as empty as possible...
Last edited by hokasch (2010-12-19 18:36:43)
Offline
@hokasch
On my machine PATH shows /usr/local/bin [first one] so it may naturally go there, until we know what he did or how he installed pacman then we have to be careful not to make things worse
Last edited by Mr Green (2010-12-19 18:41:56)
Mr Green
Offline
Mr Green is right, /usr/local/bin is in PATH by default (discouvered an unmerged profile.pacnew...).
Forget about the path srivo - you have two sets of pacman files in your system, and should remove one. But before you do that, we should find out which set you have been using normally, hence #18.
Offline
# /usr/local/bin/pacman -Qil pacman
Erreur: paquet "pacman" introuvable
It can't find the pacman package so I'm sure it's the wrong one!
/var/lib/pacman/local is full!
/usr/local/var/lib/pacman is empty!
Offline
Well, it should be safe to remove all pacman files in /usr/local/ then (e.g., /usr/local/bin/pacman). For a list of what the pacman package includes, run "/usr/bin/pacman -Ql pacman" - these files you must keep! Chances are you will find a lot of them under /usr/local/ as well, unowned by any package (check with -Qo), these you can remove.
Also double check your /etc/pacman.conf, force reinstall all packages you manually untared, and do a full system update. Eventually remove any lib symlinks you have created.
Offline
Alright it work!
What a mess to clean
Thanks guys for your patience!
Offline