maas metapackage allows a package version number mismatch

Bug #1399645 reported by Chris Johnston
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
maas (Ubuntu)
New
Undecided
Unassigned

Bug Description

Upgrading MAAS by doing 'apt-get install' maas results in mismatched package versions.

ubuntu@maas:~⟫ apt-cache policy maas
maas:
  Installed: 1.5.4+bzr2294-0ubuntu1.2

ubuntu@maas:~⟫ apt-cache policy python-maas-provisioningserver
python-maas-provisioningserver:
  Installed: 1.5.4+bzr2294-0ubuntu1.2

Now add the testing PPA and install the new version of MAAS:

ubuntu@maas:~⟫ sudo apt-get install maas
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  maas
1 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Need to get 17.6 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Get:1 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main maas all 1.7.0+bzr3299-0ubuntu3~trusty1 [17.6 kB]
Fetched 17.6 kB in 0s (50.6 kB/s)
(Reading database ... 97054 files and directories currently installed.)
Preparing to unpack .../maas_1.7.0+bzr3299-0ubuntu3~trusty1_all.deb ...
Unpacking maas (1.7.0+bzr3299-0ubuntu3~trusty1) over (1.5.4+bzr2294-0ubuntu1.2) ...
Setting up maas (1.7.0+bzr3299-0ubuntu3~trusty1) ...
ubuntu@maas:~⟫ apt-cache policy maas
maas:
  Installed: 1.7.0+bzr3299-0ubuntu3~trusty1
  Candidate: 1.7.0+bzr3299-0ubuntu3~trusty1
  Version table:
 *** 1.7.0+bzr3299-0ubuntu3~trusty1 0
        500 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     1.5.4+bzr2294-0ubuntu1.2 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     1.5+bzr2252-0ubuntu1 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
ubuntu@maas:~⟫ apt-cache policy python-maas-provisioningserver
python-maas-provisioningserver:
  Installed: 1.5.4+bzr2294-0ubuntu1.2
  Candidate: 1.7.0+bzr3299-0ubuntu3~trusty1
  Version table:
     1.7.0+bzr3299-0ubuntu3~trusty1 0
        500 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main amd64 Packages
 *** 1.5.4+bzr2294-0ubuntu1.2 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.5+bzr2252-0ubuntu1 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

If you install python-maas-provisioning server instead, it will properly upgrade all of the packages:

ubuntu@maas:~⟫ sudo apt-get install python-maas-provisioningserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  avahi-daemon avahi-utils erlang-asn1 erlang-base erlang-corba erlang-crypto
  erlang-diameter erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit
  erlang-ic erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
  erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
  erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
  erlang-webtool erlang-xmerl libavahi-client3 libavahi-common-data
  libavahi-common3 libavahi-core7 libdaemon0 libnss-mdns libodbc1 libsctp1
  lksctp-tools pwgen python-amqplib python-oops-amqp python-txlongpoll
  rabbitmq-server
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  maas-cli maas-cluster-controller maas-common maas-dhcp maas-dns maas-proxy
  maas-region-controller maas-region-controller-min python-django-maas
  python-maas-client
Suggested packages:
  ipmitool libvirt-bin amtterm
The following packages will be REMOVED:
  squid-deb-proxy
The following NEW packages will be installed:
  maas-proxy
The following packages will be upgraded:
  maas-cli maas-cluster-controller maas-common maas-dhcp maas-dns
  maas-region-controller maas-region-controller-min python-django-maas
  python-maas-client python-maas-provisioningserver

Since you can install MAAS initially by running 'apt-get install maas' you should also be able to upgrade maas the same way.

summary: - MAAS package version number mismatch
+ maas metapackage allows a package version number mismatch
no longer affects: maas
Changed in maas (Ubuntu):
assignee: nobody → Blake Rouse (blake-rouse)
assignee: Blake Rouse (blake-rouse) → nobody
Revision history for this message
Samantha Jian-Pielak (samantha-jian) wrote :
Download full text (11.7 KiB)

It seems fixed now with 1.7.1.

u@ubuntu:~$ sudo apt-cache policy maas
maas:
  Installed: 1.7.0+bzr3299-0ubuntu3~trusty1
  Candidate: 1.7.1~rc1+bzr3322-0ubuntu1~trusty1
  Version table:
     1.7.1~rc1+bzr3322-0ubuntu1~trusty1 0
        500 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main amd64 Packages
 *** 1.7.0+bzr3299-0ubuntu3~trusty1 0
        500 http://ppa.launchpad.net/maas-maintainers/stable/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     1.5.4+bzr2294-0ubuntu1.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     1.5+bzr2252-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
u@ubuntu:~$ sudo apt-get install maas
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  maas-cli maas-cluster-controller maas-common maas-dhcp maas-dns maas-proxy
  maas-region-controller maas-region-controller-min python-django-maas
  python-maas-client python-maas-provisioningserver
Suggested packages:
  ipmitool libvirt-bin amtterm
The following packages will be upgraded:
  maas maas-cli maas-cluster-controller maas-common maas-dhcp maas-dns
  maas-proxy maas-region-controller maas-region-controller-min
  python-django-maas python-maas-client python-maas-provisioningserver
12 upgraded, 0 newly installed, 0 to remove and 80 not upgraded.
Need to get 822 kB of archives.
After this operation, 266 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main maas-dns all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [18.9 kB]
Get:2 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main maas-region-controller-min all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [133 kB]
Get:3 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main python-maas-provisioningserver all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [166 kB]
Get:4 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main maas-cluster-controller all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [34.3 kB]
Get:5 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main maas-region-controller all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [20.7 kB]
Get:6 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main maas-common all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [18.5 kB]
Get:7 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main maas-cli all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [31.4 kB]
Get:8 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main python-django-maas all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [315 kB]
Get:9 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main python-maas-client all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [24.3 kB]
Get:10 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main maas-proxy all 1.7.1~rc1+bzr3322-0ubuntu1~trusty1 [20.2 kB]
Get:11 http://ppa.launchpad.net/maas-maintainers/testing/ubuntu/ trusty/main maas-dhcp all 1.7.1...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.