LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-31-2006, 07:07 AM   #1
mikeotieno
Member
 
Registered: Jun 2006
Location: Kenya
Distribution: SUSE OSS 10.1, Fedora 9 x86-64
Posts: 71

Rep: Reputation: 15
Post problem when installing tar packages


hi, i get an error message when trying to run insataller script when installing a tar file. here is the error message.

linux:/mnt/hda5/Software/Linux packages # tar -xvzf AdbeRdr70_linux_enu.tar.gz
AdobeReader/
AdobeReader/ILINXR.TAR

tar: AdobeReader/ILINXR.TAR: Cannot change ownership to uid 0, gid 0: Operation not permitted
AdobeReader/COMMON.TAR

tar: AdobeReader/COMMON.TAR: Cannot change ownership to uid 0, gid 0: Operation not permitted
AdobeReader/LICREAD.TXT

tar: AdobeReader/LICREAD.TXT: Cannot change ownership to uid 0, gid 0: Operation not permitted
AdobeReader/INSTALL
tar: AdobeReader/INSTALL: Cannot change ownership to uid 0, gid 0: Operation not permitted
AdobeReader/README
tar: AdobeReader/README: Cannot change ownership to uid 0, gid 0: Operation not permitted
tar: AdobeReader: Cannot change ownership to uid 0, gid 0: Operation not permitted
tar: Error exit delayed from previous errors

linux:/mnt/hda5/Software/Linux packages # cd ./AdobeReader/

linux:/mnt/hda5/Software/Linux packages/AdobeReader # ls
. .. common.tar ilinxr.tar install licread.txt readme
linux:/mnt/hda5/Software/Linux packages/AdobeReader #
linux:/mnt/hda5/Software/Linux packages/AdobeReader # ./install
bash: ./install: /bin/sh: bad interpreter: Permission denied
linux:/mnt/hda5/Software/Linux packages/AdobeReader #


Please help. Thanx
 
Old 07-31-2006, 07:16 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 7,514
Blog Entries: 1

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Hi,

Looks like you are trying to install this as a regular user, this needs to be installed as root. Uid 0 and gid 0 are the uid/gid for root.

Hope this helps.
 
Old 07-31-2006, 07:17 AM   #3
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Good Day

Are you usig a user that has permission to untar and install the Acrobat Reader??
 
Old 07-31-2006, 07:32 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 121Reputation: 121
What is the output of "ls -al /mnt/hda5/Software/Linux packages"?

And why do you have a space in a Linux filesystem directory? Just a
personal pet peeve of mine. Or is that a FAT filesystem?

Looks like you're trying to untar and install as root (#) to me.
I always install it as a normal user and have no problems unpacking
it, but must get proper permissions for the install path. Did you
never get to the installation instructions?
Quote:
To install adobe Reader 7.0.5 using a Tarball installer:

After installing Adobe Reader, you will be prompted to install the browser plug-in (see See To install the browser plug-in: for instructions).

1. Open a terminal window.

2. Use the cd command to switch to the directory where the Tarball archive resides.

3. Run the following command:

tar -zxvf AdobeReader_enu-7.0.5-1.i386.tar.gz

4. In the newly created AdobeReader directory, run the INSTALL script.

5. Add <adobe_install_dir>/bin to the PATH environment variable to allow browsers to launch Adobe Reader, where <adobe_install_dir> is the installation directory of Adobe Reader 7.0.5.

Note: To install in a pre-defined directory, use --install_path=<dir> .

By default, Adobe Reader is installed at /usr/local/Adobe/Acrobat 7.0. You can however, specify a different location.

To uninstall Adobe Reader, simply delete the directory where it was installed.
FWIW there is now Adobe Reader 7.0.7 for Linux.
 
Old 08-07-2006, 10:41 AM   #5
mikeotieno
Member
 
Registered: Jun 2006
Location: Kenya
Distribution: SUSE OSS 10.1, Fedora 9 x86-64
Posts: 71

Original Poster
Rep: Reputation: 15
thanx guyz i managed to install the packages finally after ur help i really appreciate.
 
Old 08-07-2006, 01:24 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 121Reputation: 121
Please post what you did to install the software,
so that someone else searching will know what you did.
 
Old 11-08-2010, 11:04 AM   #7
ozled
LQ Newbie
 
Registered: Apr 2006
Location: France
Distribution: FC4, Suse 10
Posts: 6

Rep: Reputation: 1
Belated answer

I know it has been a long time, but this thread appears at the top of the Google search so this may help someone.

When extracting with tar, the default for the root user is that tar attempts to retain the owner:group of the files originally stored in the tar.
When transferring tar files across systems, this may cause problem if the same user does not exist in the target machine.
Using the option --no-same-owner will force tar to extract the files and assign them root as owner.
The error does not appear when extracting with a normal user because in that case the default option is --no-same-owner.
 
Old 11-08-2010, 11:21 AM   #8
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
ozled,

It is commendable of you to try adding some helpful information onto what appears to be unresolved threads. Thank you!

You have noticed that the threads you are adding to are very old (like 7 years in one case).

Generally, we don't encourage resurrecting long-dead threads, though in this case, at least you have contributed something meaningful to the threads. It would have been better if you had created a brand new thread with a good title, and described the problem clearly and provided your solution, and marking the thread [SOLVED].

I would think that Googlers would find that to be a better search result than these older threads that contain other mixed information. Maybe your new thread would have become the new "Top Google Result" for folks with tar problems..

Anyhow, thanks again. Cheers & best regards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Really really newbie question about installing packages with tar.gz. Ardor Linux - General 11 09-18-2005 07:49 PM
problem installing from tar.gz girl1984 Linux - Newbie 10 06-20-2005 02:39 PM
installing/uninstalling .tar packages onegear Linux - Software 3 10-31-2004 03:39 PM
installing .tar packages! Monkey_Magic Linux - Newbie 3 08-24-2004 10:18 AM
installing .tgz.tar packages slack_is_good Slackware 6 12-18-2003 12:14 PM


All times are GMT -5. The time now is 09:19 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration