oneconf-service crashed with IOError in update(): [Errno 2] No such file or directory: u'/home/mandj/.cache/oneconf/511b8f54f57a6b95c13bb6740000000a/package_list_511b8f54f57a6b95c13bb6740000000a'

Bug #842198 reported by maxstevens on 2011-09-05
This bug affects 17 people
Affects Status Importance Assigned to Milestone
oneconf (Ubuntu)
Didier Roche

Bug Description

I was trying to install --thru synaptic package manager-- adobe flash player.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: oneconf
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Mon Sep 5 18:45:16 2011
ExecutablePath: /usr/share/oneconf/oneconf-service
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/oneconf/oneconf-service
 PATH=(custom, no user)
PythonArgs: ['/usr/share/oneconf/oneconf-service']
SourcePackage: oneconf
Title: oneconf-service crashed with IOError in update(): [Errno 2] No such file or directory: u'/home/mandj/.cache/oneconf/511b8f54f57a6b95c13bb6740000000a/package_list_511b8f54f57a6b95c13bb6740000000a'
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/oneconf/", line 61, in update
     with open(os.path.join(self.hosts.get_currenthost_dir(), '%s_%s' % (PACKAGE_LIST_PREFIX, hostid)), 'w') as f:
 IOError: [Errno 2] No such file or directory: u'/home/username/.cache/oneconf/511b8f54f57a6b95c13bb6740000000a/package_list_511b8f54f57a6b95c13bb6740000000a'
UpgradeStatus: Upgraded to oneiric on 2011-09-05 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

maxstevens (mho-607) wrote :
tags: removed: need-duplicate-check
Didier Roche (didrocks) wrote :

Thanks for reporting this bug and help to make ubuntu better, it seems your home directory is not writable for oneconf, do you run update-notifier under another user than your current one? does /home/mandj/.cache exist? (and then, the subdirectory oneconf, and 511b8f54f57a6b95c13bb6740000000a?) What's their persmission?

Thanks for the additional precision :)

Changed in oneconf (Ubuntu):
status: New → Incomplete
Didier Roche (didrocks) on 2011-09-13
visibility: private → public
Rick Martensen (rickmartensen) wrote :

I have this bug too, but I got it when I reboot!

Didier Roche (didrocks) wrote :

@Rick: can you please answer to my request above replacing your computer id and your home user with yours?

doudoufr (doudoufr) wrote :

i have also this bug
i run sudo bleachit and then clean everything and then the bug appears. :-)

i don't have any oneconf directory in my home/user/.cache

en francais (car si j'ai bien tout suivi, didrocks est francais :-)) :
j'ai ce bug aussi.
j'ai fait sudo bleachbit, puis j'ai lancé un nettoyage, puis le bug est apparu. (dans bleachit tout est coché sauf scan approfondi et dans système/ espace disque et mémoire)

je n'ai pas de répertoire oneconf dans mon répertoire /home/user/.cache.

Launchpad Janitor (janitor) wrote :

[Expired for oneconf (Ubuntu) because there has been no activity for 60 days.]

Changed in oneconf (Ubuntu):
status: Incomplete → Expired
Bruno Martins (skorzen) wrote :

I could reproduce this bug in 12.04 with test updates enabled. Running 64-bit version.

I get this issue also on Precise unstable 12.04 32bits

Didier Roche (didrocks) wrote :

@everyone involved: can you check if you have a oneconf directory in your ~/.cache directory? if so, do you have an id directory under it?

Changed in oneconf (Ubuntu):
status: Expired → Confirmed

I just checked and the equivelent file does exist

maxstevens (mho-607) wrote :

I was installing unrar thru terminal when this error popped up.

visibility: public → private
tags: added: bugpattern-needed
Didier Roche (didrocks) wrote :

I'll try to harden OneConf is some files are supposed to be here but are not. Thanks for your report :)

visibility: private → public
Changed in oneconf (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → High
assignee: nobody → Didier Roche (didrocks)
Didier Roche (didrocks) on 2012-04-05
Changed in oneconf (Ubuntu):
status: In Progress → Fix Committed
maxstevens (mho-607) wrote :

I have the oneconf directory in my cache directory.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oneconf - 0.2.8

oneconf (0.2.8) precise; urgency=low

  [ Michael Vogt ]
  * Fix software-center crashed with KeyError in get_hostid_pending_change()
    (LP: #941193)

  [ Didier Roche ]
  * Move saving facility to an utils module to reuse safe saving accross
    the whole application. Removed a deprecated call as well
    (LP: #944738, #842198)
  * Recover gracefully if any of the json file is broken (LP: #849037)
  * Fix turning off oneconf is USC doesn't work (LP: #964659)
  * oneconf-service crashed with KeyError in check_if_refresh_needed():
    'packages_checksum' (LP: #940710)
  * Added/Enhanced tests for all the above
  * debian/control:
    - Bump Standards-Version: to latest
 -- Didier Roche <email address hidden> Tue, 10 Apr 2012 15:11:17 +0200

Changed in oneconf (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers