You are not logged in.
when I upgrade my system, I saw some errors:
error: command failed to execute correctly
check the package's .INSTALL, run it manually, I get something like:
install-info: menu item `gpg-agent' already exists, for file `gnupg'
install-info: menu item `gpg-agent' already exists, for file `gnupg'
can anyone fix it?
thx
Solved:
I have another version install-info come with texlive installed not from pacman repo, and it stand in the front of arch install-info in the $PATH.
Last edited by jackphil (2011-01-25 02:13:40)
Offline
Please be more specific i.e. name the package and post the install script.
Offline
I think it similar with https://bbs.archlinux.org/viewtopic.php?pid=673587, but the solution doesn't work for me. and it doesn't about a specific package, because when i install the same packages on another arch machine, there is no error
anyway, here it is:
package: gnupg2-2.0.17-1-i686.pkg.tar.xz
install script:
infodir=/usr/share/info
filelist=(gnupg.info gnupg.info-1 gnupg.info-2)
post_install() {
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
}
post_upgrade() {
post_install $1
}
my test script:
#!/bin/bash
infodir=/usr/share/info
filelist=(gnupg.info gnupg.info-1 gnupg.info-2)
post_install() {
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir
done
}
post_install
all the error info is in my first post
Last edited by jackphil (2011-01-24 15:26:11)
Offline