wajig "teach" functionality unavailable/broken; breaks other things eg. "wajig listhold"

Bug #2012169 reported by f l
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wajig (Ubuntu)
Fix Committed
Undecided
Graham Williams

Bug Description

Trying to use "wajig listhold" results in failure:
# wajig listhold
Traceback (most recent call last):
  File "/usr/bin/wajig", line 33, in <module>
    sys.exit(load_entry_point('wajig==4.0.3', 'console_scripts', 'wajig')())
  File "/usr/lib/python3/dist-packages/wajig/__init__.py", line 1209, in main
    result.func(result)
  File "/usr/lib/python3/dist-packages/wajig/commands.py", line 632, in listhold
    perform.execute("dpkg --get-selections | grep -E 'hold$' | cut -f1", teach=args.teach, noop=args.noop)
AttributeError: 'Namespace' object has no attribute 'teach'

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: wajig 4.0.3
ProcVersionSignature: Ubuntu 5.15.0-67.74-generic 5.15.85
Uname: Linux 5.15.0-67-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Sun Mar 19 01:47:06 2023
InstallationDate: Installed on 2021-12-26 (447 days ago)
InstallationMedia: Ubuntu-MATE 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=screen-256color
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: wajig
UpgradeStatus: Upgraded to jammy on 2022-08-05 (226 days ago)

Revision history for this message
f l (klode0) wrote :
Revision history for this message
Graham Williams (gjwkayon) wrote :

Thanks for the report.

This has been fixed in wajig 4.0.12 which is about to be uploaded to Debian repositories.

Changed in wajig (Ubuntu):
status: New → Fix Committed
Revision history for this message
Graham Williams (gjwkayon) wrote :

Latest version available from https://github.com/gjwgit/wajig

Changed in wajig (Ubuntu):
assignee: nobody → Graham Williams (gjwkayon)
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.