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

Thread: Adding repositories without internet

  1. #1

    Default Adding repositories without internet

    First of all, sorry if this is in the wrong section, I wasn't really sure where a question like this was suppose to go.

    Here's the rundown:

    I have a problem with my wireless internet, my chipset went into the kernel in 2.6.38 and my kernel is version 2.6.37. I know what I have to do, which is add the repository from Index of /repositories/driver:/wireless/openSUSE_11.4 there. Then I have to go into Yast and get the compat-wireless-kmp-desktop-2.6.38.2_k2.6.37.1_1.2-2.1.i586.rpm I do believe. From then, I can do the 'sudo/sbin/modprobe -v rtl8192ce' command my wireless should be availabe.

    However, with no internet connection, I'm not sure how to add a repository. I'm a bit of a noob to Linux but I'm just unsure of a way. I tried just going in and downloading the compat-wireless-kmp-desktop-2.6.38.2_k2.6.37.1_1.2-2.1.i586.rpm file and putting it on my external harddrive and trying to install it that way. But it said something about there was no dependency so it couldn't install the file.

    Am I missing something here or is there another way I can do this without the use of internet in OpenSuse? Thanks.

    Btw, before anyone says use wireless, it's not possible at the moment, but I'll make it happen if it's a last resort. I want to fix this problem, but I'm also curious about the question at hand for knowledge and possible future use. Thanks!

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,114

    Default Re: Adding repositories without internet

    I do not think that adding the repo to your repo list with YaST is the problem (you only have to enter the details in YaST > Software > Repositorty management and then the Add button lower left and then a nice name in the first line and the URL you mentioned above in the second line). The problem is that you then need access to that repo via the net to install what you want. And you can not reach that repo (or any other one on the net).
    Henk van Velden

  3. #3

    Default Re: Adding repositories without internet

    Quote Originally Posted by hcvv View Post
    I do not think that adding the repo to your repo list with YaST is the problem (you only have to enter the details in YaST > Software > Repositorty management and then the Add button lower left and then a nice name in the first line and the URL you mentioned above in the second line). The problem is that you then need access to that repo via the net to install what you want. And you can not reach that repo (or any other one on the net).
    Actually I think that is exactly the problem. Is there a way to work around this?

  4. #4
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    130

    Default AW: Re: Adding repositories without internet

    Assuming you can't plug in a LAN cable...
    If you can download the rpm via a different machine you should be able to install it.
    You may have to add your folder as a local repo.
    If there are missing dependencies you would have to find out which. Dunno how, maybe right-click and then something...
    Extreme measure: Download the DVD-Image, Burn a DVD and add the DVD as Repo, call for yast....

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,114

    Default Re: Adding repositories without internet

    Download the rpm from the repo (go to the URL and drill downuntil you find it, it is in here: Index of /repositories/driver:/wireless/openSUSE_11.4/i586 ) on another system (every OS allowed ), copy to your real system (USB stick, floppy?) and install (click on it, most probably YaST will be called to do it).
    Henk van Velden

  6. #6
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,921

    Default Re: Adding repositories without internet

    Quote Originally Posted by hcvv View Post
    and install (click on it, most probably YaST will be called to do it).
    On openSUSE 11.4 KDE by default kpackagekit is called to do it and it can do some crazy things so I would say
    Code:
    rpm -i package_name.rpm
    is much safer.

    @OP
    Please note that You have to be in the same directory as You downloaded the package in order for the above to work.

    Best regards,
    Greg
    Best regards,
    Greg

  7. #7

    Default Re: Adding repositories without internet

    Quote Originally Posted by glistwan View Post
    On openSUSE 11.4 KDE by default kpackagekit is called to do it and it can do some crazy things so I would say
    Code:
    rpm -i package_name.rpm
    is much safer.
    That will only work if the package has no dependencies (or if there are already installed).

  8. #8
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,921

    Default Re: Adding repositories without internet

    Quote Originally Posted by please_try_again View Post
    That will only work if the package has no dependencies (or if there are already installed).
    True sorry for not stating that. Is there a command to install one local rpm using zypper and with satisfying the dependencies ?

    Best regards,
    Greg
    Best regards,
    Greg

  9. #9

    Default Re: Adding repositories without internet

    Quote Originally Posted by glistwan View Post
    True sorry for not stating that. Is there a command to install one local rpm using zypper and with satisfying the dependencies ?
    Put the packages in /var/cache/zypper/RPMS and use

    Code:
    zypper in package_name.rpm
    zypper should install the dependencies from its cache directory.

  10. #10
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,921

    Default Re: Adding repositories without internet

    Quote Originally Posted by please_try_again View Post
    Put the packages in /var/cache/zypper/RPMS and use

    Code:
    zypper in package_name.rpm
    zypper should install the dependencies from its cache directory.
    Thanks always learn something new

    Best regards,
    Greg
    Best regards,
    Greg

Page 1 of 2 12 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
  •