Results 1 to 8 of 8

Thread: [solved] unable to do-release-upgrade under virtual machine

  1. #1
    Join Date
    Jul 2009
    Beans
    14

    Question [solved] unable to do-release-upgrade under virtual machine

    Hi,

    When I try to run do-release-upgrade (from 12.10 to 13.04), the following message occurred.

    $ sudo do-release-upgrade
    [sudo] password for admin:
    Checking for a new Ubuntu release
    Get:1 Upgrade tool signature [198 B]
    Get:2 Upgrade tool [1,206 kB]
    Fetched 1,206 kB in 0s (0 B/s)
    authenticate 'raring.tar.gz' against 'raring.tar.gz.gpg'
    extracting 'raring.tar.gz'
    Can not run the upgrade
    The error message is 'No such file or directory'.

    Someone said it is about the /tmp is not mount as exec but I have mounted it to be

    $ mount
    /dev/vda1 on / type ext4 (rw)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    none on /sys/fs/fuse/connections type fusectl (rw)
    none on /sys/kernel/debug type debugfs (rw)
    none on /sys/kernel/security type securityfs (rw)
    udev on /dev type devtmpfs (rw,mode=0755)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    tmpfs on /tmp type tmpfs (rw)

    $ uname -a
    Linux ldap 3.5.0-30-generic #51-Ubuntu SMP Tue May 14 18:47:48 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

    Anyone has an idea on this?
    Last edited by Nw01f; May 25th, 2013 at 01:51 PM.

  2. #2
    Join Date
    Jul 2009
    Beans
    14

    Re: unable to do-release-upgrade under virtual machine


  3. #3
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: unable to do-release-upgrade under virtual machine

    Have you tried a dist-upgrade first? May clear it up.

    Code:
    sudo apt-get dist-upgrade

  4. #4
    Join Date
    Jul 2009
    Beans
    14

    Re: unable to do-release-upgrade under virtual machine

    Quote Originally Posted by ibjsb4 View Post
    Have you tried a dist-upgrade first? May clear it up.

    Code:
    sudo apt-get dist-upgrade
    Yes, I have run it before do-release-upgrade but it doesn't help.

    $ sudo apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  5. #5
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: unable to do-release-upgrade under virtual machine

    One hit I got solved this problem by changing download servers.

    /var/log/dist-upgrade/ any other clues there?

  6. #6
    Join Date
    Jul 2009
    Beans
    14

    Re: unable to do-release-upgrade under virtual machine

    Thanks for your help, ibjsb4

    I just resolved this problem.

    I have to apt-get install python-apt

    Strange that do-release-upgrade did not prompt for this in one VM but the other.


  7. #7
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: unable to do-release-upgrade under virtual machine

    Strange indeed

  8. #8
    Join Date
    Aug 2008
    Location
    Victoria, BC Canada
    Beans
    1,741

    Re: [solved] unable to do-release-upgrade under virtual machine

    I found it easier to make new virtual machines for each new release so that if something blows up, the old VM is still there

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
  •