You are not logged in.

#126 2017-01-07 12:24:15

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 844

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

That is unfortunate. I do not use the software myself, so I'm not sure I'll be of much help further, but did you try resetting the config/databases etc?

Good luck with your problem!

Offline

#127 2017-01-07 12:34:19

OJaksch
Member
From: Germany
Registered: 2016-02-23
Posts: 9

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

runical wrote:

did you try resetting the config/databases etc?

Yes, I resetted the configs to default and to the same as the other arch boxes, but same result.
According to the database I couldn't find any; bauerbill says

sqlite3.OperationalError: attempt to write a readonly database

but what database and where is it?

Offline

#128 2017-01-07 12:54:53

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 844

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Maybe in ~/.cache? (As I said, I don't use the software)

Your best bet might be to wait for Xyne to wake up. He's in North America IIRC.

Offline

#129 2017-01-07 13:09:08

OJaksch
Member
From: Germany
Registered: 2016-02-23
Posts: 9

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

runical wrote:

Maybe in ~/.cache?

Great, I love you, pal! There was a folder ~/.cache/AUR in users home, but owned by root. Must be by mistake in the past.
Deleted, bauerbill is working.

Again, thanks a lot for pointing me to the right direction!

Offline

#130 2017-01-07 13:58:40

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,921
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

If you are wrapping it in yaourt, just use powerpill instead. Yaourt only invokes the internal pacman wrapper with pacman arguments (afaik), so the only difference from pacman will be the parallel downloads. Powerpill is simpler than bauerbill and necessarily installed as it is a dependency of bauerbill.

If the permission error occurs again, let me know. It may be caused by buggy permission management in another app that uses the same database (e.g. aurquery).

Offline

#131 2017-01-07 16:18:44

OJaksch
Member
From: Germany
Registered: 2016-02-23
Posts: 9

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Xyne wrote:

If you are wrapping it in yaourt, just use powerpill instead. Yaourt only invokes the internal pacman wrapper with pacman arguments (afaik), so the only difference from pacman will be the parallel downloads. Powerpill is simpler than bauerbill and necessarily installed as it is a dependency of bauerbill.

If the permission error occurs again, let me know. It may be caused by buggy permission management in another app that uses the same database (e.g. aurquery).

Thanks for your suggestion.
I don't believe that there is any buggy permission management (left); I'm using bauerbill/powerpill at dozens of arch installations w/o any issues - except that one I mentioned earlier. And I'm sure this was my mistake.

Offline

#132 2017-01-16 22:48:57

carbolymer
Member
Registered: 2012-04-25
Posts: 23

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I've got an issue with the update of aur packages using bauerbill, after

bauerbill -Syu --aur

I am getting following error:

aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
[2017-01-16 23:39:32] ERROR: PowerpillError: aria2c exited with 19

The full log: http://pastebin.com/u3u6QVas

Also, what can I do about these errors during signatures downloading? I've already set sig levels:

SigLevel    = Required DatabaseNever
LocalFileSigLevel = Optional
# RemoteFileSigLevel = Required

(modyfing RemoteFileSigLevel does not change anything).

Last edited by carbolymer (2017-01-16 22:49:18)

Offline

#133 2017-01-16 23:46:53

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,921
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Use SigLevel = PackageRequired for the official repos, e.g

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

Handling of optional signals will be improved in the next major update.

Offline

#134 2017-01-18 16:23:44

timofonic
Member
Registered: 2007-05-15
Posts: 41

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I'm using your repos to install bauerbill.

When I run bauerbill, I have the following error:

$ bauerbill 
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.6/site-packages/Bauerbill.py", line 38, in <module>
    import AUR.PkgList
  File "/usr/lib/python3.6/site-packages/AUR/PkgList.py", line 30, in <module>
    import XCGF
ModuleNotFoundError: No module named 'XCGF'

python3-xcgf was installed, I tried to reinstall but same error:

$ yaourt -S python3-xcgf
warning: python3-xcgf-2016.4.5-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) python3-xcgf-2016.4.5-1

Total Installed Size:  0.06 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                                                     [#####################################################################################################] 100%
(1/1) checking package integrity                                                                                                                                   [#####################################################################################################] 100%
(1/1) loading package files                                                                                                                                        [#####################################################################################################] 100%
(1/1) checking for file conflicts                                                                                                                                  [#####################################################################################################] 100%
(1/1) checking available disk space                                                                                                                                [#####################################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling python3-xcgf                                                                                                                                    [#####################################################################################################] 100%

So okay, trying AUR with yaourt to see if it works, but...

# gpg --recv-keys 1D1F0DC78F173680
gpg: key 1D1F0DC78F173680: "Xyne. (key #3) <xyne@archlinux.ca>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
==> Building and installing package
==> Making package: python3-aur 2017.1-1 (Wed Jan 18 17:40:23 CET 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found python3-aur-2017.1.tar.xz
  -> Found python3-aur-2017.1.tar.xz.sig
==> Validating source files with md5sums...
    python3-aur-2017.1.tar.xz ... Passed
    python3-aur-2017.1.tar.xz.sig ... Passed
==> Validating source files with sha512sums...
    python3-aur-2017.1.tar.xz ... Passed
    python3-aur-2017.1.tar.xz.sig ... Passed
==> Verifying source file signatures with gpg...
    python3-aur-2017.1.tar.xz ... FAILED (unknown public key 1D1F0DC78F173680)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build python3-aur.
==> Restart building python3-aur ? [y/N]

I did the following and same error happens..

sudo pacman-key --init; sudo pacman-key --populate archlinux; sudo pacman-key --refresh-keys

Please, how to fix it? Maybe it got explained before, but I can't find it...

Last edited by timofonic (2017-01-18 16:54:29)

Offline

#135 2017-01-18 16:56:35

slithery
Member
Registered: 2013-12-01
Posts: 1,031

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Building AUR packages makes use of the user keyring, not pacmans.

https://wiki.archlinux.org/index.php/Ma … e_checking

Offline

#136 2017-01-18 17:12:18

timofonic
Member
Registered: 2007-05-15
Posts: 41

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

slithery wrote:

Building AUR packages makes use of the user keyring, not pacmans.

https://wiki.archlinux.org/index.php/Ma … e_checking

I did read that link before and a identical reply from Xyne on AUR packages comments, but I'm still confused. Sorry, the documentation and your explanation isn't enough clear to me.

Could you please ellaborate a bit more? I don't get what to do to solve it.

EDIT: I was doing things correctly, but used sudo or su. makepkg needs the keys in my user, not root. Okay, sorry...

Last edited by timofonic (2017-01-18 17:32:23)

Offline

#137 2017-01-18 17:36:38

timofonic
Member
Registered: 2007-05-15
Posts: 41

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I installed it over AUR, then got the SAME error

    $ bauerbill
    Traceback (most recent call last):
      File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
        "__main__", mod_spec)
      File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "/usr/lib/python3.6/site-packages/Bauerbill.py", line 38, in <module>
        import AUR.PkgList
      File "/usr/lib/python3.6/site-packages/AUR/PkgList.py", line 30, in <module>
        import XCGF
    ModuleNotFoundError: No module named 'XCGF'

Offline

#138 2017-01-18 18:28:18

Eschwartz
Member
Registered: 2014-08-08
Posts: 797

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

As I said on IRC, you will need to rebuild those dependencies since they were built against python35 somehow.

I will note that your repos don't appear to have been synced, or at least not all of them -- since Xyne published a new (rebuilt) version of that package and several others which you don't seem to have available in your local copy of his repo.

Last edited by Eschwartz (2017-01-18 18:30:37)

Offline

#139 2017-01-18 20:44:54

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,921
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

The ModuleNotFoundErrors mean that you have done a partial upgrade (or downgrade) on your system. Whatever version of Python you are using, you must use packages that were built with that version. The current version of Python in the official repos is 3.6. All of the packages in my repo are built with Python 3.6. If you have enabled my repo, then a simple "pacman -Syu" should make everything work. If not, check that your main mirror is up-to-date.

Offline

#140 2017-01-19 17:09:28

carbolymer
Member
Registered: 2012-04-25
Posts: 23

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

@Xyne, how about this error:

ERROR: PowerpillError: aria2c exited with 19

This makes bauerbill completely unusable for me. sad (log with description)

Offline

#141 2017-01-19 17:59:04

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,921
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

carbolymer wrote:

@Xyne, how about this error:

ERROR: PowerpillError: aria2c exited with 19

This makes bauerbill completely unusable for me. sad (log with description)

aria2c wrote:

[AbstractCommand.cc:792] errorCode=19 CUID#10 - Name resolution for mirror.aardvark.it failed:Domain name not found

The error message indicates that mirror.aardvark.it doesn't exist. ping, host and everything else confirms this. Use a mirror that exists wink

The recommended way to use powerpill/bauerbill is to use a single reliable mirror in your mirrorlist and then use the reflector options to automatically use e.g. the 50 most recently synchronized mirrors when downloading packages. That will avoid such errors and also ensure database consistency (i.e. that all databases are downloaded from the same mirror, although I think there's an option for that even with multiple mirrors in the mirrorlist).

Offline

#142 2017-02-03 12:33:08

Alad
Wiki Admin/IRC Op
Registered: 2014-05-04
Posts: 1,385

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I'm having some issue with resolving large dependency trees with bauerbill:

time bauerbill -S --aur ros-indigo-desktop-full
[2017-02-03 13:29:04] ERROR: Unresolved dependencies: sdformat
^C
real    4m15,551s # interrupted with Ctrl+C at this point, no further output
user    3m44,937s
sys     0m0,787s

Cf. aurchain which I mention here because it pretty much stole the dependency resolution from bauerbill ca. april last year (and me being unsure how to install older bauerbill versions, including dependencies)

[archie@thinkpad ~]$ time aurchain ros-indigo-desktop-full | wc -l
247

real    0m1,342s
user    0m0,567s
sys     0m0,063s

Last edited by Alad (2017-02-03 12:35:28)


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

Offline

#143 2017-02-03 13:35:08

Spyhawk
Member
Registered: 2006-07-07
Posts: 436

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

@Alad: That dependency tree is unsolvable. The "gazebo" package requires "sdformat>=4.2.0", and only "sdformat 4.1.0" is available in the AUR.
Bauerbill shouldn't hang but exit nicely though.

Offline

#144 2017-02-03 13:53:06

Alad
Wiki Admin/IRC Op
Registered: 2014-05-04
Posts: 1,385

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Another victim of versioned dependencies...


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

Offline

#145 2017-02-07 01:17:07

zerophase
Member
Registered: 2015-09-03
Posts: 152

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I noticed trying to add commands for editing PKGBUILDS on the prebuild hook adds a space between each letter.

Offline

#146 2017-02-10 04:00:20

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,921
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

zerophase wrote:

I noticed trying to add commands for editing PKGBUILDS on the prebuild hook adds a space between each letter.

Are you trying to use a single string as a command? Bauerbill expects each command to be a JSON list, e.g. ["cmd", "--foo", "--bar", "arg1", "arg2"].



@Alad & Spyhawk
The dependency graph resolution algorithm was too inefficient to handle the behemoth that is ros-indigo-desktop-full in a reasonable amount of time. I have tweaked the algorithm to avoid redundant recursion and it should be very fast now (update to python3-xcpf-2017.2.10). Bauerbill may still appear to hang while retrieving data from the AUR but that is due to the number of packages that it has to query. You can use "--debug" if you want to monitor those queries.

Let me know if I borked the build queue ordering. I only tested with some simple packages. There's no way I'm going to fully test ros-indigo-desktop-full tongue

And someone tell the ros-indigo-desktop maintainer(s) that packages in the depends array should not be included in the makedepends array. There seems to be a lot of dupes.

Offline

#147 Today 14:18:50

Yah
Member
Registered: 2016-04-19
Posts: 6

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Hi There!
First thanks to Xyne for these greate tools!

Because of the fact that I am using multiple AUR-Packages, I have to update very often.
During updating process I regularly have to face the problem be using the build.sh script successfully fails by the missing command "git pull".

f.ex.

####################### Get PKGBUILDS and related files. #######################
/usr/bin/pbget --aur-only gstreamer0.10

pids=()

#################### Query trust before starting downloads. ####################
/usr/bin/bb-query_trust -l ./gstreamer0.10 AUR/gstreamer0.10 1487978122 nicepack || exit 1

############### Download sources for package base gstreamer0.10. ###############
# Maintainer(s): nicepack
# Last modified: 2017-02-25 00:15:22 CET
# Repository: AUR
# Packages: gstreamer0.10
pushd gstreamer0.10
makepkg --verifysource --nodeps &
pids+=($!)
echo gstreamer0.10 ": $!"
popd

Before running makepkg wouldn't it be a line like this very nice:

test -d .git && git pull

Is this practical and useful?

Right now I using this little script of mine to bypass this problem for myself

#!/bin/bash
#
# Author: Yah(al)
#
# Script to run git pull in all founded AUR main dirs with a .git subfolder
#
#
temp=$PWD
if [ "$#" -eq 1 ]


        then
#                       printf "\$1 %s\n\n", $1

                        while IFS= read line
                        do
                                printf "Run 'git pull' in %s\n", ${line%.git}
                                cd ${line%.git}
                                git pull
                                cd $temp

                        done < <(find ./build -maxdepth 2 -name .git -type d -prune)


        else

                printf "Usage of %s: \n", $0
                printf "%s <folder> - scans dirs for .git subfolders and runnig 'git pull' to maintaine\n", $0


fi

Offline

Board footer

Powered by FluxBB