<type 'exceptions.AttributeError'>: 'Transaction' object has no attribute 'pktrans'

Bug #950791 reported by Леонид
510
This bug affects 111 people
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

error on update installs

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: aptdaemon 0.43+bzr778-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelModules: fglrx
Annotation: Applying software changes failed
ApportVersion: 1.94.1-0ubuntu1
Architecture: amd64
Date: Fri Mar 9 16:36:39 2012
DesktopFile: /usr/share/aptdaemon/aptdaemon.desktop
ExecutablePath: /usr/sbin/aptd
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
PackageArchitecture: all
SourcePackage: aptdaemon
Title: <type 'exceptions.AttributeError'>: 'Transaction' object has no attribute 'pktrans'
TransactionDepends: [[], [], [], [], [], [], []]
TransactionErrorCode: error-unknown
TransactionKwargs: {}
TransactionLocale: ru_RU.UTF-8
TransactionPackages: [[dbus.String(u'rhythmbox-mozilla'), dbus.String(u'rhythmbox-plugin-zeitgeist')], [], [], [], [dbus.String(u'gir1.2-rb-3.0'), dbus.String(u'libc-bin'), dbus.String(u'libc-dev-bin'), dbus.String(u'libc6'), dbus.String(u'libc6-dev'), dbus.String(u'libc6-i386'), dbus.String(u'libc6:i386'), dbus.String(u'librhythmbox-core5'), dbus.String(u'rhythmbox'), dbus.String(u'rhythmbox-plugin-cdrecorder'), dbus.String(u'rhythmbox-plugins'), dbus.String(u'rhythmbox-ubuntuone'), dbus.String(u'xserver-common')], []]
TransactionRole: role-commit-packages
UpgradeStatus: Upgraded to precise on 2012-03-09 (0 days ago)

Revision history for this message
Леонид (cleverseo) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in aptdaemon (Ubuntu):
status: New → Confirmed
Michael Vogt (mvo)
Changed in aptdaemon (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Andrew Hubbert (andyhubbert94) wrote :

also affects X86 (32 bit) systems too

Revision history for this message
Steve Langasek (vorlon) wrote :

Seeing this here as well; bumping to high, looks like it's probably a regression in the upload on the 9th.

tags: added: rls-mgr-p-tracking
Changed in aptdaemon (Ubuntu):
importance: Medium → High
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

The apply-changes override in the packagekitworker should check if the transaction has got a pk interface before accessing it. Hasattr(trans, "pktrans")

Changed in aptdaemon (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
ttravesso (ttravesso) wrote :

Erro enquanto atualizava pacotes

Revision history for this message
Tim Frost (timfrost) wrote :

I applied updates as detected this morning NZ time using update-manager, then refreshed the lists and applied a second set of updates. aptdaemon crashed during post-processing after instalation of the second set of updates.
 /var/cache/apt/archives has two sets of files for aptdaemon:
tim@zaphod:~$ ls -l /var/cache/apt/archives/aptdaemon*
-rw-r--r-- 1 root root 15146 Mar 9 22:03 /var/cache/apt/archives/aptdaemon_0.43+bzr778-0ubuntu1_all.deb
-rw-r--r-- 1 root root 15130 Mar 15 02:04 /var/cache/apt/archives/aptdaemon_0.43+bzr784-0ubuntu1_all.deb
-rw-r--r-- 1 root root 162996 Mar 9 22:03 /var/cache/apt/archives/aptdaemon-data_0.43+bzr778-0ubuntu1_all.deb
-rw-r--r-- 1 root root 163060 Mar 15 02:04 /var/cache/apt/archives/aptdaemon-data_0.43+bzr784-0ubuntu1_all.deb
tim@zaphod:~$
Note that timestamps are NZDT, 13 hours ahead of UTC.

After applying the second set of updates, update manager reported that a restart was required, and the restart icon has apeared in the gnome panel. aptdaemon crashed at about the time when update-manager was generating the reboot alert at the end of installation of the second set of updates, but no crash occurred when I needed to reboot last (at least 2 days ago). This suggests that the bug was introduced between bzr778 and bzr784

Revision history for this message
John Belton (jbelton1950) wrote :

This happened to me as well, I didn't have any problem last night (UK time) when I did the last update but there were some "not ready" updates left (box npt ticked).
John

Revision history for this message
John Belton (jbelton1950) wrote :

Just to add it hung on clicking the "Reboot Now" icon, closing the window but doing nothing. It seemed to boot normally after a "power switch" override to force the shut down.
John

Revision history for this message
Michael Vogt (mvo) wrote :

This should be fixed with the following version:

aptdaemon (0.43+bzr784-0ubuntu1) precise; urgency=low

Changed in aptdaemon (Ubuntu):
importance: High → Medium
status: In Progress → Fix Released
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.