installation error: tar: can't remove old file ./var/run: Is

This forum is for all other ARMv5 devices

installation error: tar: can't remove old file ./var/run: Is

Postby tsuranim » Thu Aug 16, 2012 12:41 pm

I am trying to install archlinux, but get the following error after "./oxnas-install.sh" :

# Verifying MD5
# Extracting
tar: can't remove old file ./var/run: Is a directory
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Extraction FAILED or WRONG rootfs
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



The only thing I can think of is that before trying archlinux I tried optware, and installing lighttdp according to this guide:
http://www.nslu2-linux.org/wiki/Optware/LLMP

There it states:
1. Install Lighttpd and PHP after making the root file system accessible and creating /var/run:
Type "mount -o rw,remount /"
Type "mv /var /varold". If you stop using optware, you can restore the old var with "mv /varold /var"
Type "mkdir /opt/var". You might not need this if /opt/var already exists.
Type "mkdir /opt/var/run"
Type "ln -s /opt/var /var"
Type "ipkg install lighttpd php fcgi php-fcgi php-pear mysql phpmyadmin"

I did the "mv /varold /var", but maybe the "ln -s /opt/var /var" is causing the problem?

Could some-one give me advise what to do?
tsuranim
 
Posts: 2
Joined: Thu Aug 16, 2012 12:35 pm

Re: installation error: tar: can't remove old file ./var/run

Postby WarheadsSE » Thu Aug 16, 2012 1:16 pm

You must have missed a step. There shouldn't have been a var/run under /tmp/usb.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: installation error: tar: can't remove old file ./var/run

Postby tsuranim » Fri Aug 17, 2012 8:38 am

Thanks, after I had a new try it installed without an error. Thanks.
tsuranim
 
Posts: 2
Joined: Thu Aug 16, 2012 12:35 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 1 guest