Category Archives: Ubuntu/Debian

Ubuntu GPG error: http://ppa.launchpad.net

If you come across this error after running aptitude update

W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY 7D2C7A23BF810CD5
W: You may want to run apt-get update to correct these problems

due to a missing GPG key do the following to correct the problem

gpg --keyserver subkeys.pgp.net --recv 7D2C7A23BF810CD5

Replace the key number “7D2C7A23BF810CD5” with the one included in your error message

gpg --export --armor 7D2C7A23BF810CD5 | sudo apt-key add -

After that, the key will be added to a list and the error will not reappear.

German Umlaut on Debian Console

To get Debian to correctly display german Umlauts (äöü) in a console install the following packages:

aptitude install console-setup ncurses-term language-env

I am not sure if you really need ncurses-term und language-env but i won’t hurt.

When you configure console-setup use the standard options press enter. Then issue the following command

dpkg-reconfigure console-setup

Edit  /root/.bashrc and /etc/profileand add the following line.

export LC_ALL="de_DE.UTF-8"

The reconfigure your locales with:

dpkg-reconfigure locales

And make sure you tick all boxes with:

de_DE

Then logout or reboot you system and enjoy your umlaut. This howto should also work for other languages. Just change de_DE for you locales.

Thanks for the original german howto goes to:

coffeethewebandme

Lost your debian-sys-maint account?

This has happend to me a few times. You import a mysql user database from another server and you get these horrible errors when you restart mysql.

error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'

Go find your debian-sys-maint password in

/etc/mysql/debian.cnf

Write it down you will need it later. Log on to your mysql server and issue the following command

GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;

Change your-password with the password from the file debian.cnf. I am sure the debian-sys-maint user could be given less rights but this thread is only helping to restore the previous defaults. So please be aware this could be a security issue.

Ubuntu Upgrade to Hardy

I know i had been warned this software is still beta and so on. But i thought i would give it a try with 26 days more to wait. So here is my update story and this is what i did to update my gutsy install on my Dell Vostro 1500 to hardy

 1. Press Alt+F2 and enter update-manager –devel-release

 2. Click on the button for upgrade on my system the update manager needed to upgrade about 1200 packages.

 3. If you have any custom package sources they will get disabled by the update manager the ubuntu sources will be updated correctly

 4. wait and be patient

 5. the system will reboot when everything is finished here is where my problems started after the reboot my system was still using the old kernel 2.6.22 the new 2.6.24-12-generic would not boot

 6. So i rebooted into the 2.6.24-12-386 kernel which booted with no sound and no wireless

 7. Then i found out that during the update the module package was not installed so i installed it with  a :  aptitude install linux-ubuntu-modules-2.6.24-12-generic

 8. Then i rebooted again and this time i could boot the  2.6.24-12-generic kernel happy day wireless was up and running but still no sound

 9. Sound was a bit tricky because i didn’t really no where to look what was going wrong pulseaudio or alsa

 10. Thanks to the ubuntu forum for some help some other users where having the same problems  in this thread

Upgrade to Hardy..no sound

 11. The problem having no sound where resolved with the following commands:

aptitude remove linux-image-2.6.24-12-386
update-initramfs -k 2.6.24-12-generic -c

12. Thats it reboot and enjoy your sound and have fun with hardy. But remember before you complain about crashes this software is still beta.