#854204 syslinux/isolinux installation fails, so one could only create isos for uefi systems

#854204#5
Date:
2017-02-05 00:26:02 UTC
From:
To:
Dear maintainer, lwr builds for lxqt fail within the finalisation of the iso:

Processing triggers for libreoffice-common (1:5.2.4-2) ...
W: Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/groff-base_1.22.3-9_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
DEBUG vmdebootstrap completed, see vmdebootstrap.log for details
INFO Downloading helper files from debian-installer team...
DEBUG Starting new HTTP connection (1): ftp.debian.de
DEBUG http://ftp.debian.de:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/ HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): ftp.debian.de
DEBUG http://ftp.debian.de:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/vmlinuz HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): ftp.debian.de
DEBUG http://ftp.debian.de:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/initrd.gz HTTP/1.1" 200 0
INFO Created GRUB directory at /var/cache/lwr/build/tmpk_Fmab/boot/grub
INFO Performing isolinux installation...
CRITICAL Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 189, in _run
    self.process_args(args)
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 118, in process_args
    self.start_ops()
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 273, in start_ops
    bootconfig)
  File "/usr/lib/python2.7/dist-packages/lwr/isolinux.py", line 77, in install_isolinux
    filename = handler.download_package('syslinux-common', destdir)
  File "/usr/lib/python2.7/dist-packages/lwr/apt_udeb.py", line 101, in download_package
    pkg.version_list.sort(apt_pkg.version_compare) # pylint: disable=no-member
AttributeError: 'Package' object has no attribute 'version_list'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 189, in _run
    self.process_args(args)
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 118, in process_args
    self.start_ops()
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 273, in start_ops
    bootconfig)
  File "/usr/lib/python2.7/dist-packages/lwr/isolinux.py", line 77, in install_isolinux
    filename = handler.download_package('syslinux-common', destdir)
  File "/usr/lib/python2.7/dist-packages/lwr/apt_udeb.py", line 101, in download_package
    pkg.version_list.sort(apt_pkg.version_compare) # pylint: disable=no-member
AttributeError: 'Package' object has no attribute 'version_list'

Systems with grub only build fine for testing and unstable

Thanks Alf

#854204#10
Date:
2018-01-08 18:37:09 UTC
From:
To:
I have same error running:

$ sudo lwr --installer -d jessie -e "mc" -o out.iso

full log gzipped attached

#854204#15
Date:
2018-04-13 09:18:39 UTC
From:
To:
Hello,

I get lwr to stop in the same step, but with a different error at the
end:

$ sudo lwr -o test --log-level=debug
INFO lwr version 0.7 starts
DEBUG sys.argv: ['/usr/bin/lwr', '-o', 'test', '--log-level=debug']
DEBUG current working directory: /home/user/work
DEBUG uid: 0
DEBUG effective uid: 0
DEBUG gid: 0
DEBUG effective gid: 0
DEBUG environment variables:
DEBUG environment: LANG=en_IE.UTF-8
DEBUG environment: USERNAME=root
DEBUG environment: TERM=xterm-256color
DEBUG environment: SHELL=/bin/bash
DEBUG environment: XAUTHORITY=/run/user/1000/gdm/Xauthority
DEBUG environment: SUDO_COMMAND=/usr/bin/lwr -o test --log-level=debug
DEBUG environment: SUDO_UID=1000
DEBUG environment: SUDO_GID=1000
DEBUG environment: LOGNAME=root
DEBUG environment: USER=root
DEBUG environment: COLORTERM=truecolor
DEBUG environment: MAIL=/var/mail/root
DEBUG environment: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DEBUG environment: SUDO_USER=enrico
DEBUG environment: LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
DEBUG environment: HOME=/root
DEBUG environment: DISPLAY=:0
DEBUG Config:
[config]
output =
log-level = debug
log-max = 0
log-keep = 10
log-mode = 0600
dump-memory-profile = simple
memory-dump-interval = 300
o = test
d = stretch
architecture = amd64
m = http://deb.debian.org/debian/
apt-mirror = http://deb.debian.org/debian/
volume_id = DEBIAN LIVE
description = None
t =
e =
f =
base_debs =
isolinux = True
grub = True
grub-loopback-only = False
installer = True
di-daily = False
customise = /usr/share/live-wrapper/customise.sh
log = stderr


DEBUG Python version: 2.7.14+ (default, Apr  2 2018, 04:16:25)
[GCC 7.3.0]
DEBUG Created temporary work directory (cdroot) at /tmp/tmpCLQa33.
DEBUG environment: LWR_TASK_PACKAGES = ''
DEBUG environment: LWR_EXTRA_PACKAGES = ''
DEBUG environment: LWR_BASE_DEBS = ''
DEBUG environment: LWR_FIRMWARE_PACKAGES = ''
DEBUG environment: LWR_DISTRIBUTION = 'stretch'
DEBUG environment: LWR_MIRROR = 'http://deb.debian.org/debian/'
INFO Running vmdebootstrap...
DEBUG vmdebootstrap command: vmdebootstrap --sudo --lock-root-password --no-systemd-networkd --arch amd64 --enable-dhcp --configure-apt --verbose --log vmdebootstrap.log --squash=/tmp/tmpCLQa33/live --log-level debug --distribution stretch --mirror http://deb.debian.org/debian/ --apt-mirror http://deb.debian.org/debian/ --customize /usr/share/live-wrapper/customise.sh
DEBUG runcmd: ['vmdebootstrap', '--sudo', '--lock-root-password', '--no-systemd-networkd', '--arch', 'amd64', '--enable-dhcp', '--configure-apt', '--verbose', '--log', 'vmdebootstrap.log', '--squash=/tmp/tmpCLQa33/live', '--log-level', 'debug', '--distribution', 'stretch', '--mirror', 'http://deb.debian.org/debian/', '--apt-mirror', 'http://deb.debian.org/debian/', '--customize', '/usr/share/live-wrapper/customise.sh'] None {}
E: Must specify at least one package to fetch source for
DEBUG vmdebootstrap completed, see vmdebootstrap.log for details
INFO Downloading helper files from debian-installer team...
DEBUG Starting new HTTP connection (1): deb.debian.org
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/ HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/ HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): deb.debian.org
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/vmlinuz HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/vmlinuz HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): deb.debian.org
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/initrd.gz HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/initrd.gz HTTP/1.1" 200 0
INFO Created GRUB directory at /tmp/tmpCLQa33/boot/grub
Fetching Debian Installer
INFO Downloading installer files from debian-installer team...
DEBUG Created d-i kernel and ramdisk directory at /tmp/tmpCLQa33/d-i
DEBUG Created d-i GTK kernel and ramdisk directory at /tmp/tmpCLQa33/d-i/gtk
DEBUG Starting new HTTP connection (1): deb.debian.org
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/ HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/ HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): deb.debian.org
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/vmlinuz HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/vmlinuz HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): deb.debian.org
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/initrd.gz HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/initrd.gz HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): deb.debian.org
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/gtk/ HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/gtk/ HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): deb.debian.org
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/gtk/vmlinuz HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/gtk/vmlinuz HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): deb.debian.org
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/gtk/initrd.gz HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/gtk/initrd.gz HTTP/1.1" 200 0
Downloading udebs for Debian Installer...
INFO Downloading udebs for Debian Installer...
Updating a local cache for amd64 stretch ...
DEBUG Updating local cache...
... completed udeb downloads
INFO ... completed udeb downloads
INFO Release file generated for CD-ROM pool.
... completed generating metadata files
INFO ... completed generating metadata files
INFO Performing isolinux installation...
CRITICAL Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 193, in _run
    self.process_args(args)
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 142, in process_args
    self.start_ops()
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 350, in start_ops
    bootconfig)
  File "/usr/lib/python2.7/dist-packages/lwr/isolinux.py", line 77, in install_isolinux
    filename = handler.download_package('syslinux-common', destdir)
  File "/usr/lib/python2.7/dist-packages/lwr/apt_udeb.py", line 104, in download_package
    raise cliapp.AppException('Not able to download %s' % name)
AppException: Not able to download syslinux-common

ERROR: Not able to download syslinux-common




Enrico

#854204#20
Date:
2018-04-20 19:17:03 UTC
From:
To:
Hello,

I get the same "Not able to download syslinux-common" error on buster.

It looks like apt sees a newer version of syslinux-common without uri:
this patch fixes it for me, adding skipping of package versions with no
uri:
https://salsa.debian.org/enrico/live-wrapper/commit/5af5a747d6ee47c11dc26c4babd09dbd0844777e


Enrico

#854204#25
Date:
2022-06-24 14:49:51 UTC
From:
To:
Dear submitter,

as the package live-wrapper has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1009282

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)