You are not logged in.

#1 2012-10-01 09:02:03

whoops
Member
Registered: 2009-03-19
Posts: 842

[solved] yaourt -Sb wine /// multilib /// 404 Not Found

Is that a bug or am I doing something stupid?
(Sry, I have no idea if this is a problem with yaourt or the mirror or package_query or ABS or AUR, soo.... not sure where to put this thread T_T )

$ yaourt -Sb wine
==> Building wine from sources.

==> Retrieving PKGBUILD and local sources...
==> multilib/wine: Download abs archive

curl: (22) The requested URL returned error: 404 Not Found

Looking at the strace:

[pid 13486] execve("/usr/bin/curl", ["curl", "-f", "-#", "http://mirror.de.leaseweb.net/archlinux/multilib/os/x86_64/multilib.abs.tar.gz", "-o", "/tmp/yaourt-tmp-user/multilib.abs.tar.gz"], [/* 66 vars */]) = 0

So... Should that file exist there / should yaourt be looking for something else / should that problem be reported somewhere?

Last edited by whoops (2012-10-01 13:46:18)

Offline

#2 2012-10-01 12:41:10

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,998
Website

Re: [solved] yaourt -Sb wine /// multilib /// 404 Not Found

*confused* are you trying to install one of the wine packages from the AUR, or the wine package from community (or apparently multilib)?

Rule out yaourt, ABS, AUR, and most of your other concerns by using pacman or abs/makepkg directly.

What is your intended goal?  Do you just want to install wine?  Do you need to modify it then build from source?

Edit: I didn't even know yaourt tried to be an abs wrapper - it doesn't seem like it's succesful, so cut out the middle man and use abs/makepkg directly to (at the very least) get more informative error messages.

Last edited by Trilby (2012-10-01 12:42:59)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#3 2012-10-01 12:57:10

whoops
Member
Registered: 2009-03-19
Posts: 842

Re: [solved] yaourt -Sb wine /// multilib /// 404 Not Found

I usually just use yaourt to quickly recompile stuff (like when I need something with debug symbols / other CFLAGS I set in my makepkg.conf)... and usually it just works.

My intended goal is: to know why recompiling wine that way doesn't work. Yes, I already recompiled wine manually in the meantime, but still don't know why yaourt isn't working as intended. I couldn't figure out where it gets the wrong url... if that URL is wrong or if the file's just missing... found the line where yaourt is using package_query to retrieve some (accurate) information about the wine package and a (working) url (for the package, not the PKGBUILD)... but no Idea what's going on in between that and the curl error... and I don't know where yaourt should be getting the PKGBUILD from...

Where do I get more informative error messages? wink

Last edited by whoops (2012-10-01 12:58:36)

Offline

#4 2012-10-01 12:58:33

thoho180192
Member
Registered: 2012-05-08
Posts: 57

Re: [solved] yaourt -Sb wine /// multilib /// 404 Not Found

If a package is placed in a repo it is not to be found in the AUR. Atleast, thats what I think. So if Wine is in a repo you will not find it with yaourt. Unless you install from a repo with yaourt ofcourse.

Last edited by thoho180192 (2012-10-01 12:58:46)

Offline

#5 2012-10-01 13:03:04

whoops
Member
Registered: 2009-03-19
Posts: 842

Re: [solved] yaourt -Sb wine /// multilib /// 404 Not Found

Oh, ok, so those that are in the official repos are not available in / trough AUR somehow too...? Then I really have no Idea where yaourt is getting the PKGBUILDs. It works with everything (except for wine) that I tried so far. Just recently recompiled claws-mail and many others from extra / community that way.

edit: Seems like it's a problem exclusive to multilib. So either the abs file for multilib is missing from the mirror or yaourt is doing something wrong? Or package_query... could still be package_query... or something.  -.-"

Last edited by whoops (2012-10-01 13:05:55)

Offline

#6 2012-10-01 13:05:36

thoho180192
Member
Registered: 2012-05-08
Posts: 57

Re: [solved] yaourt -Sb wine /// multilib /// 404 Not Found

I might be wrong, but I thought it was supposed to be that way. I think I remember reading that in the TU's guide.

I tried with pidgin on my system, and it tries to install it with pacman, so I suppose that is how it is working. I dont know how you got it workin like you say. Are you sure it actually builds it from source?

Edit: You can install the abs package and sync all the repo PKGBUILDS to your computer with the abs command. Then you can find all the PKGBUILDS in /var/abs
In that way you could rebuild official packages.

Last edited by thoho180192 (2012-10-01 13:07:06)

Offline

#7 2012-10-01 13:07:05

whoops
Member
Registered: 2009-03-19
Posts: 842

Re: [solved] yaourt -Sb wine /// multilib /// 404 Not Found

Yes, it builds from source. Works with everything in community / extra / core... just - as I now found out - not multilib.

I usually even use yaourt to get PKBUILDS into /tmp when I want to build manually, because it's easier than rummaging around in /var/abs.

Last edited by whoops (2012-10-01 13:08:27)

Offline

#8 2012-10-01 13:11:30

thoho180192
Member
Registered: 2012-05-08
Posts: 57

Re: [solved] yaourt -Sb wine /// multilib /// 404 Not Found

I'm sorry. I didnt realize that you were using the -Sb option. Did not even know that it existed, so ofcourse. You're right. It is supposed to work. Strange that it do not work with mulitlib repo. Maybe more experienced users can answer? wink

Edit: Yaourt -Sb wine works with my system and multilib.

Is there something wrong with your repo config?

I dont know were yaourt get its urls from, but mirrorlist comes to mind. Maybe there is something wrong there with mulitlib?

Last edited by thoho180192 (2012-10-01 13:16:30)

Offline

#9 2012-10-01 13:30:32

whoops
Member
Registered: 2009-03-19
Posts: 842

Re: [solved] yaourt -Sb wine /// multilib /// 404 Not Found

I'm not sure, but I couldn't find the file /archlinux/multilib/os/x86_64/multilib.abs.tar.gz on any of the mirrors I tried manually...

I looked at an strace for "yaourt -Sb [random package from extra]"
... there it doesn't even use curl, it only tries curl for multilib packages... instead when it's working, it parses abs.conf and then... it suddenly writes the PKGBUILD to /tmp using MAGIC big_smile

Meh, no Idea what's happening or why.  My abs.conf looks fine too, I already copied the wine folder from abs earlier to recompile it so that can't be it...

edit:
OoooOh, found it!
There was an old "ABS_REPO=" -line lingering around in my /etc/yaourtrc
Must have stopped working ages ago, when multilib was... created? renamed? moved? I remember it now: Someone did something with or to multilib. Just not sure what. Or when. But that's when I should have updated my config file big_smile
Anyway: A quick "sudo mv /etc/yaourtrc.pacnew /etc/yaourtrc" solved the problem.

Omg, I've been looking all over the place again and SO far off the right direction... WHY?!


Well... solved!

Last edited by whoops (2012-10-01 13:48:31)

Offline

Board footer

Powered by FluxBB