unmet dependencies: postgresql-contrib-9.1
Colin Law
clanlaw at gmail.com
Sat Aug 16 06:53:36 UTC 2014
On 16 August 2014 06:13, Sabniveesu Shashank <shashank at linux.com> wrote:
> On Thu, Aug 14, 2014 at 11:34 PM, Noah <noah-list at enabled.com> wrote:
>>
>> Hi,
>>
>> I guess I am not clear what to force the upgrade
>>
>> noah at virt:~$ sudo apt-get install -f postgresql-contrib-9.1
>
> No!! Just "sudo apt-get install -f".
>
> Don't get carried away by the word 'install'!
> -f is a switch to 'apt-get install' that says "fix missing"
>
> If that alone doesn't help, do the following:
>
> 1) sudo apt-get clean -- cleans up cache of "apt-get"
> 2) sudo apt-get autoclean -- removes files temporarily
> downloaded by "apt-get" (downloaded for installation)
> 3) sudo rm /var/cache/apt/archives/* -- removes all (including 'partial')
> downloads by "apt-get"
> 4) sudo apt-get update -- build fresh and updated cache
> of package information
> *** Now your system would come to a predictable state ***
> 5) sudo apt-get install -f -- Just in case!
sudo apt-get dist-upgrade
would also be a good idea to make sure everything already installed is
up to date.
Colin
> *** Go ahead with whatever you want to install ***
More information about the ubuntu-users
mailing list