Test Steps:
---

From rocky to stein,

Some packages are kept back (see '10 not upgraded'):

$ sudo apt --dry-run --yes upgrade
...
The following packages have been kept back:
  ceph ceph-base ceph-common ceph-mgr ceph-mon ceph-osd libcephfs2 librados2 
libradosstriper1 librbd1
...
... and 10 not upgraded.

Local repo with the patched ceph packages from bionic-stein:

$ dpkg-scanpackages . > Packages
$ echo 'deb [trusted=yes] file:/home/ubuntu ./' | sudo tee 
/etc/apt/sources.list.d/local.list
$ sudo apt update

Here they are, see first line:

$ apt-cache madison python-cephfs
python-cephfs | 13.2.9-0ubuntu0.19.04.1~cloud3+lp19600651 | file:/home/ubuntu 
./ Packages
python-cephfs | 13.2.8-0ubuntu0.18.10.1~cloud0 | 
http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main 
amd64 Packages
python-cephfs | 12.2.13-0ubuntu0.18.04.10 | http://archive.ubuntu.com/ubuntu 
bionic-updates/main amd64 Packages
python-cephfs | 12.2.13-0ubuntu0.18.04.10 | http://security.ubuntu.com/ubuntu 
bionic-security/main amd64 Packages
python-cephfs | 12.2.4-0ubuntu1 | http://archive.ubuntu.com/ubuntu bionic/main 
amd64 Packages

No packages are kept back now (see '0 not upgraded'):

$ sudo apt --dry-run  upgrade
...
The following packages were automatically installed and are no longer required:
  ... python-cephfs ... python-rados python-rbd ...
Use 'sudo apt autoremove' to remove them.
...
The following packages will be upgraded:
  ceph ceph-base ceph-common ceph-mgr ceph-mon ceph-osd ibverbs-providers 
libcephfs2 libibverbs1 libnuma1 librados2 libradosstriper1 librbd1 
python-cephfs python-pkg-resources
  python-rados python-rbd python-setuptools python-webob python3-jwt 
python3-pkg-resources

... and 0 not upgraded.

And autoremove clears all the python2 stuff up.

ubuntu@mfo-b-uca2:~/ceph-debs$ sudo apt autoremove
...
Reading state information... Done
The following packages will be REMOVED:
  formencode-i18n libjs-sphinxdoc libjs-underscore libpython-stdlib 
libpython2.7 libpython2.7-minimal libpython2.7-stdlib python python-asn1crypto 
python-bcrypt python-bs4
  python-cephfs python-certifi python-cffi-backend python-chardet 
python-cherrypy3 python-cryptography python-dnspython python-enum34 
python-formencode python-html5lib python-idna
  python-ipaddress python-jinja2 python-logutils python-lxml python-mako 
python-markupsafe python-minimal python-openid python-openssl python-paste 
python-pastedeploy
  python-pastescript python-pecan python-pkg-resources python-prettytable 
python-pyinotify python-rados python-rbd python-repoze.lru python-requests 
python-routes python-scgi
  python-setuptools python-simplegeneric python-simplejson 
python-singledispatch python-six python-tempita python-urllib3 python-waitress 
python-webencodings python-webob
  python-webtest python-werkzeug python2.7 python2.7-minimal
0 upgraded, 0 newly installed, 58 to remove and 0 not upgraded.
...


** Patch added: "lp1960065_ceph_bionic-stein.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1960065/+attachment/5559214/+files/lp1960065_ceph_bionic-stein.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960065

Title:
  cloud archive: apt upgrade from rocky to stein keeps back some ceph
  packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1960065/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to