notroot icon indicating copy to clipboard operation
notroot copied to clipboard

More packages support?

Open Robin-Sch opened this issue 3 years ago • 4 comments

As stated in https://github.com/Gregwar/notroot/#support, this script is designed only to install libraries and binaries. But it would be nice if you could somehow install more things, like a complete desktop environment. Have you planned that this will ever be added, or did you just discontinued this project?

Like:

$ notroot install xfce4
[NOTROOT] Installing xfce4 from apt...
[NOTROOT] Scanning dependencies with apt-rdepends...
Can't locate AptPkg/Config.pm in @INC (you may need to install the AptPkg::Config module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/aarch64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/aarch64-linux-gnu/perl-base) at /home/user/notroot/usr/bin/apt-rdepends line 108.
BEGIN failed--compilation aborted at /home/user/notroot/usr/bin/apt-rdepends line 108.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 xfce4 all 4.14 [4980 B]
Fetched 4980 B in 0s (22.7 kB/s)

$ startxfce4
bash: startxfce4: command not found

Edit: I seem to get that error on all packages, but some of them do work after installating tho:

$ notroot install neofetch
[NOTROOT] Installing neofetch from apt...
[NOTROOT] Scanning dependencies with apt-rdepends...
Can't locate AptPkg/Config.pm in @INC (you may need to install the AptPkg::Config module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/aarch64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/aarch64-linux-gnu/perl-base) at /home/user/notroot/usr/bin/apt-rdepends line 108.
BEGIN failed--compilation aborted at /home/user/notroot/usr/bin/apt-rdepends line 108.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 neofetch all 7.0.0-1 [77.5 kB]
Fetched 77.5 kB in 0s (173 kB/s) 

$ neofetch
# works and shows the output

Robin-Sch avatar Aug 31 '21 15:08 Robin-Sch

Hello,

This project was mostly a hack to be able to install some tools on computers where you are not root (mostly students using school's IT) I don't intend to work actively on it soon, but do not hesitate to make PR if you improve it

Gregwar avatar Aug 31 '21 15:08 Gregwar

Thanks for the quick response,

I'll try and see what I can do, but don't expect a lot from me. If I find anything which can be made better / improved I'll make a PR for sure.

Do you know what is the problem with the error above, seems like I need to install the AptPkg::Config module, but when running cpan install AptPkg::Config it can't find it, and cpan install AptPkg fails too.

$ cpan install AptPkg
<..>
Running make for A/AK/AKZHAN/Test-Spec-0.54.tar.gz
Warning: Prerequisite 'Devel::GlobalPhase => 0' for 'AKZHAN/Test-Spec-0.54.tar.gz' failed when processing 'HAARG/Devel-GlobalPhase-0.003003.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Package::Stash => 0.23' for 'AKZHAN/Test-Spec-0.54.tar.gz' failed when processing 'ETHER/Package-Stash-0.39.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Test::Deep => 0.103' for 'AKZHAN/Test-Spec-0.54.tar.gz' failed when processing 'RJBS/Test-Deep-1.130.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Test::Trap => 0' for 'AKZHAN/Test-Spec-0.54.tar.gz' failed when processing 'EBHANSSEN/Test-Trap-v0.3.4.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Tie::IxHash => 0' for 'AKZHAN/Test-Spec-0.54.tar.gz' failed when processing 'CHORNY/Tie-IxHash-1.23.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
<...>
Running make for N/NO/NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz
Warning: Prerequisite 'Compress::Raw::Lzma => 0' for 'NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz' failed when processing 'PMQS/Compress-Raw-Lzma-2.101.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Const::Fast => 0' for 'NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz' failed when processing 'LEONT/Const-Fast-0.014.tar.gz' with 'writemakefile => NO '/usr/bin/perl Build.PL --installdirs site' returned status 512'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Crypt::OpenSSL::RSA => 0' for 'NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz' failed when processing 'TODDR/Crypt-OpenSSL-RSA-0.31.tar.gz' with 'writemakefile => NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Crypt::Rijndael => 0' for 'NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz' failed when processing 'LEONT/Crypt-Rijndael-1.16.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Net::SFTP::Foreign => 0' for 'NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz' failed when processing 'SALVA/Net-SFTP-Foreign-1.93.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Test::Spec => 0' for 'NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz' failed when processing 'AKZHAN/Test-Spec-0.54.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Text::Glob => 0' for 'NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz' failed when processing 'RCLAMP/Text-Glob-0.11.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Try::Tiny => 0' for 'NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz' failed when processing 'ETHER/Try-Tiny-0.30.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
  NOVOZHILV/App-SimpleBackuper-0.2.22.tar.gz
  make -- NOT OK
  No such file or directory

And more of that exact same error, but then with different modules.

Robin-Sch avatar Aug 31 '21 16:08 Robin-Sch

Do you have make and build-essential packages ?

Gregwar avatar Aug 31 '21 16:08 Gregwar

yep that fixed the error, now it's complaining about missing libraries tho (when installing for example firefox). And if I run the install command twice, it doesn't detect that it already has been installed, and does it again).

Robin-Sch avatar Aug 31 '21 18:08 Robin-Sch