LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2023, 11:11 AM   #1
palio88@gg
LQ Newbie
 
Registered: Feb 2023
Posts: 27

Rep: Reputation: 0
Red face tar doesn't work and can't implement file from Ununtu I Use it from Windows


Quote:
Originally Posted by palio88@gg View Post
******@DESKTOP-BK9717N:~$ note
Can't locate YAML.pm in @INC (you may need to install the YAML module) (@INC contains: /usr/bin/.. blib/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/bin/note line 40.
BEGIN failed--compilation aborted at /usr/bin/note line 40.
******@DESKTOP-BK9717N:~$
And is always returning me to:

tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try 'tar --help' or 'tar --usage' for more information.

neither of which work except tar --usage
 
Old 02-23-2023, 11:21 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,004

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
this is a perl error message, what did you try to achieve at all? (try to install the missing perl module).
http://www.catb.org/~esr/faqs/smart-...html#beprecise
 
Old 02-23-2023, 11:23 AM   #3
palio88@gg
LQ Newbie
 
Registered: Feb 2023
Posts: 27

Original Poster
Rep: Reputation: 0
Arrow

Quote:
Originally Posted by palio88@gg View Post
Quote:
Originally Posted by palio88@gg View Post
******@DESKTOP-BK9717N:~$ note
Can't locate YAML.pm in @INC (you may need to install the YAML module) (@INC contains: /usr/bin/.. blib/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/bin/note line 40.
BEGIN failed--compilation aborted at /usr/bin/note line 40.
******@DESKTOP-BK9717N:~$
And is always returning me to:

tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try 'tar --help' or 'tar --usage' for more information.

neither of which work except tar --usage
And always is saying:
Try: sudo apt install <deb name>
 
Old 02-23-2023, 11:41 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,727

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by palio88@gg View Post
Quote:
Originally Posted by palio88@gg View Post
******@DESKTOP-BK9717N:~$ note
Can't locate YAML.pm in @INC (you may need to install the YAML module) (@INC contains: /usr/bin/.. blib/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/bin/note line 40.
BEGIN failed--compilation aborted at /usr/bin/note line 40.
******@DESKTOP-BK9717N:~$
And is always returning me to:

tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try 'tar --help' or 'tar --usage' for more information.

neither of which work except tar --usage
And as you were told in your other thread, you need to provide DETAILS. What version/distro of LInux?? What are you trying to do/install, from where? Where did you get that program called 'note'?? We can't help if you don't provide details.

At best, we can again tell you that this isn't a kernel problem, and you're missing a perl module. And it's telling you which perl module as well.
 
Old 02-23-2023, 08:38 PM   #5
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
Try "apt-get install libyaml-perl". You have to fix this first.
 
1 members found this post helpful.
Old 02-23-2023, 10:28 PM   #6
palio88@gg
LQ Newbie
 
Registered: Feb 2023
Posts: 27

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by pan64 View Post
this is a perl error message, what did you try to achieve at all? (try to install the missing perl module).
http://www.catb.org/~esr/faqs/smart-...html#beprecise
perl is already the newest version (5.30.0-9ubuntu0.3).
perl set to manually installed.
 
Old 02-23-2023, 10:38 PM   #7
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,341
Blog Entries: 3

Rep: Reputation: 3733Reputation: 3733Reputation: 3733Reputation: 3733Reputation: 3733Reputation: 3733Reputation: 3733Reputation: 3733Reputation: 3733Reputation: 3733Reputation: 3733
Quote:
Originally Posted by palio88@gg View Post
perl is already the newest version (5.30.0-9ubuntu0.3).
perl set to manually installed.
Which distro, including version, do you have?
 
Old 02-23-2023, 10:48 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,365

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
The std/basic Perl install doesn't contain every possible Perl Module.
Try installing that particular one as described.
 
Old 02-24-2023, 12:00 AM   #9
palio88@gg
LQ Newbie
 
Registered: Feb 2023
Posts: 27

Original Poster
Rep: Reputation: 0
Exclamation

BK9717N:/home/pocoloco234# tar linux-6.2.tar
tar: You may not specify more than one '-Acdtrux', '--delete' or '--test-label' option
Try 'tar --help' or 'tar --usage' for more information.

now how to test perl and how to install pessulus and linux 6.2 tar files
 
Old 02-24-2023, 01:19 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,004

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
Quote:
Originally Posted by palio88@gg View Post
BK9717N:/home/pocoloco234# tar linux-6.2.tar
tar: You may not specify more than one '-Acdtrux', '--delete' or '--test-label' option
Try 'tar --help' or 'tar --usage' for more information.

now how to test perl and how to install pessulus and linux 6.2 tar files
This one is another issue, not related the missing perl module.
Actually tar needs an operation, it works like:
Code:
tar <operation> <flags> filename
You can omit flags, but you need to tell the tool what do you want to do. As it was already suggested read the man page about usage (or tar --help).
https://www.tecmint.com/18-tar-comma...ples-in-linux/
 
Old 02-24-2023, 03:03 AM   #11
palio88@gg
LQ Newbie
 
Registered: Feb 2023
Posts: 27

Original Poster
Rep: Reputation: 0
Exclamation linux kernel

Quote:
Originally Posted by TB0ne View Post
And as you were told in your other thread, you need to provide DETAILS. What version/distro of LInux?? What are you trying to do/install, from where? Where did you get that program called 'note'?? We can't help if you don't provide details.

At best, we can again tell you that this isn't a kernel problem, and you're missing a perl module. And it's telling you which perl module as well.
I need to install linux 6.2 ver tar file with xz ending and pessulus with tar bz2 ending and need to get handle of Perl lang.
For now nothing new.
If you need more info ask I need really help for this once I install the kernel I won't need help except for perl later on.
 
Old 02-24-2023, 07:46 AM   #12
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,727

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by palio88@gg View Post
I need to install linux 6.2 ver tar file with xz ending and pessulus with tar bz2 ending and need to get handle of Perl lang. For now nothing new. If you need more info ask I need really help for this once I install the kernel I won't need help except for perl later on.
You were given the command:
Code:
tar xvf <whatever-file-name>.tar
You *STILL* don't tell us what version/distro of Linux, but by the subject it's now Ubuntu....which version?? Have you taken the advice given and read the man page on the tar command, to see which options you need?? Did you look up how to use an xz file?? The first hit in Google for "linux xz file" is:
https://linux-tips.com/t/how-to-extract-xz-files/265

More importantly, why do you need a 6.2 kernel and if you're trying to install it, why do you post about a missing perl module, and ignore the advice you've been given about INSTALLING that missing module, or explaining what that "note" program is?? Again: you were given the command to install the missing perl module ("apt-get install libyaml-perl")...did you run it??
 
Old 02-24-2023, 08:33 AM   #13
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
Let me explain. It is a tar file (xz or bzip2) using compression. I can never remember the flags so I just run bunzip2 or unxz and then run tar on the resultant file. Your version of tar itself is irrelevant, tar rarely changes.

I always "tar tvf file.tar" to see where it is extracting things, usually I mkdir an extraction directory so it doesn't scribble around in my current directory, copy the tar file there and extract using "tar xvf file.tar".

Last edited by elgrandeperro; 02-24-2023 at 09:01 AM.
 
1 members found this post helpful.
Old 02-24-2023, 05:04 PM   #14
palio88@gg
LQ Newbie
 
Registered: Feb 2023
Posts: 27

Original Poster
Rep: Reputation: 0
Lightbulb !@IMPortant!

Quote:
Originally Posted by TB0ne View Post
You were given the command:
Code:
tar xvf <whatever-file-name>.tar
You *STILL* don't tell us what version/distro of Linux, but by the subject it's now Ubuntu....which version?? Have you taken the advice given and read the man page on the tar command, to see which options you need?? Did you look up how to use an xz file?? The first hit in Google for "linux xz file" is:
https://linux-tips.com/t/how-to-extract-xz-files/265

More importantly, why do you need a 6.2 kernel and if you're trying to install it, why do you post about a missing perl module, and ignore the advice you've been given about INSTALLING that missing module, or explaining what that "note" program is?? Again: you were given the command to install the missing perl module ("apt-get install libyaml-perl")...did you run it??

https://www.google.com/search?q=ubun...t=gws-wiz-serp

This is just windowed mode I am using as ubuntu 20 04 and I am trying to upgrade it
I am on Windows 10 os


https://kernel.ubuntu.com/~kernel-pp....2/amd64/linux --- this is the newest version of linux kernel so far I think

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


https://multipass.run/install --- that is all I could get if you can help me with the commands and everything I described down below it would be helpful, Thank You!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Ubuntu 20.04
So tell me more about that missing module how to extract it because right now the commands are bizzare in my linux
I have trouble only installing linux and pessulus that's all I want:

mv: missing file operand
Try 'mv --help' for more information.
****@DESKTOP-BK9717N:/home/pocoloco234# tar
tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try 'tar --help' or 'tar --usage' for more information.
****@DESKTOP-BK9717N:/home/pocoloco234#


I need this one too x11 and what *this* means

tar x11-sessons-utils
tar: Options '-[0-7][lmh]' not supported by *this* tar
Try 'tar --help' or 'tar --usage' for more information.

this [file operand] is exhausting me

you'll read it down below
The following packages were automatically installed and are no longer required:
libfwupdplugin1 libxmlb1 ----- is answering me for ("apt-get install libyaml-perl")

in details:

****@DESKTOP-BK9717N:/home/pocoloco234# apt-get install libyaml-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
libyaml-perl is already the newest version (1.30-1).
The following packages were automatically installed and are no longer required:
libfwupdplugin1 libxmlb1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

version of my Linux 5.10.16.3-microsoft-standard-WSL2



For XZ files it says:

****@DESKTOP-BK9717N:/home/pocoloco234# unxz linux-6.2.tar.xz
unxz: linux-6.2.tar.xz: No such file or directory
****@DESKTOP-BK9717N:/home/pocoloco234# xz --decompress linux-6.2.tar.xz
xz: linux-6.2.tar.xz: No such file or directory
****@DESKTOP-BK9717N:/home/pocoloco234# tar xvf linux-6.2.tar.xz
tar: linux-6.2.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
****@DESKTOP-BK9717N:/home/pocoloco234#


mv

@DESKTOP-BK9717N:/home/pocoloco234# mv linux-6.2.tar.xz
mv: missing destination file operand after 'linux-6.2.tar.xz'
Try 'mv --help' for more information.

I don't know if this is helpful:
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report mv translation bugs to <https://translationproject.org/team/>
Full documentation at: <https://www.gnu.org/software/coreutils/mv>
or available locally via: info '(coreutils) mv invocation'
root@DESKTOP-BK9717N:/home/pocoloco234# mv coreutils
mv: missing destination file operand after 'coreutils'
Try 'mv --help' for more information.
****@DESKTOP-BK9717N:/home/pocoloco234#

In both cases with or without ending after tar:

mv: missing destination file operand after 'linux-6.2.tar'

And this is a problem too:

DESKTOP-BK9717N:/home/pocoloco234# sudo snap install multipass
error: cannot communicate with server: Post http://localhost/v2/snaps/multipass: dial unix /run/snapd.socket: connect: no such file or directory
root@DESKTOP-BK9717N:/home/pocoloco234# ========== CANNOT COMMUNICATE WITH SERVER


for pessulus:
@DESKTOP-BK9717N:/home/pocoloco234# tar pessulus-2.30.3.tar.bz2
tar: Old option 'b' requires an argument.
Try 'tar --help' or 'tar --usage' for more information.

I don't know what to do with tar usage commands:

----------------------------------------------------

https://multipass.run/?_ga=2.2268096...082.1677279358

----------------------------------------------------
@DESKTOP-BK9717N:/home/pocoloco234# tar -xvf linux-6.2.tar
tar: This does not look like a tar archive


I think I need "mv"

Usage: mv [OPTION]... [-T] SOURCE DEST
or: mv [OPTION]... SOURCE... DIRECTORY
or: mv [OPTION]... -t DIRECTORY SOURCE...

but how to use it and what is OPTION




****@DESKTOP-BK9717N:/home/pocoloco234# sudo apt install mv
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mv --------- this E: is in RED
****@DESKTOP-BK9717N:/home/pocoloco234# sudo apt-get install mv
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mv --------- this E: is not



THIS IS INTERESTING:

https://9to5linux.com/you-can-now-in...untu-heres-how
https://9to5linux.com/tag/ubuntu
****@DESKTOP-BK9717N:/home/pocoloco234#

Last but not least I found something also that is not helping me much:

mv Doctrine-1.2.0.tgz Doctrine-1.2.0.tar.gz
gunzip Doctrine-1.2.0.tar.gz
tar xf Doctrine-1.2.0.tar


these 'mv' 'gunzip' 'tar "xf"'

That is all that I found and did much by the way installed linux 6 2 only these commands:



@DESKTOP-BK9717N:/home/pocoloco234# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal


xz-utils is already the newest version (5.2.4-1ubuntu1.1).


@DESKTOP-BK9717N:/home/pocoloco234# tar xvf linux-6.2.tar.xz
tar: linux-6.2.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
****@DESKTOP-BK9717N:/home/pocoloco234#
 
Old 02-24-2023, 05:08 PM   #15
palio88@gg
LQ Newbie
 
Registered: Feb 2023
Posts: 27

Original Poster
Rep: Reputation: 0
Talking Required an argument..

****@DESKTOP-BK9717N:/home/pocoloco234# tar tvf
tar: Old option 'f' requires an argument.
Try 'tar --help' or 'tar --usage' for more information.



****@DESKTOP-BK9717N:/home/pocoloco234# tar xvf
tar: Old option 'f' requires an argument.
Try 'tar --help' or 'tar --usage' for more information.



****@DESKTOP-BK9717N:/home/pocoloco234# tar f
tar: Old option 'f' requires an argument.
Try 'tar --help' or 'tar --usage' for more information.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
Can't get hybrid NVIDIA optimus graphics card to work in Ununtu studio 16.04, reboots to blank screen Booster.goat Ubuntu 1 10-02-2016 08:28 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
How do I un tar a .tar, .tar.z, .tar.gz file vofkid Linux - Newbie 4 03-15-2002 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration