a file as a repository?
Balakrishnan Chandrasekaran
balakrishnan.c at gmx.de
Mon Feb 21 22:38:58 UTC 2005
Cybe R. Wizard wrote:
>Is it possible (ie how do I?) set a local file as a repository for some
>debs DLed long ago?
You can do that easily. You are to move the files to a folder and then run two
commands which are given below.
dpkg-scanpackages <folder> | gzip Packages.gz
dpkg-scansources <folder> | gzip Sources.gz
These two commands create the indexes of the packages found in the folder, so
that apt-get can use it. If the above commands return an error as "command not
found", then try apt-get dpkg-dev first and install the package and then proceed
with the two commands.
Then after that open the sources.list file and add an entry to include the
folder containing the deb files.
Hope that helped
Ciao,
Balakrishnan Chandrasekaran
--------------------------------------
I Love TUX
Balakrishnan.C at GMX.de
Balakrishnan.C at Gmail.com
>-----Original Message-----
>From: ubuntu-users-bounces at lists.ubuntu.com [mailto:ubuntu-users-
>bounces at lists.ubuntu.com] On Behalf Of Cybe R. Wizard
>Sent: Saturday, February 19, 2005 10:24 PM
>To: Humans
>Subject: a file as a repository?
>
>Is it possible (ie how do I?) set a local file as a repository for some
>debs DLed long ago? I'd hate to re-DL them as I have them right here.
>I prefer synaptic, if that makes any difference.
>
>Cybe R. Wizard
>--
>Unofficial "Wizard of Odds," A.H.P.
>Original PORG "Water Wizard," R.P.
>"Wize(ned) Wizard," A.P.F-P-Y.
>Barely Tolerated Wizard, A.J.L & A.A.L
>
>--
>ubuntu-users mailing list
>ubuntu-users at lists.ubuntu.com
>http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050222/32dd226a/attachment.html>
More information about the ubuntu-users
mailing list