Results 1 to 4 of 4

Thread: Ubiquity error configuring apt

  1. #1
    Join Date
    Dec 2007
    Beans
    560

    Ubiquity error configuring apt

    Hello! I'm trying to make a livecd and while ubiquity is running I get this error:

    http://i35.tinypic.com/2v3g3fo.jpg

    The odd thing is, I don't seem to be missing any packages that I need, nor do I get any errors after the system is installed. Any help would be greatful

    EDIT: would it also make any difference if I added this repo?

    http://crunchbang.org/archives/2008/...pt-repository/

  2. #2
    Join Date
    Dec 2007
    Beans
    560

    Re: Ubiquity error configuring apt

    Nothing? I figured someone would have a idea? :/

  3. #3
    Join Date
    Dec 2007
    Beans
    560

    Re: Ubiquity error configuring apt

    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?

  4. #4
    Join Date
    Dec 2007
    Beans
    560

    Re: Ubiquity error configuring apt

    would anyone know where I could edit ubiquity to change the exec of the dialog that asks you to either restart your computer or continue using the livecd?

    In my livecd when ubiuqity is done and I hit restart the whole thing freezes

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •