Results 1 to 8 of 8

Thread: Upgrade from 12.10 to 13.04 fails and apt problem

  1. #1
    Join Date
    Oct 2010
    Location
    Norway
    Beans
    82
    Distro
    Ubuntu 13.04 Raring Ringtail

    Upgrade from 12.10 to 13.04 fails and apt problem

    When trying to upgrade my release from 12.10 to 13.04 I get this output in terminal:


    Code:
    axept@aXept-Lifebook:~$ sudo do-release-upgrade 
    Ser etter ny utgave av Ubuntu 
    Traceback (most recent call last):   File "/usr/bin/do-release-upgrade", line 144, in <module>    
     fetcher = get_fetcher(options.frontend, m.new_dist, options.data_dir)  
     File "/usr/bin/do-release-upgrade", line 37, in get_fetcher    
     from DistUpgrade.DistUpgradeFetcherCore import DistUpgradeFetcherCore   
    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py",       line  30, in <module>   
     import tempfile EOFError: EOF read where not expected Error in sys.excepthook: 
    
    Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in             
     apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes 
    File "/usr/lib/python3/dist-packages/apport/__init__.py", line 4, in <module> from apport.report import 
    Report File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module> import subprocess, tempfile, os.path, re, pwd, grp, os 
    EOFError: EOF read where not expected  Original exception was: 
    Traceback (most recent call last): 
     File "/usr/bin/do-release-upgrade", line 144, in <module>  fetcher = get_fetcher(options.frontend, m.new_dist, options.data_dir) 
     File "/usr/bin/do-release-upgrade", line 37, in get_fetcher  from DistUpgrade.DistUpgradeFetcherCore import DistUpgradeFetcherCore  
     File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py", line      30, in <module>  import tempfile 
    EOFError: EOF read where not expected 
    axept@aXept-Lifebook:~$
    And when running apt-cache info:

    Code:
    axept@aXept-Lifebook:~$ apt-cache policy ubuntu-release-upgrader-core
     ubuntu-release-upgrader-core:
     Installert: 1:0.190.7 
    Kandidat:   1:0.190.7 
    Versjonstabell: *** 1:0.190.7 0     
    
    500 http://no.archive.ubuntu.com/ubuntu/ quantal-updates/main amd64 Packages     
    500 http://gb.archive.ubuntu.com/ubuntu/ quantal-updates/main amd64 Packages     
    500 http://security.ubuntu.com/ubuntu/ quantal-security/main amd64 Packages     
    100 /var/lib/dpkg/status  1:0.190.1 0     
    500 http://no.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
    And:


    Code:
    sudo apt-get update && sudo apt-get upgrade
    Don't do anything. All is up to date apparently..

    Trying to launch "Update Manager" gives the same error as "do-release-upgrade". Tried to remove .pyc files in /etc/apt/dist-packages/ and reinstalled python stuff as found in a Bug-report...


    Any suggestion?


    Btw, running "Software packages" from "system-settings" doesn't work. It won't start. Suppose its the same reason.. Its been slow to start before, but now it just won't start.



    I also get this error when trying to add a repository from terminal.. Whats going on??????
    Last edited by axept; July 10th, 2013 at 06:41 PM. Reason: Solved by re-installing..

  2. #2
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Upgrade from 12.10 to 13.04 fails and apt problem

    open /etc/apt/sources.list, and change "quantal" by "raring", and deactivate third party repos if any, like ppa(s)
    save and close that file, then update/upgrade again

    note: think to clean the system before doing the above commands: clean/autoclean/autoremove/gtkorphan/bleachbit

  3. #3
    Join Date
    Oct 2010
    Location
    Norway
    Beans
    82
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Upgrade from 12.10 to 13.04 fails and apt problem

    And where should I disable third party repos when I can't open the GUI, what file?

  4. #4
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,981
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Upgrade from 12.10 to 13.04 fails and apt problem

    Quote Originally Posted by axept View Post
    And where should I disable third party repos when I can't open the GUI, what file?
    You can do it in file /etc/apt/sources.list

    You edit this file as root:
    Code:
    gksudo gedit /etc/apt/sources.list
    and write a # sign before the line referring to the ppa you want to disable

  5. #5
    Join Date
    Oct 2010
    Location
    Norway
    Beans
    82
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Upgrade from 12.10 to 13.04 fails and apt problem

    There's no third party PPA's in there, like steampowered, private launchpad etc..
    Last edited by axept; July 6th, 2013 at 03:35 PM.

  6. #6
    Join Date
    Oct 2010
    Location
    Norway
    Beans
    82
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Upgrade from 12.10 to 13.04 fails and apt problem

    Up you go..

    No one that have a clue why I can't add PPA's or even start Update Manager? When System shows there's updates for my system I can't install them, because the install button doesn't work..

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,189
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Upgrade from 12.10 to 13.04 fails and apt problem

    axept; Hi !

    Sources may be located in
    /etc/apt/sources.list
    or
    the directory /etc/apt/sources.list.d/
    Code:
    ls -la /etc/apt/sources.list.d/
    more likely the PPAs' source is in that directory.

    just try'n to help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #8
    Join Date
    Oct 2010
    Location
    Norway
    Beans
    82
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Upgrade from 12.10 to 13.04 fails and apt problem

    Thanks,

    Tried many things last night with live help. Seemed to be a corrupt *pyc file somewhere. Whatever I did, I got the same error. So this morning I gave up and installed a fresh install of 13.04..

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •