Results 1 to 8 of 8

Thread: upgrading 9.10 to 10.04: mount /tmp as noexec error

  1. #1
    Join Date
    May 2005
    Beans
    27

    Question upgrading 9.10 to 10.04: mount /tmp as noexec error

    Hello,

    I was attempting to upgrade Karmic to 10.04 beta 2 using upgrade-manager -d

    I received the following error message:

    Cannot run the upgrade

    This is usually caused by a system where /tmp is mounted noexec. Please remount /tmp without noexec and run the upgrade again.

    How do I set up /tmp to enable the upgrade process?

    Thanks for any assistance

  2. #2
    Join Date
    Jun 2008
    Beans
    4

    Re: upgrading 9.10 to 10.04: mount /tmp as noexec error

    Hi,

    U can try this

    mount -o remount exec /tmp

  3. #3
    Join Date
    Mar 2010
    Beans
    7

    Re: upgrading 9.10 to 10.04: mount /tmp as noexec error

    Awesome! Worked for upgrade from 11.04 to 11.10 too!

  4. #4
    Join Date
    May 2010
    Location
    Raleigh, NC
    Beans
    Hidden!
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: upgrading 9.10 to 10.04: mount /tmp as noexec error

    I had the same error as the OP when upgrading from 11.04 to 11.10. I tried the fix posted, and received this error:

    sudo mount -o remount exec /temp
    mount: you must specify the filesystem type
    Still Googling, but does anyone have any help? I suspect others will find this thread, as it is one of the first Google results for that error message. Thanks!

    Edit:

    This may be helpful. When I run ls -l in /, I get:

    drwxrwxrwt 20 root root 440 2011-10-13 20:48 tmp
    So it looks like it is executable to all user types.
    Last edited by dfarrell07; October 14th, 2011 at 01:50 AM.

  5. #5
    Join Date
    May 2010
    Location
    Raleigh, NC
    Beans
    Hidden!
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: upgrading 9.10 to 10.04: mount /tmp as noexec error

    I may have figured it out. In my /etc/fstab file, I had added this line to mount my /temp folder in RAM, for added speed.

    # Added by daniel, cite: http://setlinux.blogspot.com/2011/05...d-migrate.html
    # Should make /temp be mapped into RAM
    tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777 0 0
    Notice that I had set /temp to noexec. I took that bit out (the noexec bit), and am about to see if all is now well.

    Update: Removing the noexec bit from fstab solved my trouble. Upgrade to 11.10 now progressing well.
    Last edited by dfarrell07; October 14th, 2011 at 02:08 AM.

  6. #6
    Join Date
    Oct 2011
    Beans
    2

    Re: upgrading 9.10 to 10.04: mount /tmp as noexec error

    Quote Originally Posted by dfarrell07 View Post
    I may have figured it out. In my /etc/fstab file, I had added this line to mount my /temp folder in RAM, for added speed.



    Notice that I had set /temp to noexec. I took that bit out (the noexec bit), and am about to see if all is now well.

    Update: Removing the noexec bit from fstab solved my trouble. Upgrade to 11.10 now progressing well.
    Not one to point out the obvious, but "temp" <> "tmp" -
    output of ls -l > drwxrwxrwt 20 root root 440 2011-10-13 20:48 tmp
    not "temp", but tmp...
    this is why your original "sudo mount -o remount exec /temp" command failed.
    -sco0b.

  7. #7
    Join Date
    Dec 2012
    Beans
    6

    Re: upgrading 9.10 to 10.04: mount /tmp as noexec error

    Thank you.
    Last edited by isa saids; March 7th, 2013 at 03:56 PM.

  8. #8
    Join Date
    Dec 2012
    Beans
    6

    Re: upgrading 9.10 to 10.04: mount /tmp as noexec error

    Quote Originally Posted by punjabi_tt View Post
    Hi,

    U can try this

    mount -o remount exec /tmp

    Thank you. It works when I upgraded Ubuntu 12.10 to Ubuntu 13.04
    Last edited by isa saids; March 8th, 2013 at 03:26 AM.

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
  •