[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

deep apt question



Hi All,

	like a lot of people I run a local apt repository combined with an
apt-proxy that caches a close official debian distribution server. My local
installation web server looks like:

/var/debian/
total 36
drwxr-xr-x   8 www-data www-data 4096 2005-11-11 19:41 .
drwxr-xr-x  16 root     root     4096 2005-10-13 20:34 ..
lrwxrwxrwx   1 root     root       27 2005-07-02 10:30 debian -> /var/cache/apt-proxy/debian
lrwxrwxrwx   1 root     root       37 2005-07-15 19:33 debian-backports -> /var/cache/apt-proxy/debian-backports
drwxrwx---   4 www-data www-data 4096 2005-11-11 20:09 debian-local
lrwxrwxrwx   1 root     root       37 2005-07-02 10:30 debian-security -> /var/cache/apt-proxy/debian-security/

Like I wrote: the debian-local contains my own (and others ;-)) debs
that override official ones.

Now my problem:

root@local:/etc/apt >apt-cache policy php4
php4:
  Installed: (none)
  Candidate: 4:4.3.10-16.2
  Version Table:
     4:4.3.10-16.2 0
        500 http://debian sarge/main Packages
     4:4.3.10-16 0
        500 http://debian sarge/updates/main Packages
     4:4.3.10-15 0
        500 http://debian sarge/main Packages

How do I tell from which source directory (debian, debian-security 
or debian-local) each package is from without having to browse
my /var/debian?

Usually this is clear, but sometimes (usually after adding new foreign 
.deb's to debian-local) it isn't.

Somebody got a good idea?

Sincerely,

Jan.



Reply to: