You are not logged in.
Hi,
i got some "xxxxxx not found on AUR" messages after doing a "yaourt -Syu --aur" so I began to remove them with "yaourt -Rs xxxxxxx".
When there was only one left "aqpm2" this is what happened:
[studio@myhost ~]$ yaourt -Rs aqpm2
verificando dependências...Remover (2): aqpm2-20100615-2 qjson-0.7.1-2
Tamanho total dos pacotes a serem removidos: 2,93 MB
Deseja remover estes pacotes? [S/n] s
(1/2) removendo aqpm2 [##########################################################################] 100%
(2/2) removendo qjson [##########################################################################] 100%
/usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
/usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
/usr/bin/yaourt: line 201: testdb: comando não encontrado
now pacman is broken:
[studio@myhost ~]$ pacman
bash: pacman: comando não encontrado
[studio@myhost ~]$ yaourt -Syu --aur
/usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
You are not allowed to launch /usr/bin/pacman with sudo
Please enter root password
Senha:
bash: /usr/bin/pacman: Arquivo ou diretório não encontrado
==> WARNING: problem in pkgbuild.sh library
/usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
/usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
/usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
==> Searching for new version on AUR
/usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
Unable to open file: /etc/pacman.conf
/usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
/usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
/usr/bin/yaourt: line 201: testdb: comando não encontrado[studio@myhost ~]$ sudo pacman -Syu
sudo: pacman: command not found
please help
Last edited by capoeira (2010-10-16 14:33:39)
Offline
can't undestand why pacman was excluded.
is there a way to undo a uninstall?
Offline
You can download the pacman package and uncompress it. It's just a regular "tar.xz" file. ("tar xvJf filename.tar.xz") Then, copy the pacman files to where they need to go.
I think that's a good way to install pacman without pacman...
By the way, is pacman really missing? Do you have "/usr/bin/pacman"? Maybe only yaourt is broken...
Offline
By the way, is pacman really missing? Do you have "/usr/bin/pacman"? Maybe only yaourt is broken...
yes it's gone.....i posted in first post, too that i allready tried pacman without yaourt, too
i think i will solve this like stated in post #16 here: https://bbs.archlinux.org/viewtopic.php … 81#p712481 as it seams easier than copy everything by hand
BUT i really would like to understand what happened
Offline
you could also compile it from source. that's rather fast then copying every single part to its right place. do you still have an entry for 'which pacman'?
Offline
do you still have an entry for 'which pacman'?
[studio@myhost ~]$ which pacman
which: no pacman in (/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/lib/perl5/vendor_perl/bin:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin:/opt/torcs/bin)
[studio@myhost ~]$
Offline
can I use pacman-static from this repro?
I'm afraid to break system even more
Offline
can I use pacman-static from this repro?
I'm afraid to break system even more
OK, that gave me a segfault, so
I downloaded the package and copied the folders to root.
no pacman works but gaves me this errors afterwards:
pacman-3.4.1-1: description file is missing
pacman-3.4.1-1: dependency file is missing
pacman-3.4.1-1: file list is missing
how do I solve this?
BTW: should I make a bug-report??
EDIT: any package I try to instal I get this error:
erro: não foi possível abrir o arquivo /var/lib/pacman/local/pacman-3.4.1-1/depends: Arquivo ou diretório não encontrado
(it's in portuguese but i think its understandable)
Last edited by capoeira (2010-10-15 22:08:36)
Offline
ok, I downloaded the pacman-package and copied the folders: http://www.archlinux.org/packages/core/x86_64/pacman/
/var/lib/pacman/ is empty in the package-folder - so this is the problem.
how do I get those entries???
EDIT: there is an install script in the package but i don't get how to install it...would this solve this???
Last edited by capoeira (2010-10-15 23:28:22)
Offline
installed pacman from source, but the problem remains
Offline
get pacman package from a mirror, change directory to / and extract it in there. then pacman -Sf pacman
Give what you have. To someone, it may be better than you dare to think.
Offline
pacman -Sf pacman
that did the trick, thanks
Offline