[Feisty] meta-release problem

Bug #80713 reported by Julien Lavergne
12
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

Binary package hint: update-manager

I click on the orange icon to install updates, and apport show me a report of update manager, but update-manager don't crash, and I updates my system normaly.

Revision history for this message
Julien Lavergne (gilir) wrote :

Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/UpdateManager/MetaRelease.py", line 167, in download
     f=open(self.METARELEASE_FILE,"w+")
 IOError: [Errno 13] Permission non accordée: '/home/gilir/.update-manager/meta-release'

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Have you started update-manager using sudo before?

Take a look at the permissions of the above file. Does it belong to root?

Changed in update-manager:
status: Unconfirmed → Needs Info
Revision history for this message
Julien Lavergne (gilir) wrote :

no, this bug appear without sudo. And this file belong to root :
-rw-r--r-- 1 root root 1636 2007-01-19 15:21 meta-release

Revision history for this message
John Vivirito (gnomefreak) wrote :

update-manager needs sudo/root to do its job. when ran from the orange icon it should bring up a dialog asking for your password (the gksu dialog) if run from terminal gksudo or gksu should be needed of your not already in a # terminal. you can use sudo also but its not recommended for GTK apps.

Revision history for this message
Julien Lavergne (gilir) wrote :

I know that :)
But in Edgy, you can show the update-manager window without gksu/sudo. If you want to update/upgrade/refresh packages, you have the gksu dialog for password.

But it's not normal to have a apport message when you click on the orange icon. It's only that. And I don't change any rights on my files.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Delete the corresponding file. Update-manager should work again. When did you upgrade to edgy? The file was created on 19th January. Did you run "sudo update-manager" on that day? Has it worked before?

Cheers,

Sebastian

Revision history for this message
Julien Lavergne (gilir) wrote :

I upgrade edgy before the 19th, but maybe I launch update-manager with sudo this day, to test with all this dbus/python issues.
I delete .update-manager in my /home and now I don't have apport report :)

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

Out of curiosity, what are the permissions of the .update-manager directory in this case?

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

Thanks for your bugreport.

I added a workaround for this problem to my local tree and it will be part of the next upload.

Changed in update-manager:
assignee: nobody → mvo
status: Needs Info → Fix Committed
Revision history for this message
Julien Lavergne (gilir) wrote :

permissions :
drwxr-xr-x 2 root root 4096 2007-01-21 18:22 .update-manager

Julien Lavergne (gilir)
Changed in update-manager:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.