[Comm-en] Setup local directory for apt

tama4 at amnet.co.cr tama4 at amnet.co.cr
Sun Jul 20 22:33:23 MSD 2003

I am trying to set up apt to use a local directory in addition to the default 
I get the following error:

[root at localhost root]# apt-get update
[root at localhost root]# apt-get update
Ign file: alt/ release
Get:1 ftp://updates.altlinux.com Junior/2.2/i586 release [687B]
Get:2 ftp://ftp.altlinux.com ALTLinux release [1910B]
Fetched 2597B in 2s (1112B/s)
Err file: alt/ srclist
  File not found
Hit ftp://updates.altlinux.com Junior/2.2/i586/updates pkglist
Hit ftp://ftp.altlinux.com ALTLinux/main pkglist
Hit ftp://updates.altlinux.com Junior/2.2/i586/updates release
Hit ftp://ftp.altlinux.com ALTLinux/main release
Hit ftp://updates.altlinux.com Junior/2.2/i586/updates srclist
Hit ftp://ftp.altlinux.com ALTLinux/hotfix pkglist
Hit ftp://ftp.altlinux.com ALTLinux/hotfix release
Hit ftp://ftp.altlinux.com ALTLinux/main srclist
Hit ftp://ftp.altlinux.com ALTLinux/hotfix srclist
Failed to fetch file:/root/alt/srclist.  File not found
Reading Package Lists... Done
Collecting File Provides... Done
E: Some index files failed to download, they have been ignored, or old ones 
used instead.

I am trying to use /root/alt as the directory. I ran 'dpkg-scansources alt | 
gzip > alt/Sources.gz'  and that created 'Sources.gz'

This is the addition to sources.list 'rpm-src file:/root alt/'
I am going off a debian how to. Could not find any for ALJ2.2
Any ideas on what I am missing/doing wrong?

More information about the community-en mailing list