Only getting an Error in Ubuntu 15.10

Bug #1511670 reported by G.M.
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update notifier
New
Undecided
Unassigned

Bug Description

After updating to Ubuntu 15.10, update_indicator only shows:
E: Unknown Error: '<class 'TypeError'>' (map() must have at least two arguments.)

Revision history for this message
Alfred (alf-redyoung) wrote :

"/usr/lib/update-notifier/apt-check -p" also return this error

Revision history for this message
Alfred (alf-redyoung) wrote :

Emm,

change the codes of function write_package_names() in "/usr/lib/update-notifier/apt-check":

from
outstream.write("\n".join(map([p.name for p in pkgs])))

to
outstream.write("\n".join([p.name for p in pkgs]))

at least this suit for my requirement :)

Revision history for this message
G.M. (sexxxenator) wrote : Re: [Bug 1511670] Re: Only getting an Error in Ubuntu 15.10

Thanks a lot, that did the job for me too!!!!

Would be great if change could be committed to source code of the package :)

Alfred (alf-redyoung)
affects: indicator-updatemanager → update-notifier
Revision history for this message
Stephen (1012web) wrote :

This may be a duplicate of bug 1512326

Revision history for this message
Alfred (alf-redyoung) wrote :

yes, they are the same problem.

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.