Easy workaround which does not require another apt-setup.udeb:

d-i     preseed/late_command    string  \
        in-target wget -q -O /etc/apt/trusted.gpg.d/bla.asc 
http://bla.de/bla.asc ; \
        in-target sed -i '/keyword to uncomment specific line in file/s/^# *//' 
/etc/apt/sources.list ; \
        in-target apt-get update ; \
        in-target apt-get -y install packages to install ;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1754075

Title:
  apt-setup uses apt-key but probably should not anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to