Reply
Thread Tools
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#2501
Originally Posted by Estel View Post
Things that you need to install before LibreOffice, if apt-get isn't able to resolve dependencies:
ure_3.4.3-3~bpo60+1_armel.deb
uno-libs3_3.4.3-3~bpo60+1_armel.deb
ttf-opensymbol_2.4.3+LibO3.4.3-3~bpo60+1_all.deb
Just in case it hasn't been mentioned before, this will resolve the dependencies automatically:
Code:
apt-get install -t squeeze-backports libreoffice
background:
By default the backports repository has a lower pinning priority than the regular stable repository so apt will try to resolve any dependencies from the stable repository, even if there is a newer version in backports. Only if there's no package with the required name at all in the stable repository the backports repository will be used. In this case that means that regardless of the insufficient version number ure will be taken from the stable repository because it exists there.
-t (target) changes that behavior by giving the specified repository the highest pinning priority for this one command. Thus -t squeeze-backports means: Resolve any dependencies by using the squeeze-backports repository if possible, fetch the rest from whatever repository among all the others has the highest pinning priority.
In our case this means ure (and any other dependency that exists in the backports) will be installed from squeeze-backports. Therefore -t squeeze-backports SHOULD be used whenever you explicitely want to install anything from backports.
 

The Following 2 Users Say Thank You to sulu For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Jan 2012
#2502
Originally Posted by qole View Post
Oh and just for fun, a very NOT easy Debian:



How Can I install debian on my n9?I think is very hard to do and i am not familiar with linux
 
eight's Avatar
Posts: 106 | Thanked: 81 times | Joined on Dec 2011 @ /
#2503
I'm struggling around with the locales in ED.

apt-get upgrade and dpkg-reconfigure localeconf shows this output:
Code:
[root@m5sulu: /]dpkg-reconfigure localeconf
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_PAPER = "de_DE",
        LC_ADDRESS = "de_DE",
        LC_MONETARY = "de_DE",
        LC_NUMERIC = "de_DE",
        LC_TELEPHONE = "de_DE",
        LC_MESSAGES = "de_DE",
        LC_IDENTIFICATION = "de_DE",
        LC_MEASUREMENT = "de_DE",
        LC_TIME = "de_DE",
        LC_NAME = "de_DE",
        LANG = "de_DE"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Package `localeconf' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Setting LANGUAGE and LC_ALL works temporary for apt-get upgrade until next chroot login.
Code:
[root@m5sulu: /]export LANGUAGE="de_DE"
[root@m5sulu: /]export LC_ALL="de_DE.UTF8"
Is it advisable to change this manualy, or is there a better way? And if so could anybody give me a tip where to set this variables permanent?

Edit:
These settings don't work very well, some symbols and ä ö ü for example are displayed wrong. Trying to get this sorted .....

Last edited by eight; 2012-01-10 at 17:56.
 

The Following User Says Thank You to eight For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#2504
sulu, thanks for that! Works perfectly.

@eight
I'm experiencing same issue, but I haven't seen any situation, where symbols or my language special characters (pl_PL) - ą ć ś ó ę ł ż ź ń etc - aren't working properly.

where exactly You face actual problems? Would like to check it myself.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#2505
Originally Posted by eight View Post
Code:
[root@m5sulu: /]dpkg-reconfigure localeconf
What are you trying to achieve with that? There is no package localeconf in the Debian repositories so that can't work.
Do you mean?:
Code:
dpkg-reconfigure locales
 

The Following 2 Users Say Thank You to sulu For This Useful Post:
eight's Avatar
Posts: 106 | Thanked: 81 times | Joined on Dec 2011 @ /
#2506
Sorry I meant:
Code:
dpkg-reconfigure locales
Copied from the wrong Browse-tab I think.
Though it shows me the same warning.

And the same warning occurs when doing apt-get upgrade
Code:
[root@m5sulu: /]apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libavcodec52 libavformat52 libavutil50 libpostproc51
The following packages will be upgraded:
  aptitude base-files ca-certificates chromium-browser
  chromium-browser-inspector chromium-browser-l10n dhcp3-client dhcp3-common
  iceweasel isc-dhcp-client isc-dhcp-common libavutil49 libcups2 libcupsimage2
  libfreetype6 libgl1-mesa-dri libgl1-mesa-swx11 libglu1-mesa libgssapi-krb5-2
  libjasper1 libk5crypto3 libkrb5-3 libkrb53 libkrb5support0 libmozjs2d
  libnss3-1d libosmesa6 libpam-modules libpam-runtime libpam0g
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libsmbclient
  libsoup-gnome2.4-1 libsoup2.4-1 libssl0.9.8 libvpx0 libvte-common libvte9
  libwbclient0 mesa-utils mplayer openssh-client openssh-server openssl
  policykit-1 pulseaudio tzdata tzdata-java update-inetd usbutils x11-common
  xbase-clients xulrunner-1.9.1
55 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/64.3 MB of archives.
After this operation, 762 kB disk space will be freed.
Do you want to continue [Y/n]?
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_PAPER = "de_DE",
        LC_ADDRESS = "de_DE",
        LC_MONETARY = "de_DE",
        LC_NUMERIC = "de_DE",
        LC_TELEPHONE = "de_DE",
        LC_MESSAGES = "de_DE",
        LC_IDENTIFICATION = "de_DE",
        LC_MEASUREMENT = "de_DE",
        LC_TIME = "de_DE",
        LC_NAME = "de_DE",
        LANG = "de_DE"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
 syntax error: unknown group 'crontab' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
Edit:
Overlooked
Code:
syntax error: unknown group 'crontab' in statoverride file
After adding
Code:
groupadd crontab
"apt-get upgrade" works.

Last edited by eight; 2012-01-10 at 23:57.
 

The Following 3 Users Say Thank You to eight For This Useful Post:
eight's Avatar
Posts: 106 | Thanked: 81 times | Joined on Dec 2011 @ /
#2507
Output when running "dpkg-reconfigure locales":

Code:
[root@m5sulu: /]dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_PAPER = "de_DE",
        LC_ADDRESS = "de_DE",
        LC_MONETARY = "de_DE",
        LC_NUMERIC = "de_DE",
        LC_TELEPHONE = "de_DE",
        LC_MESSAGES = "de_DE",
        LC_IDENTIFICATION = "de_DE",
        LC_MEASUREMENT = "de_DE",
        LC_TIME = "de_DE",
        LC_NAME = "de_DE",
        LANG = "de_DE"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
  de_DE.UTF-8... done
  en_CA.ISO-8859-1... done
  en_CA.UTF-8... done
  en_GB.ISO-8859-1... done
  en_GB.ISO-8859-15... done
  en_GB.UTF-8... done
  en_US.ISO-8859-1... done
  en_US.ISO-8859-15... done
  en_US.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_PAPER = "de_DE",
        LC_ADDRESS = "de_DE",
        LC_MONETARY = "de_DE",
        LC_NUMERIC = "de_DE",
        LC_TELEPHONE = "de_DE",
        LC_MESSAGES = "de_DE",
        LC_IDENTIFICATION = "de_DE",
        LC_MEASUREMENT = "de_DE",
        LC_TIME = "de_DE",
        LC_NAME = "de_DE",
        LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_PAPER = "de_DE",
        LC_ADDRESS = "de_DE",
        LC_MONETARY = "de_DE",
        LC_NUMERIC = "de_DE",
        LC_TELEPHONE = "de_DE",
        LC_MESSAGES = "de_DE",
        LC_IDENTIFICATION = "de_DE",
        LC_MEASUREMENT = "de_DE",
        LC_TIME = "de_DE",
        LC_NAME = "de_DE",
        LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
 
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#2508
Ok, now (I think) I know what's going on. I once accidentally added all possible locales to my Easy Debian images, which took a lot of space. So I deleted most of them and only kept de_DE.UTF-8 (UTF-8 is the default encoding in Linux and therefore Easy Debian) and the en and us locales for fallback reasons.
Maemo however uses ISO-8859 locales (e.g. de_DE). Since my Easy Debian image no longer has the ISO-8859 locale any locale-dependent application that gets the Maemo locale throws warnings. I have them too but since it's not critical I simply didn't care for it. I just installed de_DE in Easy Debian via dpkg-reconfigure (but kept the UTF-8 locale as the default) and the warnings are gone.

So to get rid of your warnings look up what your Maemo locale looks like and install it in Easy Debian. For Estel that would mean Maemo most likely has pl_PL. If he uses my Easy Debian image he doesn't have that locale so he should select that in dpkg-reconfigure. While doing that it might also be useful to add pl_PL.UTF-8 as the Easy Debian's default locale.
 

The Following 3 Users Say Thank You to sulu For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#2509
Thanks, but I'm not using Your image - except for /user/share/X11/xkb directory, which is entirely took from your image.

Anyway, I remember trying to reconfigure locales and selecting pl_PL variants (both ISO and UTF), yet I still have this error. will try again and report back.

OTOH, I tried what qole suggested, and did chown user:users to '/home/user/'libreoffice'. Yet, it still fail to start from user, and does so only from root. i'll try apt-get purge, manually get rid of leftovers, install again and avoid starting it from root - maybe it's going to help.

I'm just worried a little about leftovers from openoffice.org in 'debian' script used by debbie. I would love to get rid of those if they're not required anymore, but unfortunately, i'm not specialist in creating chroots, and qole seems to have other priorities than upgrading everything for LibreOffice.

On the third hand I haven't had any issues using LibreOffice as is, so everyone who don't want to use depreciated and outdated OpenOffice can safely upgrade.

/Estel

// edit

I've also did apt-get upgrade -t squeeze-backports, and everything seems to be working fine (of course pulseaudio is held back like in sulu's first tutorial).
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2012-01-10 at 23:02.
 
eight's Avatar
Posts: 106 | Thanked: 81 times | Joined on Dec 2011 @ /
#2510
Originally Posted by sulu View Post
I have them too but since it's not critical I simply didn't care for it. I just installed de_DE in Easy Debian via dpkg-reconfigure (but kept the UTF-8 locale as the default) and the warnings are gone.
Thank you, that did it.
After selecting "de_DE ISO-8859-1" at dpkg-reconfigure and staying with "de_DE UTF-8" as default the warnings are gone.

Thought in the first place it could tend to problems with uprades, even better that it's not critical and can be irgnored.

Last edited by eight; 2012-01-10 at 23:34.
 
Reply

Tags
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze


 
Forum Jump


All times are GMT. The time now is 02:35.