unmet dependencies: postgresql-contrib-9.1
Noah
noah-list at enabled.com
Fri Aug 15 03:34:26 UTC 2014
Hi,
I guess I am not clear what to force the upgrade
noah at virt:~$ sudo apt-get install -f postgresql-contrib-9.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
postgresql-contrib-9.1 is already the newest version.
postgresql-contrib-9.1 set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
postgresql-contrib-9.1 : Depends: postgresql-9.1 (=
9.1.14-0ubuntu0.12.04) but 9.1.13-0ubuntu0.12.04 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
noah at virt:~$ sudo apt-get install -f postgresql-9.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
oidentd ident-server locales-all
The following packages will be upgraded:
postgresql-9.1
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
21 not fully installed or removed.
Need to get 0 B/4,310 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
(Reading database ... 103613 files and directories currently installed.)
Preparing to replace postgresql-9.1 9.1.13-0ubuntu0.12.04 (using
.../postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb) ...
* Stopping PostgreSQL 9.1 database server
* Error: Could not create log file
/var/log/postgresql/postgresql-9.1-main.log
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit
status 1
dpkg - trying script from the new package instead ...
* Stopping PostgreSQL 9.1 database server
* Error: Could not create log file
/var/log/postgresql/postgresql-9.1-main.log
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: error processing
/var/cache/apt/archives/postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb
(--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
On 8/14/14 6:33 PM, Sabniveesu Shashank wrote:
> On Thu, Aug 14, 2014 at 8:07 PM, Noah <noah-list at enabled.com
> <mailto:noah-list at enabled.com>> wrote:
>
> Hi there,
>
> What is the best way to circumvent this issue and install
> postgresql-contrib-9.1
>
> # apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
> postgresql-contrib-9.1 : Depends: postgresql-9.1 (=
> 9.1.14-0ubuntu0.12.04) but 9.1.13-0ubuntu0.12.04 is installed
> E: Unmet dependencies. Try using -f.
>
> .. says it all. Issue "sudo apt-get install -f"
>
>
> Cheers
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com <mailto:ubuntu-users at lists.ubuntu.com>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/__mailman/listinfo/ubuntu-users
> <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>
>
>
>
>
More information about the ubuntu-users
mailing list