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.
Announcement
Collapse
No announcement yet.
trouble with apt
Collapse
This topic is closed.
X
X
-
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
- Top
- Bottom
-
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...
- Top
- Bottom
Comment
-
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
- Top
- Bottom
Comment
-
Re: trouble with apt
Originally posted by wizgeni recently installed kubutu 10.10...now i hav a large repository of deb packages.i stored it in a folderlarge repository
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
- Top
- Bottom
Comment
-
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 likeCode:dpkg -i *.deb
i7 4core HT 8MB L3 2.9GHz
16GB RAM
Nvidia GTX 860M 4GB RAM 1152 cuda cores
- Top
- Bottom
Comment
-
Re: trouble with apt
Originally posted by vinnywrightCode:dpkg -i *.deb
Originally posted by SnowhogOkay. 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.
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
Code:deb file:/home/wizg3n/debs/ /
4>updated apt using
Code:apt-get update
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
- Top
- Bottom
Comment
Comment