python-ubuntutools package is empty.

Bug #1892879 reported by Scott Moser
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
High
Brian Murray

Bug Description

The python-ubuntutools package is empty.

root@b1:~# dpkg -L python-ubuntutools
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-ubuntutools
/usr/share/doc/python-ubuntutools/NEWS.Debian.gz
/usr/share/doc/python-ubuntutools/changelog.gz
/usr/share/doc/python-ubuntutools/copyright
root@b1:~# dpkg-query --show python-ubuntutools
python-ubuntutools 0.175~18.04.1

root@b1:~# python -c 'from ubuntutools.misc import host_architecture'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named ubuntutools.misc

This happened between 0.174 and 175~18.04.1.

I found this by simply trying to use sbuild-launchpad-chroot to verify bug 1872163.

It can be reproduced like this:

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python-ubuntutools 0.175~18.04.1
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.16
Architecture: amd64
Date: Tue Aug 25 15:08:07 2020
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Moser (smoser) wrote :
Changed in ubuntu-dev-tools (Ubuntu):
status: New → Fix Released
Changed in ubuntu-dev-tools (Ubuntu Bionic):
status: New → Confirmed
importance: Undecided → High
tags: added: regression-release
Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Dan Streetman (ddstreet) wrote :

@mwhudson I think you made the changes for bug 1864571, can you take a look at this one?

Revision history for this message
Dan Streetman (ddstreet) wrote :
Changed in ubuntu-dev-tools (Ubuntu Bionic):
status: Confirmed → In Progress
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Scott, or anyone else affected,

Accepted ubuntu-dev-tools into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-dev-tools/0.175~18.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntu-dev-tools (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote :

Verified on Ubuntu 18.04 LTS.

(Reading database ... 178099 files and directories currently installed.)
Preparing to unpack .../python-ubuntutools_0.175~18.04.2_all.deb ...
Unpacking python-ubuntutools (0.175~18.04.2) over (0.175~18.04.1) ...
Preparing to unpack .../ubuntu-dev-tools_0.175~18.04.2_all.deb ...
Unpacking ubuntu-dev-tools (0.175~18.04.2) over (0.175~18.04.1) ...
Preparing to unpack .../python3-ubuntutools_0.175~18.04.2_all.deb ...
Unpacking python3-ubuntutools (0.175~18.04.2) over (0.175~18.04.1) ...
Setting up python3-ubuntutools (0.175~18.04.2) ...
Setting up ubuntu-dev-tools (0.175~18.04.2) ...
Setting up python-ubuntutools (0.175~18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
bdmurray@clean-bionic-amd64:~$ python
Python 2.7.17 (default, Sep 30 2020, 13:38:04)
[GCC 7.5.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ubuntutools.question import YesNoQuestion
>>>
bdmurray@clean-bionic-amd64:~$ dpkg -L python-ubuntutools
/.
/usr
/usr/lib
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/ubuntu_dev_tools-0.175_18.04.2.egg-info
/usr/lib/python2.7/dist-packages/ubuntu_dev_tools-0.175_18.04.2.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/ubuntu_dev_tools-0.175_18.04.2.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/ubuntu_dev_tools-0.175_18.04.2.egg-info/top_level.txt
/usr/lib/python2.7/dist-packages/ubuntutools
/usr/lib/python2.7/dist-packages/ubuntutools/__init__.py
/usr/lib/python2.7/dist-packages/ubuntutools/archive.py
/usr/lib/python2.7/dist-packages/ubuntutools/builder.py
/usr/lib/python2.7/dist-packages/ubuntutools/config.py
/usr/lib/python2.7/dist-packages/ubuntutools/lp
/usr/lib/python2.7/dist-packages/ubuntutools/lp/__init__.py
/usr/lib/python2.7/dist-packages/ubuntutools/lp/libsupport.py
/usr/lib/python2.7/dist-packages/ubuntutools/lp/lpapicache.py
/usr/lib/python2.7/dist-packages/ubuntutools/lp/udtexceptions.py
/usr/lib/python2.7/dist-packages/ubuntutools/misc.py
...

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.175~18.04.2

---------------
ubuntu-dev-tools (0.175~18.04.2) bionic; urgency=medium

  * Really restore python-ubuntudevtools package. (LP: #1892879, LP: #1864571)

 -- Brian Murray <email address hidden> Mon, 30 Nov 2020 13:42:33 -0800

Changed in ubuntu-dev-tools (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for ubuntu-dev-tools has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.