Arch Linux

You like a certain distro? Tell us why here

Moderators: b1o, jkerr82508

Forum rules
Try to avoid "fanboyism" Spam is strictly forbidden. The general rules apply: viewtopic.php?f=8&t=568
User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Arch Linux

Postby viking60 » 05 Jun 2011, 20:35

In this case it would be removing:

Code: Select all

[archlinuxfr]
Server = http://repo.archlinux.fr/$arch
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch Linux

Postby dedanna1029 » 05 Jun 2011, 21:28

Errors right and left... :(

Just did all of this line by line:

Code: Select all

wget http://aur.archlinux.org/packages/package-query/package-query.tar.gz
tar zxvf package-query.tar.gz
cd package-query
makepkg -si
cd ..
wget http://aur.archlinux.org/packages/yaourt/yaourt.tar.gz
tar zxvf yaourt.tar.gz
cd yaourt
makepkg -si
cd ..

(I had to rename the old yaourt and package-query folders in /home first)
http://archlinux.fr/yaourt-en#get_it

Now...

Code: Select all

:) yaourt lib32-glibc
/usr/lib/yaourt/basicfunctions.sh: line 12: package-query: command not found


How can that be, when I just installed it?

Code: Select all

resolving dependencies...
looking for inter-conflicts...

Targets (1): package-query-0.3-2 [0.00 MB]

Total Download Size:    0.00 MB
Total Installed Size:   0.00 MB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                   [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) upgrading package-query                      [######################] 100%
.:[ [email protected] : 14:38:20 : ~/package-query ]:.
:) cd ..
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch Linux

Postby dedanna1029 » 05 Jun 2011, 22:11

Just re-added that to pacman.conf, and used the alternative method to reinstall yaourt. It reinstalled, but I still have that same damn error when I use it:

Code: Select all

:) yaourt glibc
1 core/glibc 2.13-5 [7.15 M] (base) [installed]
    GNU C Library
2 extra/kdesdk-kmtrace 4.6.3-2 [0.06 M] (kde kdesdk) [installed]
    A KDE tool to assist with malloc debugging using glibc´s "mtrace"
    functionality
3 extra/nss-mdns 0.10-3 [0.01 M]
    glibc plugin providing host name resolution via mDNS
---------->lexical error: invalid char in json text.
                                       <html> <head> <title>Tor is not
                     (right here) ------^<-----------
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Arch Linux

Postby viking60 » 05 Jun 2011, 22:52

You obviously have some javascripts running somewhere. http://www.json.org/
Try this:
That error is being thrown by yajl, which package-query links to. Rebuilding package-query is likely your solution if it happens for all packages.

https://bbs.archlinux.org/viewtopic.php?id=117606
https://bbs.archlinux.org/viewtopic.php?pid=925260
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch Linux

Postby dedanna1029 » 05 Jun 2011, 23:00

Yes, I saw that.

Problem is, in the process of reinstalling yaourt manually, you're rebuilding package-query anyway (see first method I used), so I'm still getting the error even after having done that.

However, I do think I'll try downgrading yajl, thanks to someone who can search their forum better than I can. :)

Except, one slight problem:

Code: Select all

# pacman -U yajl-1.0.11-3-i686.pkg.tar.xz
warning: downgrading package yajl (2.0.2-1 => 1.0.11-3)
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: package-query: requires yajl>=2.0


Edit: Also:

Code: Select all

[root@dedanna Downloads]# ls /usr/local | grep package
[root@dedanna Downloads]# which package-query
/usr/bin/package-query
[root@dedanna Downloads]# pacman -Qo /usr/local/bin/package-query
error: failed to read file '/usr/local/bin/package-query': No such file or directory
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Arch Linux

Postby viking60 » 06 Jun 2011, 00:22

I have yail 2.0.2-1 and no problems.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch Linux

Postby dedanna1029 » 06 Jun 2011, 03:22

Well, it appeared to be the main theme of those links you posted up there, so thought it worth a try.

I've given up for now. Who knows, maybe an update will fix it someday.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Arch Linux

Postby viking60 » 09 Jun 2011, 20:14

Kernel (2.6.38.8-1 ) and Pacman update today. It went just fine.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch Linux

Postby dedanna1029 » 11 Jun 2011, 06:03

Yeah, we didn't have to uninstall pacman-color this time. Miracle of all miracles.


Still looking for something javascript-related that could be interfering with yaourt - nothing I can find, not even in htop. :\

Also, look again at the code. It's talking about tor?

Code: Select all

:) yaourt yags
lexical error: invalid char in json text.
                                       <html> <head> <title>Tor is not
                     (right here) ------^


I don't get what javascript (or json) would have to do with tor? Or could it be that the tor header is wrong in mirrorlist?

I can't wrap my head around this. Don't know whether to file a bug, or what?

Sad, 'cause I really need yaourt right now, unless you can suggest a good alternative? It seems like a lot of them dropped off the map when the guy that was working on powerpill opted out.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Arch Linux

Postby viking60 » 12 Jun 2011, 17:27

Kernel 2.6.39 is in the update today. God I love Arch - Fedora is a turtle on pot in comparison. :-D
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch Linux

Postby dedanna1029 » 13 Jun 2011, 18:39

I can't believe I finally beat you to something, and I'm the one that hasn't been using Arch lately.

Code: Select all

:) uname -a
Linux dedanna.rocks.net 2.6.39-ARCH #1 SMP PREEMPT Tue Jun 7 05:49:02 UTC 2011 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

...And that's without today's updates. That's without updates since June 11th, when I got kernel26-2.6.39.1-1-i686.pkg.tar.xz in.

Will see what happens now.

FYI, don't discount it. You'd be surprised how fast Fedora's booting for me.

Edit2: And today, nothing but mkinitcpio updated that would have anything to do with the kernel:

Code: Select all

# pacman -Syu
:: Synchronizing package databases...
 core                                                      37.0K   62.1K/s 00:00:01 [################################################] 100%
 extra                                                    467.0K  224.2K/s 00:00:02 [################################################] 100%
 community                                                446.4K  227.0K/s 00:00:02 [################################################] 100%
 archlinuxfr                                               27.7K   72.6K/s 00:00:00 [################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (4): celestia-1.6.1-1 [32.56 MB]  enchant-1.6.0-3 [0.03 MB]  miro-4.0.1.1-1 [5.59 MB]  mkinitcpio-0.6.13-1 [0.02 MB]

Total Download Size:    38.19 MB
Total Installed Size:   105.07 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
 mkinitcpio-0.6.13-1-any                                   17.9K   44.2K/s 00:00:00 [################################################]   0%
:: Retrieving packages from extra...
 celestia-1.6.1-1-i686                                     32.6M  298.5K/s 00:01:52 [################################################]  85%
 enchant-1.6.0-3-i686                                      32.6M  290.2K/s 00:01:55 [################################################]  85%
 miro-4.0.1.1-1-i686                                       38.2M  287.2K/s 00:02:16 [################################################] 100%
(4/4) checking package integrity                                                    [################################################] 100%
(4/4) checking for file conflicts                                                   [################################################] 100%
(1/4) upgrading celestia                                                            [################################################] 100%
(2/4) upgrading enchant                                                             [################################################] 100%
New optional dependencies for enchant
    hspell: Hebrew dictionary
(3/4) upgrading miro                                                                [################################################] 100%
(4/4) upgrading mkinitcpio                                                          [################################################] 100%


I demand an update to yaourt and yajl both.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Arch Linux

Postby viking60 » 13 Jun 2011, 21:10

Yes I am not surprised that you beat me - you usually do :) And I was referring to the speed of implementing software, not boot speed, with my remark above.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"


Return to “Distro talk”