The suggested patch seems to have been applied to /usr/lib/update-notifier/apt-check as of Ubuntu 13.04 Raring. (The affected line of that file now seems to be line 136.)
The suggested patch seems to have been applied to /usr/lib/ update- notifier/ apt-check as of Ubuntu 13.04 Raring. (The affected line of that file now seems to be line 136.)