LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Local repository "broken" (https://www.linuxquestions.org/questions/debian-26/local-repository-broken-404711/)

robbow52 01-17-2006 07:51 PM

Local repository "broken"
 
I have a local repository for deb files that I have used a few times in the past. Today I went to use it and now I receive when I run apt-get update:

Ign file: deb/ Release

The deb/ folder is the local repository under /usr/local.

I have in my sources list file:

deb file:/usr/local deb/

I run:

cd /usr/local
dpkg-scanpackages deb /dev/null | gzip > deb/Packages.gz

The Packages.gz file is being created.

Does anyone know or see what I might be doing wrong?

Thanks in advance for your help!

haertig 01-18-2006 01:21 PM

Given this line in my sources.list file:
Code:

deb file:/usr/local debs/
I always get this:
Code:

# apt-get update
Ign file: debs/ Release.gpg
Ign file: debs/ Release
Ign file: debs/ Packages
...

But I can still successfully "apt-cache show..." or "apt-get install..." things from that local /usr/local/debs directory.

"apt-get update" says it's ignoring something. So why can't I ignore IT'S message???!!!

;-)

robbow52 01-18-2006 05:09 PM

Thanks for your reply. I did not "try" things however, so your reply does let me know that things are working. I also tryed Synaptic and it too is "working" with the local repository.

Thanks again for the information and if you happen to find out what the error is all about, let me know! (Googling does not tell me too much about it...)

haertig 01-18-2006 05:31 PM

I'm sure apt-get's message about ignoring "Releases..." has to do with it not trying to validate signatures on local repositories. I'm not sure why it says it's ignoring "Packages" though. Clearly it's not ignoring "Packages.gz" because it's getting it's information from somewhere ... and that's surely the place. Could be it ignores "Packages" in preference for "Packages.gz" if it finds that file instead. This would make for a good test, but I've never undertaken it and simply ignored the warning message, assuming it to be due to some special case for local repositories.


All times are GMT -5. The time now is 10:41 AM.