LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux
User Name
Password
AryaLinux This forum is for the discussion of AryaLinux.

Notices


Reply
  Search this Thread
Old 06-05-2016, 03:07 AM   #1
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Rep: Reputation: Disabled
mate-polkit.sh problem


New problem with mate install

Couldn't find include 'Polkit-1.0.gir' (search path: ['/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
g-ir-scanner: warning: Option --strip-prefix has been deprecated;
see --identifier-prefix and --symbol-prefix.
make[2]: *** [PolkitGtkMate-1.0.gir] Error 1
Makefile:921: recipe for target 'PolkitGtkMate-1.0.gir' failed
make[2]: Leaving directory '/var/cache/alps/sources/mate-polkit-1.12.0/polkitgtkmate'
make[1]: *** [all-recursive] Error 1
Makefile:456: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/var/cache/alps/sources/mate-polkit-1.12.0'
make: *** [all] Error 2
Makefile:387: recipe for target 'all' failed
Error occured in execution of /var/cache/alps/scripts/mate-polkit.sh
Aborting
 
Old 06-05-2016, 04:43 AM   #2
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Could you try installing polkit first and then install mate-polkit:

alps install polkit

And then:

alps install mate-polkit
 
Old 06-05-2016, 06:46 AM   #3
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
It already has polkit installed the problem is when try to insatll mate-polkit


alps install polkit
All packages have been installed.
If you want to still enforce installation use the following:

alps forceinstall packagenames

Bye!

after alps install mate-polkit


Couldn't find include 'Polkit-1.0.gir' (search path: ['/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
g-ir-scanner: warning: Option --strip-prefix has been deprecated;
see --identifier-prefix and --symbol-prefix.
make[2]: *** [PolkitGtkMate-1.0.gir] Error 1
Makefile:921: recipe for target 'PolkitGtkMate-1.0.gir' failed
make[2]: Leaving directory '/var/cache/alps/sources/mate-polkit-1.12.0/polkitgtkmate'
make[1]: *** [all-recursive] Error 1
Makefile:456: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/var/cache/alps/sources/mate-polkit-1.12.0'
make: *** [all] Error 2
Makefile:387: recipe for target 'all' failed
Error occured in execution of /var/cache/alps/scripts/mate-polkit.sh
Aborting
 
Old 06-05-2016, 06:48 AM   #4
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
I also have problem with this

The following packages would be installed:
alps install usbutils pciutils openssh gobject-introspection


openssh

Are you sure? (y/N) y
Executing /var/cache/alps/scripts/openssh.sh
File 'openssh-7.2p2.tar.gz' already there; not retrieving.

install -v -m700 -d /var/lib/sshd &&
chown -v root:sys /var/lib/sshd &&
groupadd -g 50 sshd &&
useradd -c 'sshd PrivSep' -d /var/lib/sshd -g sshd -s /bin/false -u 50 sshd

ownership of '/var/lib/sshd' retained as root:sys
groupadd: group 'sshd' already exists
Error occured in execution of /var/cache/alps/scripts/openssh.sh
Aborting
 
Old 06-05-2016, 07:20 AM   #5
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
I try to force polkit install and it aborted:

sudo: unable to initialize PAM: No such file or directory
Error occured in execution of /var/cache/alps/scripts/linux-pam.sh
Aborting
 
Old 06-05-2016, 07:34 AM   #6
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Oh. This looks like some problem. Did you alter the installation steps on the documentation? I am looking into it. Would give a solution as soon as I find..
 
Old 06-05-2016, 07:37 AM   #7
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
It is possible that I altered the steps order as I updated scripts later in the process
 
Old 06-05-2016, 09:27 AM   #8
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
I think you would have encountered the issue with openssh and you would have skipped that step mentioned in the documentation and would have proceeded without it. In the same step itself alongwith openssh was gobject-introspection which is responsible for maintaining those gir files which mate-polkit scripts is not able to find because much before building mate-polkit, polkit got built without gobject-introspection and hence no gir file. There are two ways this situation can be remedied:

1) Rebuild gobject-introspection and everything that is supposed to be built after that in the same order. This would ensure everything works well at the end
2) Build gobject-introspection and then rebuild polkit only and then continue with mate-polkit. This is less time consuming however there are chances that in future something else would fail building because that might have a dependency which would have generated .gir files which of course are not present because the package was built without gobject-introspection.

Oh I told all this without even confirming if you every got gobject-introspection installed. Check to see if you get any output for:

grep "gobject-introspection" /etc/alps/installed-list

If there is no output then install gobject-introspection and then proceed with the rest of the installation. Something somewhere else might again break. In that case like polkit was re-installed, we can go ahead and install that as well and then finish it.

As for the openssh issue is concerned, I guess the script failed and when you retried it would have failed again. The group which is getting created in the openssh script in the beginning is the cause of failure. So simply delete the group and retry:

sudo groupdel sshd
sudo userdel sshd

Now go ahead and try:

alps install usbutils pciutils openssh gobject-introspection

and then proceed with installation of mate.

P.S. In case you happen to do updatescripts, then please do the following so that you do not end up spending time building webkit which takes very long time:

sudo sed -i "s@#REQ:yelp@@g" /var/cache/alps/scripts/mate-desktop-environment.sh
 
Old 06-05-2016, 09:42 AM   #9
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
My bad I forgot to tell you how to reinstall polkit. Before you go about reinstalling polkit, you need to remove the polkit entry from /etc/alps/installed-list by doing:

sudo nano /etc/alps/installed-list

or

sudo vi /etc/alps/installed-list

and then removing the polkit line that would start with polkit=>

Then when you do alps install polkit it would be reinstalled. Same can be done for any other package if you want to reinstall it.
 
Old 06-05-2016, 10:56 AM   #10
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
Thank you for your support but this will need to be reinstalled all over again. Now it won't even login as my username

su: pam_start: error 26

when I tried to force install rebuild

alps forceinstall gobject-introspection

it comes with

sudo: unable to initialize PAM: No such file or directory
Error occured in execution of /var/cache/alps/scripts/libffi.sh
Aborting

so this was just waste
 
Old 06-05-2016, 11:01 AM   #11
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Dont do forceinstall. Simply remove the entry from /etc/alps/installed-list and then

alps install gobject-introspection
 
Old 06-07-2016, 07:54 AM   #12
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
I have formatted disk and done all over again. Still there is problem with openssh.sh

cd $SOURCE_DIR
rm -rf blfs-systemd-units-20150310
--2016-06-07 14:45:12-- http://www.linuxfromscratch.org/blfs...150310.tar.bz2
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-07 14:45:13 ERROR 404: Not Found.

tar: This does not look like a tar archive

bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Child returned status 2
tar: Error is not recoverable: exiting now
./rootscript.sh: line 4: cd: /var/cache/alps/sources/blfs-systemd-units-20150310: No such file or directory
make: *** No rule to make target 'install-sshd'. Stop.
systemctl stop sshd &&
systemctl disable sshd &&
systemctl enable sshd.socket &&
systemctl start sshd.socket

Running in chroot, ignoring request.
Operation failed: No such file or directory
Error occured in execution of /var/cache/alps/scripts/openssh.sh
Aborting
 
Old 06-07-2016, 08:11 AM   #13
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
The BLFS systemd units tarball was actually removed by BLFS people online. That is why this error is coming. I uploaded my copy online. Please do the following and continue:

alps src aryalinux.org/releases/2016.04/blfs-systemd-units-20150310.tar.bz2
sudo userdel -r sshd

Then go ahead and continue with the rest of the commands..
 
Old 06-07-2016, 08:22 AM   #14
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Please make sure you install gobject-introspection before starting X Server installation as per the online documentation. In the mate installation documentation, this is the command. It should be done before X-Server installation:

alps install usbutils pciutils openssh gobject-introspection

Last edited by chandrakant; 06-07-2016 at 08:24 AM.
 
Old 06-07-2016, 08:38 AM   #15
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
I updated all the scripts to reflect this change of URL. So that you can simply do:

sudo alps updatescripts

and it should work fine from here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with polkit consolekit and no shutdown button z3nith Gentoo 2 09-26-2015 11:59 AM
gksu-polkit syntax problem Linux.tar.gz Linux - Software 1 10-14-2013 07:07 PM
LXer: Those Polkit/PolicyKit XML files a pain to view? Polkit Explorer now avaiable... LXer Syndicated Linux News 0 03-31-2013 03:42 PM
PolicyKit / polkit in openSUSE : problem with configuration files rrije Linux - Software 5 04-23-2011 09:33 PM
LXer: KDE extends Polkit support to polkit-1 LXer Syndicated Linux News 0 12-26-2009 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration