LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AryaLinux (https://www.linuxquestions.org/questions/aryalinux-120/)
-   -   libre office problem (https://www.linuxquestions.org/questions/aryalinux-120/libre-office-problem-4175581772/)

RAS-OS 06-08-2016 12:28 PM

libre office problem
 
make[2]: Leaving directory '/var/cache/alps/sources/postgresql-9.5.1/doc/src'
make[1]: Leaving directory '/var/cache/alps/sources/postgresql-9.5.1/doc'
install -v -dm700 /srv/pgsql/data &&
install -v -dm755 /run/postgresql &&
groupadd -g 41 postgres &&
useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \
-u 41 postgres &&
chown -Rv postgres:postgres /srv/pgsql /run/postgresql &&
su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'

install: creating directory '/run/postgresql'
groupadd: group 'postgres' already exists
Error occured in execution of /var/cache/alps/scripts/postgresql.sh
Aborting

chandrakant 06-08-2016 01:04 PM

Can you retry after deleting the user that got created:

sudo userdel -r postgres

and then go ahead and do:

alps install libreoffice

RAS-OS 06-11-2016 06:05 AM

no it doesn't work

make -C doc install
make[1]: Entering directory '/var/cache/alps/sources/postgresql-9.5.1/doc'
make -C src install
make[2]: Entering directory '/var/cache/alps/sources/postgresql-9.5.1/doc/src'
make -C sgml install
make[3]: Entering directory '/var/cache/alps/sources/postgresql-9.5.1/doc/src/sgml'
/bin/mkdir -p '/usr/share/doc/postgresql-9.5.1'/html '/usr/share/man'/man1 '/usr/share/man'/man3 '/usr/share/man'/man7
cp -R `for f in ./html; do test -r $f && echo $f && break; done` '/usr/share/doc/postgresql-9.5.1'
cp -R `for f in ./man1; do test -r $f && echo $f && break; done` `for f in ./man3; do test -r $f && echo $f && break; done` `for f in ./man7; do test -r $f && echo $f && break; done` '/usr/share/man'
make[3]: Leaving directory '/var/cache/alps/sources/postgresql-9.5.1/doc/src/sgml'
make[2]: Leaving directory '/var/cache/alps/sources/postgresql-9.5.1/doc/src'
make[1]: Leaving directory '/var/cache/alps/sources/postgresql-9.5.1/doc'
install -v -dm700 /srv/pgsql/data &&
install -v -dm755 /run/postgresql &&
groupadd -g 41 postgres &&
useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \
-u 41 postgres &&
chown -Rv postgres:postgres /srv/pgsql /run/postgresql &&
su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'

install: creating directory '/srv/pgsql/data'
install: creating directory '/run/postgresql'
changed ownership of '/srv/pgsql/data' from root:root to postgres:postgres
ownership of '/srv/pgsql' retained as postgres:postgres
changed ownership of '/run/postgresql' from root:root to postgres:postgres
The files belonging to this database system will be owned by user "postgres".
initdb: invalid locale settings; check LANG and LC_* environment variables
This user must also own the server process.

Error occured in execution of /var/cache/alps/scripts/postgresql.sh
Aborting

RAS-OS 06-11-2016 07:29 AM

and the vlc

The following packages would be installed:

qt4 lua vlc

Are you sure? (y/N) y
Executing /var/cache/alps/scripts/qt4.sh
File 'qt-everywhere-opensource-src-4.8.7.tar.gz' already there; not retrieving.

--2016-06-11 14:19:29-- http://www.linuxfromscratch.org/patc...4-gcc5-1.patch
Resolving www.linuxfromscratch.org... 192.155.86.174, 2600:3c01::f03c:91ff:fe70:25e8
Connecting to www.linuxfromscratch.org|192.155.86.174|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-06-11 14:19:30 ERROR 404: Not Found.

Error occ

RAS-OS 06-11-2016 07:35 AM

and java

The following packages would be installed:

java

Are you sure? (y/N) y
Executing /var/cache/alps/scripts/java.sh
--2016-06-11 14:34:22-- http://anduin.linuxfromscratch.org/f..._64-bin.tar.xz
Resolving anduin.linuxfromscratch.org... 45.33.5.237
Connecting to anduin.linuxfromscratch.org|45.33.5.237|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-06-11 14:34:23 ERROR 404: Not Found.

Error occured in execution of /var/cache/alps/scripts/java.sh

RAS-OS 06-12-2016 07:00 AM

The solution for VLC

alps src http://download.qt-project.org/offic...c-4.8.7.tar.gz

alps src https://download.kde.org/stable/qtwe...t-2.3.4.tar.gz

alps src https://www.linuxfromscratch.org/pat...4-gcc5-1.patch

and continue vlc installing

RAS-OS 06-12-2016 07:18 AM

for java alps src http://ftp.osuosl.org/pub/blfs/congl..._64-bin.tar.xz

chandrakant 06-12-2016 07:35 AM

Thanks RAS-OS for posting the solution. I was thinking of posting the same but I guess I got a bit late. As far as other broken links in all other packages are concerned, I have fixed all of them. Testing them as of now and once done, I would upload the fresh scripts. The good thing with the new scripts are that each package tarball is attempted to be downloaded from six mirrors so that if one fails the other one would work till one of them succeeds. So I guess there would be no failures at least as far as source tarballs are concerned. People at BLFS also keep moving the patches around so that a patch download link which once used to work fails in some time. Anyways, I am I in the process of fixing that as well. Anyways, thank you very much for your time and pointing out those faults which I am surely going to rectify in some time.

RAS-OS 06-12-2016 07:59 AM

I do have a question how open/delete folder without terminal. When I say open folder as administrator nothing happens and there is no option how to open folder as root.

chandrakant 06-13-2016 10:20 AM

I think gksu is needed to show a prompt asking for password when you open directory as Administrator. I would create a script and share info about the same.

RAS-OS 06-16-2016 06:41 AM

The problem with office seems to be that my system setting aren't en_US how to change this permanently

chandrakant 06-16-2016 07:22 AM

You can change the system language by editing /etc/locale.conf. It would contain a line like:

LANG=<language>

Just change the language to whatever language you want to. Save the file, logout and relogin. That should change the system language. Other than that, when the libreoffice install script starts it would ask you for the language. You can specify the language of your choice there.

chandrakant 06-16-2016 07:34 AM

You can change the system language by editing /etc/locale.conf. It would contain a line like:

LANG=<language>

Just change the language to whatever language you want to. Save the file, logout and relogin. That should change the system language. Other than that, when the libreoffice install script starts it would ask you for the language. You can specify the language of your choice there.

chandrakant 06-16-2016 02:13 PM

I just figured out that there is a small bug in the libreoffice script due to which libreoffice won't open from the application menu even though it would build and install successfully. I would fix the script later but here is the fix for the same:

sudo ln -svf /usr/lib/libreoffice/program/soffice /usr/bin/libreoffice

RAS-OS 06-17-2016 10:06 AM

It is absolutely possible for me to install LibreOffice from script or even from the source. It always come back to this

make[1]: Entering directory '/var/cache/alps/sources/postgresql-9.5.1/config'
/bin/mkdir -p '/usr/lib/postgresql/pgxs/config'
/usr/bin/install -c -m 755 ./install-sh '/usr/lib/postgresql/pgxs/config/install-sh'
/usr/bin/install -c -m 755 ./missing '/usr/lib/postgresql/pgxs/config/missing'
make[1]: Leaving directory '/var/cache/alps/sources/postgresql-9.5.1/config'
PostgreSQL installation complete.
make -C doc install
make[1]: Entering directory '/var/cache/alps/sources/postgresql-9.5.1/doc'
make -C src install
make[2]: Entering directory '/var/cache/alps/sources/postgresql-9.5.1/doc/src'
make -C sgml install
make[3]: Entering directory '/var/cache/alps/sources/postgresql-9.5.1/doc/src/sgml'
/bin/mkdir -p '/usr/share/doc/postgresql-9.5.1'/html '/usr/share/man'/man1 '/usr/share/man'/man3 '/usr/share/man'/man7
cp -R `for f in ./html; do test -r $f && echo $f && break; done` '/usr/share/doc/postgresql-9.5.1'
cp -R `for f in ./man1; do test -r $f && echo $f && break; done` `for f in ./man3; do test -r $f && echo $f && break; done` `for f in ./man7; do test -r $f && echo $f && break; done` '/usr/share/man'
make[3]: Leaving directory '/var/cache/alps/sources/postgresql-9.5.1/doc/src/sgml'
make[2]: Leaving directory '/var/cache/alps/sources/postgresql-9.5.1/doc/src'
make[1]: Leaving directory '/var/cache/alps/sources/postgresql-9.5.1/doc'
install -v -dm700 /srv/pgsql/data &&
install -v -dm755 /run/postgresql &&
groupadd -g 41 postgres &&
useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \
-u 41 postgres &&
chown -Rv postgres:postgres /srv/pgsql /run/postgresql &&
su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'

groupadd: group 'postgres' already exists
Error occured in execution of /var/cache/alps/scripts/postgresql.sh

How to delete this group?


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