Re: Having trouble adding local repository to remastered iso
On Fri, Dec 12, 2014 at 04:01:58PM +0000, ryan wrote:
> 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?
Probably if it is on the cd. I think cdrom archives have their own
syntax too in apt.
--
Len Sorensen
Reply to: