Comment 12 for bug 1308889

Revision history for this message
Iain Lane (laney) wrote : Re: [Bug 1308889] Re: ubuntu-kylin-docs was not installed by default in latest image

On Wed, Apr 23, 2014 at 09:37:50PM -0000, Steve Langasek wrote:
> […]
> So maybe it's not part of the ubuntu-defaults-builder interfaces per se, but
> I'm pretty sure that's what hooks/chroot in ubuntukylin-default-settings is
> for.
>
> rawlist=$(cat /usr/share/ubuntukylin-default-settings/remove-package.list)
> list=$(dpkg -l $rawlist | awk '/^i/ {print $2}')
> [ -z "$list" ] || apt-get purge --auto-remove -y $list
>
> ubuntu-docs is already listed there, though.

Indeed you can remove packages in this way, but it is the fact that
-docs is manually installed using apt-get through the hook instead of in
depends/recommends.txt like everything else that causes the problem. It
can't be done in that way because of the Conflicts to ubuntu-docs.

>
> It's possible this isn't fixable properly without moving ubuntukylin
> handling to a seed + meta package.

That's clearly the best solution, but I'm not sure it can be done for
14.04.x. Perhaps I'll see what a livecd-rootfs patch looks like for
this.

--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]