Need help installing local deb file
I downloaded a commercial demo app as a deb file (i'm so glad they support linux!). I saved the file into a directory on my harddrive. OK. Now i want to create a local apt source so that i can install the debs i download properly. Here is what i've done:
$ cd /home/leiavoia/incoming/debs (my repository directory) $ dpkg-scanpackages ./ /dev/null | gzip - > ./Packages.gz $ echo "deb file:/home/leiavoia/incoming/debs ./" >> /etc/apt/sources.list So Packages.gz is now configured and my directory is in the apt sources list. Then i do $ apt-get update and it does it's thing. However when i try installing or even looking for the new package with apt-cache search, it cannot find it! Am i doing something wrong? How can i know if apt is picking up my local repository or not? Thanks for your help. I'm sure it's not a big deal, but i'm missing something. |
Can't you just install it with dpkg -i (path)
|
yes :-)
I did that, but i'm only asking for future reference. |
Try this:
Code:
cd /home/leiavoia/incoming/debs Code:
nano /etc/apt/sources.list Quote:
Code:
apt-get update |
work?
Would this work with a samba file share?
i.e. deb smb://file/share/system/package/deb/binary/ ./ Just wondering...I haven't heard of anyone doing this so I wondered if it was possible. |
Re: work?
Quote:
|
All times are GMT -5. The time now is 06:06 PM. |