![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
apologize for cross-posting Hey there, i am in trouble with postgres on a linux platform, because i am quite new with both. (i guess i cannot say, if the problem i make is more linux or a postgresql like.) i wanted to remove my installation of pg and get a new one for reasons which are no longer important :-). using ubuntu, the $ sudo apt-get remove postgresql command returns the error message: ¯¯¯¯¯¯` Reading package lists... Done Building dependency tree... Done Package postgresql is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. 4 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up postgresql-common (53ubuntu3) ... (*) chown: `postgres ostgres': invalid groupdpkg: error processing postgresql-common (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of postgresql-7.4: postgresql-7.4 depends on postgresql-common (>= 24); however: Package postgresql-common is not configured yet. dpkg: error processing postgresql-7.4 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of postgresql-8.1: postgresql-8.1 depends on postgresql-common (>= 39); however: Package postgresql-common is not configured yet. dpkg: error processing postgresql-8.1 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of postgresql-contrib-8.1: postgresql-contrib-8.1 depends on postgresql-8.1; however: Package postgresql-8.1 is not configured yet. postgresql-contrib-8.1 depends on postgresql-common (>= 39); however: Package postgresql-common is not configured yet. dpkg: error processing postgresql-contrib-8.1 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: postgresql-common postgresql-7.4 postgresql-8.1 postgresql-contrib-8.1 E: Sub-process /usr/bin/dpkg returned an error code (1) `--------- i guess the problem has s.th. to do with the message "chown: `postgres ostgres': invalid group"at line (*) do you know this problem when removing postgresql on linux-platforms? thanks in advance henning |
ostgres': invalid group
#3
| |||
| |||
|
|
Henning Bredel schrieb: apologize for cross-posting Hey there, i am in trouble with postgres on a linux platform, because i am quite new with both. (i guess i cannot say, if the problem i make is more linux or a postgresql like.) i wanted to remove my installation of pg and get a new one for reasons which are no longer important :-). using ubuntu, the $ sudo apt-get remove postgresql command returns the error message: ¯¯¯¯¯¯` Reading package lists... Done Building dependency tree... Done Package postgresql is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. 4 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up postgresql-common (53ubuntu3) ... (*) chown: `postgres ostgres': invalid groupdpkg: error processing postgresql-common (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of postgresql-7.4: postgresql-7.4 depends on postgresql-common (>= 24); however: Package postgresql-common is not configured yet. dpkg: error processing postgresql-7.4 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of postgresql-8.1: postgresql-8.1 depends on postgresql-common (>= 39); however: Package postgresql-common is not configured yet. dpkg: error processing postgresql-8.1 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of postgresql-contrib-8.1: postgresql-contrib-8.1 depends on postgresql-8.1; however: Package postgresql-8.1 is not configured yet. postgresql-contrib-8.1 depends on postgresql-common (>= 39); however: Package postgresql-common is not configured yet. dpkg: error processing postgresql-contrib-8.1 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: postgresql-common postgresql-7.4 postgresql-8.1 postgresql-contrib-8.1 E: Sub-process /usr/bin/dpkg returned an error code (1) `--------- i guess the problem has s.th. to do with the message "chown: `postgres ostgres': invalid group"at line (*) do you know this problem when removing postgresql on linux-platforms? thanks in advance henning so, now i have removed postgres* with dselect (purge option enabled), so no config file should remain. But my reinstallation fails on (nearly) the same error: ¯¯¯¯¯¯` Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: postgresql-client-8.1 postgresql-client-common postgresql-common Suggested packages: oidentd ident-server postgresql-doc-8.1 The following NEW packages will be installed postgresql-8.1 postgresql-client-8.1 postgresql-client-common postgresql-common 0 upgraded, 4 newly installed, 0 to remove and 10 not upgraded. Need to get 0B/3868kB of archives. After unpacking 17.7MB of additional disk space will be used. Do you want to continue [Y/n]? y Preconfiguring packages ... Selecting previously deselected package postgresql-client-common. (Reading database ... 82293 files and directories currently installed.) Unpacking postgresql-client-common (from .../postgresql-client-common_53ubuntu3_all.deb) ... Selecting previously deselected package postgresql-client-8.1. Unpacking postgresql-client-8.1 (from .../postgresql-client-8.1_8.1.8-0ubuntu6.06.1_i386.deb) ... Selecting previously deselected package postgresql-common. Unpacking postgresql-common (from .../postgresql-common_53ubuntu3_all.deb) ... Selecting previously deselected package postgresql-8.1. Unpacking postgresql-8.1 (from .../postgresql-8.1_8.1.8-0ubuntu6.06.1_i386.deb) ... Setting up postgresql-client-common (53ubuntu3) ... Setting up postgresql-client-8.1 (8.1.8-0ubuntu6.06.1) ... Setting up postgresql-common (53ubuntu3) ... (*) chown: `postgres ostgres': invalid groupdpkg: error processing postgresql-common (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of postgresql-8.1: postgresql-8.1 depends on postgresql-common (>= 39); however: Package postgresql-common is not configured yet. dpkg: error processing postgresql-8.1 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: postgresql-common postgresql-8.1 E: Sub-process /usr/bin/dpkg returned an error code (1) `--------- As you can see, there is the same message in line (*) . . . before trying to remove/reinstall pg, i followed an installation tutorial on http://www.selflinux.org/selflinux/h...tgresql02.html at the bottom it is written: ¯¯¯¯¯¯` root@linux # mkdir /usr/local/pgsql/data root@linux # chown postgres /usr/local/pgsql/data root@linux # su - postgres root@linux postgres# initdb --pwprompt -D /usr/local/pgsql/data `--------- do i have to consider s.th. which i cannot know as a beginner in linux and postgres? no google search or documentation helped me with this prob . . . or i have no luck with search-words. thanks again henning |
#4
| |||
| |||
|
|
.... snip ... do i have to consider s.th. which i cannot know as a beginner in linux and postgres? |
#5
| |||
| |||
|
|
Henning Bredel wrote: ... snip ... do i have to consider s.th. which i cannot know as a beginner in linux and postgres? What is "s.th."? I assume some sort of configuration file. only an abbreviation ;-) |
#6
| |||
| |||
|
|
CBFalconer schrieb: Henning Bredel wrote: ... snip ... do i have to consider s.th. which i cannot know as a beginner in linux and postgres? What is "s.th."? I assume some sort of configuration file. only an abbreviation ;-) s.th. == something |
#7
| |||
| |||
|
|
Henning Bredel wrote: CBFalconer schrieb: Henning Bredel wrote: ... snip ... do i have to consider s.th. which i cannot know as a beginner in linux and postgres? What is "s.th."? I assume some sort of configuration file. only an abbreviation ;-) s.th. == something Why are so many prejudiced against the use of words? -- Lew |
#8
| |||
| |||
|
|
well, i think it is a quite popular abbreviation . . . |
|
=> BTW <= i don´t know any newsgroup, where you /don´t/ use any abbreviation -- i am not against using words. |
#9
| |||
| |||
|
|
Begin <45f287d4$0$6394$9b4e6d93 (AT) newsspool2 (DOT) arcor-online.net On 2007-03-10, Henning Bredel <h.bredel (AT) gmx (DOT) de> wrote: [snip: ``s.th.''] well, i think it is a quite popular abbreviation . . . At least three posters disagree with you on that. |
|
=> BTW <= i don´t know any newsgroup, where you /don´t/ use any abbreviation -- i am not against using words. There are cases where one may use abbreviations. In general, though, just spelling out the words is hard enough for most, so best put some effort in that before venturing to figure out what are and what are not acceptable abbreviations. |
#10
| |||
| |||
|
|
Well, no problem -- but i hope you can see, there appear always some missunderstandings, when talking in the net or when people come from different countries or whatever. i have no problem with giving an answere on that things which were not understood. I always try to write under- standable postings. |
![]() |
| Thread Tools | |
| Display Modes | |
| |