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

Re: Having trouble adding local repository to remastered iso



On Fri, Dec 12, 2014 at 03:47:01PM +0100, Cyril Brulebois wrote:
> Lennart Sorensen <lsorense@csclub.uwaterloo.ca> (2014-12-12):
> > Another thing is that I believe file URLs are supposed to be
> > file:///ads/apt/... (That is really supposed to be 3 slashes at the start)
> 
> That's likely the issue here indeed. (That'd have been my best guess, at least.)
> 

Changed the repository string to include ///

Dec 12 15:34:18 debconf: --> GET apt-setup/local0/repository
Dec 12 15:34:18 debconf: <-- 0 file:///ads/apt/debian wheezy main
...
Dec 12 15:34:18 in-target: Ign file: wheezy Release.gpg
Dec 12 15:34:18 debconf: --> PROGRESS SET 900
Dec 12 15:34:18 debconf: <-- 0 OK
Dec 12 15:34:18 debconf: --> DATA debconf-apt-progress/info type text
Dec 12 15:34:18 debconf: <-- 0 OK
Dec 12 15:34:18 debconf: --> DATA debconf-apt-progress/info description
Retrieving file 2 of 2
Dec 12 15:34:18 debconf: <-- 0 OK
Dec 12 15:34:18 debconf: --> PROGRESS INFO debconf-apt-progress/info
Dec 12 15:34:18 in-target: Ign file: wheezy Release
Dec 12 15:34:18 debconf: <-- 0 OK
Dec 12 15:34:18 debconf: --> PROGRESS SET 900
Dec 12 15:34:18 in-target: Err file: wheezy/main amd64 Packages
Dec 12 15:34:18 in-target:   File not found
Dec 12 15:34:18 in-target: Ign file: wheezy/main Translation-en_CA
Dec 12 15:34:18 in-target: Ign file: wheezy/main Translation-en
Dec 12 15:34:18 debconf: <-- 0 OK
Dec 12 15:34:18 debconf: --> DATA debconf-apt-progress/info type text
Dec 12 15:34:18 debconf: <-- 0 OK
Dec 12 15:34:18 debconf: --> DATA debconf-apt-progress/info description
Retrieving file 2 of 2
Dec 12 15:34:18 debconf: <-- 0 OK
Dec 12 15:34:18 debconf: --> PROGRESS INFO debconf-apt-progress/info
Dec 12 15:34:18 in-target: W
Dec 12 15:34:18 debconf: <-- 0 OK
Dec 12 15:34:18 in-target: : Failed to fetch
file:/ads/apt/debian/dists/wheezy/main/binary-amd64/Packages  File not
found
Dec 12 15:34:18 in-target:
Dec 12 15:34:18 in-target: E: Some index files failed to download. They
have been ignored, or old ones used instead.


And still can't get the installer to correctly locate the repo.  Wondering
if there's q disconnect somewhere,  if it's doing an in-target call,  I don't
think the location would be correct.  The in-target location would be
/media/cdrom/ads/apt/debian.... wouldn't it?

Found some old configs from the previous squeeze remaster I had done,  and
this is the line that _did_ work with a pretty plain dpkg-scanpackages
repo.  Just i386 packages at the time.

d-i apt-setup/local0/repository string \
       deb file:/ads/repo/ /

Now from google, it seems the deb declaration is optional these days,  and
at least in the resulting sources.list I can see it did properly define the
entry as a deb repo.

# Line commented out by installer because it failed to verify:
#deb file:///ads/apt/debian wheezy main


Thanks.


-- 
Ryan Braun
Defence Weather Services
Chief Information Officer Branch, Environment Canada
CIV: 204-833-2500x2824 CSN: 257-2824 FAX: 204-833-2558
E-Mail: Ryan.Braun@ec.gc.ca


Reply to: