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

Re: Error happing near end of Ubuntu build that has to do with a bad url being targeted



I am using version 4.0.3-1.


On 08/08/2016 04:54 PM, Rui Miguel P. Bernardo wrote:

Hi John,

Em 08/08/2016 19:38, "John Lewis" <oflameo2@gmail.com> escreveu:
>
> I verified that live-config was in ubuntu mode. This may be a bug.

What version of live-build are you using? I think live-build 4.x and more recent versions do not support Ubuntu mode anymore.

>
>
> On 08/08/2016 02:11 PM, John Lewis wrote:
> > I know the issue now. Live-build is trying to pull a file from an Ubuntu
> > repository that only exist in a Debian repository.
> >
> >
> > On 08/08/2016 08:10 AM, John Lewis wrote:
> >> Error happing near end of Ubuntu build that has to do with a bad url
> >> being targeted. What is the work around?
> >>
> >> [2016-08-08 08:00:49] lb chroot_hostname install
> >> P: Configuring file /etc/hostname
> >> P: Configuring file /bin/hostname
> >> [2016-08-08 08:00:49] lb chroot_apt install
> >> P: Configuring file /etc/apt/apt.conf
> >> [2016-08-08 08:00:50] lb chroot_archives chroot install
> >> P: Configuring file /etc/apt/sources.list
> >> Hit:1 http://mirror.us.leaseweb.net/ubuntu xenial InRelease
> >> Reading package lists... Done
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> ubuntu-keyring is already the newest version (2012.05.19).
> >> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >> Hit:1 http://mirror.us.leaseweb.net/ubuntu xenial InRelease
> >> Reading package lists... Done
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> Calculating upgrade... Done
> >> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> Calculating upgrade... Done
> >> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> [2016-08-08 08:00:50] lb chroot_linux-image
> >> [2016-08-08 08:00:50] lb chroot_firmware
> >> --2016-08-08 08:00:50--
> >> http://mirror.us.leaseweb.net/ubuntu//dists/xenial/main/Contents-amd64.gz
> >> Resolving mirror.us.leaseweb.net (mirror.us.leaseweb.net)...
> >> 108.59.10.97, 2604:9a00:2010:a001:1:face:bad:c0de
> >> Connecting to mirror.us.leaseweb.net
> >> (mirror.us.leaseweb.net)|108.59.10.97|:80... connected.
> >> HTTP request sent, awaiting response... 404 Not Found
> >> 2016-08-08 08:00:50 ERROR 404: Not Found.
> >>
> >>
> >> gzip: stdin: unexpected end of file
> >> P: Begin unmounting filesystems...
> >> P: Saving caches...
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >>
> >>
>

If you are trying to build an Ubuntu image with live-build I recommend you to use an Ubuntu host and use the live-build version present in the Ubuntu repositories, which is version 3.~57 and is maintained by the Ubuntu developers and not supported here officially. That version of live-build on a Ubuntu host will build you an Ubuntu image without problems.

Hope to have helped a bit.

Cheers.



Reply to: