Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
firstly i was able to unrar files in the terminal and everything and after i checked the post of solution to rar password file i read the reply of installing ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49

    installing unrar (SOLVED)

    firstly i was able to unrar files in the terminal and everything and after i checked the post of solution to rar password file i read the reply of installing unrar so i typed apt-get install unrar to know that this the way to install unrar and posted reply
    and now i can't unrar files
    i typed apt-get install unrar again and it goes through but still nothing
    here is the result of the apt-get install unrar

    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following NEW packages will be installed:
    unrar
    0 upgraded, 1 newly installed, 0 removed and 123 not upgraded.
    Need to get 0B/18.5kB of archives.
    After unpacking 179kB of additional disk space will be used.
    Committing changes...
    Preparing... ########################################### [100%]
    1:unrar ########################################### [100%]
    error: unpacking of archive failed: cpio: Bad magic
    You don't seem to have one or more of the needed GPG keys in your RPM database.
    Importing them now...
    GPG key not imported correctly
    GPG id: gpg-pubkey-5f6842a4-3f045b8b
    File: /usr/lib/rpm/gnupg/packman-henvol.asc
    apt executing: /sbin/SuSEconfig
    Starting SuSEconfig, the SuSE Configuration Tool...
    Running in full featured mode.
    Reading /etc/sysconfig and updating the system...
    Executing /sbin/conf.d/SuSEconfig.desktop-file-utils...
    Executing /sbin/conf.d/SuSEconfig.fonts...
    Creating cache files for Xft .........................
    Creating fonts.{scale,dir} files .........
    generating java font setup
    writing /usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/fontconfig.SuSE.properties
    writing /etc/fonts/suse-hinting.conf
    writing /etc/fonts/suse-bitmaps.conf
    Executing /sbin/conf.d/SuSEconfig.groff...
    Executing /sbin/conf.d/SuSEconfig.gtk2...
    Executing /sbin/conf.d/SuSEconfig.kde...
    Executing /sbin/conf.d/SuSEconfig.kdm3...
    Executing /sbin/conf.d/SuSEconfig.libxml2...
    Executing /sbin/conf.d/SuSEconfig.news...
    Executing /sbin/conf.d/SuSEconfig.pango...
    Executing /sbin/conf.d/SuSEconfig.perl...
    Executing /sbin/conf.d/SuSEconfig.permissions...
    Executing /sbin/conf.d/SuSEconfig.postfix...
    Setting up postfix local as MDA...
    Setting SPAM protection to "off"...
    Executing /sbin/conf.d/SuSEconfig.prelink...
    running prelink, can take a long time .../usr/sbin/prelink: /usr/lib/NX/nxviewer: Could not find one of the dependencies
    /usr/sbin/prelink: /usr/lib/NX/nxdesktop: Could not find one of the dependencies
    /usr/sbin/prelink: /usr/lib/NX/nxagent: Could not find one of the dependencies
    /usr/sbin/prelink: /usr/lib/NX/nxproxy: Could not find one of the dependencies
    /usr/sbin/prelink: /opt/MozillaFirefox/lib/firefox-bin: Could not find one of the dependencies
    /usr/sbin/prelink: /usr/sbin/xcmd: shared library /usr/lib/libsax.so.7.1.0 appears possibly non-PIC and contains conflicts. Symbol offset: 45f199b8
    /usr/sbin/prelink: /usr/sbin/xapi: shared library /usr/lib/libsax.so.7.1.0 appears possibly non-PIC and contains conflicts. Symbol offset: 45f199b8

    Executing /sbin/conf.d/SuSEconfig.scpm...
    Executing /sbin/conf.d/SuSEconfig.sortpasswd...
    Executing /sbin/conf.d/SuSEconfig.susehelp...
    DOCALLOW: localhost
    Executing /sbin/conf.d/SuSEconfig.syslog-ng...
    Executing /sbin/conf.d/SuSEconfig.xdm...
    Executing /sbin/conf.d/SuSEconfig.xpdf...
    Executing /sbin/conf.d/SuSEconfig.zmessages...
    Finished.
    apt executing: /sbin/ldconfig
    W: Some errors occurred while running transaction

    any ideas

    this is really annoying is this the sort of bug that are common with linux im starting to prefer windows even more then linux then i use to as all i need is winrar.

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Why did you not use Yast to install it is a lot more intelligent then Apt-get

    unrar is in the suse repository. Install from there and you won't have a problem.

    You can't follow instructions that pertain to a different distro, unless you really know what you are doing. Stick with Yast and the Suse and community repositories and you won't have problems. Also it is a lot easier then Windows.

    If you must have a package that is not in one of the repositories then you must resort to compiling from source.

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    If you were able to unrar your files, why did you try and install the same/another app?

    I am curious how you have apt-get installed? What SuSE do you have installed? I am not sure about 11, but no previous SuSE has apt-get installed by default - it's not a native SuSE utility (as mentioned previously.)

    If you want something command line (like apt-get) in SuSE, you can use the zypper command.

    Code:
    zypper in unrar
    I don't know how else to say this - If you don't know what you're doing, of course you're going to make mistakes. It's a learning process. Also, this is not Windows. If you prefer Windows, then by all means use whatever works best for you.

    Checking a pretty general SuSE 10.3 install, it looks like unrar is installed by default:

    Code:
    zypper se unrar
    
    S | Repository                   | Type    | Name  | Version | Arch
    --+------------------------------+---------+-------+---------+-----
    i | 10.3 - Main Repository (OSS) | package | unrar | 3.70-21 | i586
    To fix your problem, you can try removing and then reinstalling the app:

    Code:
    zypper rm unrar
    Code:
    zypper in unrar

  4. #4
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49
    i tried to install it via YaST i went to software then software management and searched for unrar and nothing found.

    zypper does not work

    any ideas pls i can't open rar files anymore

  5. #5
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    What repositories do you have active. Which version of Suse? I use 10.2 and it shows up in the opensuse repository.

    Did you install Apt-get? from where.

  6. #6
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49
    no i didn't install apt-get
    it came with opensuse installation

    do you think i should install apt-get and how would you do it.

  7. #7
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    What is the result of running:

    Code:
    cat /etc/*release
    ???

  8. #8
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    No don't!!!!!

    It is not installed on mine and I don't think it is installed by default.

    Use zypper or Yast to install.

    Why can't you use Yast?

    You have not said what version of Suse???? This can make a difference.

  9. #9
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49
    I did mention which version of Suse i am using it is OpenSuse 10.0
    i tried to install apt again using apt-get install apt as i couldn't find apt-get in YaST
    then i tried apt-get install unrar but it didn't go through an error came segmentation error.
    thanks all for your help but the problem is solved.

  10. #10
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49
    here is the solution of what i did to make it work

    Install unrar command

    Under Debian Linux, you need to type apt-get as follows to install unrar program:
    Code:

    # apt-get install unrar
    then when i read on it said if the above doesn't work try the following

    If any of above, methods is not working for you, download binary package from official rarlab site :
    Code:
    $ cd /tmp
    $ wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz


    Untar file
    Code:
    $ tar -zxvf rarlinux-3.6.0.tar.gz


    Both unrar and rar commands are located in rar sub-directory. Just go to rar directory:
    Code:
    $ cd rar
    $ ./unrar


    Now copy rar and unrar to /bin directory:
    Code:
    # cp rar unrar /bin
    source - Open rar file or Extract rar files under Linux or UNIX

    And this made the command unrar work
    thanks everyone for your help
    keep up the good work

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...