UCK Failed to copy resolv.conf, error=1
I use Kubuntu 12.04 x86_64 and try to customize the ISO which downloaded via Kubuntu official website.
UCK say failed to copy resolv.conf (/etc/resolv.conf) and exited with error = 1
Here's Konsole (terminal) output :
Preparing build environment...
Creating X authentication cookie...
Running build process...
Build (/usr/bin/uck-gui --wait-before-exit) started at 2012-04-29 10:23:20
[sudo] password for naufal:
>> Ubuntu Customization Kit 2.4.5 on Ubuntu 12.04, 3.2.0-24-generic x86_64
Starting CD remastering on Min Apr 29 10:23:25 WIT 2012
Customization dir=/home/
Mounting ISO image...
mount: warning: /home/naufal/
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
mount: warning: /home/naufal/
Unpacking SquashFS image...
Unmounting SquashFS image...
Removing win32 files...
Creating apt cache...
Creating root home...
Mounting /proc
Mounting /sys
Mounting /dev/pts
Mounting /tmp
Mounting /home/naufal/
Mounting /home/naufal/
Mounting /run
Mounting /home/naufal/
Copying resolv.conf...
cp: `/etc/resolv.conf' and `/home/
Unmounting /home/naufal/
Unmounting /home/naufal/
Unmounting /home/naufal/
Unmounting /home/naufal/
Unmounting /home/naufal/
Unmounting /home/naufal/
Unmounting /home/naufal/
Unmounting /home/naufal/
Failed to copy resolv.conf, error=1
kdialog(
Question information
- Language:
- French Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2012-04-29
- Last reply:
- 2012-07-06
| Lars Westergren (lars-tierp) said : | #1 |
There seem like etc/resolv.conf is only a link to ../run/
So there is no resolv.conf where the scripts expects to find it.
I used a crude workaround, renamed the link in /etc to resolv.conf.bad and made a new resolv.conf with the same content as the original had. Worked like a charm.
#vi /usr/lib/
go to string 358 ( on vi editor just print :set number and press enter)
and change
358 cp -d /etc/resolv.conf "$REMASTER_
359 failure "Failed to copy resolv.conf, error=$?"
| MAALEL Imen (maalelimen) said : | #3 |
i have the same problem but i didnt understand the answer of Lars Westergren (lars-tierp)
and i have try to change the line 358 of the file /usr/lib/
i m using edubuntu 12.04 amd64 and i m trying to costomize the same edition (edubuntu12.
plz help me it is a big problem if i can t fixe that error plz
2.4.7svn should work for you
I too have the same problem, but in my case UCK hangs at
Mounting SquashFS image...
mount: warning: /home/santu/
Using ubuntu 12.04.1, 32 bit intel processor
Can you help with this problem?
Provide an answer of your own, or ask Naufal Fachrian for more information if necessary.

