Posts: 125
Pierre771
Joined: 15 May 2009
#1
Hello

I upgraded from M8 to M8.2 with the CD (keeping the partitions and the /home)

Fine and everything OK... except from : I have an English keyboard !! (instead of a French one, of course)

How can I correct please ? Thank you.
Last edited by Pierre771 on 05 Nov 2009, 15:36, edited 1 time in total.
Posts: 125
Pierre771
Joined: 15 May 2009
#2
During the installation I chose the right keyboard

dpkg-reconfigure locales

has no effect
Posts: 125
Pierre771
Joined: 15 May 2009
#3
It's theoratically done : In /etc/x11/xorg.conf

I replaced"us" by"fr" in"xkblayout"
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#4
You will need to change /etc/default/locale to read: LANG=fr_FR.UTF-8
and /etc/profile to add at the end
export LANG=fr_FR.UTF-8
Posts: 125
Pierre771
Joined: 15 May 2009
#5
OK thanks
Posts: 125
Pierre771
Joined: 15 May 2009
#6
It's done, thanks
Posts: 125
Pierre771
Joined: 15 May 2009
#7
Hello

During apt-upgrade

I am blocked in"sysv-rc configuration"

"unable to migrate to dependency boot system", etc etc

in a blue non-graphical or semi graphical window in the terminal.

Impossible to move anything. There is an OK but it's not an open zone. Impossible to do OK and execute the following part.

Can you help me please ?

It occurs for the second time (at each installation)
Last edited by Pierre771 on 03 Nov 2009, 17:25, edited 1 time in total.
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#8
Pierre, there are two ways to solve this (this should be sticky somewhere):
anticapitalista wrote:To add about the lsb errors.
Following Debian Testing, the upgrade now wants users to use Dependency Based Boot via insserv (it is faster).
This happens automatically on upgrade, except it doesn't on antiX-M8.2 (and earlier) because of the lsb errors in ejecrcd and mepis-network.

Solution 1:
1. Remove /etc/init.d/ejecrcd file as root with the file manager and remove mepis-network (apt-get purge mepis-network)
2. In a rooot terminal dpkg-reconfigure sysv-rc and choose yes.

Solution 2:
1. In /etc/init.d edit the ejecrcd file to look like this and rename in ejectcd. Same with mepis-network
2. In a rooot terminal dpkg-reconfigure sysv-rc and choose yes.

Code: Select all

#!/bin/sh
### BEGIN INIT INFO
# Provides:          ejectcd
# Required-Start:    
# Required-Stop:     
# Default-Start:     
# Default-Stop:      
# Description: Starts ejectcd
# short-description: ejectcd
### END INIT INFO

# Try to cache everything we're likely to need after ejecting.  This
# is fragile and simple-minded, but our options are limited.
cache_path() {
    path="$1"

    if [ -d"$path" ]; then
        find"$path" -type f | xargs cat > /dev/null 2>&1
    elif [ -f"$path" ]; then
        if [ -x"$path" ]; then
            if file"$path" | grep -q 'dynamically linked'; then
                for lib in $(ldd"$path" | awk '{ print $3 }'); do
                    cache_path"$lib"
                done
            fi
        fi
        cat"$path" >/dev/null 2>&1
    fi
}

# Do if running from CD
if [ -e /proc/sys/kernel/real-root-dev ]; then
case"$(cat /proc/sys/kernel/real-root-dev 2>/dev/null)" in 256|0x100) 
  for path in $(which halt) $(which reboot) /etc/rc?.d /etc/default; do
    cache_path"$path"
  done
  # just do it
  # this is only relavent when booted from CD
  # otherwise /cdrom never exists
  eject -p -m /cdrom >/dev/null 2>&1
  sleep 5
  ;;
esac
fi

exit 0

Code: Select all

#!/bin/bash
### BEGIN INIT INFO
# Provides:          mepis-network
# Required-Start:    
# Required-Stop:    
# Default-Start:     
# Default-Stop:      
# Description: Starts mepis-network configuration 
# short-description: mepis-network configuration
### END INIT INFO

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin"
export PATH

umask 022

# Ignore these signals: INT, TERM, SEGV
trap"" 2 3 11

# No kernel messages while probing modules
echo"0" > /proc/sys/kernel/printk

# Read in boot parameters
CMDLINE="$(cat /proc/cmdline)"

isbootparam(){
case"$CMDLINE" in *$1*) return 0;; esac
return 1
}
NDIS="yes"
if [ -f /etc/default/mepis-network ]; then
  . /etc/default/mepis-network
fi
if ["$NDIS" ="yes" ]; then
 if ! isbootparam"nonet"; then
  if ! isbootparam"nondis"; then
   modprobe ndiswrapper
  fi
 fi
fi
 # workaround: intel 536 driver has no module_device_table so it must be started manually
 /usr/bin/lspci | /bin/grep '536EP' >/dev/null 2>&1
 if [ $? = 0 ]; then
  /sbin/modprobe Intel536 >/dev/null 2>&1
 else
  # workaround: alsa sl modem needs setup delay before starting daemon
  # modem link will fail if another modem got it first
  /bin/lsmod | /bin/grep -e 'snd_intel8x0m' -e 'snd_via82xx_modem' -e 'snd_atiixp_modem' >/dev/null 2>&1
  if [ $? = 0 ]; then
   ln -s /dev/ttySL0 /dev/modem >/dev/null 2>&1
   /usr/sbin/slmodemd --alsa --country=USA >/dev/null 2>&1 &
  fi
 fi

echo"6" > /proc/sys/kernel/printk

# Re-enable signals
trap 2 3 11

exit 0

Posts: 125
Pierre771
Joined: 15 May 2009
#9
There are too many problems in this distrib... __{{emoticon}}__
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#10
It's because it's based on Debian (testing) so sometimes when things change on Debian then we must tweak antiX.
Do like its said in the first option (if you don't need mepis-network - there's Wicd and Ceni for that too):
-Delete /etc/init.d/ejecrcd
-apt-get purge mepis-network

Then you can try

Code: Select all

dpkg-reconfigure sysv-rc
Then when you want to upgrade, do

Code: Select all

apt-get update

Code: Select all

apt-get dist-upgrade
Sometimes that will remove an application you need then you will have to reinstall it. antiX is very good, Pierre, only we should be careful when upgrading because it's based on Debian testing.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://manual.sidux.com/en/sys-admin-apt-en.htm"
linktext was:"This is a quick how-to for apt"
====================================
, please read it.
Posts: 125
Pierre771
Joined: 15 May 2009
#11
Thanks

it is very good. There are a lot of installation problems. __{{emoticon}}__

I'll continue to-morrow.
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#12
P., to click 'ok' at dpkg-reconfigure sysv-rc you must press the 'tab' key and then 'enter'.
Posts: 125
Pierre771
Joined: 15 May 2009
#13
Yes I think you should correct the 8.2 installation before I try another time...

__{{emoticon}}__
Posts: 125
Pierre771
Joined: 15 May 2009
#14
Seriously :
secipolla wrote:P., to click 'ok' at dpkg-reconfigure sysv-rc you must press the 'tab' key and then 'enter'.
Thanks, I did it but the zone is not opened.

I'll try it again to-morrow
Posts: 125
Pierre771
Joined: 15 May 2009
#15
It is confirmed."Tab" doesn't go to the OK zone... which doesn't exist ! It is closed...