You are not logged in.

#1 2014-10-30 20:40:30

elskankinloco
Member
From: Davis, CA
Registered: 2014-10-30
Posts: 5

[Solved] Yaourt unable to edit PKGBUILDs

Whenever I try to edit a PKGBUILD while installing a package in yaourt, I get a blank terminal with a blinking cursor.
I have made sure that I have it set to edit in nano and even tried to use vim and gedit but no luck. It doesn't matter what package it is, It does the same thing.

balnk1 bbcode test

Thanks for your help!

Last edited by elskankinloco (2014-10-30 22:14:12)

Offline

#2 2014-10-30 20:41:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Yaourt unable to edit PKGBUILDs

Please paste your yaourt conf.

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-10-30 21:07:15

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,650
Website

Re: [Solved] Yaourt unable to edit PKGBUILDs

Yaourt isn't a text editor..


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2014-10-30 21:10:29

elskankinloco
Member
From: Davis, CA
Registered: 2014-10-30
Posts: 5

Re: [Solved] Yaourt unable to edit PKGBUILDs

#   yaourtrc  - Configuration for yaourt
#   See yaourtrc(5) for more information

# General
EDITOR="$EDITOR"

# AUR
AURCOMMENT=0

# Build
#EXPORT=0           # Export to PKGDEST
#PKGDEST=""

# Prompt
UP_NOCONFIRM=0     # No prompt while build upgrades (including -Sbu)
BUILD_NOCONFIRM=0  # Only prompt for editing files
PU_NOCONFIRM=0     # Add --noconfirm to $PACMAN -U
#EDITFILES=1
NOENTER=1

I didn't think of editing this file.
I changed the Editor to be "nano" but I still had the problem.  So then I tried it to be "vim" and it worked.
Am I missing something for nano to work?
Thanks for your help. I really appreciate it.

Offline

#5 2014-10-30 21:10:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Yaourt unable to edit PKGBUILDs

WorMzy wrote:

Yaourt isn't a text editor..

yaourt asks you if you want to view and edit PKGBUILDs before using makepkg on them.

Offline

#6 2014-10-30 21:11:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Yaourt unable to edit PKGBUILDs

elskankinloco wrote:

Am I missing something for nano to work?

Do you have nano installed?

Offline

#7 2014-10-30 21:14:02

elskankinloco
Member
From: Davis, CA
Registered: 2014-10-30
Posts: 5

Re: [Solved] Yaourt unable to edit PKGBUILDs

karol wrote:
elskankinloco wrote:

Am I missing something for nano to work?

Do you have nano installed?

Yup, I have nano installed. I use it to edit files in terminal and it works fine.

Offline

#8 2014-10-30 21:16:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Yaourt unable to edit PKGBUILDs

elskankinloco wrote:

I changed the Editor to be "nano" but I still had the problem.  So then I tried it to be "vim" and it worked.

And so, it begins, grasshopper...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-10-30 21:17:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Yaourt unable to edit PKGBUILDs

I have

EDITOR=nano

in /etc/yaourtrc and it works.

Offline

#10 2014-10-30 21:40:38

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: [Solved] Yaourt unable to edit PKGBUILDs

karol wrote:
elskankinloco wrote:

Am I missing something for nano to work?

Do you have nano installed?

nano sometimes fail trying opening PKGBUILD even outside yaourt or another build environment.
I recommend zile if you want something emacs-alike and as far here zile never fail.


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#11 2014-10-30 22:11:28

elskankinloco
Member
From: Davis, CA
Registered: 2014-10-30
Posts: 5

Re: [Solved] Yaourt unable to edit PKGBUILDs

Jristz wrote:
karol wrote:
elskankinloco wrote:

Am I missing something for nano to work?

Do you have nano installed?

nano sometimes fail trying opening PKGBUILD even outside yaourt or another build environment.
I recommend zile if you want something emacs-alike and as far here zile never fail.

Thanks Jristz, I installed zile and it works great!

Offline

#12 2014-10-30 22:13:41

elskankinloco
Member
From: Davis, CA
Registered: 2014-10-30
Posts: 5

Re: [Solved] Yaourt unable to edit PKGBUILDs

Thanks everyone for your help. I am able to edit PKGBUILDs now.

Offline

Board footer

Powered by FluxBB