Меню

Ошибка файл pkgbuild не существует

How I solved it


The problem is that when downloading PKGBUILD, the browser added an unwanted extension to the file which turned out to be PKGBUILD becoming PKGBUILD.asc, the solution is to simply remove the file extension i.e. rename PKGBUILD.asc as PKGBUILD, you may have another extension that does not matter, the important thing is to remove it.

For More Information


makepkg is a script that automates the building of packages Arch. When you use it without telling it which file to build, you are essentially telling it do nothing, which leaves you with the error you see here.

This error explains it is trying to call PKGBUILD which is a package build description file that needs to be made before the package is built by makepkg. When you used the -p flag you are telling makepkg to instead build the package using buildscript in place of PKGBUILD

I highly suggest reading the man page for makepkg by running man makepkg so that you can learn more about this tool for future use. I will link it here for you as well https://www.archlinux.org/pacman/makepkg.8.html

How I solved it


The problem is that when downloading PKGBUILD, the browser added an unwanted extension to the file which turned out to be PKGBUILD becoming PKGBUILD.asc, the solution is to simply remove the file extension i.e. rename PKGBUILD.asc as PKGBUILD, you may have another extension that does not matter, the important thing is to remove it.

For More Information


makepkg is a script that automates the building of packages Arch. When you use it without telling it which file to build, you are essentially telling it do nothing, which leaves you with the error you see here.

This error explains it is trying to call PKGBUILD which is a package build description file that needs to be made before the package is built by makepkg. When you used the -p flag you are telling makepkg to instead build the package using buildscript in place of PKGBUILD

I highly suggest reading the man page for makepkg by running man makepkg so that you can learn more about this tool for future use. I will link it here for you as well https://www.archlinux.org/pacman/makepkg.8.html

So I recently installed Arch Linux on new(er) hardware (Intel Pentium E5300, Gateway BIOS Motherboard, GPT harddrive, 64-bit, 8GB RAM/4GB swap), and previously, using the same (now wiped) HDD on a Pentium 4 64-bit Architecture with an HP BIOS motherboard with a meager 512MB RAM, I had no problem installing packer (in turn used to install yaourt) via the aur.sh bash script. I’ve set up the BIOS to load a new installation of GRUB/Arch Linux on a separate (non-RAID) HDD (/dev/sdb) from my Windows drive (/dev/sda). This is my second install attempt on this machine, and it simply doesn’t want to create packages from AUR for me.

This is the specific error it’s spitting at me after running the command bash <(curl aur.sh) -si packer as a regular user :

gzip: stdin: not in gzip format
tar: Child Returned Status 1
tar: Error is not recoverable: exiting now
/proc/self/fd/11: line 7: cd: packer: No such file or directory
==> ERROR: PKGBUILD does not exist.

It might be worth noting that I changed my shell to zsh w/grml, but it should still run that command through bash. I’ve screwed around with makepkg.conf after the fact, and it’s still spitting this hair-pulling error at me — not just with the deprecated packer, but with any AUR package. Can somebody please tell me what’s going on, and how I can get packages to compile on my system?

Last edited by RJ_The_Edgelord (2015-08-19 13:02:39)

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка файла на видеорегистраторе причина
  • Ошибка файл itunes library itl невозможно прочитать так как он был создан