xlib invalid mit-magic-cookie-1 key on gksugksudo
Category: Ubuntu-Desktop Environments
Read More...
![]() |
|
Category: Ubuntu-Desktop Environments
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.
Category: Ubuntu-Desktop Environments
cobalt qube
i just bought a cobalt qube 3 (amd k6 450 mhz) and wondered if anyone had any experience installing ubuntu (or other distro) on the qube. i'd love to share notes.
Category: Ubuntu-Desktop Environments
cdcether module installation help
i have a smartax mt882 adsl router which requires cdcether module to be installed. i am not able to connect to internet. please help.
i tried 'sudo modprobe cdcether ' which gives an error module not found. how do i install this module?
Category: Ubuntu-Desktop Environments
nice project guys!
Category: Ubuntu-Desktop Environments
mount iso bin/cue ccd/img nrg with konqueror
you can use the mountiso kde service menu in konqueror to mount iso, bin/cue, img/cue and nrg images, convert nrg, bin, ccd to iso images, create iso or udf images, and there are also utilities to identify an iso type and calculate md5 checksums. konqueror is the default file manager for kde, but gnome and xfce users can use konqueror as well. it would not be difficult to re-write the mountiso kde service menu as a nautilus-script.
references:
http://www.ubuntuforums.org/showthread.php?t=69530
http://forums.suselinuxsupport.de/in...howtopic=14668
add the universe repository, if you haven't already:
http://easylinux.info/wiki/ubuntu#ho...a_repositories
install build-essential, checkinstall, automake1.6, libtool, gcc-3.4, bchunk, nrg2iso:
code:
sudo apt-get install build-essential checkinstall automake1.6 libtool gcc-3.4 bchunk nrg2isoinstall konqueror, if you don't have it installed already:
code:
sudo apt-get install konquerorinstall the appropriate linux-headers for your system. (pick one):
code:
sudo apt-get install linux-headers-686 # celeron / pentium pro / ii / iii / 4 without hyper-threading
sudo apt-get install linux-headers-k7 # amd
sudo apt-get install linux-headers-386 # pentium (basic driver)
sudo apt-get install linux-headers-686-smp # pentium 4 with hyper-threading (multi-processor)
sudo apt-get install linux-headers-k7-smp # amd multi-processorreboot if necessary to take advantage of the linux-headers you've just installed. it's ok to remove linux-headers-386, if you don't need them anymore, but only after you've rebooted with your new headers.
download and install cdemu:
http://cdemu.sourceforge.net/
code:
cd ~
wget http://robert.private.outertech.com/virtualcd/cdemu-0.7.tar.bz2
tar xjf cdemu-0.7.tar.bz2
cd cdemu-0.7
sudo ls -la /lib/modules/`uname -r`/build
sudo make
sudo make install
sudo modprobe cdemu
sudo gedit /etc/modulesadd the following line to the /etc/modules file:
code:
cdemusave the file, then close gedit.
note: use the ` symbol, not the ' symbol.
note: sudo make install is used, because sudo checkinstall doesn't work here.
download ccd2iso to your desktop and install:
http://sourceforge.net/projects/ccd2iso/
code:
cd ~/desktop
tar xzf ccd2iso-0.2.tar.gz
cd ccd2iso
./configure
make
sudo checkinstallaccept the defaults. when the menu comes up,
enter the description as: convert ccd to iso
enter the name as: ccd2iso-0.2
enter the version as: 0.2
download extract-xiso binaries to your desktop and install:
http://sourceforge.net/projects/extract-xiso
code:
cd ~/desktop
tar xzf extract-xiso_v2.5_linux_libc6.tgz
cd extract-xiso_v2.5_linux_libc6
sudo chmod 755 extract-xiso
sudo cp extract-xiso /usr/bindownload the mountiso kde service menu to your desktop and install:
http://www.kde-apps.org/content/show.php?content=11577
code:
cd ~/desktop
tar xjf 11577-mount-iso-0.9.1.tar.bz2
cd mount-iso-0.9.1
gedit install.shreplace lines 1011-1034 with the following:
code:
mountcb)
base="${bsname%.*}"
binfile="$savedir/"`head -n 1 "$1" | cut -f 2 -d " " | sed -e "s/^\"//" -e "s/\"$//"`
node=$((`'$cdemu' -s | cut -f 8 -d " " | grep 0 -n -m 1 | cut -c 1`-2))
if (test -d "$mountdir") then
check_mount "$mountdir" &&
err 2 "$1"
else
mkdir -p "$mountdir"
fi
if ( test -d "$mountdir" )
then
'$cdemu' $node "$1"
kdesu -c "mount -t iso9660 /dev/cdemu/$node \"$mountdir\""
fi
if ( check_mount "$mountdir" ) then
kfmclient openurl "$mountdir"
else
rmdir "$mountdir"
err 6 "$mountdir"
fi
;;save the file and close gedit. then continue:
code:
./install.shthe install script will tell you which components you already have installed, and then offer you some options.
select:
2 - install mount-iso using kdesu
the install script will create some service menu files.
open konqueror and right-click an image to mount it. right-click the image again to unmount it.
note: installation option 1 - install mount-iso using sudo doesn't work, because ubuntu deals with kdesu and sudo differently than other distributions. the install script needs to be modified in order to use sudo instead of kdesu.
note: mountiso will mount the images to a new folder at ~/desktop.
note: mountiso doesn't warn you if the image file is corrupt. if nothing happens, when you try to mount a file, then something is probably wrong with your image, or the image file uses advanced options that aren't supported by the mountiso package.
note: you can also download ccd2iso from here:
http://rarewares.org/debian/packages...2-0.1_i386.deb
note: you can also download extract-xiso from here:
http://rimron.co.uk/weblog/category/ubuntu/
http://www.rimron.co.uk/experimental...2.5-1_i386.deb
http://www.xbox-scene.com/tools/tools.php?page=isotools
Category: Ubuntu-Desktop Environments
hi,
i'd like to know how to display 2 different clocks in the kde panel (using 2 different time zones). i tried to add a new clock doing "add applet to panel" but when i try to change the time zone for one clock, it also changes the other clock.
can you help me ?
thanks
Category: Ubuntu-Desktop Environments
i ran into this problem using linuxmint today. suddenly i started getting error reports and it always said sth like "problem is back-traced to /us/bin/gnome-panel".
it started during normal work and then came ack every time i restarted.
i tried recovery modes and everything and tried installing linuxmint again, but the cd was broken and then i installed ubuntu edgy again (i have been using edgy for months and only for about a week i had been using linuxmint, which was better for some reasons).
but to my very unpleasant surprise i got the very same error messages after the boot of this freshly-installed edgy, and it crashed the same way, i.e there are no more panels and menus anymore, so nothing can be done.
what is this, does anybody know?
i am just adding now that this problem does not go away. i have now made a fresh install of linuxmint. gnome-panel crashes and nothing can be done in gnome. i was able to install kubuntu-desktop, so the computer is at least usable now, but i don't like kde particularly.
i did uninstall gnome-panel and then the entire ubuntu-desktop and installed ubuntu-desktop again, but the same crash occurred. i have had my /home partition in place all this time. can the problem be there? what should i look for?