stockmind / dell-xps-9560-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu and Linux Mint ISO images to let them run smooth on Dell XPS 15 9560.
345 stars 155 forks source link

[Ubuntu 18.04] Error during ISO building on Ubuntu 18.04 #6

Open JackHack96 opened 6 years ago

JackHack96 commented 6 years ago

Hi! I'm trying to build the patched 18.04 ISO on a normal 18.04 install, but the building process stops here:

Setting compatibility...
Extracting ISO ...
Parallel unsquashfs: Using 8 processors
139912 inodes (156845 blocks) to write

[=============================================================================================================/] 156845/156845 100%

created 112482 files
created 16964 directories
created 27397 symlinks
created 7 devices
created 0 fifos
Extracting isorespin files ...
Updating bootloader/bootmanager ...
Fetching mainline kernel packages ...
Installing mainline kernel packages ...
Adding repositories ...
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission denied: '/dev/null'
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission denied: '/dev/null'
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission denied: '/dev/null'
Cannot add PPA: 'ppa:~graphics-drivers/ubuntu/ppa'.
ERROR: '~graphics-drivers' user or team does not exist.
./isorespin.sh: Adding repository 'ppa:graphics-drivers/ppa' failed.

What am I supposed to do?

stockmind commented 6 years ago

Just a quick look, no access permission on /dev/null

Can you post the complete command you used to launch the isorespin script?

Can you try to launch it as administrator?

Thanks

JackHack96 commented 6 years ago

I've already tried to run it directly with sudo, but without luck. The complete command was:

sudo ./build.sh ubuntu-18.04-desktop-amd64.iso -c bionicbeaver
[sudo] password for matteo: 
Setting compatibility...
Extracting ISO ...
Parallel unsquashfs: Using 8 processors
139912 inodes (156845 blocks) to write

[=============================================================================================================/] 156845/156845 100%

created 112482 files
created 16964 directories
created 27397 symlinks
created 7 devices
created 0 fifos
Extracting isorespin files ...
Updating bootloader/bootmanager ...
Fetching mainline kernel packages ...
Installing mainline kernel packages ...
Adding repositories ...
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission denied: '/dev/null'
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission denied: '/dev/null'
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission denied: '/dev/null'
Cannot add PPA: 'ppa:~graphics-drivers/ubuntu/ppa'.
ERROR: '~graphics-drivers' user or team does not exist.
./isorespin.sh: Adding repository 'ppa:graphics-drivers/ppa' failed.
bachka commented 6 years ago

first time as i runned the script had following error: ./isorespin.sh: Package 'libva1' not found. - is mine error. then i runned as root:

./build.sh /home/bachka/Downloads/ubuntu-18.04-desktop-amd64.iso

But with 1 error:

wrapper-nvidia.sh

Error: the installed packages do not support PRIME Info: selecting the intel profile Respun ISO created as 'linuxium-v4.17-rc2-ubuntu-18.04-desktop-amd64.iso'.

so nvidia package has a problem.

i see "success" at the end, :). Thanks. Will now test the ISO. Will tell you later how it is gone.

JackHack96 commented 6 years ago

I've "solved" building the ISO on a 16.04 virtual machine