Cubic error: Unable to create the customized disk image

Bug #1892752 reported by Jags Desai

This bug report was converted into a question: question #692621: Cubic error: Unable to create the customized disk image using pre-release ISO.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cubic
Invalid
Undecided
Unassigned

Bug Description

I'm getting this error while Cubic tries to "Generate the customized disk image", both from GUI and terminal.

Error: Unable to create the customized disk image

I tried to find logs inside /var/log/ and project directory but couldn't find any.

Host OS: Ubuntu MATE Focal 20.04 64-bit

Cubic version: 2020.7-29-release~202007142249~ubuntu20.04.1

ISO I'm trying to customize: Ubuntu MATE Groovy 20.10 Aug 24, 2020 64-bit

Below is the output from terminal:

````
  Create list of installed packages
  • Execute synchronously.................. dpkg-query --show --admindir="/home/
                                            admn/Downloads/Cubic2/custom-
                                            root/var/lib/dpkg"
  • The process id is...................... 30387
  • Total number of installed packages..... 1817
  • Number of installed packages found..... 1817
  • filesystem.manifest-remove found in.... /home/admn/Downloads/Cubic2/custom-
                                            disk/casper
  • Read list of packages to remove from... /home/admn/Downloads/Cubic2/custom-
                                            disk/casper/filesystem.manifest-
                                            remove
  • Number of installed packages found..... 70
  • filesystem.manifest-minimal-remove
    found in............................... /home/admn/Downloads/Cubic2/custom-
                                            disk/casper
  • Read list of packages to remove from... /home/admn/Downloads/Cubic2/custom-
                                            disk/casper/filesystem.manifest-
                                            minimal-remove
  • Number of installed packages found..... 54

  Create package details list
  • Total number of installed packages..... 1817
  • Number of packages to be removed
    after a typical install................ 70
  • Number of packages to be retained
    after a typical install................ 1747
  • Number of packages to be removed
    after a minimal install................ 54
  • Number of packages to be retained
    after a minimal install................ 1763

  Create new filesystem manifest file
  • Write filesystem manifest to........... /home/admn/Downloads/Cubic2/custom-
                                            disk/casper/filesystem.manifest
  • Current page........................... prepare page
  • Action................................. next
  • New page............................... packages page

Navigate from prepare page to packages page on next action

  • Hide old page.......................... prepare page
  • Show new page.......................... packages page
  • Clicked................................ Next

Handle navigation from packages page on next action

  • Interrupt previous thread.............. No thread
  • Current page........................... packages page
  • Action................................. next
  • New page............................... options page

Navigate from packages page to options page on next action

  Create typical removable packages list
  • Get user selections from............... packages_page__list_store
  • New number of packages to be removed... 70

  Create new filesystem manifest remove
  file
  • Write filesystem manifest remove
    file to................................ /home/admn/Downloads/Cubic2/custom-
                                            disk/casper/filesystem.manifest-
                                            remove
  • filesystem.manifest-minimal-remove
    found in............................... /home/admn/Downloads/Cubic2/custom-
                                            disk/casper

  Create minimal removable packages list
  • Get user selections from............... packages_page__list_store
  • New number of packages to be removed... 54

  Create new filesystem manifest remove
  file
  • Write filesystem manifest remove
    file to................................ /home/admn/Downloads/Cubic2/custom-
                                            disk/casper/filesystem.manifest-
                                            minimal-remove
  • Hide old page.......................... packages page
  • Show new page.......................... options page
  • Clicked................................ Next

Handle navigation from options page on next action

  • Interrupt previous thread.............. No thread
  • Current page........................... options page
  • Action................................. next
  • New page............................... compression page

Navigate from options page to compression page on next action

*** SETUP NEXT: model.options.compression = xz
  • Hide old page.......................... options page
  • Show new page.......................... compression page
  • Clicked................................ Generate

Handle navigation from compression page on generate action

  • Interrupt previous thread.............. No thread
  • Current page........................... compression page
  • Action................................. generate
  • New page............................... generate page

Navigate from compression page to generate page on generate action

  Save configuration
  • Save configuration..................... 2020 Layout
  • Hide old page.......................... compression page
  • Show new page.......................... generate page

  Delete preseed files

  Save preseed files
  • Write file............................. /home/admn/Downloads/Cubic2/custom-
                                            disk/preseed/ltsp.seed
  • Write file............................. /home/admn/Downloads/Cubic2/custom-
                                            disk/preseed/ubuntu-mate.seed

  Save ISO boot configurations
  • Write file............................. /home/admn/Downloads/Cubic2/custom-
                                            disk/boot/grub/grub.cfg

  Identify the selected kernel.
  • The selected kernel is index number.... 0

  Update the vmlinuz boot file.
  • Execute synchronously.................. copy-path
                                            "/home/admn/Downloads/Cubic2/custom-
                                            root/boot/vmlinuz-5.8.3-050803-gener
                                            ic"
                                            "/home/admn/Downloads/Cubic2/custom-
                                            disk/casper/vmlinuz" "admn"
  • The process id is...................... 30606
  • The result is.......................... 0 0% 0.00kB/s 0:00:00
                                            (xfr#0, to-chk=0/1)
  • The exit status, signal status is...... 0, None

  Update the initrd boot file.
  • Execute synchronously.................. copy-path
                                            "/home/admn/Downloads/Cubic2/custom-
                                            root/boot/initrd.img-5.8.3-050803-ge
                                            neric"
                                            "/home/admn/Downloads/Cubic2/custom-
                                            disk/casper/initrd" "admn"
  • The process id is...................... 30612
  • The result is.......................... 0 0% 0.00kB/s 0:00:00
                                            (xfr#0, to-chk=0/1)
  • The exit status, signal status is...... 0, None

  Compress the Linux file system.
  • The source path is..................... /home/admn/Downloads/Cubic2/custom-
                                            root
  • The target path is..................... /home/admn/Downloads/Cubic2/custom-
                                            disk/casper/filesystem.squashfs
  • The progress tracker................... Started
  • The progress tracker id is............. 139973817968384
  • Completed.............................. 0%
  • The process started at................. 20:37:58.485853
  • Execute asynchronously................. compress-root
                                            "/home/admn/Downloads/Cubic2/custom-
                                            root"
                                            "/home/admn/Downloads/Cubic2/custom-
                                            disk/casper/filesystem.squashfs" xz
  • The process id is...................... 30619
  • Completed.............................. 10%
  • Completed.............................. 20%
  • Completed.............................. 30%
  • Completed.............................. 40%
  • Completed.............................. 50%
  • Completed.............................. 60%
  • Completed.............................. 70%
  • Completed.............................. 80%
  • Completed.............................. 90%
  • Completed.............................. 100%
  • The progress tracker................... Stopped
  • Adjust the final percent............... from 81.67% to 100.00%
  • The process finished at................ 20:41:13.736199
  • The exit status, signal status is...... 0, None
  • The message is......................... of uncompressed xattr table size
                                            (120 bytes) Number of duplicate
                                            files found 39416 Number of inodes
                                            253062 Number of files 174426 Number
                                            of fragments 11217 Number of
                                            symbolic links 46861 Number of
                                            device nodes 9 Number of fifo nodes
                                            0 Number of socket nodes 0 Number of
                                            directories 31766 Number of ids
                                            (unique uids + gids) 32 Number of
                                            uids 12 root (0)
                                            daemon (1) _apt (105)
                                            colord (119) uuidd (106)
                                            man (6) rtkit (109)
                                            pulse (122) postfix (123)
                                            kernoops (114) avahi (115)
                                            syslog (104) Number of gids 25
                                            root (0) daemon (1)
                                            dip (30) shadow (42)
                                            uuidd (113) crontab (105)
                                            lightdm (119) tty (5)
                                            messagebus (106) utmp (43)
                                            staff (50) nopasswdlogin
                                            (120) man (12)
                                            geoclue (127) ssh (117)
                                            pulse (128) pulse-access
                                            (129) scanner (121)
                                            colord (126) ssl-cert (111)
                                            adm (4) lp (7)
                                            systemd-journal (101)
                                            bluetooth (110) mail (8)

  Update the file system size
  • Execute synchronously.................. file-size
                                            "/home/admn/Downloads/Cubic2/custom-
                                            root"
  • The process id is...................... 30703
  • The file system size is................ 5.03 GiB (5399134208 bytes)
  • Write file system size to.............. /home/admn/Downloads/Cubic2/custom-
                                            disk/casper/filesystem.size

  Update the disk name
  • Write the disk name to................. /home/admn/Downloads/Cubic2/custom-
                                            disk/README.diskdefines

  Replace text in file
  • Filepath............................... /home/admn/Downloads/Cubic2/custom-
                                            disk/README.diskdefines
  • Search text............................ ^#define DISKNAME.*
  • Replacement text....................... #define DISKNAME Ubuntu-MATE 20.10.0
                                            2020.08.24 "Custom Groovy Gorilla"

  Update the disk information
  • The custom ISO image disk name and
    release date are....................... Ubuntu-MATE 20.10.0 2020.08.24
                                            "Custom Groovy Gorilla" (20200824)
  • Write disk information to %s........... /home/admn/Downloads/Cubic2/custom-
                                            disk/.disk/info

  Update checksums
  • Write MD5 checksums to................. /home/admn/Downloads/Cubic2/custom-
                                            disk/md5sum.txt
  • Calculated checksums for............... 785 files

  Get the custom disk size
  • Execute synchronously.................. file-size
                                            "/home/admn/Downloads/Cubic2/custom-
                                            disk"
  • The process id is...................... 30708
  • The total size is...................... 2.15 GiB (2313834496 bytes)
  • The maximum size limit for all files
    on the disk is......................... 8192.00 GiB (8796093022208 bytes)

  Create ISO image
  • Use xorriso with isohybrid MBR......... /usr/lib/ISOLINUX/isohdpfx.bin
  • The progress tracker................... Started
  • The progress tracker id is............. 139973817968384
  • Completed.............................. 0%
  • The process started at................. 20:41:23.942429
  • Execute asynchronously................. xorriso -as mkisofs -r -V "Ubuntu-
                                            MATE 20.10.0 2020.08.24" -cache-
                                            inodes -J -l -iso-level 3
                                            -isohybrid-mbr
                                            /usr/lib/ISOLINUX/isohdpfx.bin -c
                                            isolinux/boot.cat -b
                                            isolinux/isolinux.bin -no-emul-boot
                                            -boot-load-size 4 -boot-info-table
                                            -eltorito-alt-boot -e
                                            boot/grub/efi.img -no-emul-boot
                                            -isohybrid-gpt-basdat -o
                                            "/home/admn/Downloads/Cubic2/groovy-
                                            desktop-amd64-2020.08.24.iso" .
  • The process id is...................... 30713
  • Stop the progress tracker with id...... 139973817968384
  • Error.................................. An exception occurred.
  • Interrupted the progress tracker....... Interrupt Exception
  • The process stopped at................. 20:41:24.086426
  • The progress tracker................... Stopped
  • The exit status, signal status is...... 5, None
  • The exception is....................... End Of File (EOF). Exception style
                                            platform. <pexpect.pty_spawn.spawn
                                            object at 0x7f4e1f7ab5e0> command:
                                            /usr/bin/xorriso args:
                                            [b'/usr/bin/xorriso', b'-as',
                                            b'mkisofs', b'-r', b'-V', b'Ubuntu-
                                            MATE 20.10.0 2020.08.24', b'-cache-
                                            inodes', b'-J', b'-l', b'-iso-
                                            level', b'3', b'-isohybrid-mbr',
                                            b'/usr/lib/ISOLINUX/isohdpfx.bin',
                                            b'-c', b'isolinux/boot.cat', b'-b',
                                            b'isolinux/isolinux.bin', b'-no-
                                            emul-boot', b'-boot-load-size',
                                            b'4', b'-boot-info-table',
                                            b'-eltorito-alt-boot', b'-e',
                                            b'boot/grub/efi.img', b'-no-emul-
                                            boot', b'-isohybrid-gpt-basdat',
                                            b'-o', b'/home/admn/Downloads/Cubic2
                                            /groovy-desktop-
                                            amd64-2020.08.24.iso', b'.'] buffer
                                            (last 100 chars): '' before (last
                                            100 chars): ": 893 files added
                                            in 1 seconds\r\nxorriso : aborting :
                                            -abort_on 'FAILURE' encountered
                                            'FAILURE'\r\n" after: <class
                                            'pexpect.exceptions.EOF'> match:
                                            None match_index: None exitstatus:
                                            None flag_eof: True pid: 30713
                                            child_fd: 28 closed: False timeout:
                                            300 delimiter: <class
                                            'pexpect.exceptions.EOF'> logfile:
                                            None logfile_read: None
                                            logfile_send: None maxread: 2000
                                            ignorecase: False searchwindowsize:
                                            None delaybeforesend: 0.05
                                            delayafterclose: 0.1
                                            delayafterterminate: 0.1 searcher:
                                            searcher_re: 0: re.compile('[0-9
                                            ]{1,3}(\\.[0-9]{2}){0,1}%')
  • The tracekback is...................... Traceback (most recent call last):
                                            File "/usr/lib/python3/dist-
                                            packages/pexpect/spawnbase.py", line
                                            166, in read_nonblocking s =
                                            os.read(self.child_fd, size)
                                            OSError: [Errno 5] Input/output
                                            error During handling of the above
                                            exception, another exception
                                            occurred: Traceback (most recent
                                            call last): File
                                            "/usr/lib/python3/dist-
                                            packages/pexpect/expect.py", line
                                            111, in expect_loop incoming = s
                                            pawn.read_nonblocking(spawn.maxread,
                                            timeout) File
                                            "/usr/lib/python3/dist-
                                            packages/pexpect/pty_spawn.py", line
                                            485, in read_nonblocking return
                                            super(spawn,
                                            self).read_nonblocking(size) File
                                            "/usr/lib/python3/dist-
                                            packages/pexpect/spawnbase.py", line
                                            171, in read_nonblocking raise
                                            EOF('End Of File (EOF). Exception
                                            style platform.')
                                            pexpect.exceptions.EOF: End Of File
                                            (EOF). Exception style platform.
                                            During handling of the above
                                            exception, another exception
                                            occurred: Traceback (most recent
                                            call last): File "/usr/share/cubic
                                            /utilities/progressor.py", line 244,
                                            in process_command if not done:
                                            raise exception File "/usr/share/c
                                            ubic/utilities/progressor.py", line
                                            239, in process_command
                                            process.expect(PERCENT_PATTERN)
                                            File "/usr/lib/python3/dist-
                                            packages/pexpect/spawnbase.py", line
                                            340, in expect return self.expec
                                            t_list(compiled_pattern_list, File
                                            "/usr/lib/python3/dist-
                                            packages/pexpect/spawnbase.py", line
                                            369, in expect_list return
                                            exp.expect_loop(timeout) File
                                            "/usr/lib/python3/dist-
                                            packages/pexpect/expect.py", line
                                            117, in expect_loop return
                                            self.eof(e) File
                                            "/usr/lib/python3/dist-
                                            packages/pexpect/expect.py", line
                                            63, in eof raise EOF(msg)
                                            pexpect.exceptions.EOF: End Of File
                                            (EOF). Exception style platform.
                                            <pexpect.pty_spawn.spawn object at
                                            0x7f4e1f7ab5e0> command:
                                            /usr/bin/xorriso args:
                                            [b'/usr/bin/xorriso', b'-as',
                                            b'mkisofs', b'-r', b'-V', b'Ubuntu-
                                            MATE 20.10.0 2020.08.24', b'-cache-
                                            inodes', b'-J', b'-l', b'-iso-
                                            level', b'3', b'-isohybrid-mbr',
                                            b'/usr/lib/ISOLINUX/isohdpfx.bin',
                                            b'-c', b'isolinux/boot.cat', b'-b',
                                            b'isolinux/isolinux.bin', b'-no-
                                            emul-boot', b'-boot-load-size',
                                            b'4', b'-boot-info-table',
                                            b'-eltorito-alt-boot', b'-e',
                                            b'boot/grub/efi.img', b'-no-emul-
                                            boot', b'-isohybrid-gpt-basdat',
                                            b'-o', b'/home/admn/Downloads/Cubic2
                                            /groovy-desktop-
                                            amd64-2020.08.24.iso', b'.'] buffer
                                            (last 100 chars): '' before (last
                                            100 chars): ": 893 files added
                                            in 1 seconds\r\nxorriso : aborting :
                                            -abort_on 'FAILURE' encountered
                                            'FAILURE'\r\n" after: <class
                                            'pexpect.exceptions.EOF'> match:
                                            None match_index: None exitstatus:
                                            None flag_eof: True pid: 30713
                                            child_fd: 28 closed: False timeout:
                                            300 delimiter: <class
                                            'pexpect.exceptions.EOF'> logfile:
                                            None logfile_read: None
                                            logfile_send: None maxread: 2000
                                            ignorecase: False searchwindowsize:
                                            None delaybeforesend: 0.05
                                            delayafterclose: 0.1
                                            delayafterterminate: 0.1 searcher:
                                            searcher_re: 0: re.compile('[0-9
                                            ]{1,3}(\\.[0-9]{2}){0,1}%')
  • The message is......................... xorriso 1.5.2 : RockRidge filesystem
                                            manipulator, libburnia project.
                                            Drive current: -outdev 'stdio:/home/
                                            admn/Downloads/Cubic2/groovy-
                                            desktop-amd64-2020.08.24.iso' Media
                                            current: stdio file, overwriteable
                                            Media status : is blank Media
                                            summary: 0 sessions, 0 data blocks,
                                            0 data, 68.7g free xorriso : WARNING
                                            : -volid text problematic as
                                            automatic mount point name xorriso :
                                            WARNING : -volid text does not
                                            comply to ISO 9660 / ECMA 119 rules
                                            xorriso : NOTE : -as mkisofs:
                                            Ignored option '-cache-inodes' Added
                                            to ISO image: directory '/'='/home/a
                                            dmn/Downloads/Cubic2/custom-disk'
                                            xorriso : UPDATE : 893 files
                                            added in 1 seconds xorriso : FAILURE
                                            : Cannot find in ISO image:
                                            -boot_image ...
                                            bin_path='/isolinux/isolinux.bin'
                                            xorriso : UPDATE : 893 files
                                            added in 1 seconds xorriso :
                                            aborting : -abort_on 'FAILURE'
                                            encountered 'FAILURE'

````

Tags: cubic
Revision history for this message
Jags Desai (jagsdesai) wrote :
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Check
    /home/admn/Downloads/Cubic2/custom-disk/isolinux/

There should be about 285 files in this directory.
Also, there should be a file called "isolinux.bin" in there.

How much free space do you have in /home/admn/Downloads/?
(You can use the command `df -h /home/admn/Downloads`).

That is the exact download link for the original ISO you are trying to customize.
I will try it on my end.

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Correcting typo above. "That" should have been "What"...

What is the exact download link for the original ISO you are trying to customize?

Revision history for this message
Jags Desai (jagsdesai) wrote :

(1) There is no "isolinux" directory inside"

"/home/admn/Downloads/Cubic2/custom-disk/" at all.

(2) Free space: 112GB

admn@um:~$ df -h /home/admn/Downloads
Filesystem Size Used Avail Use% Mounted on
/dev/sdh1 112G 24G 82G 23% /
admn@um:~$

(3) Here's the exact link to Ubuntu MATE Groovy daily build:

http://cdimage.ubuntu.com/ubuntu-mate/daily-live/current/

Thank you.

Revision history for this message
Jags Desai (jagsdesai) wrote :

Ohh I forgot to link the exact ISO.

The link I mentioned is the page for "Ubuntu MATE 20.10 (Groovy Gorilla) Daily Build", and here is the exact ISO link:

http://cdimage.ubuntu.com/ubuntu-mate/daily-live/current/groovy-desktop-amd64.iso

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

The issue is that the Daily MATE iso you are using does not have the correct files yet.
This often happens while a release is still in development.
Usually, the last thing they work on is making the release into a bootable / usable live iso.

See the attached screenshots:

    2020.04_daily_MATE_iso.png
        - This has the isolinux folder

    2020.10_daily_MATE_iso.png
        - This is missing has the isolinux folder

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

2020.04 daily MATE iso as the isolinux folder.

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

2020.10 daily MATE iso is missing the isolinux folder.

Revision history for this message
Jags Desai (jagsdesai) wrote :

Oh okay. Since it was booting, and I was able to install (many times) inside a VirtualBox VM, I thought I could customize it.

Now I'll look for "isolinux" directory before trying again with 20.10.

Thank you so much.

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

I think I have a solution for you.
I'll post shortly.

Revision history for this message
Cubic PPA (cubic-wizard) wrote :
Download full text (3.2 KiB)

(1)
Download the new / future / daily ISO:

    "groovy-desktop-amd64.iso" (for example)

Also, download the current *release* ISO:

    "focal-desktop-amd64.iso" (for example)

(2)
On the Start page, create a new project in Cubic.

(3)
Click the Next button to navigate to the Project page.

For the Filename, select "groovy-desktop-amd64.iso" (the new / future / daily ISO).

(4)
Click the Next button to navigate to the Extract page.

(5)
You will see two progress bars as
    (a) the Linux filesystem is extracted, and
    (b) important files from the ISO are copied
Once this completes, you will automatically be taken to the Terminal page.

(6)
On the Terminal page, verify the OS version.

    root@cubic:~# uname -r
    5.4.0-42-generic

    root@cubic:~# lsb_release --all
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu Groovy Gorilla (development branch)
    Release: 20.10
    Codename: groovy

Note that the kernel version will reflect the kernel your are running on your host machine. The OS version will be 20.10 or "Groovy" (the new / future / daily ISO).

Outside of Cubic, if you check the contents of <Your Cubic Project>/custom-disk/, you will notice that there is no isolinux folder:

    $ ls -1 <Your Cubic Project>/custom-disk/
    boot
    boot.catalog
    casper
    dists
    install
    pics
    pool
    preseed
    README.diskdefines
    ubuntu

(7)
Here's the trick!!...

Click the Back button to navigate to the Project page (again).

For the Filename, select "focal-desktop-amd64.iso" (the the current *release* ISO).

You will notice that the the values in the right "Custom ISO..." side of the Project page will change.

(8)

Click the "Undo changes to the custom ISO values" button in the header bar (it is just next to the Back button).

This will simply revert the ~values~ in the right "Custom ISO..." side of the Project page, so they reference the previous "Groovy" values instead of "Focal". You can change these to whatever you want.

Click the Next button.

(9)
You will see one progress bar this time. This is the same as part b of step 5:
    (b) important files from the ISO are copied

Once this completes, you will automatically be taken to the Terminal page.

(10)
On the Terminal page, verify the OS version has *not* changed.

    root@cubic:~# uname -r
    5.4.0-42-generic

    root@cubic:~# lsb_release --all
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu Groovy Gorilla (development branch)
    Release: 20.10
    Codename: groovy

Note that the kernel version will reflect the kernel your are running on your host machine. The OS version will ~still~ be 20.10 or "Groovy" (the new / future / daily ISO), and not 20.04, because your OS customizations were ~not~ overwritten!

Outside of Cubic, if you check the contents of <Your Cubic Project>/custom-disk/, you will notice that there is now an ~isolinux~ folder. This was actually copied from the "focal-desktop-amd64.iso"

    $ ls -1 /mnt/ram/Ubuntu/custom-disk
    boot
    casper
    dists
    EFI
    install
    isolinux
    pics
    pool
    preseed
    README.diskdefines
    ubuntu

(11)
Customize your OS as...

Read more...

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Converting this bug report into a question, since it isn't a bug in the software.

Changed in cubic:
status: New → Invalid
Revision history for this message
Jags Desai (jagsdesai) wrote :

Yes, that did the trick. Cubic generated the customized ISO, and I was able to boot it inside a VirtualBox VM just fine.

Thanks for the detailed steps.

Now during the customization within the Cubic I was getting these errors but I think they could be "halmless" errors. couold you please comment on it.

Error-1: While running "apt-get update". Though repos were updated just fine despite this error.

ERROR couldn't connect to zsys daemon: connection error: desc = "transport: Error while dialing dial unix /run/zsysd.sock: connect: no such file or directory"

Error-2: Whenever "sudo" is used. I think this is because of Host OS hostname?

sudo: unable to resolve host cubic: Name or service not known

Error-3: When I added gpg keys. Though the keys were added despite the errors.

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 32B18A1260D8DA0B C5E224500C1289C0

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).

Executing: /tmp/apt-key-gpghome.xTI9sBD4CH/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 32B18A1260D8DA0B C5E224500C1289C0

gpg: Warning: using insecure memory!

gpg: key C5E224500C1289C0: public key "TeamViewer GmbH (TeamViewer Linux 2017) <email address hidden>" imported
gpg: key 32B18A1260D8DA0B: public key "Launchpad PPA for YannUbuntu" imported

gpg: Total number processed: 2
gpg: imported: 2
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
root@cubic:~#

Thank you so much :)

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Error-1: "zsys" and "apt-get"

- The "couldn't connect to zsys daemon" error is common. I actually think it is a bug in zsys.
- Also, use `apt` instead of `apt-get`. I think `apt-get` is deprecated.

Error-2: "sudo"

- Don't use sudo inside Cubic's virtual terminal. You are already root, so this is not needed.

Error-3: "gpg"

- This may be a bug in gpg.
- Also, use `apt` instead of `apt-key`. I think `apt-key` is deprecated.

Finally,..

You're welcome!

Please mark the question (https://answers.launchpad.net/cubic/+question/692621) as *Solved* so others having your issue know that there is a working solution.

Revision history for this message
Jags Desai (jagsdesai) wrote :

Thank you so much :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.