E: phpgroupware: subprocess post-installation script returned error exit status 1

Asked by John Adsit

I am a newbie to ubuntu,& terminal, I downloaded flash player 9 & attemped to install flash player 9 using terminal, could not get it to install, then improperly exited terminal. now get the error message, subprocess-installation script returned exit status 1. What may I do to correct my mistakes in terminal?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Bienia
Solved:
Last query:
Last reply:
Revision history for this message
Ralph Janke (txwikinger) said :
#1

Thanks for your question.

The best way would be to fix whatever creates the error. Are there anymore error messages that could lead to the problem?

Often it is a process that is expected to run that doesn't. In that case it can just start it and run the install again.

You can run

sudo apt-get install -f

from a commandline terminal and get a more precise error message to paste here.

I hope this helps.

Revision history for this message
John Adsit (osider-john) said :
#2

Do not know how to copy & paste from the terminal, so I am typing what terminal displayed .
1 not fully installed or removed
Need to get OB of archives
after unpacking OB of additional disk space will be used
Setting up phpgroupware (0.9.16.011=2~dapper1)...
setting up apache
setting up apache-ssl
setting up apache-perl
setting up apache2
/usr/share/wwwconfig-common/pgsql.get: line 77:psql: command not found
/usr/share/wwwconfig-common/pgsql.get: line 77: psql: command not found
dpkg:error processing phpgroupware (--configure):
subprocess post-installation script returned error exit status 1
errors were encountered while processing:
phpgroupware
E: sub-process /usr/bin/dpkg returned an error code (1)
I am new to Ubuntu & terminal, I am trying to teach myself how to use terminal, looked thru all the help & how to files but could find nothing on how to copy & paste from a terminal. Not knowing how to user terminal I created this error message when I downlaoded flash player 9 for ubuntu & tryed to install it with terminal, could not get it to install & did NOT exit terminal properly, because of my lack of knowledge of using terminal.

Revision history for this message
Michael Bienia (geser) said :
#3

This error message isn't about the installation of flash 9 but the installation of phpgroupware.
Did you try to install phpgroupware in the past?

The error message tells that it can find the program 'psql'. You need to also install the package 'postgresql-client-8.1' and probably also the database server 'postgresql-8.1'.

Revision history for this message
John Adsit (osider-john) said :
#4

Michael Blenia, THANK YOU, from your information I was able to correct the error message issue. Where may I find terminal commnds like the one you sent "sudo apt-get install -f" , for I am trying to teach myself how to use terminal. All the the source's of termina; langage that i found so far is for people that have used terminal before. I have used windows piont & click for some time, but never learned the dos comand langage. Thanking you in advance.
Terminal Newbie John

Revision history for this message
Best Michael Bienia (geser) said :
#5

For the most command there is a manpage describing the programm and the options it accepts. You can access the manpages with "man 'programm name'", e.g. you can access the manpage for apt-get with "man apt-get" ('q' to quit). Man pages can also point at additional manpages e.g. for configuration files.

Each package you install can provide additional command which you can use from the terminal, so there is no complete list of available commands. You can look in /bin and /usr/bin for the available commands (some may only work if you are running X11 (Gnome, KDE, etc.)).

Hope that helps you further with terminal usage.

Revision history for this message
John Adsit (osider-john) said :
#6

Thanks Michael Bienia, that solved my question.

Revision history for this message
William Pickett (wkpickett0154) said :
#7

Hello,
I am a new Ubuntu user, and find it incredibly frustrating to locate one source in this ardurous education process. One learning item at a time. All I am attempting this day is to -after finally using the correct commands to unpack a tar.gz file, (where do I learn the how/why on this) and then actually make flash_player_9 work- what IS the next step? It unpacked correctly :a21william@a21william-desktop:/tmp$ tar -xvzf install_flash_player_9_linux.tar.gz
install_flash_player_9_linux/
install_flash_player_9_linux/Readme.txt
install_flash_player_9_linux/flashplayer-installer
install_flash_player_9_linux/libflashplayer.so
install_flash_player_9_linux/flashplayer.xpt

But now- how do I integrate this in Firefox? I would like to be able to use Firefox as total web browser... see trailers online, etc.
Reply to: <email address hidden> with subj: FlashPlayer 9 explained...
Thanks.
William Pickett

Revision history for this message
Michael Bienia (geser) said :
#8

install_flash_player_9_linux/Readme.txt should contain information how to proceed.

But why don't you simply install "flashplugin-nonfree" from multiverse? It's an installer which does everything for you (download, extract, move to the right places) and also allows to remove it through the package management system.

Revision history for this message
Rouben (rouben) said :
#9

William,

Sorry to hear about your Flash 9 troubles. If you have the latest version of Ubuntu (7.04 Feisty), then you can use the "Add/Remove" utility to install Flash and a while lot more. It's much easier than doing it the Adobe way. :)

Revision history for this message
William Pickett (wkpickett0154) said :
#10

Really?

Where in Synaptic is flash? Have yet to locate this-
Any help is appreciated- (and no- add/remove isn't a fix)- no flash there.

wkp

 -------------- Original message ----------------------
From: Rouben <email address hidden>
> Question #4815 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/4815
>
> Rouben posted a new comment:
> William,
>
> Sorry to hear about your Flash 9 troubles. If you have the latest
> version of Ubuntu (7.04 Feisty), then you can use the "Add/Remove"
> utility to install Flash and a while lot more. It's much easier than
> doing it the Adobe way. :)

Revision history for this message
William Pickett (wkpickett0154) said :
#11

Mr Michael B suggested this- I will try this and get back if it does not work

Thanks
wkp

 But why don't you simply install "flashplugin-nonfree" from multiverse?
> It's an installer which does everything for you (download, extract, move
> to the right places) and also allows to remove it through the package
> management system.
 -------------- Original message ----------------------
From: Rouben <email address hidden>
> Question #4815 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/4815
>
> Rouben posted a new comment:
> William,
>
> Sorry to hear about your Flash 9 troubles. If you have the latest
> version of Ubuntu (7.04 Feisty), then you can use the "Add/Remove"
> utility to install Flash and a while lot more. It's much easier than
> doing it the Adobe way. :)

Revision history for this message
Michael Bienia (geser) said :
#12

"flashplayer-nonfree" is in the multiverse part of the archive which isn't enabled by default.

See https://help.ubuntu.com/6.10/ubuntu/desktopguide/C/extra-repositories.html how to enable it.
(This documentation is for Ubuntu 6.10 (Edgy Eft) but it should also apply to Ubuntu 7.04 (Feisty Fawn))

Revision history for this message
William Pickett (wkpickett0154) said :
#13

I know you all are extremely busy-

Can you refer me to a book- a self education text that I can get these questions answered and learn on my own- or some interactive cd- dvd- instead of perusing all the forums online, the Ubuntu help etc...I tried looking for my etc/apt/sources.list and who knows- file is empty- but it is somewhere because I can dl the Synaptic bundle.. so something is a bit off in my software...

There must be somewhere a good education process that builds these concepts as working foundation for Linux. Somewhere in the planet earth...

I even went to the settings for synaptic and attempted to add there- but-again- something is amiss- missing some repository links there too-

Must have been the way I upgraded- my Update manager was off because I had used Azureus and changed the port- for anonymous web browsing/software/music/et al downloading- and this started things messed up- had to remove the anaon file and restart, then when I did the apt get- (I know that isn't the best way- the process was corrupted and had to do a second update then a third,)

And here we are. Unable to locate my etc/apt file to add multiverse, and unable to do so from settings in Synaptic...

A good book would really help right now,
Thanks for all the very tedious code work in helping- eventually- to clean up and modify all linux users experiences.

William Pickett
 -------------- Original message ----------------------
From: Michael Bienia <email address hidden>
> Question #4815 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/4815
>
> Michael Bienia posted a new comment:
> install_flash_player_9_linux/Readme.txt should contain information how
> to proceed.
>
> But why don't you simply install "flashplugin-nonfree" from multiverse?
> It's an installer which does everything for you (download, extract, move
> to the right places) and also allows to remove it through the package
> management system.

Revision history for this message
William Pickett (wkpickett0154) said :
#14

And my Sources have Edgy Eft still in it- what's wrong here- my upgrade went haywire- when I ask for version it stated ver 7.04 Feisty but in Software Sources- no Feisty- hmmm- maybe I ought to save all important work and do a clean install- order the CD and start fresh- this is frustrating, but its all good.

wkp

 -------------- Original message ----------------------
From: Michael Bienia <email address hidden>
> Question #4815 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/4815
>
> Michael Bienia posted a new comment:
> "flashplayer-nonfree" is in the multiverse part of the archive which
> isn't enabled by default.
>
> See https://help.ubuntu.com/6.10/ubuntu/desktopguide/C/extra-repositories.html
> how to enable it.
> (This documentation is for Ubuntu 6.10 (Edgy Eft) but it should also apply to
> Ubuntu 7.04 (Feisty Fawn))

Revision history for this message
Rouben (rouben) said :
#15

WOW! You're very patient and positive with this issue, and that is very admirable and much appreciated here. Thank you, William.

As long as you enable the Feisty repositories, you should be OK to disable the older egdy repositories (software sources). You should, definitely do that. The upgrade installer should have done it already.

With regards to instruction manuals, the Ubuntu website and forums have tons of resources. While the official documentation for Feisty isn't out yet (just checked now), you should be able to safely use the older Edgy documentation, since the official documentation covers fairly mundane day-to-day tasks. For more advanced usage and experimental features (e.g. tweaking the new "desktop effects" feature), it's best to stick to instructions that are specifically designed to Feisty.

https://wiki.ubuntu.com/ is a good place to start. http://www.ubuntu.com/support/community/webforums is also a great place to ask questions (please try to post your questions under the appropriate category). Of course you may also ask questions through this system, via http://answers.launchpad.net/.

Thanks again for your patience and positive attitude!

Revision history for this message
William Pickett (wkpickett0154) said :
#16

Maybe I need to use a wrapper

and the book you have found a good study guide is?

 -------------- Original message ----------------------
From: Rouben <email address hidden>
> Question #4815 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/4815
>
> Rouben posted a new comment:
> WOW! You're very patient and positive with this issue, and that is very
> admirable and much appreciated here. Thank you, William.
>
> As long as you enable the Feisty repositories, you should be OK to
> disable the older egdy repositories (software sources). You should,
> definitely do that. The upgrade installer should have done it already.
>
> With regards to instruction manuals, the Ubuntu website and forums have
> tons of resources. While the official documentation for Feisty isn't out
> yet (just checked now), you should be able to safely use the older Edgy
> documentation, since the official documentation covers fairly mundane
> day-to-day tasks. For more advanced usage and experimental features
> (e.g. tweaking the new "desktop effects" feature), it's best to stick to
> instructions that are specifically designed to Feisty.
>
> https://wiki.ubuntu.com/ is a good place to start.
> http://www.ubuntu.com/support/community/webforums is also a great place
> to ask questions (please try to post your questions under the
> appropriate category). Of course you may also ask questions through this
> system, via http://answers.launchpad.net/.
>
> Thanks again for your patience and positive attitude!

Revision history for this message
Rouben (rouben) said :
#17

I'm not sure what you mean by a wrapper... Sorry about the confusion. What I meant to convey is that you can use the existing GUI tools to maintain your list of repositories.

Perhaps a slightly different approach will work better for you? This accomplishes the same thing (fixing your software repositories) using a bit of command-line magic and a simple to use text editor (similar to the Windows Notepad):
http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_add_extra_repositories
The website I provided above, ubuntuguide.org, is another excellent community-maintained resource that aims to produce a universal HOWTO of sorts for almost every possible task you may want to accomplish and is another good resource to keep in mind.

Finally a note on books. I personally dislike books that deal with open source software, simply because they can't keep up with the rate that open source software is evolving. However, if you are really keep on buying a book, you can easily find Ubuntu books online. A search for "ubuntu" on amazon.com resulted in lots of results for me, including the official Ubuntu guide. Like I said, I personally can't vouch for any Ubuntu books, but from what I recall from my last trip to my local Chapters bookstore, most of them were pretty good, especially for beginners.

Revision history for this message
William Pickett (wkpickett0154) said :
#18

Thank you very much- I will look at these help sites.

Not so Keen- but do like to learn the basics, which are on Ubuntu as you suggested.

A Wrapper is a software package that makes it easier for an add in to work with existing software packages, my definition...

http://www.isso.sparta.com/opensource/wrappers/index.html

And now you know what a wrapper is.

 -------------- Original message ----------------------
From: Rouben <email address hidden>
> Question #4815 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/4815
>
> Rouben posted a new comment:
> I'm not sure what you mean by a wrapper... Sorry about the confusion.
> What I meant to convey is that you can use the existing GUI tools to
> maintain your list of repositories.
>
> Perhaps a slightly different approach will work better for you? This
> accomplishes the same thing (fixing your software repositories) using a bit of
> command-line magic and a simple to use text editor (similar to the Windows
> Notepad):
> http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_add_extra_repositories
> The website I provided above, ubuntuguide.org, is another excellent
> community-maintained resource that aims to produce a universal HOWTO of sorts
> for almost every possible task you may want to accomplish and is another good
> resource to keep in mind.
>
> Finally a note on books. I personally dislike books that deal with open
> source software, simply because they can't keep up with the rate that
> open source software is evolving. However, if you are really keep on
> buying a book, you can easily find Ubuntu books online. A search for
> "ubuntu" on amazon.com resulted in lots of results for me, including the
> official Ubuntu guide. Like I said, I personally can't vouch for any
> Ubuntu books, but from what I recall from my last trip to my local
> Chapters bookstore, most of them were pretty good, especially for
> beginners.