pacstall / pacup

Help maintainers update pacscripts (next-gen Perl rewrite)
GNU General Public License v3.0
5 stars 2 forks source link

Some errors in the output #9

Closed Zahrun closed 4 months ago

Zahrun commented 4 months ago

Describe the bug

Some errors in the output:

tee: /usr/src/pacstall//DEBIAN/control: No such file or directory
/usr/share/pacstall/scripts/build-local.sh: line 281: pushd: DEBIAN: No such file or directory
[!] ERROR: Could not create package
tee: /var/lib/pacstall/metadata/: Is a directory
cp: cannot stat '/tmp/ferdium-deb.pacscript': No such file or directory

To reproduce

pacup -s ferdium-deb/ferdium-deb.pacscript -c 6.7.3

Expected behavior

No errors

Screenshots

 pacup -s ferdium-deb/ferdium-deb.pacscript -c 6.7.3
[+] INFO: Parsing .SRCINFO for ferdium-deb.pacscript
    [>] Found pkgname: ferdium-deb
    [>] Found pkgver: 6.7.2
    [>] Found maintainer: Zahrun <Zahrun@github.com>
    [>] Current: 6.7.2 ~> Latest: 6.7.3
Proceed with updating ferdium-deb to 6.7.3? [Y/n] 
    [>] Found source https://github.com/ferdium/ferdium-app/releases/download/v6.7.3/Ferdium-linux-6.7.3-amd64.deb
[+] INFO: Fetching sources for ferdium-deb
[+] INFO: Downloading Ferdium-linux-6.7.3-amd64.deb
100% [===========================================================================================]D 0h00m17s    [>] Calculating sha256sum for source entry
[+] INFO: updating ferdium-deb.pacscript
[+] INFO: Installing from ferdium-deb.pacscript
(ferdium-deb) Do you want to view/edit the pacscript? [y/N] 
[+] INFO: Sourcing pacscript
[+] INFO: Retrieving packages
[+] INFO: Copying local archive Ferdium-linux-6.7.3-amd64.deb
    [>] Checking hash 4397d431[...]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ferdium' instead of './Ferdium-linux-6.7.3-amd64.deb'
ferdium is already the newest version (6.7.3).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[+] INFO: Performing post install operations
    [>] Storing pacscript
    [>] Cleaning up
[+] INFO: Done installing ferdium-deb
[+] INFO: Packaging 
tee: /usr/src/pacstall//DEBIAN/control: No such file or directory
tee: /usr/src/pacstall//DEBIAN/control: No such file or directory
tee: /usr/src/pacstall//DEBIAN/control: No such file or directory
tee: /usr/src/pacstall//DEBIAN/control: No such file or directory
tee: /usr/src/pacstall//DEBIAN/control: No such file or directory
tee: /usr/src/pacstall//DEBIAN/control: No such file or directory
tee: /usr/src/pacstall//DEBIAN/control: No such file or directory
tee: /usr/src/pacstall//DEBIAN/postrm: No such file or directory
tee: /usr/src/pacstall//DEBIAN/control: No such file or directory
tee: /usr/src/pacstall//DEBIAN/changelog: No such file or directory
/usr/share/pacstall/scripts/build-local.sh: line 281: pushd: DEBIAN: No such file or directory
[!] ERROR: Could not create package
[+] INFO: Cleaning up
tee: /var/lib/pacstall/metadata/: Is a directory
[+] INFO: Performing post install operations
    [>] Storing pacscript
cp: cannot stat '/tmp/ferdium-deb.pacscript': No such file or directory
    [>] Cleaning up
[+] INFO: Done installing ferdium-deb
vigress8 commented 4 months ago

Seems to be another known pacstall issue that I can't do much about.

Elsie19 commented 3 months ago

In the past, what's worked is trying to run it twice. I don't know nor have I ever figured out this bug; it comes up maybe once every 3 months and goes away 🤷🏻

vigress8 commented 3 months ago

pacstall/pacstall#1112 should fix this