Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacstall can't be run as root #17

Open
adamlove86 opened this issue Aug 18, 2022 · 2 comments
Open

pacstall can't be run as root #17

adamlove86 opened this issue Aug 18, 2022 · 2 comments

Comments

@adamlove86
Copy link

adamlove86 commented Aug 18, 2022

Ubuntu instructions:
sudo pacstall -I viper4linux
[!] ERROR: Pacstall can't be run as root. Please run as a normal user.

When I run as normal user, I get error that it can't enter directory.
Odd, and probably a simple fix!

adam@adam-computer:~$ sudo pacstall -I viper4linux
[!] ERROR: Pacstall can't be run as root. Please run as a normal user.
adam@adam-computer:~$ pacstall -I viper4linux
Do you want to view/edit the pacscript [y/N] n
[+] INFO: Sourcing pacscript
[*] WARNING: Package does not have a maintainer
[*] WARNING: It maybe no longer maintained. Please be advised.
[+] INFO: Creating dummy package
[+] INFO: Installing dependencies
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'viper4linux' instead of '/tmp/pacstall/viper4linux-pacstall.deb'
The following NEW packages will be installed:
  viper4linux
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1306 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /tmp/pacstall/viper4linux-pacstall.deb viper4linux all 2.0-1 [1306 B]
Selecting previously unselected package viper4linux.
(Reading database ... 608438 files and directories currently installed.)
Preparing to unpack .../viper4linux-pacstall.deb ...
Unpacking viper4linux (2.0-1) ...
Setting up viper4linux (2.0-1) ...
[+] INFO: Retrieving packages
Initializing download: https://github.com/SamarthH/Viper4LinuxForPacstall/releases/download/v1.0/Viper4LinuxForPacstall.zip
File size: 1.0657 Megabyte(s) (1117470 bytes)
Opening output file Viper4LinuxForPacstall.zip
Starting download

Connection 2 finished
Connection 3 finished
Connection 1 finished
Connection 1 finished
Connection 0 finished
Connection 2 finished
Connection 3 finished
[100%] [......................................................................................] [ 638.5KB/s] [00:00]

Downloaded 1.0657 Megabyte(s) in 1 second(s). (638.50 KB/s)
[*] WARNING: Could not enter into the downloaded archive
[+] INFO: Preparing
[+] INFO: Building
CMake Error: Unknown argument -j12
CMake Error: Run 'cmake --help' for all supported options.
[!] ERROR: Could not build viper4linux properly
[+] INFO: Cleaning up

@smonist
Copy link

smonist commented Aug 30, 2022

i ran into the same error and ended up just building viper from source. worked fine for me. pacstall is saying that the package is orphaned btw: https://pacstall.dev/packages/viper4linux

@sbeygi
Copy link

sbeygi commented Jul 4, 2023

Use the original pacstall repository.

https://github.com/pacstall/pacstall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants