The Perfect Setup - SUSE 9.3/Install apt For SUSE PROBLEM

Discussion in 'Installation/Configuration' started by gimhan90, Jan 24, 2006.

  1. gimhan90

    gimhan90 New Member

    Hi folks,

    when i followed the instructions to install apt for Suse 9.3 , following error was arised.

    u93254144:/etc # rpm -ivh ftp://ftp.gwdg.de/pub/linux/suse/ap...s/\apt-libs-0.5.15cnc7-0.suse093.rb0.i586.rpm
    Retrieving ftp://ftp.gwdg.de/pub/linux/suse/ap...os/apt-libs-0.5.15cnc7-0.suse093.rb0.i586.rpm
    error: skipping ftp://ftp.gwdg.de/pub/linux/suse/ap...os/apt-libs-0.5.15cnc7-0.suse093.rb0.i586.rpm - transfer failed - Unknown or unexpected error


    Pls help to resove this.

    Thx in advance,
    gimhan
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer


    Try this command and URL:

    Code:
    rpm -ivh ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.3-i386/RPMS.suser-rbos/apt-libs-0.5.15cnc7-0.suse093.rb0.i586.rpm
     
  3. gimhan90

    gimhan90 New Member


    Results

    rpm -ivh ftp://ftp.gwdg.de/pub/linux/suse/ap...s/\apt-libs-0.5.15cnc7-0.suse093.rb0.i586.rpm

    Retrieving ftp://ftp.gwdg.de/pub/linux/suse/ap...os/apt-libs-0.5.15cnc7-0.suse093.rb0.i586.rpm

    warning: /var/tmp/rpm-xfer.pqJ8KI: V3 DSA signature: NOKEY, key ID 8c9b4b0d
    error: Failed dependencies:
    librpm-4.1.so is needed by apt-libs-0.5.15cnc7-0.suse093.rb0
    librpmdb-4.1.so is needed by apt-libs-0.5.15cnc7-0.suse093.rb0
    librpmio-4.1.so is needed by apt-libs-0.5.15cnc7-0.suse093.rb0




    Is this error or ...
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    This means you will have to install the packages mentioned in failed dependencies first.

    You can follw the tutorial even without installing and using debian. If you get a line like:

    apt-get install package1 package2 package3

    replace it with:

    yast -i package1 package2 package3

    The SuSe 10 perfect setup howto I've written uses this approach.
     
  5. gimhan90

    gimhan90 New Member


    Hi i found the error of the command.

    9.3-i386/RPMS.suser-rbos.
    Here i forgot to tell u , i am using x86_64/server .
    So i think i need to find the exact path of the apt-libs-0.5.15cnc7-0.suse093.rb0.i586.rpm.

    If u do know the path . pls let me know. Thx for u r KIND HELP.
     
  6. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Either you find the 64Bit RPM for apt and the 64Bit RPM repositories or you use yast instaed of apt as i posted above.

    The yast solution might be easier. The howto was written for 32 bit linux.
     
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Maybe you can install apt-get with yast (at least this works for SuSE 10.0), or you do what Till suggested: use yast instead of apt-get. The result will be the same.
     
  8. gimhan90

    gimhan90 New Member


    su93254144:/etc # rpm -ivh ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.3-x86_64/apt-libs-0.5.15cnc7-0.suse093.sc.x86_64.rpm
    su93254144:/etc # rpm -ivh ftp://ftp.gwdg.de/pub/linux/suse/ap...r-rbos/apt-0.5.15cnc7-0.suse093.sc.x86_64.rpm
    Preparing...

    install apt on suse 9.3/64 bit

    su93254144:/etc/apt # vi sources.list
    # A very basic sources.list file.
    # Remove "base" in case you are behind a slow connection.
    # Fastest repository comes first, with netselect it is possible to determine
    # the fastest repository easily.
    # Visit the server to determine which apt components are provided.
    rpm ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/ SuSE/9.3-x86_64 update security rpmkeys
    rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/ SuSE/9.3-x86_64 update security rpmkeys

    # The list with all available components can be found at:
    # http://linix01.gwdg.de/apt4rpm
    # Some components provide experimental software, select wisely!
    # http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.3-x86_64/examples/sources.list.FTP

    # Consult the link above if you want to include uri's for src rp

    su93254144:/etc/apt # apt-get update
    apt-get: error while loading shared libraries: librpm-4.1.so: cannot open shared object file: No such file or directory
     
  9. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Then I suggest it's best to use yast instead of apt-get on SuSE 9.3 64-bit.
     
  10. gimhan90

    gimhan90 New Member

    after failure of the apt-get installation, i tried with yast -i packgeone command.
    Then i received this kind of error. I think this is because of apt-get mising library. please help me to work the yast -i packge command .

    when i enter yast -i packgename

    system said some system libries are missed . How do i resolve this and work with yast - i ?

    Do i need to uninstall the apt-get ? if so pls let me know the steps to uninstall the asp-get ?



    Thx in advance,
    gimhan
     
  11. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please try
    Code:
    yast
    instead of
    Code:
    yast -i <package name>
     
  12. gimhan90

    gimhan90 New Member


    to install a package ,
    we need to use "yast -i packagename" , Don't we?

    or how can we use only "yast " to install a packageone .
     
  13. gimhan90

    gimhan90 New Member


    yast

    pop up the "Yast Control Centre " .

    and when i went to the ,

    Software ----> Install and Remove Software .

    Result---> same as previous . missing library files screen was displayed .
    :(
     
  14. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Then I recommend to do a full re-install of the system. It seems to be really messed up!
     

Share This Page