Ok, I might of solved my error, on my system I'm building if I delete
/usr/lib/ubuiqity/apt-setup/50cdrom
which contains:
Code:
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
file="$1"
logoutput=""
if [ "$CATCHLOG" ]; then
logoutput="log-output -t apt-setup"
fi
chroot=
if [ "$ROOT" ]; then
chroot=chroot
fi
tmp=$($chroot $ROOT tempfile)
# apt-cdrom can be interactive, avoid that
if $logoutput $chroot $ROOT apt-cdrom add \
-o Dir::Etc::SourceList=$tmp \
</dev/null; then
cat $ROOT$tmp >> $file
else
rm -f $ROOT$tmp $ROOT$tmp~
db_input critical apt-setup/cdrom/failed || true
db_go || exit 10
fi
rm -f $ROOT$tmp $ROOT$tmp~
I don't get that error anymore, but is there a more proper way of doing this? or would I delete something I don't want to delete by doing that?
Bookmarks