Announcement

Collapse
No announcement yet.

trouble with apt

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    trouble with apt

    i recently installed kubutu 10.10...now i hav a large repository of deb packages.i stored it in a folder and aaded the folder as a source in sources.list /etc/apt. now kpackagekit is showing all the packages that i added but when i try to install them kpackagekit starts downloading the packages that are available locally in dat folder from the internet.How do i configure kpackagekit to use the locally available packages rather than downloading the same package from the internet.

    #2
    Re: trouble with apt

    The simplest way is to not connect to the Internet. Unplug your wired connection, or turn off your wireless. This way, when you run KPackagkit, it will have to utilize the 'local' repository. BEWARE THOUGH, that if those packages in your local repository refer to dependencies that you don't have, you will have problems.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: trouble with apt

      i tried the above method but then it gives a error that unable to download package from the internet and i am not talking abt dependencies that are not available in the repository ....it is downloading those which are present der...

      Comment


        #4
        Re: trouble with apt

        Okay. Launch KPackageKit, click on Settings and uncheck all but your local repository, click Apply. KPackageKit will update the package cache from the only repository it now knows about - your local repository.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: trouble with apt

          Originally posted by wizgen
          i recently installed kubutu 10.10...now i hav a large repository of deb packages.i stored it in a folder
          your
          large repository
          of packages.......were they from a earlier ver. than 10.10

          if so their old as far as apt-get is concerned and would be replaced/upgraded/ignored for your new system.

          VINNY

          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            Re: trouble with apt

            no they r from the same version.. i wanted to install kubuntu in two systems so in one i downloaded from the net in the other i wanted to use the files that i had already downloaded

            Comment


              #7
              Re: trouble with apt

              you should be abell to copy them (/var/cache/apt/archives/) from the box you DL'd to (provided their all their and you haven't ran apt-get clean) to the new box and from in the DIR you coped to with somthing like
              Code:
              dpkg -i *.deb
              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                Re: trouble with apt

                Originally posted by vinnywright
                Code:
                dpkg -i *.deb
                jus installed all the packages present .. i dont want to install all the packages present der but i need an option thru kpackagekit to install packages i need...using the above command has left the sysytem with loads of installed software with unsatisfied dependencies...how can roll back the changes?

                Originally posted by Snowhog
                Okay. Launch KPackageKit, click on Settings and uncheck all but your local repository, click Apply. KPackageKit will update the package cache from the only repository it now knows about - your local repository.
                i tried doing the above the its giving error that file not found while the file is present der


                here is what i did from the starting
                1>copied the debs file from a running kubuntu system from /var/cache/apt/archives to a /home/wizg3n/debs on my system
                2>created a packages.gz using the command
                Code:
                dpkg-scanpackages debs /dev/null | gzip > debs/Packages.gz
                3>added the line
                Code:
                deb file:/home/wizg3n/debs/ /
                to etc/apt/sources.list and disadbled all other sources using comments
                4>updated apt using
                Code:
                apt-get update
                5>the packages in local source showed in kpackagekit
                6>when i try install any of dem frm kpackagekit i get a error that file not found while the file is present in the local source

                steps 6,7 wer also tried using settings in kpackagekit
                now please suggest wat i shud do


                Comment

                Working...
                X