OSError: [Errno 13] Permission denied: '/var/log/dist-upgrade/apt.log'

Bug #121289 reported by Juan Pablo Salazar Bertín
2
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Undecided
Paul Dufresne

Bug Description

Binary package hint: update-manager

snifer@snifer-laptop:/var/crash$ update-manager --dist-upgrade
ERROR:root:not handled expection:
Traceback (most recent call last):

  File "/usr/bin/update-manager", line 78, in <module>
    controler = DistUpgradeControler(view, datadir=data_dir)

  File "/usr/lib/python2.5/site-packages/DistUpgrade/DistUpgradeControler.py", line 155, in __init__
    os.O_RDWR|os.O_CREAT|os.O_APPEND|os.O_SYNC, 0644)

OSError: [Errno 13] Permission denied: '/var/log/dist-upgrade/apt.log'

ERROR:root:failed to import apport python module, can't report bug: No module named python_hook

ProblemType: Bug
Architecture: i386
Date: Wed Jun 20 03:13:58 2007
DistroRelease: Ubuntu 7.10
Package: update-manager 1:0.64
PackageArchitecture: all
SourcePackage: update-manager
Uname: Linux snifer-laptop 2.6.22-6-generic #1 SMP Fri Jun 1 19:24:12 GMT 2007 i686 GNU/Linux

Tags: apport-bug
Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.

Changed in update-manager:
status: New → Incomplete
Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :

Yes, it's still an issue. This is the output with update-manager version 1:0.81.2:

snifer@snifer-laptop:/var/crash$ update-manager --dist-upgrade
ERROR:root:not handled expection:
Traceback (most recent call last):

  File "/usr/bin/update-manager", line 87, in <module>
    controler = DistUpgradeControler(view, datadir=data_dir)

  File "/usr/lib/python2.5/site-packages/DistUpgrade/DistUpgradeControler.py", line 166, in __init__
    os.O_RDWR|os.O_CREAT|os.O_APPEND|os.O_SYNC, 0644)

OSError: [Errno 13] Permission denied: '/var/log/dist-upgrade/apt.log'

ERROR:root:failed to import apport python module, can't report bug: No module named python_hook

Changed in update-manager:
status: Incomplete → New
Revision history for this message
Paul Dufresne (paulduf) wrote :

As far as I know, you need to run update-manager with sudo, so you should use:
sudo update-manager --dist-upgrade
Marking the bug as invalid, but feel free to report any comment, or to reopen.

Note that Hardy version have better error message:
paul@Arcturus:~$ update-manager --dist-upgrade
ERROR:root:Cache can not be locked (E:Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13 Permission non accordée), E:Unable to lock the administration directory (/var/lib/dpkg/), are you root?)
paul@Arcturus:~$ update-manager --version
update-manager: version 0.87.24

Changed in update-manager:
assignee: nobody → dufresnep-deactivatedaccount
status: New → Invalid
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.