i have built a local mirror for 16.04. apt-get update fails to find xenial-security Release and Packages files.
Code:
Reading package lists... Done
W: The repository 'file:/mnt/urepo/ubuntu1604/mirror/archive.ubuntu/ubuntu xenial-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch file:/mnt/urepo/ubuntu1604/mirror/archive.ubuntu/ubuntu/dists/xenial-security/main/binary-amd64/Packages File not found - /mnt/urepo/ubuntu1604/mirror/archive.ubuntu/ubuntu/dists/xenial-security/main/binary-amd64/Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.
both files are in the mirror. both are set to mode 644 along with their respective directory tree.
Code:
/mnt/urepo/ubuntu1604/mirror/archive.ubuntu.com/ubuntu/dists/xenial-security# ls -l
total 168684
...
-rw-r--r-- 1 root root 109198 Jan 10 12:03 InRelease
-rw-r--r-- 1 root root 108233 Jan 10 12:03 Release
-rw-r--r-- 1 root root 916 Jan 10 12:03 Release.gpg
/mnt/urepo/ubuntu1604/mirror/archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64# ls -l
total 11360
-rw-r--r-- 1 root root 8204866 Jan 10 12:08 Packages
-rw-r--r-- 1 root root 1896320 Jan 10 12:03 Packages.gz
-rw-r--r-- 1 root root 1521064 Jan 10 12:03 Packages.xz
-rw-r--r-- 1 root root 105 Jan 10 12:03 Release
instead of the web server, i'm using an nfs mount. the only thing i can think of is my sources.list file is incorrect or missing an option.
Code:
deb file:///mnt/urepo/ubuntu1604/mirror/archive.ubuntu/ubuntu/ xenial-security main restricted multiverse universe
can anyone make a suggestion on what i'm doing wrong or missing?
thanks,
gobo
Bookmarks