You are not logged in.

#1 2006-08-31 09:13:58

eg4matze
Member
Registered: 2005-01-27
Posts: 52

errors while installing glibc

Targets: glibc-2.4-2

Total Package Size:   10.0 MB

Proceed with upgrade? [Y/n]

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
upgrading glibc...
could not extract usr/share/i18n/locales/ar_TN: Permission denied
errors occurred while upgrading glibc
done.
  ==> ATTENTION INTERNATIONAL USERS:
  ==>
  ==> Locales are no longer included in the glibc package.
  ==> They are generated by /usr/sbin/locale-gen depending on the contents
  ==> of /etc/locale.gen.
  ==> glibc will try to autodetect the required locales now, if you need
  ==> additional locales, please enable them in /etc/locale.gen and run
  ==> /usr/sbin/locale-gen
  ==>
/var/lib/pacman/local/glibc-2.4-2/install: line 25: usr/sbin/locale-gen: No such  file or directory

which package is missing?

Offline

#2 2006-09-01 02:34:44

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: errors while installing glibc

locale-gen is part of glibc. just run it manually so it can do its thing. seems like there's a typo in the glibc.install file, the leading slash is missing so locale-gen won't be run correctly unless $PWD is / which would be unusual imo.

Offline

#3 2006-09-01 08:34:17

eg4matze
Member
Registered: 2005-01-27
Posts: 52

Re: errors while installing glibc

locale-gen is also missing

[root@myhost ~]# locate locale-gen
/var/abs/base/glibc/locale-gen
[root@myhost ~]# cd /var/abs/base/glibc/
[root@myhost glibc]# sh locale-gen
Generating locales...
  en_US.ISO-8859-1...locale-gen: line 39: localedef: command not found
[root@myhost glibc]#

Offline

#4 2006-09-01 12:32:43

eg4matze
Member
Registered: 2005-01-27
Posts: 52

Re: errors while installing glibc

I copied locale-gen and localdef from the notebook. But I have no permissions as root to write in /usr/share/i18n/locales (as root)



How can I fix it  :?:

Offline

#5 2006-09-01 12:42:02

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: errors while installing glibc

change the permission of the directory to 751 with chmod

Offline

#6 2006-09-01 16:48:48

eg4matze
Member
Registered: 2005-01-27
Posts: 52

Re: errors while installing glibc

root has no permissions to do this  sad

Offline

#7 2006-09-01 22:17:45

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: errors while installing glibc

Boot in single user mode and run a filesystem consistency check. Your filesystem is broken and needs repair. If the filesystem is XFS, you have to reboot with a lifecd to get it repaired, xfs_check and xfs_repair won't check mounted volumes.

Offline

Board footer

Powered by FluxBB