language-pack-en has unmet dependencies

Asked by Robby

Using UCK 2.4.7 on Kubuntu 14.10, 3.16.0-30-generic x86_64, when I try to compile, I get an error about Language-pack-en has unmet dependicies. I used Synaptic to install the english language pack, and tried again getting the same error. I am trying to compile a usb of KDE, Gnome, and others. I found several questions here about similar questions but none exactly the same, and they were all extremely old. If someone could help me with a work-around, or better a fix I would greatly appreciate it.

I'm sure you will need further information, so let me know what you need to know. Here is the output of the second try, it is identical to the first output outcome. I'm just posting the last bit that I think is applicable.

Get:16 http://archive.ubuntu.com utopic/main Translation-en [769 kB]
Hit http://archive.ubuntu.com utopic/restricted Translation-en
Get:17 http://archive.ubuntu.com utopic/universe Translation-en [4264 kB]
Get:18 http://archive.ubuntu.com utopic-updates/main amd64 Packages [177 kB]
Get:19 http://archive.ubuntu.com utopic-updates/restricted amd64 Packages [8496 B]
Get:20 http://archive.ubuntu.com utopic-updates/universe amd64 Packages [73.1 kB]
Get:21 http://archive.ubuntu.com utopic-updates/main Translation-en [80.7 kB]
Get:22 http://archive.ubuntu.com utopic-updates/restricted Translation-en [2268 B]
Get:23 http://archive.ubuntu.com utopic-updates/universe Translation-en [39.9 kB]
Fetched 13.5 MB in 37s (362 kB/s)
Reading package lists...
Installing language packs (en)...
Reading package lists...
Building dependency tree...
Reading state information...
language-pack-kde-en is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 language-pack-touch-en : Conflicts: language-pack-en but 1:14.10+20141205 is to be installed
E: Unable to correct problems, you have held broken packages.
apt-get install language-pack-en language-pack-en-base language-pack-touch-en language-pack-gnome-en language-pack-gnome-en-base language-pack-kde-en failed, error=100
Restoring kernel update state...
Reactivating initctl...
Reactivating update-grub...
Reactivating grub-probe...
Reactivating grub-probe postinst/postrm...
Removing generated machine uuid...
Removing generated fstab/mtab...
Removing crash reports...
Unmounting /home/kubuntu/tmp/remaster-root/var/cache/apt...
Unmounting /home/kubuntu/tmp/remaster-root/tmp/customization-scripts...
Unmounting /home/kubuntu/tmp/remaster-root/tmp...
Unmounting /home/kubuntu/tmp/remaster-root/sys...
Unmounting /home/kubuntu/tmp/remaster-root/run...
Unmounting /home/kubuntu/tmp/remaster-root/root...
Unmounting /home/kubuntu/tmp/remaster-root/proc...
Unmounting /home/kubuntu/tmp/remaster-root/dev/pts...
Cleaning up temporary directories...
Build ended at 2015-02-09 16:37:32

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Probably similar to https://answers.launchpad.net/ubuntu/+question/260379
It seems that in the wizard you have to deselect all language packs except language-pack-en; at least you have to deselect the -touch- package

Revision history for this message
Neil Rachynski (nerach) said :
#2

The only workaround I found for this error was to not select any languages to install in the first two prompts you receive.

Revision history for this message
carpediem75 (simone-giuliani) said :
#3

This worked for me:

in /usr/lib/uck/customization-profiles/localized_cd/customize

I replaced:
add=`echo "$REPO_LANGS" | grep -- -"$l" | grep -Ev "kde|gnome"`
with
add=`echo "$REPO_LANGS" | grep -- -"$l" | grep -Ev "kde|gnome|touch"`

hope it can help someone.

Revision history for this message
aaronfranke (arnfranke) said :
#4

@carpediem75 (simone-giuliani) Thank you, that fix worked for me. All I did was add |touch to that line as you said and it works!

I think the solution to this problem is for the package maintainers to change this file to have this edit by default.

Revision history for this message
Erik Zoltan (erikzoltan) said :
#5

I am having this same issue on Yakkety 16.10, 64bit. I do think this should be fixed in the software. I am using it in Ubuntu to customize a Xubuntu image (if that's relevant.)

I will manually apply the fix to the software. Hopefully it will be resolved by the next update. Here is the relevant section of my build.log file:

language-pack-en is already the newest version (1:16.10+20161009).
language-pack-en-base is already the newest version (1:16.10+20161009).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 language-pack-touch-en : Conflicts: language-pack-en but 1:16.10+20161009 is to be installed
E: Unable to correct problems, you have held broken packages.
apt-get install language-pack-en language-pack-en-base language-pack-touch-en failed, error=100

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

@Erik Zoltan:
You cannot expect that there will be a "next update".
The main page of UCK says !!!PROJECT DISCONTINUED!!!

Revision history for this message
Erik Zoltan (erikzoltan) said :
#7

OK my mistake. Thanks for the heads up!

Can you help with this problem?

Provide an answer of your own, or ask Robby for more information if necessary.

To post a message you must log in.