pacstall / pacstall-programs

Pacstall's official program repository
https://pacstall.dev/packages
MIT License
176 stars 138 forks source link

GNU Nano fails to install #671

Closed cat-master21 closed 2 years ago

cat-master21 commented 2 years ago

Describe the bug Nano Installs an additional APT package which do not exist. This package 'auto' is not in PKGBUILD oddly also.

To Reproduce Steps to reproduce the behavior:

  1. Install Pacstall
  2. Install Nano by: pacstall -I nano
  3. Notice that installation fails because of trying to install package auto which does not exist.

Expected behavior Nano fails to install because of nonexistent package.

Screenshots Screenshot from 2022-01-25 19-44-17

Desktop (please complete the following information):

wizard-28 commented 2 years ago

I can't reproduce this on my Pop!_OS machine, it only asks to install groff & texinfo here. failed_reproduction_image

@Henryws, can you test this in a docker container of Ubuntu 20.04 LTS.

cat-master21 commented 2 years ago

Tried this on Debian Sid in a VM and it to had this issue: Screenshot

Elsie19 commented 2 years ago

Can you view the pacscript during install?

cat-master21 commented 2 years ago

Here's what nano's PKGBUILD looks like from vim tiny: Screenshot from 2022-01-26 15-38-23 And as you can see auto is not in the depends either oddly.

Elsie19 commented 2 years ago

I'm unable to produce this. Hmm

What version is your install of Pacstall?

D-Brox commented 2 years ago

image It's this substititution's fault

Elsie19 commented 2 years ago

Why is this an issue on @cat-master21's machine but no one elses?

D-Brox commented 2 years ago

automake is not installed but make is

Elsie19 commented 2 years ago

Welp, schedule it for 2.0.0

D-Brox commented 2 years ago

There is an easy fix on the pacscript tho, put make before automake on build_depends, since it replaces first match only

D-Brox commented 2 years ago

This behavior will not be present in v2.0

cat-master21 commented 2 years ago

Yes, manually installing Automake fixed this issue fortunately for me.