Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: zypper: how to download all the dependencies of wine

  1. #1

    Default zypper: how to download all the dependencies of wine

    Hi there!

    I need to install wine on my opensuse distribution but I have to do it offline so I need the wine packages (I think two packages, one for 32 bit apps and the other for 64 bit).

    One of them it should be installed by default by Opensuse but the other I have to install it. I have tried to download the package and install it on my target machine but I got a message saying that I needed libgphoto2.so.2 and maybe I will need other packages later on.

    I am on opensuse as well now and I have the wine packages installed. I have tried the option --download-only of zypper but it says I have the last version of it.
    Even if I uninstall it I think this option will download just the wine package but I need all the dependencies.

    Is there a way to download all the dependencies of a specific package (every solution is welcomed )



    Thanks

  2. #2
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    254

    Default AW: zypper: how to download all the dependencies of wine

    Use option -d, --download-only. The packages will then be stored in /var/cache/zypp/packages/ until they are installed.

    Code:
    zypper in -d wine
    zypp it...

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,727

    Default Re: zypper: how to download all the dependencies of wine

    Hello and welcome here.

    Please remember that we are normal people like you and thus not clairvoyant. Allways tell what version of openSUSE is used. We can not guess it and you most probably can never be sure if it is of influence on the answer to be given.
    Henk van Velden

  4. #4

    Default Re: AW: zypper: how to download all the dependencies of wine

    Quote Originally Posted by zerum View Post
    Use option -d, --download-only. The packages will then be stored in /var/cache/zypp/packages/ until they are installed.

    Code:
    zypper in -d wine

    Hi,

    thank you for the hint but as I said, I've already tried that and there is nothing in those folders.

    I got this message:

    wine' is already installed.
    No update candidate for 'wine-1.5.6-2.1.2.x86_64'. The highest available version is already installed.

    even if I uninstall it, I think that command will just download that file.. the problem is that I need all the dependencies

  5. #5

    Default Re: zypper: how to download all the dependencies of wine

    Quote Originally Posted by hcvv View Post
    Hello and welcome here.

    Please remember that we are normal people like you and thus not clairvoyant. Allways tell what version of openSUSE is used. We can not guess it and you most probably can never be sure if it is of influence on the answer to be given.

    Hi, thank you

    Yes, sure, you are totally right.

    I'm using OpenSuse 12.3 x86 64 bit. For every other info, feel free to ask!

  6. #6
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    254

    Default AW: Re: AW: zypper: how to download all the dependencies of wine

    Quote Originally Posted by ventilus View Post
    Hi,

    thank you for the hint but as I said, I've already tried that and there is nothing in those folders.

    I got this message:

    wine' is already installed.
    No update candidate for 'wine-1.5.6-2.1.2.x86_64'. The highest available version is already installed.

    even if I uninstall it, I think that command will just download that file.. the problem is that I need all the dependencies
    You can run the command
    Code:
    zypper rm -u wine
    without confirming to continue. Then you have a list which packages and its dependencies would be uninstalled. You can copy the package names into a textfile named packages.txt and use the following command to download them to /var/cache/zypp/packages/:

    Code:
    zypper in -d --force $(cat packages.txt)
    zypp it...

  7. #7

    Default Re: zypper: how to download all the dependencies of wine

    You can run the following to see the dependencies:
    Code:
    rpm -q --requires wine
    Or select the package in YaST->Software Management and click on the "Dependencies" tab in the bottom-right...

  8. #8

    Default Re: AW: Re: AW: zypper: how to download all the dependencies of wine

    Quote Originally Posted by zerum View Post
    You can run the command
    Code:
    zypper rm -u wine
    without confirming to continue. Then you have a list which packages and its dependencies would be uninstalled. You can copy the package names into a textfile named packages.txt and use the following command to download them to /var/cache/zypp/packages/:

    Code:
    zypper in -d --force $(cat packages.txt)

    this solution seems really cool, I'll try it! thanks

  9. #9

    Default Re: zypper: how to download all the dependencies of wine

    Quote Originally Posted by wolfi323 View Post
    You can run the following to see the dependencies:
    Code:
    rpm -q --requires wine
    Or select the package in YaST->Software Management and click on the "Dependencies" tab in the bottom-right...
    thanks, I think I'll try the zerum solution first since it should automatically download all the packages

  10. #10

    Default Re: AW: Re: AW: zypper: how to download all the dependencies of wine

    Quote Originally Posted by zerum View Post
    You can run the command
    Code:
    zypper rm -u wine
    without confirming to continue. Then you have a list which packages and its dependencies would be uninstalled. You can copy the package names into a textfile named packages.txt and use the following command to download them to /var/cache/zypp/packages/:

    Code:
    zypper in -d --force $(cat packages.txt)

    mate this solution rocks! now I have all the rpm packages that I needed. Thank you very much!

    Now I have all the rpm set in different folders.

    I know the rpm -ivh *.rpm command but.. is there any equivalent command in zypper? (install all the rpm of a directory and maybe of his subfolders)

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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