Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3PiB-0007kX-0t for pgsql-general@arkaria.postgresql.org; Sat, 23 Jan 2021 20:40:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l3Pi9-0000Id-Um for pgsql-general@arkaria.postgresql.org; Sat, 23 Jan 2021 20:40:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3Pi9-0000IV-KG for pgsql-general@lists.postgresql.org; Sat, 23 Jan 2021 20:40:45 +0000 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l3Pi3-0006NC-DR for pgsql-general@lists.postgresql.org; Sat, 23 Jan 2021 20:40:45 +0000 Received: by mail-oi1-x233.google.com with SMTP id r189so10311748oih.4 for ; Sat, 23 Jan 2021 12:40:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=Ts1ab0tRuJE48mVTMrJpyV3bs/MhSqlgSN7rKJNZjzI=; b=hiPBoUGBnRa97MIhAiHEXmAE2Aed1clV6yzxgnLNrfPf7g3g9xFJ4hz2sV+jx8XVHS z6vAu0Xn5txEYkUZlq2Xt5vovWy8G7MkG/Mc4YXJk2qWKqFtuOGlX4RWmD985nqxZF+P gwjL0GqVn2USH8vndjccrvCoCVy/6Z5ouOAfFpxDthltrOePXpo++mHZvDqQneS/D20c sR2iLw/GGYcfwvneWi9CBXL2VnoBL+mOZUDa6SIf6nGzu5r+BlllZAQDcv7HLAmsy56z ljYjWIeAalK72rZ47rfaDmvI5iBfgeYUQ0z/jC5QO7+sYCMaC3nfwkeuLlqViXFO7/fz UCJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Ts1ab0tRuJE48mVTMrJpyV3bs/MhSqlgSN7rKJNZjzI=; b=VnIS1URQRmrzKiIbfpso8phgseO9bvOokpUOLE8XCJlachVXf7cCdE1WGGH2r/4MOy qK/5TVzi8niKTtEEyTfZ5StwEvgl5yHveDwyPvVFYKIZRhFQg1c91WUrUKDAX5cnor8v GWOox3uOLAMF5IBjx69r9KYtTIsdGd4eBn5li9VPUThvzgR61ZxwG3eRB83RMUeZEY1T Cx3g0txeDEb8fRRW5CfDnEKhE4B++bzcs13Ikotkx/Th2pUyMGexzLwhcjoj8Kn9QEUK myjyKMj6z9ex98dCniVYB5/weUOt5G90ZCMS5MBaxCQzvjne60Kghs+RK9MmHPLyn+Xb 0T6g== X-Gm-Message-State: AOAM5330Y0Ym6KTgl5kDzxfAZhblLcHB1mBEEKGR22c27r5y5v7L6Ivt V+oGElsEQrJhilcdCfryhH4s6jzK6r3blQ== X-Google-Smtp-Source: ABdhPJwgNLHTzPMBe5bFhjM27yF38n5g0haFVDUQYNeewVkGYxafd0MeR+lVrpCprHhywx6t6iW28A== X-Received: by 2002:aca:cd06:: with SMTP id d6mr6965059oig.57.1611434436240; Sat, 23 Jan 2021 12:40:36 -0800 (PST) Received: from [192.168.88.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id m7sm2349140ool.29.2021.01.23.12.40.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Jan 2021 12:40:35 -0800 (PST) Subject: Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it To: pgsql-general@lists.postgresql.org References: <82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch> From: Ron Message-ID: <0a5fa995-089a-8f3b-b12b-bcb65c5194b6@gmail.com> Date: Sat, 23 Jan 2021 14:40:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/23/21 2:36 PM, robert rottermann wrote: > Hi there > > I made somehow a mess with my PostgreSQL installation an an ubuntu 18.4 > with PostgreSQL 10.0 > > service postgresql status > ● postgresql.service - PostgreSQL RDBMS >    Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor > preset: enabled) >    Active: active (exited) since Sat 2021-01-23 21:21:13 CET; 2min 26s ago >   Process: 1853 ExecStart=/bin/true (code=exited, status=0/SUCCESS) >  Main PID: 1853 (code=exited, status=0/SUCCESS) What's the error? > > I would like to remove everything, and reinstall. > > How can I do that? > > It seems, that > > apt remove --purge postgresql > apt remove --purge postgresql-client > > I not enough, as I have the same situation afterwards. What happens after you purge the packages. > > Or is there a way that I can rebuild PostgreSQL datastructure? Yes, but you haven't given us nearly enough information. -- Angular momentum makes the world go 'round.