[fsug-calicut] Re: adding repositories to your hard disk

  • From: "junise safvan" <gnuise@xxxxxxxxx>
  • To: saralsasidharan@xxxxxxxxx, ilug-tvm@xxxxxxxxxxxxxxxx, "fsug calicut" <fsug-calicut@xxxxxxxxxxxxx>
  • Date: Mon, 5 Jan 2009 18:00:33 +0530

sorry again an error:

1. cd to packages1 folder in terminal
2. dpkg-scanpackages . | gzip -9c > ./Packages.gz

and do the rest works


On Sat, Dec 27, 2008 at 11:45 PM, junise safvan <gnuise@xxxxxxxxx> wrote:

> hai saral,
>
> following are the steps to be done while creating local repositories in
> your hard disk.
>
> 1.    copy the repository files (*.deb) to a local directory, say
> '/home/junise/repos/packages1' ('junise' is my user name)
> 2.    run the following commands in terminal
>     a. 'cd /home/junise/repos'
>     b. 'dpkg-scanpackages packages1 /dev/null | gzip -9c >
> packages1/Packages.gz'
> 3.    extract the 'Packages.gz' file
> 4.    delete the 'Packages.gz' file
> 5.    open the 'Packages' file in a text editor, take 'search>replace' or
> 'ctrl+h', replace all 'packages1/' with './' and save it
> 6.    archive the 'Packeges' file to 'Packages.gz'
> 7.    open your sources.list file in super user mode
> (/etc/apt/sources.list)
> 8.    add the line 'deb file:///home/junise/repos/packages1/ ./'
> 9.    if you have the complete repository, comment all the line with
> http:// address using an '#' in front of the line
> 10.    run the command 'sudo apt-get update' in the terminal
>
> --
> junise safvan
> project guidance on vhdl, image processing, embedded system designing etc
>



-- 
junise safvan
project guidance on vhdl, image processing, embedded system designing etc

Other related posts: