gksu "update-manager -c -d"

Bug #64159 reported by Alberto Goldoni
22
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
High
Michael Vogt

Bug Description

vi /var/log/dist-upgrade/main.log

Traceback (most recent call last):

  File "/tmp/tmpkM9U4h/edgy", line 40, in ?
    app.run()

  File "/tmp/tmpkM9U4h/DistUpgradeControler.py", line 755, in run
    self.edgyUpgrade()

  File "/tmp/tmpkM9U4h/DistUpgradeControler.py", line 696, in edgyUpgrade
    if not self.updateSourcesList():

  File "/tmp/tmpkM9U4h/DistUpgradeControler.py", line 246, in updateSourcesList
    if not self.rewriteSourcesList(mirror_check=True):

  File "/tmp/tmpkM9U4h/DistUpgradeControler.py", line 173, in rewriteSourcesList
    distro.enable_component(self.sources, "main")

  File "/tmp/tmpkM9U4h/aptsources.py", line 634, in enable_component
    add_component_only_once(source, comps_per_dist)

  File "/tmp/tmpkM9U4h/aptsources.py", line 609, in add_component_only_once
    if comp in comps_per_dist[source.dist]:

KeyError: 'dapper-updates'

vi /var/log/dist-upgrade/apt.log

WARNING: can't read '/usr/share/update-manager/mirrors.cfg'

Revision history for this message
Alberto Goldoni (alberto-goldoni) wrote :

When i'm trying to upgrade from dapper to edgy

Revision history for this message
Alberto Goldoni (alberto-goldoni) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Can you please attach your /etc/apt/sources.list to this bugreport?
And the output of:
$ ls -R /etc/apt/sources.list.d/

Thanks,
 Michael

Changed in update-manager:
importance: Undecided → High
status: Unconfirmed → Needs Info
Revision history for this message
Alberto Goldoni (alberto-goldoni) wrote :

THIS IS MY OUTPUT OF:

alberto@Asus:~$ ls -R /etc/apt/sources.list.d/
/etc/apt/sources.list.d/:
dapper-commercial.list dapper-commercial.list.save
dapper-commercial.list.distUpgrade
 AND IN ATTATCHMENT THERE IS MY SOURCE.LIST

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

Thanks for your bugreport.

This is fixed in my local tree and will be part of the next upload.

Changed in update-manager:
assignee: nobody → mvo
status: Needs Info → Fix Committed
Revision history for this message
Michael Vogt (mvo) wrote :
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.