LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   keymap error (https://www.linuxquestions.org/questions/debian-26/keymap-error-4175528732/)

qrange 12-19-2014 01:22 AM

keymap error
 
How to solve this error:

Code:

update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
/usr/bin/ckbcomp: Can not find file "symbols/srp" in any known directory
Warning: error while trying to store keymap file - ignoring request to install /etc/boottime.kmap.gz

thanks.

jdkaye 12-22-2014 02:57 AM

Can you give us the command you were using that caused this message. It looks like you were trying to install some package, yes?
jdk

qrange 12-23-2014 01:23 AM

I get that error during every Upgrade in aptitude.
also grub2 has some error that might be related.

jdkaye 12-23-2014 03:12 PM

Quote:

Originally Posted by qrange (Post 5289400)
I get that error during every Upgrade in aptitude.
also grub2 has some error that might be related.

Is that message received from the aptitude update or aptitude upgrade command? If the latter, have you run aptitude update first and received no error message?
jdk

qrange 12-24-2014 12:40 AM

during installing upgrade packages.
but I was wrong, it doesn't occur every time.
I always run update first, or there wouldn't be anything to upgrade.

btw, there seems to be a difference between 'aptitude upgrade' and 'apt dist-upgrade'; which one is better?
thanks.

jdkaye 12-24-2014 04:05 PM

Quote:

Originally Posted by qrange (Post 5289879)
btw, there seems to be a difference between 'aptitude upgrade' and 'apt dist-upgrade'; which one is better?
thanks.

These days it's called "aptitude safe-upgrade". This is the one I use. Here's what it does:
Quote:

safe-upgrade
Upgrades installed packages to their most recent version. Installed packages will not
be removed unless they are unused (see the section “Managing Automatically Installed
Packages” in the aptitude reference manual). Packages which are not currently installed
may be installed to resolve dependencies unless the --no-new-installs command-line
option is supplied.

If no <package>s are listed on the command line, aptitude will attempt to upgrade every
package that can be upgraded. Otherwise, aptitude will attempt to upgrade only the
packages which it is instructed to upgrade. The <package>s can be extended with
suffixes in the same manner as arguments to aptitude install, so you can also give
additional instructions to aptitude here; for instance, aptitude safe-upgrade bash
dash- will attempt to upgrade the bash package and remove the dash package.

It is sometimes necessary to remove one package in order to upgrade another; this
command is not able to upgrade packages in such situations. Use the full-upgrade
command to upgrade as many packages as possible.

Likewise "dist-upgrade" is now called "full-upgrade". I guess you already know what that does. In any event you can read about it on the man apititude pages.
jdk


All times are GMT -5. The time now is 04:59 PM.