localepurge error in apt
Category: Ubuntu-Desktop Environments
localepurge error in apt
greetings,
i'm having an interesting and annoying problem in apt.
when i'm trying to do any actions i get this:
"examples of actions and their output"
code:
~$ sudo aptitude dist-upgrade
password:
reading package lists... done
building dependency tree
reading state information... done
reading extended state information
initializing package states... done
building tag database... done
the following new packages will be automatically installed:
python-soappy
the following new packages will be installed:
python-soappy
the following packages will be upgraded:
apport apport-gtk cpio dbus dbus-1-utils deskbar-applet gnome-mag
gnome-orca gnome-pilot gnome-utils java-gcj-compat language-selector
language-selector-common libbeagle0 libdbus-1-3 libdbus-1-dev
libgnome-mag2 libgnome-pilot2 libjaxp1.2-java libnotify1 libssl-dev
libssl0.9.8 notification-daemon openssh-client openssl powernowd
python-apport-utils python-problem-report ssh-askpass-gnome usplash
30 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
need to get 11.6mb of archives. after unpacking 610kb will be used.
do you want to continue? [y/n/?] y
writing extended state information... done
get:1 http://gr.archive.ubuntu.com edgy/main cpio 2.6-17 [96.4kb]
get:2 http://gr.archive.ubuntu.com edgy/main libssl-dev 0.9.8b-2ubuntu2 [2063kb]
...
blablablabla
....
get:30 http://gr.archive.ubuntu.com edgy/main usplash 0.4-30 [103kb]
get:31 http://gr.archive.ubuntu.com edgy/main gnome-pilot 2.0.14-0ubuntu2 [212kb]
fetched 11.6mb in 2m55s (66.5kb/s)
extracting templates from packages: 100%
preconfiguring packages ...
(reading database ... 144538 files and directories currently installed.)
preparing to replace cpio 2.6-16 (using .../archives/cpio_2.6-17_i386.deb) ...
unpacking replacement cpio ...
preparing to replace libssl-dev 0.9.8b-2ubuntu1 (using .../libssl-dev_0.9.8b-2ubuntu2_i386.deb) ...
unpacking replacement libssl-dev ...
preparing to replace libssl0.9.8 0.9.8b-2ubuntu1 (using .../libssl0.9.8_0.9.8b-2ubuntu2_i386.deb) ...
unpacking replacement libssl0.9.8 ...
preparing to replace openssh-client 1:4.3p2-2ubuntu5 (using .../openssh-client_1%3a4.3p2-4ubuntu1_i386.deb) ...
unpacking replacement openssh-client ...
preparing to replace python-problem-report 0.22 (using .../python-problem-report_0.24_all.deb) ...
unpacking replacement python-problem-report ...
preparing to replace python-apport-utils 0.22 (using .../python-apport-utils_0.24_all.deb) ...
unpacking replacement python-apport-utils ...
preparing to replace apport 0.22 (using .../archives/apport_0.24_all.deb) ...
* stopping automatic crash report generation: apport [ ok ]
unpacking replacement apport ...
preparing to replace apport-gtk 0.22 (using .../apport-gtk_0.24_all.deb) ...
...
blablablalblalba
...
setting up notification-daemon (0.3.5-0ubuntu7) ...
setting up openssl (0.9.8b-2ubuntu2) ...
setting up powernowd (0.97-1ubuntu6) ...
installing new version of config file /etc/init.d/powernowd ...
* starting powernowd... /etc/init.d/powernowd: 156: cannot create /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: directory nonexistent
* cpu frequency scaling not supported
[ ok ]
setting up python-soappy (0.11.3-1.6) ...
compiling /var/lib/python-support/python2.5/soappy/client.py ...
file "/var/lib/python-support/python2.5/soappy/client.py", line 46
from __future__ import nested_scopes
syntaxerror: from __future__ imports must occur at the beginning of the file
compiling /var/lib/python-support/python2.5/soappy/gsiserver.py ...
file "/var/lib/python-support/python2.5/soappy/gsiserver.py", line 49
from __future__ import nested_scopes
syntaxerror: from __future__ imports must occur at the beginning of the file
compiling /var/lib/python-support/python2.5/soappy/server.py ...
file "/var/lib/python-support/python2.5/soappy/server.py", line 46
from __future__ import nested_scopes
syntaxerror: from __future__ imports must occur at the beginning of the file
compiling /var/lib/python-support/python2.5/soappy/types.py ...
file "/var/lib/python-support/python2.5/soappy/types.py", line 39
from __future__ import nested_scopes
syntaxerror: from __future__ imports must occur at the beginning of the file
setting up ssh-askpass-gnome (4.3p2-4ubuntu1) ...
setting up usplash (0.4-30) ...
update-initramfs: generating /boot/initrd.img-2.6.17-8-generic
setting up gnome-pilot (2.0.14-0ubuntu2) ...
errors were encountered while processing:
localepurge
grep: /etc/locale.nopurge: no such file or directory
grep: /etc/locale.nopurge: no such file or directory
grep: /etc/locale.nopurge: no such file or directory
no /etc/locale.nopurge file present, exiting ...
e: sub-process /usr/bin/dpkg returned an error code (1)
a package failed to install. trying to recover:
setting up localepurge (0.5.5) ...
cat: /tmp/filevrqr13.locale.gen: no such file or directory
dpkg: error processing localepurge (--configure):
subprocess post-installation script returned error exit status 1
errors were encountered while processing:
localepurgealso:
code:
$ sudo dpkg --configure -a
setting up localepurge (0.5.5) ...
cat: /tmp/filewpbqao.locale.gen: no such file or directory
dpkg: error processing localepurge (--configure):
subprocess post-installation script returned error exit status 1
errors were encountered while processing:
localepurgeand:
code:
$ sudo dpkg-reconfigure localepurge
/usr/sbin/dpkg-reconfigure: localepurge is broken or not fully installedand:
code:
~$ sudo aptitude reinstall localepurge
reading package lists... done
building dependency tree
reading state information... done
reading extended state information
initializing package states... done
building tag database... done
the following packages will be reinstalled:
localepurge
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
need to get 0b of archives. after unpacking 0b will be used.
writing extended state information... done
setting up localepurge (0.5.5) ...
cat: /tmp/filefa0ehx.locale.gen: no such file or directory
dpkg: error processing localepurge (--configure):
subprocess post-installation script returned error exit status 1
errors were encountered while processing:
localepurge
grep: /etc/locale.nopurge: no such file or directory
grep: /etc/locale.nopurge: no such file or directory
grep: /etc/locale.nopurge: no such file or directory
no /etc/locale.nopurge file present, exiting ...
e: sub-process /usr/bin/dpkg returned an error code (1)
a package failed to install. trying to recover:
setting up localepurge (0.5.5) ...
cat: /tmp/file5jypl0.locale.gen: no such file or directory
dpkg: error processing localepurge (--configure):
subprocess post-installation script returned error exit status 1
errors were encountered while processing:
localepurge
any ideas? i can do nothing at all!
i tried cleaning apt, i tried reconfiguring, installing and removing localepurge, reconfiguring it.
hump de bump
this problem is not yet fixed, and it cant stay like this.
i hope my responses here might help:
http://ubuntuforums.org/showthread.p...09#post2282809
also, what's the output when you run
code:
sudo apt-get -f installto resolve dependency problems?
wonder if it was ever fixed for that poster?
anyway, i have it installed, but can't get past the chose language section. how do i chose a language? i have it in gnome-terminal, and i can scroll down to en but how do i make it choose that? what button do i push? i push enter, and it doesn't take. what do i do?
*edit: for what it's worth: http://bluev.wordpress.com/2005/12/2...e-localepurge/
