You are not logged in.

#151 2018-02-28 15:25:42

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur

That sounds like an issue with git, not sure where it originates from. Can you try removing and cloning that directory again?


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#152 2018-02-28 18:25:15

effeeffe
Member
Registered: 2017-10-18
Posts: 15

Re: aurutils - helper tools for the aur

Alad wrote:

That sounds like an issue with git, not sure where it originates from. Can you try removing and cloning that directory again?

If you mean uninstall the package and try again, nothing happens.
If you mean manually clone the repo and install, it works, but aursync still fails after that.
Otherwise, which directory are you talking about exactly? Sorry I always used aursync pretty "black-box", don't know much about the inner workings...

Thank you.

Offline

#153 2018-02-28 18:39:03

progandy
Member
Registered: 2012-05-17
Posts: 4,629

Re: aurutils - helper tools for the aur

effeeffe wrote:

Otherwise, which directory are you talking about exactly? Sorry I always used aursync pretty "black-box", don't know much about the inner workings...

He means the git clone created by aursync, most likely it would be ~/.cache/aursync/spotify

man aursync wrote:

       AURDEST
              Determines     where     build     files    will    be    cloned    (default:
              $XDG_CACHE_HOME/aursync). This must be an absolute path.

Edit: Maybe an option for aursync that removes the git clone for a package might be useful, or a way to list the used paths like "pacconf --options"

Last edited by progandy (2018-02-28 18:45:55)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#154 2018-03-01 09:50:54

effeeffe
Member
Registered: 2017-10-18
Posts: 15

Re: aurutils - helper tools for the aur

progandy wrote:
effeeffe wrote:

Otherwise, which directory are you talking about exactly? Sorry I always used aursync pretty "black-box", don't know much about the inner workings...

He means the git clone created by aursync, most likely it would be ~/.cache/aursync/spotify

man aursync wrote:

       AURDEST
              Determines     where     build     files    will    be    cloned    (default:
              $XDG_CACHE_HOME/aursync). This must be an absolute path.

Edit: Maybe an option for aursync that removes the git clone for a package might be useful, or a way to list the used paths like "pacconf --options"

That solved the problem, thanks to both of you.

Offline

#155 2018-03-01 23:28:13

carlitos
Member
Registered: 2016-01-20
Posts: 16

Re: aurutils - helper tools for the aur

Hi guys,

I recently keep getting err message ' Could not execute user command: exit: No such file or directory ' when running aur sync -u. I am on latest git. Why am I getting this? According to man errno it is exit status 2. I searched for exit status 2 thoroughly both in /usr/bin/aur and /usr/lib/aurutils/aur-sync but the results made no sense for me, am still learning Linux... Command runs OK it's just bothering me.

Thanks


“We are what we repeatedly do. Excellence is not an act, but a habit.”

Offline

#156 2018-03-02 10:45:42

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur

Can you pinpoint this issue to a particular commit?

https://wiki.archlinux.org/index.php/Bisecting_bugs


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#157 2018-03-02 22:00:06

carlitos
Member
Registered: 2016-01-20
Posts: 16

Re: aurutils - helper tools for the aur

Alad wrote:

Can you pinpoint this issue to a particular commit?

https://wiki.archlinux.org/index.php/Bisecting_bugs

Sure, I will do it during this weekend, although I have not done bisecting before...
However on my other laptop I have exactly the same version of AURutils, same .zshrc and linux kernel and never seen any error messages.
Strange

Thanks

Edit:
OK, to keep this thread clean, just a short summary: the only difference between the 2 laptops was aria2 and using a basic conf file taken from ArchWiki " on-download-complete=exit " made those error messages. I am not aware of how and when aria2 comes in while running any aurutils command, but should not it be called with --no-conf and specify needed swithes if any in aurutils' scripts directly?

Sorry for the noise, aurutils rocks...

Thanks

Last edited by carlitos (2018-03-02 23:24:13)


“We are what we repeatedly do. Excellence is not an act, but a habit.”

Offline

#158 2018-03-03 21:49:59

Cody Learner
Banned
Registered: 2017-12-06
Posts: 54
Website

Re: aurutils - helper tools for the aur

Did I screw up configuration?  Duplicate pacman sync .db's.

Seems /var/cache/pacman/aur/ has only AUR packages, except for pacman db related stuff.
I have not noticed anything abnormal yet. Thinking this may create issues though: pacman -Syu -b /var/cache/pacman/aur/sync

However, during gathering info, I just noticed identical time stamps...

$ ls -l /var/lib/pacman/sync/ | grep .db
-rw-r--r-- 1 root root 246K Mar  3 08:21 aur.db
-rw-r--r-- 1 root root 4.2M Mar  3 08:57 community.db
-rw-r--r-- 1 root root 130K Mar  2 03:56 core.db
-rw-r--r-- 1 root root 1.6M Mar  3 02:51 extra.db
$ ls -l /var/cache/pacman/aur/sync
total 6.2M
-rw-r--r-- 1 root root 246K Mar  3 08:21 aur.db
-rw-r--r-- 1 root root 4.2M Mar  3 08:57 community.db
-rw-r--r-- 1 root root 130K Mar  2 03:56 core.db
-rw-r--r-- 1 root root 1.6M Mar  3 02:51 extra.db
$ cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg   =
#IgnoreGroup =

NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist


# Path to aurt.conf
Include = /etc/aurt.conf
$ cat /etc/aurt.conf
#
# /etc/aurt.conf
#
#
# [default options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
# RootDir     = /
# DBPath      = /var/lib/pacman/
# CacheDir    = /var/cache/pacman/pkg/
# LogFile     = /var/log/pacman.log
# GPGDir      = /etc/pacman.d/gnupg/
# HookDir     = /etc/pacman.d/hooks/
# HoldPkg     = pacman glibc
# XferCommand = /usr/bin/curl -C - -f %u > %o
# XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
# CleanMethod = KeepInstalled
# UseDelta    = 0.7

# Put custom config options below this line.

[options]
CacheDir    = /var/cache/pacman/aur
CleanMethod = KeepInstalled

[aur]
SigLevel = Optional TrustAll
Server = file:///var/cache/pacman/aur
$ pacman -Sl aur |awk '{print $2}'|tee >(wc -l)
acme-tiny
astyle-svn
aur-out-of-date
aurget
aurora
aurutils
aurvote-git
burgaur-git
cloc-svn
cower
dep
downgrade
downgrader
duff
enchant-pure
f
fetchpkg
firefox-nightly
gcc-gcj-ecj
geth-git
git-remote-hg
google-earth-pro
grive
hgsubversion-hg
hibiscus-nightly
idutils
jameica-nightly
josm-latest
json-sh
ld-lsb
libcurl-openssl-1.0
libmonero-wallet
menulibre
mime-editor
mimeo
modprobed-db
monero
monero-wallet-qt
neofetch
package-query
package-query-git
pacnews-neovim
pacvcs
pacvim-git
pdftk
pkgbrowser
pkgbuilder
plymouth
polkit-explorer
pvim
python3-aur
python3-memoizedb
python3-xcgf
python3-xcpf
raur-git
repoctl
ruby-neovim
ruby-redcarpet
rust-nightly-bin
surfraw-git
terminfo-neovim-tmux
trizen
tstat-svn
typescript-vim-git
urxvt-vim-insert
vi-vim-symlink
vim-ack
vim-apprentice
vim-assistant
vim-bash-support
vim-bitbake-git
vim-brainfuck
vim-buftabline-git
vim-buftabs
vim-codepad
vim-coffeescript-git
vim-command-t
vim-comments
vim-csv-git
vim-dein-git
vim-diffchar
vim-easytags
vim-endwise
vim-fluxkeys
vim-json-git
vim-markdown
vim-misc-xolox
vim-openscad
vim-pep8
vim-pkgbuild
vim-rest
vim-session
vim-tern
vim-vim-support
vim-vimproc-git
virtualbox-ext-oracle
wrapaur
you-get-git
98
$ ls /var/cache/pacman/aur/ |awk -F "-v[0-9]|-f[0-9]|-r[0-9]|-[0-9]" '{print $1}' |tee >(wc -l)
local
sync
acme-tiny
astyle-svn
aur.db
aur.db.tar
aur.files
aur.files.tar
aurget
aurora
aur-out-of-date
aurutils
aurvote-git
burgaur-git
cloc-svn
cower
dep
downgrade
downgrader
duff
enchant-pure
f
fetchpkg
firefox-nightly
gcc-gcj-ecj
geth-git
git-remote-hg
google-earth-pro
grive
hgsubversion-hg
hibiscus-nightly
idutils
jameica-nightly
josm-latest
json-sh
ld-lsb
libcurl-openssl
libmonero-wallet
menulibre
mime-editor
mimeo
modprobed-db
monero
monero-wallet-qt
neofetch
package-query
package-query-git
pacnews-neovim
pacvcs
pacvim-git
pdftk
pkgbrowser
pkgbuilder
plymouth
polkit-explorer
pvim
python3-aur
python3-memoizedb
python3-xcgf
python3-xcpf
raur-git
repoctl
ruby-neovim
ruby-redcarpet
rust-nightly-bin
surfraw-git
terminfo-neovim-tmux
trizen
tstat-svn
typescript-vim-git
urxvt-vim-insert
vim-ack
vim-apprentice
vim-assistant
vim-bash-support
vim-bitbake-git
vim-brainfuck
vim-buftabline-git
vim-buftabs
vim-codepad
vim-coffeescript-git
vim-command-t
vim-comments
vim-csv-git
vim-dein-git
vim-diffchar
vim-easytags
vim-endwise
vim-fluxkeys
vim-json-git
vim-markdown
vim-misc-xolox
vim-openscad
vim-pep8
vim-pkgbuild
vim-rest
vim-session
vim-tern
vim-vimproc-git-ver.9.3.r6.2300224
vim-vim-support
virtualbox-ext-oracle
vi-vim-symlink
wrapaur
you-get-git
104
$ pacman -Qq | aursift 2>/dev/null |tee >(wc -l)
acme-tiny
astyle-svn
aur-out-of-date
aurget
aurora
aurutils
aurvote-git
burgaur-git
cloc-svn
cower
dep
downgrade
downgrader
duff
f
fetchpkg
firefox-nightly
gcc-gcj-ecj
gedit2
geth-git
git-remote-hg
google-earth-pro
grive
grub-legacy
hgsubversion-hg
hibiscus-nightly
idutils
jameica-nightly
josm-latest
json-sh
ld-lsb
libcurl-openssl-1.0
libmonero-wallet
menulibre
mime-editor
mimeo
modprobed-db
monero
monero-wallet-qt
neofetch
package-query-git
pacnews-neovim
pacvcs
pacvim-git
pdftk
pkgbrowser
pkgbuilder
plymouth
polkit-explorer
pvim
python3-aur
python3-memoizedb
python3-xcgf
python3-xcpf
raur-git
repoctl
ruby-neovim
ruby-redcarpet
rust-nightly-bin
surfraw-git
terminfo-neovim-tmux
trizen
tstat-svn
ttf-ms-fonts
typescript-vim-git
urxvt-vim-insert
vi-vim-symlink
vim-ack
vim-apprentice
vim-assistant
vim-bash-support
vim-bitbake-git
vim-brainfuck
vim-buftabline-git
vim-buftabs
vim-codepad
vim-coffeescript-git
vim-command-t
vim-comments
vim-csv-git
vim-dein-git
vim-diffchar
vim-easytags
vim-endwise
vim-fluxkeys
vim-json-git
vim-markdown
vim-misc-xolox
vim-openscad
vim-pep8
vim-pkgbuild
vim-rest
vim-session
vim-tern
vim-vim-support
vim-vimproc-git
virtualbox-ext-oracle
wrapaur
you-get-git
99
$ pacman -Qmq
gedit2
grub-legacy
ttf-ms-fonts
$ sudo pacman -Syu
[sudo] password for cody: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                                     4.2 MiB  1481K/s 00:03 [##################################################] 100%
 aur is up to date
:: Starting full system upgrade...
warning: firefox-nightly: local (60.0a1.20180302-1) is newer than aur (60.0a1.20180228-1)
warning: geth-git: local (1.8.1.r102.gfa375955a-1) is newer than aur (1.8.1.r91.g9b4e182ce-1)
warning: you-get-git: local (0.4.1040.20180301.1892-1) is newer than aur (0.4.1025.20180228.1891-1)
 there is nothing to do

After the pacman -Syu above:

$ ls -l /var/lib/pacman/sync/ | awk /db/
-rw-r--r-- 1 root root 246K Mar  3 08:21 aur.db
-rw-r--r-- 1 root root 4.2M Mar  3 11:29 community.db
-rw-r--r-- 1 root root 130K Mar  2 03:56 core.db
-rw-r--r-- 1 root root 1.6M Mar  3 02:51 extra.db
$ ls -l /var/cache/pacman/aur/sync
total 6.2M
-rw-r--r-- 1 root root 246K Mar  3 08:21 aur.db
-rw-r--r-- 1 root root 4.2M Mar  3 08:57 community.db
-rw-r--r-- 1 root root 130K Mar  2 03:56 core.db
-rw-r--r-- 1 root root 1.6M Mar  3 02:51 extra.db

Last edited by Cody Learner (2018-03-03 21:51:55)


Self designated Linux and Bash mechanic.....
I fix and build stuff hands on. I'm not opposed to creating a mess in obtaining a goal.

Offline

#159 2018-03-03 22:58:29

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur

Cody Learner wrote:

Did I screw up configuration?  Duplicate pacman sync .db's.

Looks fine to me, I guess you just used pacman -b at some point? Note how on your last -Syu community.db was only updated in /var/lib/pacman/sync.

Note rather than paste pacman configuration it's more effective to paste the output from "pacconf" - then you know exactly how pacman sees things.

carlitos wrote:

Edit:
OK, to keep this thread clean, just a short summary: the only difference between the 2 laptops was aria2 and using a basic conf file taken from ArchWiki " on-download-complete=exit " made those error messages. I am not aware of how and when aria2 comes in while running any aurutils command, but should not it be called with --no-conf and specify needed swithes if any in aurutils' scripts directly?

See https://github.com/AladW/aurutils/issues/318

Last edited by Alad (2018-03-03 22:59:33)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#160 2018-03-06 21:25:22

carlitos
Member
Registered: 2016-01-20
Posts: 16

Re: aurutils - helper tools for the aur

Alad wrote:
carlitos wrote:

Edit:
OK, to keep this thread clean, just a short summary: the only difference between the 2 laptops was aria2 and using a basic conf file taken from ArchWiki " on-download-complete=exit " made those error messages. I am not aware of how and when aria2 comes in while running any aurutils command, but should not it be called with --no-conf and specify needed swithes if any in aurutils' scripts directly?

See https://github.com/AladW/aurutils/issues/318

I' m glad I could contribute somehow to this awesome project.


“We are what we repeatedly do. Excellence is not an act, but a habit.”

Offline

#161 2018-03-15 20:54:43

SolarAquarion
Member
Registered: 2014-05-18
Posts: 92

Re: aurutils - helper tools for the aur

find: ‘/home/solaraquarion/.cache/aurutils/sync/llvm-svn/pkg’: Permission denied
aur sync -c lib32-llvm-svn  14103.25s user 1175.57s system 98% cpu 4:19:09.07 total

as the build to llvm-svn was about to end the syncing of the $pkgdir couldn't be done or whatever

Offline

#162 2018-03-18 16:43:20

philo
Member
Registered: 2015-01-26
Posts: 161

Re: aurutils - helper tools for the aur

Should the line(s) to ad at the end of /etc/pacman.conf be:

[custom]
Include = /etc/pacman.d/custom

or this will suffice:

Include = /etc/pacman.d/custom

Last edited by philo (2018-03-19 12:56:09)

Offline

#163 2018-03-23 20:23:42

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur

SolarAquarion wrote:

find: ‘/home/solaraquarion/.cache/aurutils/sync/llvm-svn/pkg’: Permission denied
aur sync -c lib32-llvm-svn  14103.25s user 1175.57s system 98% cpu 4:19:09.07 total

as the build to llvm-svn was about to end the syncing of the $pkgdir couldn't be done or whatever

https://github.com/AladW/aurutils/commi … fb4354dc5e
https://github.com/AladW/aurutils/commi … 635bfdd305

The built package should still be in the repository, just not added to the db. You can do so manually with repo-add.

philo wrote:

Should the line(s) to ad at the end of /etc/pacman.conf be:

[custom]
Include = /etc/pacman.d/custom

or this will suffice:

Include = /etc/pacman.d/custom

Shouldn't matter as long as both the repo name and Server are defined. In doubt, run pacconf to check the configuration visible to pacman.

Last edited by Alad (2018-03-23 20:25:31)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#164 2018-03-26 09:21:58

effeeffe
Member
Registered: 2017-10-18
Posts: 15

Re: aurutils - helper tools for the aur

effeeffe wrote:

Hi, I have a problem with updating the spotify package (though it worked in the past). From today I get the following message:

$ aursync -u
  -> Using [aur] repository
==> Resolving dependencies...
  -> spotify 1.0.70.399-1 -> 1.0.72.117-1
==> Retrieving build files...
From https://aur.archlinux.org/spotify
 = [up to date]      master     -> origin/master
fatal: couldn't read spotify/.git/packed-refs: Not a directory

Other packages update fine. I don't really use any "advanced" feature of aurutils, and IIRC I followed the instructions after installing aurutils.
Did I mess up? Is it a problem with aurutils or with the package?

This came up again, same problem. Rather than deleting the repo and clone again, this time I manually pulled and it worked, so I guess that aursync does something more than that. What is it? If I know it I may be able to reproduce the issue with git alone. Thanks.
(or maybe it's just some problem with my settings since I don't see anyone else reporting it on the AUR package page...)

Offline

#165 2018-03-26 19:54:35

SolarAquarion
Member
Registered: 2014-05-18
Posts: 92

Re: aurutils - helper tools for the aur

Alad wrote:
SolarAquarion wrote:

find: ‘/home/solaraquarion/.cache/aurutils/sync/llvm-svn/pkg’: Permission denied
aur sync -c lib32-llvm-svn  14103.25s user 1175.57s system 98% cpu 4:19:09.07 total

as the build to llvm-svn was about to end the syncing of the $pkgdir couldn't be done or whatever

https://github.com/AladW/aurutils/commi … fb4354dc5e
https://github.com/AladW/aurutils/commi … 635bfdd305

The built package should still be in the repository, just not added to the db. You can do so manually with repo-add.

philo wrote:

Should the line(s) to ad at the end of /etc/pacman.conf be:

[custom]
Include = /etc/pacman.d/custom

or this will suffice:

Include = /etc/pacman.d/custom

Shouldn't matter as long as both the repo name and Server are defined. In doubt, run pacconf to check the configuration visible to pacman.

I couldn't even find the built package.  But thanks, this should fix it

Offline

#166 2018-03-26 22:03:08

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur

This came up again, same problem. Rather than deleting the repo and clone again, this time I manually pulled and it worked, so I guess that aursync does something more than that. What is it? If I know it I may be able to reproduce the issue with git alone. Thanks.
(or maybe it's just some problem with my settings since I don't see anyone else reporting it on the AUR package page...)

Should be fixed by: https://github.com/AladW/aurutils/pull/342

I'll probably backport it to 1.5.3, but no ETA on that.

Last edited by Alad (2018-03-26 22:03:17)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#167 2018-03-26 23:28:48

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur

progandy wrote:

The problem with gdm-plymouth is the package order after filtering for pkgbase. libgdm-plymouth is a split package from gdm_plymouth, but it doesn't depend on plymouth and is listed before plymouth. The split package is now inserted in its place and the second occurence of gdm_plymouth is removed.

This is with a fresh install of aursync 1.5.3-2, empty local repository, nothing plymouth related installed at all.

Finally looked into this and it was a 1-line patch:

https://paste.xinu.at/JMVO/


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#168 2018-04-02 07:28:45

gaabster
Member
Registered: 2017-09-28
Posts: 12

Re: aurutils - helper tools for the aur

Hi.

First I want to say Thank You for this great set of tools.

I dont use them a lot and it's been a while since the last time and I have a few questions.

This is probably just me forgetting things but when I do

aursync foo

do I have to write full path to the package to install it?

sudo pacman -U /var/cache/pacman/custom/foo

I was thinking that the name should be enough.
I think I have to add that

pacman -Ss foo

finds the package.

And also

repo-remove /var/cache/pacman/custom/custom.db.tar foo
==> Extracting database to a temporary location...
bsdtar: Removing leading '/' from member names
==> ERROR: Repository file '/var/cache/pacman/custom//custom.files.tar' is not a proper pacman database.

Again this is probably me forgetting stuff and doing something wrong but I would appreciate some help.

Oh and my pacmnan.conf

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
CacheDir     = /var/cache/pacman/pkg
CacheDir     = /var/cache/pacman/custom
CleanMethod  = KeepCurrent
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist


[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
[custom]
SigLevel = Optional TrustAll
Server = file:///var/cache/pacman/custom
Include = /etc/pacman.d/custom

Last edited by gaabster (2018-04-02 07:44:28)

Offline

#169 2018-04-02 13:43:39

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur

do I have to write full path to the package to install it?

pacman -S foo

==> ERROR: Repository file '/var/cache/pacman/custom//custom.files.tar' is not a proper pacman database.

repose and repo-add are not compatible, use one exclusively

Last edited by Alad (2018-04-02 13:44:27)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#170 2018-04-02 14:54:49

gaabster
Member
Registered: 2017-09-28
Posts: 12

Re: aurutils - helper tools for the aur

Alad wrote:

do I have to write full path to the package to install it?

pacman -S foo

==> ERROR: Repository file '/var/cache/pacman/custom//custom.files.tar' is not a proper pacman database.

repose and repo-add are not compatible, use one exclusively

I feel so stupid, and I really am embarrassed now. I knew the solution was simple but for some reason my brain just stopped working.
Thank you again and have a good day.

Offline

#171 2018-04-20 02:50:27

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,292

Re: aurutils - helper tools for the aur

What's the 'right' way to do VCS packages in aurutils currently? I saw an open PR for a --devel switch, is this not really supported till that one lands?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#172 2018-04-20 09:13:04

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur

Assuming you use the git version you can do this:

# update pkgbuilds to latest git revision
# this sources each pkgbuild so make sure you've viewed it before
aur srcver ~/.cache/aurutils/sync/*-git
# disable version checks in aursync
# aurbuild will skip packages with old revisions anyway
aur sync --nover -u

Last edited by Alad (2018-04-20 09:15:33)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#173 2018-04-20 09:39:44

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,292

Re: aurutils - helper tools for the aur

Oh, that seems slightly counter-intuitive. Basically update the PKGBUILDs first with that first line, and then run the normal sync (with --nover, but I think it will work without?)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#174 2018-04-20 10:08:19

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur

I can't think of a moment in aurutils history where it was intuitive to use...

I'm still thinking on what to do with that PR though. I dislike the suggested approach since it wants to automatically source PKGBUILDs without telling you.

with --nover, but I think it will work without?

Note that --nover is indeed required. The pkgbuilds are updated locally, not on the AUR (and aursync checks the AUR for versions).

Last edited by Alad (2018-04-20 10:09:12)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#175 2018-04-24 13:08:01

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,235
Website

Re: aurutils - helper tools for the aur


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

Board footer

Powered by FluxBB