apt not upgrading package

Colin Law clanlaw at gmail.com
Sun Jun 5 06:57:54 UTC 2016


On 4 June 2016 at 23:22, Peter Silva <peter at bsqt.homeip.net> wrote:
> upgrade only works if an older version of mosquitto is already installed.
> the first time, you need:
>
> apt-get install mosquitto

It is clear from the output of apt-cache mosquito (as previously
posted) that it is already installed:
mosquitto:
   Installed: 1.4.8-1build1
   Candidate: 1.4.9-0mosquitto1

>
> On Sat, Jun 4, 2016 at 4:54 PM, Colin Law <clanlaw at gmail.com> wrote:
>> I have added a ppa for mosquitto, when I run
>> sudo apt-get update && sudo apt-get dist-upgrade
>> it says:
>> 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
>> but apt-cache policy for mosquitto shows:
>> $ apt-cache policy mosquitto
>> mosquitto:
>>   Installed: 1.4.8-1build1
>>   Candidate: 1.4.9-0mosquitto1
>>   Version table:
>>      1.4.9-0mosquitto1 500
>>         500 http://ppa.launchpad.net/mosquitto-dev/mosquitto-ppa/ubuntu
>> xenial/main amd64 Packages
>>  *** 1.4.8-1build1 500
>>         500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
>>         100 /var/lib/dpkg/status
>>
>> Which says there is a candidate for update.  I cannot see why apt-get
>> does not offer the upgrade.  If mosquitto were held then I think
>> apt-get would show it as held back.  Any suggestions as to what is
>> going on?
>>
>> Colin
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list