unrar problems, plz help me

If you are new to YDL and have some more or less basic questions.

unrar problems, plz help me

Postby panik86 » 20 Sep 2008, 20:55

hello all, i just recently installed YD and its great, but im having problems unzipping .rar files with unrar. I have installed unrar successfully but it doesn't work at all, exe [root@localhost ~]# unrar e Diablo.rar
bash: /bin/unrar: cannot execute binary file _ I don't know what that means or why it says that but it doesn't work at all, i have also attempted to use 7zip but i get this error when using it ___ [root@localhost ~]# 7z e Diablo.rar

7-Zip 4.44 beta Copyright (c) 1999-2007 Igor Pavlov 2007-01-20
p7zip Version 4.44 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
Error:
there is no such archive ___ unzip was installed using add/remove hardware and 7zip using a terminal command. If anyone could help me that would be sooo great, cuz all i need linux for is unzipping files. BTW im running YD on my PS# if it makes a difference. thx a bunch ~ motterboy20@yahoo.com
panik86
ydl newbie
ydl newbie
 
Posts: 8
Joined: 19 Sep 2008, 21:36

Re: unrar problems, plz help me

Postby panik86 » 20 Sep 2008, 20:59

I forgot to add that i know nothing at all about Linux, im brand new, so plz reply as if you where talking to an illiterate fool, ={>) thx again.
panik86
ydl newbie
ydl newbie
 
Posts: 8
Joined: 19 Sep 2008, 21:36

Re: unrar problems, plz help me

Postby ppietro » 20 Sep 2008, 21:53

panik86 wrote:hello all, i just recently installed YD and its great, but im having problems unzipping .rar files with unrar. I have installed unrar successfully but it doesn't work at all, exe
Code: Select all
[root@localhost ~]# unrar e software.rar
bash: /bin/unrar: cannot execute binary file
I don't know what that means or why it says that but it doesn't work at all,


Where did you get unrar? The message most likely means that the program you downloaded is for a different processor. The PS3's Cell/B.E. processor main core is Power PC (aka PPC) compatible. Most computers use Intel/AMD processors (aka x86 or x86_64). You can't run x86 code on a PPC processor.

(You might consider using the Code tag to surround cut'n'paste text. I did that up above :D)

i have also attempted to use 7zip but i get this error when using it
Code: Select all
 [root@localhost ~]# 7z e software.rar

7-Zip 4.44 beta  Copyright (c) 1999-2007 Igor Pavlov  2007-01-20
p7zip Version 4.44 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
Error:
there is no such archive


Sometimes in Unix you have to specify the full path. (i.e. /home/user/folder/filename instead of filename). The cool part is that there's a shortcut to specify the directory you're in - the period. So - if you want to tell a program the full path to a file, you can cd to the directory - cd /home/user/folder - then pass the argument with a period to the program - whatever_program ./filename - that's exactly the same as typing whatever_program /home/user/folder/filename

So, try the same command, but use ./ in front of the filename you want to unzip.

unzip was installed using add/remove hardware and 7zip using a terminal command. If anyone could help me that would be sooo great, cuz all i need linux for is unzipping files. BTW im running YD on my PS# if it makes a difference. thx a bunch


Uznip? That should have been installed already. You mean unrar? If so, you may have entered the wrong repositories.

Can I see the output of this command? cat /etc/yum.repos.d/*

ALSO - I notice you're running as root user. This is extremely discouraged. You should create a normal user account and reserve root user for system administrative functions only. Running as root user can lead to serious security problems if you're compromised.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: unrar problems, plz help me

Postby panik86 » 21 Sep 2008, 01:15

I have tryed a few things you asked, i think there are no repos in my yum directory or something ==>
Code: Select all
[root@localhost ~]# cat /etc/yum.repos.d/
cat: /etc/yum.repos.d/: Is a directory

that didnt do much so i tryed this one ==>
Code: Select all
[root@localhost Panik]# which yum/repos.d
/usr/bin/which: no repos.d in (./yum)

as for adding the ./ in the proper directory i get this
Code: Select all
[root@localhost ~]# cd /root/Desktop/Panik/
[root@localhost Panik]# 7z e ./Diablo.rar

Processing archive: ./Diablo.rar

Error: Can not open file as archive

I got unrar from add/remove so i dunno why it doesnt work, im thinking it all has something to do with my archive/archive manager or something.
BTW thx for the copy n past <code> it makes it look much better for the forum ^^
As for a final question, how do i get out of root user? Thx for all your help ppietro
panik86
ydl newbie
ydl newbie
 
Posts: 8
Joined: 19 Sep 2008, 21:36

Re: unrar problems, plz help me

Postby panik86 » 21 Sep 2008, 02:03

well i found my repos in yum by actually browsing the file, i have dribble.repo fedora-extras.repo livna-stable.repo and yellowdog(base,extra,and update).repos
panik86
ydl newbie
ydl newbie
 
Posts: 8
Joined: 19 Sep 2008, 21:36

Re: unrar problems, plz help me

Postby ppietro » 21 Sep 2008, 07:10

panik86 wrote:well i found my repos in yum by actually browsing the file, i have dribble.repo fedora-extras.repo livna-stable.repo and yellowdog(base,extra,and update).repos


unrar is part of the livna repos - but we still don't know for sure if your dribble, fedora-extras & livna-stable repos are for x86 or ppc. So - if you could, I need you to post the output of my command above. Note, though: you forgot the * at the end.

Once again - it's
Code: Select all
cat /etc/yum.repos.d/*


Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: unrar problems, plz help me

Postby panik86 » 21 Sep 2008, 19:50

Code: Select all
[root@localhost ~]# cat /etc/yum.repos.d/*
[dribble]
name=Dribble for Fedora 7 - ppc
baseurl=http://dribble.org.uk/repo/7/ppc
enabled=1
gpgcheck=0
[fedora-extras]
name=Fedora Extras
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/ppc
enabled=1
gpgcheck=0
[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/6/ppc
enabled=1
gpgcheck=0
[base]
name=Yellow Dog Linux 6 Base
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6/base/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd6-base-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
protect=1
protect=1
[extras]
name=Yellow Dog Linux 6 Extras
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6/extras/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd6-extras-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates]
name=Yellow Dog Linux 6 Updates
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6/updates/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd6-updates-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
protect=1

this is what i seem to have, btw thx again for all the help, its much appreciated!
panik86
ydl newbie
ydl newbie
 
Posts: 8
Joined: 19 Sep 2008, 21:36

Re: unrar problems, plz help me

Postby ppietro » 23 Sep 2008, 01:00

panik86 wrote:As for a final question, how do i get out of root user? Thx for all your help ppietro


If you're using Gnome, there's a "Users and Groups" manager under System --> Administration.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: unrar problems, plz help me

Postby ppietro » 23 Sep 2008, 01:12

panik86 wrote:
Code: Select all
[root@localhost ~]# cat /etc/yum.repos.d/*
[dribble]
name=Dribble for Fedora 7 - ppc
baseurl=http://dribble.org.uk/repo/7/ppc
enabled=1
gpgcheck=0
[fedora-extras]
name=Fedora Extras
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/ppc
enabled=1
gpgcheck=0
[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/6/ppc
enabled=1
gpgcheck=0
[base]
name=Yellow Dog Linux 6 Base
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6/base/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd6-base-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
protect=1
protect=1
[extras]
name=Yellow Dog Linux 6 Extras
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6/extras/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd6-extras-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates]
name=Yellow Dog Linux 6 Updates
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6/updates/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd6-updates-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
protect=1

this is what i seem to have, btw thx again for all the help, its much appreciated!


Thanks for posting that - it helps a lot.

One more test - could you post the output of the following command:
Code: Select all
file unrar

(run this in a terminal window)

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: unrar problems, plz help me

Postby panik86 » 23 Sep 2008, 02:11

wow this is very odd
Code: Select all
[root@localhost ~]# file unrar
unrar: ERROR: cannot open `unrar' (No such file or directory)

i dont understand, i installed unrar through add/remove, i gues for whatever reason it didnt do it lol, btw i also tryed the apt-get unrar and it doesnt work
Code: Select all
[root@localhost ~]# apt-get unrar
You don't seem to have one or more of the needed GPG keys in your RPM database.
Importing them now...
Error importing GPG keys
E: Unable to determine version for package fedora-release
E: Invalid operation unrar

so i guess i cant get it that way. btw i figured out the new user issue, i have a new account, im only on root now cuz it is the user with the page bookmark and the files, ill stop using root as soon as i figure this unrar issue out. hope to hear from you again soon you helpful hands
={>) <=== face, mustache and tung...
panik86
ydl newbie
ydl newbie
 
Posts: 8
Joined: 19 Sep 2008, 21:36

Re: unrar problems, plz help me

Postby ppietro » 23 Sep 2008, 05:21

panik86 wrote:wow this is very odd
Code: Select all
[root@localhost ~]# file unrar
unrar: ERROR: cannot open `unrar' (No such file or directory)

i dont understand, i installed unrar through add/remove, i gues for whatever reason it didnt do it lol, btw i also tryed the apt-get unrar and it doesnt work
Code: Select all
[root@localhost ~]# apt-get unrar
You don't seem to have one or more of the needed GPG keys in your RPM database.
Importing them now...
Error importing GPG keys
E: Unable to determine version for package fedora-release
E: Invalid operation unrar

so i guess i cant get it that way.


apt-get? That won't work - that's generally used for Ubuntu and other debian based Linuxes. Red Hat based Linuxes - like YDL, Fedora and CentOS - use YUM , or its graphical equivalent Pirut.

You are using YDL 6, right? ;)

If file isn't showing anything, you might not actually have unrar on your system. I'm not sure why it would fail, but you might try uninstalling and re-installing via Add/Remove.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: unrar problems, plz help me

Postby panik86 » 23 Sep 2008, 21:51

yea i just dont understand even the slightest, i have uninstalled and reinstalled and nothing, i have installed a new archive manager and nothing. this is very frustrating. yes im on yd6, and i have done everything possible that i have read in tutorials. everything on yd6 works for me except the unpacking apps for .rar files. im wondering, is there another unrar program i can use? i gave unrar and 7zip, niether can unpack my .rar's, although i can pack files with 7zip. what the hell am i doing wrong AHHH! im near the point of getting rid of yd and getting ubuntu cuz my friend uses ubuntu alot and sais he can set it up for me, though i realy dont want to /cry.
panik86
ydl newbie
ydl newbie
 
Posts: 8
Joined: 19 Sep 2008, 21:36

Re: unrar problems, plz help me

Postby ppietro » 24 Sep 2008, 01:36

panik86 wrote:yea i just dont understand even the slightest, i have uninstalled and reinstalled and nothing, i have installed a new archive manager and nothing. this is very frustrating. yes im on yd6, and i have done everything possible that i have read in tutorials. everything on yd6 works for me except the unpacking apps for .rar files. im wondering, is there another unrar program i can use? i gave unrar and 7zip, niether can unpack my .rar's, although i can pack files with 7zip. what the hell am i doing wrong AHHH! im near the point of getting rid of yd and getting ubuntu cuz my friend uses ubuntu alot and sais he can set it up for me, though i realy dont want to /cry.


I'm not sure why - but we should try manually adding unrar instead of using YUM/Pirut. As root user, try this:

1. Download this file:
http://rpm.livna.org/fedora/6/ppc/unrar ... n6.ppc.rpm
to your /root directory

2. Open up a terminal window, cd /root, and type the following:
Code: Select all
rpm -ivh unrar-3.7.7-1.lvn6.ppc.rpm


That ought to do it. Let me know how it goes.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18


Return to Beginner

Who is online

Users browsing this forum: No registered users and 3 guests

cron