cancel
Showing results for 
Search instead for 
Did you mean: 

Error - Cannot open: No such file or directory - upgrade 6.6.1.2

mdeoliveira
Level 2

During the extraction step of the upgrade of Puredisk to 6.6.1.2, I  get an error when running this command:

tar -C / -xf /root/NB_PDE_6.6.1.2_NNNNNN.tar./opt


tar: /root/NB_PDE_6.6.1.2_NNNNNN.tar./opt: Cannot open: No such file or directory

When I list the contents of the directory, I get
-rwxrwxrwx 1 root root      2794 Aug 17 10:24 .bash_history
-rwxrwxrwx 1 root root      1332 Nov 23  2005 .exrc
drwxrwxrwx 2 root root      4096 Nov 29  2010 .gnupg
drwxrwxrwx 2 root root      4096 Nov 29  2010 .kbd
-rwxrwxrwx 1 root root      1024 Nov 29  2010 .rnd
drwxrwxrwx 2 root root      4096 Nov 29  2010 .ssh
-rwxrwxrwx 1 root root     22394 Aug 17 07:58 .suse_register.log
-rwxrwxrwx 1 root root      1434 Aug 17 09:48 .viminfo
drwxrwxrwx 2 root root      4096 Nov 29  2010 .wapi
-rwxrwxrwx 1 root root 367892480 Aug 10 11:14 NB_PDE_6.6.1.2.tar
drwxrwxrwx 2 root root      4096 May  3  2007 bin
drwxrwxrwx 3 root root      4096 Aug 17 09:57 opt
S003506:~ #

Any ideas?

2 REPLIES 2

Krolzig_Urs
Level 2
Partner Accredited Certified

Put a space between /root/NB_PDE_6.6.1.2_NNNNNN.tar and ./opt

Like

tar -C / -xf /root/NB_PDE_6.6.1.2_NNNNNN.tar ./opt

Urs

mdeoliveira
Level 2

Sadly, I missed that.

 

Thanks.