You are not logged in.

#1 2012-01-29 16:17:34

fpilee
Member
From: Windows 7
Registered: 2011-10-06
Posts: 104
Website

sh: post_install: command not found

I'm having errors when install random packages...

sh: post_install: command not found
attention: alertness produced during the removal. INSTALL (Write failed)
error: command failed to execute

Last edited by fpilee (2012-01-29 16:41:07)

Offline

#2 2012-01-29 16:19:47

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: sh: post_install: command not found

Flip a coin: post it in the other languages subforum, or get the error message in English so people here can help you.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2012-01-29 16:24:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,520
Website

Re: sh: post_install: command not found

Even translation may not be enough - I get the gist of the error messages, but would still need to know which package you were trying to install and the command you used to install them.  Is this from pacman, or an AUR helper, or manual ... ?

Last edited by Trilby (2012-01-29 16:24:42)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2012-01-29 16:29:05

fpilee
Member
From: Windows 7
Registered: 2011-10-06
Posts: 104
Website

Re: sh: post_install: command not found

pacman errors. I don' use AUR or manual install.

Offline

#5 2012-01-29 16:30:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,520
Website

Re: sh: post_install: command not found

Edited ... posts crossed in transit.

Last edited by Trilby (2012-01-29 16:31:51)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2012-01-29 16:30:53

fpilee
Member
From: Windows 7
Registered: 2011-10-06
Posts: 104
Website

Re: sh: post_install: command not found

sh: post_install: command not found
attention: alertness produced during the removal. INSTALL (Write failed)
error: command failed to execute

Offline

#7 2012-01-29 16:34:04

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: sh: post_install: command not found

fpilee wrote:

sh: post_install: command not found
attention: alertness produced during the removal. INSTALL (Write failed)
error: command failed to execute

We need to know the exact packages.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#8 2012-01-29 16:35:57

fpilee
Member
From: Windows 7
Registered: 2011-10-06
Posts: 104
Website

Re: sh: post_install: command not found

gsl
poppler-glib

those give this

  
    sh: post_install: command not found
    attention: alertness produced during the removal. INSTALL (Write failed)
    error: command failed to execute

gtk-update-icon-cache
lapack
libidn

those give this

sh: post_upgrade: command not found

Pacman log...


[29/01/2012 11:55] Running 'pacman-Syu'
[29/01/2012 11:55] synchronizing package lists
[29/01/2012 11:56] starting full system upgrade
[29/01/2012 12:03] upgraded blas (3.3.1-2 -> 3.4.0-1)
[29/01/2012 12:03] upgraded gtk-update-icon-cache (2.24.9-1 -> 2.24.9-2)
[29/01/2012 12:03] sh: post_upgrade: command not found
[29/01/2012 12:03] upgraded gtk2 (2.24.9-1 -> 2.24.9-2)
[29/01/2012 12:03] upgraded lapack (3.3.1-2 -> 3.4.0-1)
[29/01/2012 12:03] sh: post_upgrade: command not found
[29/01/2012 12:03] upgraded libidn (1.22-1 -> 1.24-1)
[29/01/2012 12:03] sh: post_upgrade: command not found
[29/01/2012 12:03] upgraded r (2.14.0-1 -> 2.14.1-1)
[29/01/2012 12:08] Running 'pacman-Syu'
[29/01/2012 12:08] synchronizing package lists
[29/01/2012 12:08] starting full system upgrade
[29/01/2012 12:37] Running 'pacman-S inkscape'
[29/01/2012 12:47] installed gc (7.1-3)
[29/01/2012 12:47] installed libsigc + + (2.2.10-1)
[29/01/2012 12:47] installed glibmm (2.30.1-1)
[29/01/2012 12:47] installed cairomm (1.10.0-1)
[29/01/2012 12:47] installed pangomm (2.28.4-1)
[29/01/2012 12:47] installed atkmm (2.22.6-1)
[29/01/2012 12:47] installed gtkmm (2.24.2-1)
[29/01/2012 12:47] installed poppler-glib (0.18.3-1)
[29/01/2012 12:47] sh: post_install: command not found
[29/01/2012 12:47] installed gsl (1.15-1)
[29/01/2012 12:47] sh: post_install: command not found
[29/01/2012 12:47] installed inkscape (0.48.2-5)

Last edited by fpilee (2012-01-29 18:40:10)

Offline

#9 2012-01-29 18:19:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: sh: post_install: command not found

Run

LC_ALL=C <command>

to get output in English.


When pasting code, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

gsl does have a post_install script: http://projects.archlinux.org/svntogit/ … ckages/gsl, poppler-glib does not.

Last edited by karol (2012-01-29 18:22:13)

Offline

#10 2012-01-29 18:58:56

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: sh: post_install: command not found

Could you run pacman -Syyu? The reason why I'm asking is because poppler-glib and others don't even have post_upgrade():

package_poppler-glib() {
  pkgdesc="Poppler glib bindings"
  depends=("poppler=${pkgver}" 'glib2')

  cd "${srcdir}/${pkgbase}-${pkgver}/poppler"
  make DESTDIR="${pkgdir}" install-libLTLIBRARIES
  cd "${srcdir}/${pkgbase}-${pkgver}/glib"
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/lib/pkgconfig"
  install -m644 ../poppler-glib.pc "${pkgdir}/usr/lib/pkgconfig/"
  rm -f "${pkgdir}"/usr/lib/libpoppler.*
  rm -f "${pkgdir}/usr/bin/poppler-glib-demo"
}

Also, do you have texinfo (which is required by gsl's install script)? We also need the output of pacman with --debug flag.


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

Board footer

Powered by FluxBB