Results 1 to 10 of 10

Thread: how to install .rpm or .deb with dependencies

  1. #1

    Default how to install .rpm or .deb with dependencies

    hi. i am new to suse, but have been using linux for awhile. so far liking what i see in 11.0.
    am having a problem setting up a Canon MP160 printer. Using the std printer setup - it finds the printer, but when trying to configure it, get the following errors and it doesn't finish:
    terminate called after throwing an instance of 'std::logic_error'
    what():basic_string::_S_construct NULL not valid YaST got signal 6 at YCP file printer/dialogs.ycp:2569
    /sbin/yast2: line 421: 3578 Aborted $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

    i have .deb and .rpm files i have used with other distros to make the printer/scanner work. when i tried to install the .rpm, i got several dependency errors, so quit out.
    Is there a way to install a .rpm or .deb file with something in suse that will automatically resolve any dependencies ?
    thanks. btw, i did post this on another suse forum.. i wasn't sure which one i should be using.

  2. #2

    Default Re: how to install .rpm or .deb with dependencies

    In GNOME you can right click on the .rpm file select open with -> package installer. It will install all required dependencies if the dependencies are present in the repositories added in your software repository configuration. Or you can keep all .rpm files in a local directory and add that directory as a repository (plain package repository) from YaST -> Software Repositories -> Add Repository ...
    I believe the Package Installer method that works in GNOME is not working in KDE4 as it is not getting root permission for some reason. But the adding repository thing works in both KDE and GNOME.
    Hope that helps.

  3. #3
    Join Date
    Jun 2008
    Location
    Glasgow, Scotland
    Posts
    184

    Default Re: how to install .rpm or .deb with dependencies

    Quote Originally Posted by vbdanl View Post
    hi. i am new to suse, but have been using linux for awhile. so far liking what i see in 11.0.
    am having a problem setting up a Canon MP160 printer. Using the std printer setup - it finds the printer, but when trying to configure it, get the following errors and it doesn't finish:
    terminate called after throwing an instance of 'std::logic_error'
    what():basic_string::_S_construct NULL not valid YaST got signal 6 at YCP file printer/dialogs.ycp:2569
    /sbin/yast2: line 421: 3578 Aborted $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

    i have .deb and .rpm files i have used with other distros to make the printer/scanner work. when i tried to install the .rpm, i got several dependency errors, so quit out.
    Is there a way to install a .rpm or .deb file with something in suse that will automatically resolve any dependencies ?
    thanks. btw, i did post this on another suse forum.. i wasn't sure which one i should be using.
    Konsole
    su
    password
    "zypper in package.rpm" (omit quotation marks)

    This only works if zypper is able to find the required dependencies in your configured repositories.

  4. #4

    Default Re: how to install .rpm or .deb with dependencies

    Quote Originally Posted by badshah400 View Post
    In GNOME you can right click on the .rpm file select open with -> package installer. It will install all required dependencies if the dependencies are present in the repositories added in your software repository configuration. Or you can keep all .rpm files in a local directory and add that directory as a repository (plain package repository) from YaST -> Software Repositories -> Add Repository ...
    I believe the Package Installer method that works in GNOME is not working in KDE4 as it is not getting root permission for some reason. But the adding repository thing works in both KDE and GNOME.
    Hope that helps.
    i tried the package installer, but it failed with dependency problems. i will try and attach results. also did the add repo dir as described, but am not sure how to get yast to install it.
    guess i can't post attachments, but it said it needs gtk+ and libxml.

  5. #5

    Default Re: how to install .rpm or .deb with dependencies

    Quote Originally Posted by chyrania View Post
    Konsole
    su
    password
    "zypper in package.rpm" (omit quotation marks)

    This only works if zypper is able to find the required dependencies in your configured repositories.
    yahoo!! success in using zypper to get the printer to working.
    i also used it to install the scanner rpm's. the scanner will scan by using the button on the scanner to print what is on the scanner, but so far i can't scan a image to a file. i installed xsane, but it gives me the error "failed to open device pixma ..
    access to resource has been denied".

  6. #6
    Join Date
    Jun 2008
    Location
    Glasgow, Scotland
    Posts
    184

    Default Re: how to install .rpm or .deb with dependencies

    Quote Originally Posted by vbdanl View Post
    yahoo!! success in using zypper to get the printer to working.
    i also used it to install the scanner rpm's. the scanner will scan by using the button on the scanner to print what is on the scanner, but so far i can't scan a image to a file. i installed xsane, but it gives me the error "failed to open device pixma ..
    access to resource has been denied".
    This is a wild shot in the dark...but you could try looking at user permissions for that particular device.

  7. #7

    Default Re: how to install .rpm or .deb with dependencies

    thanks to all of you that posted. scanner is now working. not sure how.. i am guessing a reboot or some downloaded updates must have finished getting things to working.. weird, but am glad it works -)

  8. #8

    Default Re: how to install .rpm or .deb with dependencies

    I am trying to install Mplayer in my system(suse11.1)

    I downloaded the rpm package as below
    but when I opened it with "Package Installer" to install it with all dependencies .I got the error as give below
    '''Could not find the rpm-Package in Pool'''

    I need help on this .. please

  9. #9

    Cool Re: how to install .rpm or .deb with dependencies

    If you have a rpm package which is asking for dependency packages also to be installed, you can use

    rpm -ivh -aid <rpm_Package>

    For example,

    # rpm -ivh --aid gcc4-4.1.0-18.EL4.i386.rpm
    warning: gcc4-4.1.0-18.EL4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
    Preparing... ########################################### [100%]
    1:glibc-kernheaders ########################################### [ 20%]
    2:glibc-headers ########################################### [ 40%]
    3:glibc-devel ########################################### [ 60%]
    4:libgomp ########################################### [ 80%]
    5:gcc4 ########################################### [100%]


  10. #10
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: how to install .rpm or .deb with dependencies

    you answered to an almost 5 years old thread which contains the answer
    how to do it properly in post 3

    --
    PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
    ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.0 | HD 3000
    HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.0 | GMA4500

Posting Permissions

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