Re: [arch-general] Question about mariadb replacing mysql

2013-03-26 Thread An Nguyen
On Tue, Mar 26, 2013 at 8:50 PM, Mike Cloaked  wrote:
> With the move to mariadb I have the following situation:
>
> I am not explicitely running mysqld so checking the status with systemctl
> shows it is inactive.
>
> However I am running KDE as my desktop.
>
> After doing the suggested install after ensuring that mysqld is stopped:
> pacman -S mariadb libmariadbclient mariadb-clients
>
> and accepting the install of these packages with removal of mysql
> equivalents, I then find that there is a private instance of mysql running
> by the KDE desktop:
>
> ps -eaf | egrep mysql
> mike   660   657  0 Mar23 ?00:00:42 /usr/bin/mysqld
> --defaults-file=/home/mike/.local/share/akonadi/mysql.conf
> --datadir=/home/mike/.local/share/akonadi/db_data/
> --socket=/home/mike/.local/share/akonadi/socket-home1/mysql.socket
> mike  9747   761  0 13:39 pts/300:00:00 egrep mysql
>
> So does any expert know whether a mysql_upgrade is necessary for KDE and if
> so how does one go about doing that upgrade?
>
Akonadi is using MySQL. You can disable Akonadi (personally I found it useless).

$ nano .config/akonadi/akonadiserverrc
StartServer=false

Regards.
An.

> Thanks.
>
> --
> mike c



-- 
Nguyễn Châu An || An NGUYEN
Linux Technician & FOSS Advocate
---
OpenPGP KeyID  2048R/8F77A48C
Key Fingerprint 7652 B403 749F F173 227D 4865 FB71 EC95 8F77 A48C


Re: [arch-general] strange behaviour of pacman, what did I do?

2013-03-26 Thread Shridhar Daithankar
On Tuesday, March 26, 2013 10:20:08 AM Eric Bélanger wrote:
> On Mon, Mar 25, 2013 at 10:38 PM, Shridhar Daithankar
> > What did pacman do the first time? The man page does not have bare -c
> > option and it wasn't -Sc where it started cleaning the packages(or was
> > it?)
> 
> "-Sc" and "-S -c" do the same thing. It's just two different ways to
> write the options. It would have been better to answer no instead of
> hitting ^C.

Oh.. I see..

Actually, I said yes for the first time, without paying much attention to what 
it was saying.. 
Only after a couple of seconds I noticed that it wasn't right..

The excerpt I pasted in the mail, was a rerun of command to capture a complete 
log for 
writing this mail.

thanks for the explanation.. 

-- 
Regards
 Shridhar


Re: [arch-general] bluetooth headset vs. Flash Player

2013-03-26 Thread Curtis Shimamoto
On 03/26/13 at 08:06pm, Nelson Marambio wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi, folks,
> 
> since I switched from a wired USB headset to a bluetooth headset I've
> got problem - using GNOME - with flash based sites like youtube. Sound
> is not send to the headset but to the internal speakers of my laptop.
> 
> Every other media player uses the headset for output but not flash.
> Does anyone know why and how to fix it ?
> 
> Kind regards,
> Nelson.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.19 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iQEcBAEBAgAGBQJRUfGuAAoJEL11/FaGDdNAKfIH/3kM/RNX5imRyXLNRUkQx5oX
> G9HKwm1AfEvuuz3STZkdeABsla66O0x1r2kh1t/nzV35eyUmBlYJPCPkslMKK/Or
> T68lj7XGqrfMg8+AUTNONJQGQr76Getv9siHdag1j+eD3qYyaJheTVlBzpEW9oZM
> aJmis+f1LkA/b3cdtJhH0U7nx7sNzgE01IRd9GrvqoQIqGgnMDAJP4YUNF15jGmt
> EyaMzLiADuKDqOBYpMcnXkgAYpvqKKbmUK4fgQvlExwTw/AW96EmvPqyANp9IRr9
> Md5hd8aciECpsGa0X2a2Xj9xw2pVYFatEXLZGuQHGS/OI2+CSRQHUB4KIcsuzbQ=
> =g/9D
> -END PGP SIGNATURE-

I believe flash is not capable of using pulseaudio directly.  So it uses
alsa.  In order to get this to work, you need to configure alsa to use
pulseaudio.  This is particularly easy, as the necessary configuration is
the only content found in the pulseaudio-alsa package.

https://wiki.archlinux.org/index.php/PulseAudio#Flash_Content
-- 
Curtis Shimamoto
sugar.and.scruffy [at] gmail.com


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Curtis Shimamoto
On 03/26/13 at 02:02pm, Sean Greenslade wrote:
> On Mar 26, 2013 11:56 AM, "Curtis Shimamoto" 
> wrote:
> >
> > On 03/26/13 at 01:37pm, Julien Pecqueur wrote:
> > > Which card did you bought?
> > >
> > > Cordialement,
> > >
> > > Julien Pecqueur
> >
> > There was a mention above about buying a Realtek card.  I just want to
> > mention that my experience with Realtek wireless chipsets has been
> > nothing but hell.
> >
> > My Thinkpad came with a Realtek that used the rtl8192ce module, and it
> > was terrible.  I recently was forced to try it again, and it had gotten
> > better, but was still of pretty questionable quality.
> >
> > The first time I replaced it I was able to flash a modified bios that
> > removed the Lenovo wifi card whitelist, and replaced it with an Intel
> > Centrino Advanced-N 6235 which was amazing.
> >
> > [snip]
> >
> > Curtis Shimamoto
> > sugar.and.scruffy [at] gmail.com
> 
> Might I ask what problems you had? My experience with the 8192 was poor
> only because the drivers were in staging until the 3.0 kernel release. I
> switched to the 8188 in my netbook and the 8171 (maybe, my memory is
> failing me on that one) on my main laptop. Not all realtek chipsets are
> equal...

No not all Realtek chipsets are created equal.  My issues were with some
crazy latency any time I tried to do anything.  Once it started loading
something, likea  web page for instance, it was fine.  But getting to
that point was just really sluggish.  

The first time I used it was when I got my Thinkpad in mid 2012, and it
was so horribly painful it was awful.  It was so bad that it would
actually case other devices on the network to lose their connection
sometimes.  I am not sure how or why this would happen, but it wouldn't
if I were not connected.

The second time, was just a couple weeks ago when I had to have the mobo
replaced.  I now have the Lenovo wifi whitelist back, so I had to resort
to the Realtek.  It was much much better than the first time, but when I
got an Intel to stick in the machine, it was like night and day.

This particular module (the rtl8192ce) I see people having issues with
all the time on the forums.  So I know that the pain is not mine alone.

I have not had the chance to try other Realtek cards, but you are not the
first to tell me that there are others out there that work well.

Still this chipset seems to be particularly common today, so I just
wanted to throw this out there.  I think it was the rtl8188/8192?  I
don't know specifically w/o putting the card back into the machine.

-- 
Curtis Shimamoto
sugar.and.scruffy [at] gmail.com


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Sean Greenslade
On Mar 26, 2013 11:56 AM, "Curtis Shimamoto" 
wrote:
>
> On 03/26/13 at 01:37pm, Julien Pecqueur wrote:
> > Which card did you bought?
> >
> > Cordialement,
> >
> > Julien Pecqueur
>
> There was a mention above about buying a Realtek card.  I just want to
> mention that my experience with Realtek wireless chipsets has been
> nothing but hell.
>
> My Thinkpad came with a Realtek that used the rtl8192ce module, and it
> was terrible.  I recently was forced to try it again, and it had gotten
> better, but was still of pretty questionable quality.
>
> The first time I replaced it I was able to flash a modified bios that
> removed the Lenovo wifi card whitelist, and replaced it with an Intel
> Centrino Advanced-N 6235 which was amazing.
>
> [snip]
>
> Curtis Shimamoto
> sugar.and.scruffy [at] gmail.com

Might I ask what problems you had? My experience with the 8192 was poor
only because the drivers were in staging until the 3.0 kernel release. I
switched to the 8188 in my netbook and the 8171 (maybe, my memory is
failing me on that one) on my main laptop. Not all realtek chipsets are
equal...


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Sean Greenslade
On Tue, Mar 26, 2013 at 8:37 AM, Julien Pecqueur  wrote:
> Which card did you bought?
>
> Cordialement,
>
> Julien Pecqueur

http://www.amazon.com/HP-RTL8188CE-Wireless-639967-001-640926-001/dp/B008U5B8B2

Not this exact card, but close to it. I got mine on ebay, any of the
common realtek chipsets will work far and away better than broadcom.
Broadcom's linux support is (for lack of a nicer term) terrible.

-- 
--Zootboy

Sent from some sort of computing device.


[arch-general] bluetooth headset vs. Flash Player

2013-03-26 Thread Nelson Marambio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi, folks,

since I switched from a wired USB headset to a bluetooth headset I've
got problem - using GNOME - with flash based sites like youtube. Sound
is not send to the headset but to the internal speakers of my laptop.

Every other media player uses the headset for output but not flash.
Does anyone know why and how to fix it ?

Kind regards,
Nelson.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRUfGuAAoJEL11/FaGDdNAKfIH/3kM/RNX5imRyXLNRUkQx5oX
G9HKwm1AfEvuuz3STZkdeABsla66O0x1r2kh1t/nzV35eyUmBlYJPCPkslMKK/Or
T68lj7XGqrfMg8+AUTNONJQGQr76Getv9siHdag1j+eD3qYyaJheTVlBzpEW9oZM
aJmis+f1LkA/b3cdtJhH0U7nx7sNzgE01IRd9GrvqoQIqGgnMDAJP4YUNF15jGmt
EyaMzLiADuKDqOBYpMcnXkgAYpvqKKbmUK4fgQvlExwTw/AW96EmvPqyANp9IRr9
Md5hd8aciECpsGa0X2a2Xj9xw2pVYFatEXLZGuQHGS/OI2+CSRQHUB4KIcsuzbQ=
=g/9D
-END PGP SIGNATURE-


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Arch Zealot
Sounds like a QoS problem, so why don't you try this:

https://bbs.archlinux.org/viewtopic.php?pid=780128#p780128


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Isaac Lindgren
On Mar 26, 2013 10:56 AM, "Curtis Shimamoto" 
wrote:
>
> On 03/26/13 at 01:37pm, Julien Pecqueur wrote:
> > Which card did you bought?
> >
> > Cordialement,
> >
> > Julien Pecqueur
>
> There was a mention above about buying a Realtek card.  I just want to
> mention that my experience with Realtek wireless chipsets has been
> nothing but hell.
>
> My Thinkpad came with a Realtek that used the rtl8192ce module, and it
> was terrible.  I recently was forced to try it again, and it had gotten
> better, but was still of pretty questionable quality.
>
> The first time I replaced it I was able to flash a modified bios that
> removed the Lenovo wifi card whitelist, and replaced it with an Intel
> Centrino Advanced-N 6235 which was amazing.
>
> This time, I was unable to remove the whitelist (or rather flash the
> newly modified bios, removal was the same as always) so I was able to
> find the Intel Centrino Wireless-N 2230 that was apparently an option
> with this laptop.
>
> My experience with Intel wireless has been fantastic, and I highly
> recommend them.  I have also been told that Atheros support is very good
> as well.  Though it has been quite some time since my last use of an
> Atheros chipset on Linux (my old MacBook 2,1 has an Atheros, but that
> machine has since gone back to OS X as a "family computer").
>
> --
> Curtis Shimamoto
> sugar.and.scruffy [at] gmail.com

I just wanted to add that I have had good experience with Atheros as well
(ath9k driver in particular). It should work out of box.


Re: [arch-general] Upgrade finish in a "Kernel Panic - not syncing : no init found"

2013-03-26 Thread Dany De Bontridder
Hi,

On Tue, Mar 26, 2013 at 4:14 PM, Thomas Bächler  wrote:
> Am 22.03.2013 23:00, schrieb Dany De Bontridder:
>> Today,  everything works fine and I decide to keep my PC up-to-date,
>> so I run pacman -Syu and I get a message when trying to boot
>>
>>  *** Kernel Panic - not syncing : No init found. ***
>
> That is actually an impossible error message. It is only printed when
>  1) no initramfs or an invalid initramfs is attached
>  2) the kernel manages to mount the root partition
>  3) no init binary is found
Hi,


That's the weird part : I rebuilt a initramfs (mkinitcpio) (several
times), rebuild the grub.cfg and compare with the previous one...

After reinstalling I take a list of the packages (pacman -Qe) and
compare with the list before the update, the 2 lists were the same.

Maybe the initramfs was not properly built

> If a valid initramfs (containing a valid executable /init) is attached,
> then the kernel will execute that an *never* try to mount the root
> partition and find /init on its own. Thus, it will not print that message.
> Now let's assume that you didn't attach a valid initramfs. Since the
> Arch kernel contains no hard drive support and no filesystem support
> whatsoever, it is impossible for it to mount a file system and the panic
> message will *always* be
>  "unable to mount root filesystem on [...]"
>
> If you did attach a valid initramfs (as Arch does by default), then the
> error messages would be different and you would always get an emergency
> shell if something goes wrong. Even if you ignore everything and exit
> all emergency shells that pop up, you will get a different panic message:
>  "attempting to kill init"
>
> In conclusion, it is entirely impossible that you get the error message
> you quoted if you use the Arch kernel.


It *did* happen. I'm not a kernel hacker and I wasn't able to fix the
problem but I can read a message.



Kind Regards,

D.


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Leonidas Spyropoulos
On 26 Mar 2013 15:56, "Curtis Shimamoto" 
wrote:
>
> On 03/26/13 at 01:37pm, Julien Pecqueur wrote:
> > Which card did you bought?
> >
> > Cordialement,
> >
> > Julien Pecqueur
>
> There was a mention above about buying a Realtek card.  I just want to
> mention that my experience with Realtek wireless chipsets has been
> nothing but hell.
>
> My Thinkpad came with a Realtek that used the rtl8192ce module, and it
> was terrible.  I recently was forced to try it again, and it had gotten
> better, but was still of pretty questionable quality.
>
> The first time I replaced it I was able to flash a modified bios that
> removed the Lenovo wifi card whitelist, and replaced it with an Intel
> Centrino Advanced-N 6235 which was amazing.
>
> This time, I was unable to remove the whitelist (or rather flash the
> newly modified bios, removal was the same as always) so I was able to
> find the Intel Centrino Wireless-N 2230 that was apparently an option
> with this laptop.
>
> My experience with Intel wireless has been fantastic, and I highly
> recommend them.  I have also been told that Atheros support is very good
> as well.  Though it has been quite some time since my last use of an
> Atheros chipset on Linux (my old MacBook 2,1 has an Atheros, but that
> machine has since gone back to OS X as a "family computer").
>
> --
> Curtis Shimamoto
> sugar.and.scruffy [at] gmail.com

I had mine replaced with an Intel as it was an option foot my Dell Latitude
E4300 laptop.


Re: [arch-general] downgrades when moving out of [testing]

2013-03-26 Thread William Giokas
On Tue, Mar 26, 2013 at 07:22:44AM -0600, Matthew Monaco wrote:
> I typically upgrade with -uu, and use [*testing]. I've noticed lately that 
> there
> is a window when a package moves out of [testing] that it will be downgraded.
> 
> For example, this happened when openssh-6.2 recently moved.
> 
> Are the packages being removed from [testing] before being added to e.g. 
> [core]?
> Does mirroring happen separately, but faster for [testing]? (I use 
> kernel.org).

What mirror are you using? If you are using the kernel.org mirror, stop
now and choose another one.

-- 
William Giokas | KaiSforza
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF


pgpbrwjQ5V9W1.pgp
Description: PGP signature


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Curtis Shimamoto
On 03/26/13 at 01:37pm, Julien Pecqueur wrote:
> Which card did you bought?
> 
> Cordialement,
> 
> Julien Pecqueur

There was a mention above about buying a Realtek card.  I just want to
mention that my experience with Realtek wireless chipsets has been
nothing but hell.

My Thinkpad came with a Realtek that used the rtl8192ce module, and it
was terrible.  I recently was forced to try it again, and it had gotten
better, but was still of pretty questionable quality.

The first time I replaced it I was able to flash a modified bios that
removed the Lenovo wifi card whitelist, and replaced it with an Intel
Centrino Advanced-N 6235 which was amazing.

This time, I was unable to remove the whitelist (or rather flash the
newly modified bios, removal was the same as always) so I was able to
find the Intel Centrino Wireless-N 2230 that was apparently an option
with this laptop.

My experience with Intel wireless has been fantastic, and I highly
recommend them.  I have also been told that Atheros support is very good
as well.  Though it has been quite some time since my last use of an
Atheros chipset on Linux (my old MacBook 2,1 has an Atheros, but that
machine has since gone back to OS X as a "family computer").

-- 
Curtis Shimamoto
sugar.and.scruffy [at] gmail.com


Re: [arch-general] Question about mariadb replacing mysql

2013-03-26 Thread Mike Cloaked
On Tue, Mar 26, 2013 at 3:07 PM, Paul Gideon Dann wrote:

>
> I also use KDE.  I went ahead with the switch.  I stopped akonadi first,
> though:
>
> # akonadictl stop
> 
> # akonadictl start
>
> And all seemed to go well.  I haven't done anything special for KDE when
> upgrading mysql before, so I don't think anything is required now.  I
> haven't
> noticed any issues.
>

Thank you - I had already done the mariadb install with akonadi running -
however I have just stopped and restarted it, and then checked with:
$ akonadictl status

there seemed not to be any problem so I guess restarting KDE or rebooting
would also be fine.


-- 
mike c


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Krzysztof Warzecha
There are few steps with can help you trobleshoot this:

1. try to connect with plain wpa_supplicant. Kill networkmanager,
wpa_supplicant and dhcpcd and everything else; create configuration
file:

network={
ssid="$WIRELESS_SSID"
psk="$WIRELESS_PASSPHRASE"
}

Save it as "wpa_supplicant.conf", start wpa_supplicant:
"wpa_supplicant -iwlan0 -c/home/magnus/wpa_supplicant.conf", try to
fetch configuration from dhcp: "dhcpcd wlan0". This way nm won't mess
with wifi chipset.

2. you can also load b43 module with "verbose=3 hwtkip=0 nohwcrypt=1"
or other options (check "modinfo b43").

3. maybe latest kernel just have issues with this chip, try linux-lts.

--
Krzysztof Warzecha


Re: [arch-general] Upgrade finish in a "Kernel Panic - not syncing : no init found"

2013-03-26 Thread Thomas Bächler
Am 22.03.2013 23:00, schrieb Dany De Bontridder:
> Today,  everything works fine and I decide to keep my PC up-to-date,
> so I run pacman -Syu and I get a message when trying to boot
> 
>  *** Kernel Panic - not syncing : No init found. ***

That is actually an impossible error message. It is only printed when
 1) no initramfs or an invalid initramfs is attached
 2) the kernel manages to mount the root partition
 3) no init binary is found

If a valid initramfs (containing a valid executable /init) is attached,
then the kernel will execute that an *never* try to mount the root
partition and find /init on its own. Thus, it will not print that message.

Now let's assume that you didn't attach a valid initramfs. Since the
Arch kernel contains no hard drive support and no filesystem support
whatsoever, it is impossible for it to mount a file system and the panic
message will *always* be
 "unable to mount root filesystem on [...]"

If you did attach a valid initramfs (as Arch does by default), then the
error messages would be different and you would always get an emergency
shell if something goes wrong. Even if you ignore everything and exit
all emergency shells that pop up, you will get a different panic message:
 "attempting to kill init"

In conclusion, it is entirely impossible that you get the error message
you quoted if you use the Arch kernel.




signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Question about mariadb replacing mysql

2013-03-26 Thread Paul Gideon Dann
On Tuesday 26 Mar 2013 13:50:13 Mike Cloaked wrote:
> So does any expert know whether a mysql_upgrade is necessary for KDE and if
> so how does one go about doing that upgrade?

I also use KDE.  I went ahead with the switch.  I stopped akonadi first, 
though:

# akonadictl stop

# akonadictl start

And all seemed to go well.  I haven't done anything special for KDE when 
upgrading mysql before, so I don't think anything is required now.  I haven't 
noticed any issues.

Paul


Re: [arch-general] downgrades when moving out of [testing]

2013-03-26 Thread Marek Otahal
On Tuesday 26 March 2013 14:32:54 Florian Pritz wrote:
> On 26.03.2013 14:22, Matthew Monaco wrote:
> > I typically upgrade with -uu, 
> 
> Now why would you do that unless you explicitly want to downgrade? This
> is only useful if you disable testing and want to downgrade all
> packages. Upgrading is only one -u.
> 
That is not true, usecase is, when a package is removed from [testing] (eg. 
found broken), pacman will not automatically sync to newest pkg in repos(core). 
I even suggest -uu is default use for pacman. 

-- 

Marek Otahal :o)


Re: [arch-general] Upgrade finish in a "Kernel Panic - not syncing : no init found"

2013-03-26 Thread Guus Snijders
Op 26 mrt. 2013 12:52 schreef "Dany De Bontridder"  het
volgende:
>
> Hi,
>
> On Sun, Mar 24, 2013 at 6:55 PM, Tom Gundersen  wrote:
> (...)
> > Out of interest: did you try booting a live-medium and chrooting into
> > your install? Were you able  to enter the chroot? What filesystem do
> > you use.
>
> Yes, I installed archlinux on 16 of march, type pacman -Syu on 22, the
> filesystem was ext4
>
> I get the package before and after but I found nothing, even
> downgrading didn't fix the problem

I understand that it might be too late for this case. I had a similar
failure a couple of days ago; after a (too long delayed) system update, my
system hung on boot.
The fix was relatively easy; boot a rescue system and rebuild the initramfs.
In hindsight i could have prevented the problem by taking care of the
warnings pacman reported. The entire problem was caused by me rebooting too
quickly.

So here's a friendly suggestion to check pacman's logs after each upgrade.
Most of the time it'll fine, but especially when it's been a while, it's
important to check it.

Hope that helps.

Mvg, Guus


Re: [arch-general] strange behaviour of pacman, what did I do?

2013-03-26 Thread Eric Bélanger
On Mon, Mar 25, 2013 at 10:38 PM, Shridhar Daithankar
 wrote:
> Hi
>
> I was updating an archroot, created with mkarchroot to play with lxc. I 
> thought following
> would work but it was doing something else altogether
>
> 
> [root@bheem lxc]# pacman -Su -c /var/cache/pacman/pkg/ --root=$PWD/server1
> Cache directory: /var/cache/pacman/pkg/
> Packages to keep:
>   All locally installed packages
> Do you want to remove all other packages from cache? [Y/n] ^C
> Interrupt signal received
> 
>
> I think I lost a few packages during this because following command lead to a 
> 30MB worth of
> download.
>
> 
> [root@bheem lxc]# pacman -Su --cachedir=/var/cache/pacman/pkg/  
> --root=$PWD/server1
> 
>
> What did pacman do the first time? The man page does not have bare -c option 
> and it wasn't
> -Sc where it started cleaning the packages(or was it?)

"-Sc" and "-S -c" do the same thing. It's just two different ways to
write the options. It would have been better to answer no instead of
hitting ^C.

>
> And just to be sure.. I wanted to run pacman on the host again.. and eh? I 
> lost my synced
> dbs? Thats strange..
>

That might be because of the aborted command earlier. You can use
"pacman -Syyu" if they are still broken.

> 
> [root@bheem lxc]# pacman -Syu
> :: Synchronizing package databases...
> error: core.db appears to be truncated: 3990/0 bytes
> error: failed retrieving file 'core.db' from mirrors.kernel.org : Failed 
> error: core.db appears to
> be truncated: 3990/0 bytes
> error: core.db appears to be truncated: 3990/0 bytes
> error: core.db appears to be truncated: 3990/0 bytes
> error: failed retrieving file 'core.db' from mirrors.easynews.com : Resolving 
> timed out after
> 1 milliseconds
>  core is up to date   
>   0.0   B  0.00B/s 00:00
> [-]   0%
>  extra
>1416.8 KiB   205K/s 00:07
> [#] 100%
>  community
>1917.7 KiB   206K/s
> 00:09 [#]
> 100%
> :: Starting full system upgrade...
>  there is nothing to do
> 
>
> --
> Regards
>  Shridhar


Re: [arch-general] downgrades when moving out of [testing]

2013-03-26 Thread Matthew Monaco
On 03/26/2013 07:32 AM, Florian Pritz wrote:
> On 26.03.2013 14:22, Matthew Monaco wrote:
>> I typically upgrade with -uu, 
> 
> Now why would you do that unless you explicitly want to downgrade? This
> is only useful if you disable testing and want to downgrade all
> packages. Upgrading is only one -u.
> 
> 

Because, often enough, packages are removed from testing and not moved into a
stable repo.


[arch-general] Question about mariadb replacing mysql

2013-03-26 Thread Mike Cloaked
With the move to mariadb I have the following situation:

I am not explicitely running mysqld so checking the status with systemctl
shows it is inactive.

However I am running KDE as my desktop.

After doing the suggested install after ensuring that mysqld is stopped:
pacman -S mariadb libmariadbclient mariadb-clients

and accepting the install of these packages with removal of mysql
equivalents, I then find that there is a private instance of mysql running
by the KDE desktop:

ps -eaf | egrep mysql
mike   660   657  0 Mar23 ?00:00:42 /usr/bin/mysqld
--defaults-file=/home/mike/.local/share/akonadi/mysql.conf
--datadir=/home/mike/.local/share/akonadi/db_data/
--socket=/home/mike/.local/share/akonadi/socket-home1/mysql.socket
mike  9747   761  0 13:39 pts/300:00:00 egrep mysql

So does any expert know whether a mysql_upgrade is necessary for KDE and if
so how does one go about doing that upgrade?

Thanks.

-- 
mike c


Re: [arch-general] downgrades when moving out of [testing]

2013-03-26 Thread Thomas Bächler
Am 26.03.2013 14:22, schrieb Matthew Monaco:
> Are the packages being removed from [testing] before being added to e.g. 
> [core]?

I think there is not, and if there is, it is not more than a few
microseconds.

> Does mirroring happen separately, but faster for [testing]? (I use 
> kernel.org).

Assuming that mirror syncing happens incrementally in alphabetical
order, you will first get the updated [core] database (/core/ folder),
then the updated package files (/pool/ folder) and last the updated
[testing] database (/testing/ folder). I guess mirrors could even sync
completely before putting everything in place, although rsync can't do
that on its own, I think.




signature.asc
Description: OpenPGP digital signature


Re: [arch-general] downgrades when moving out of [testing]

2013-03-26 Thread Florian Pritz
On 26.03.2013 14:22, Matthew Monaco wrote:
> I typically upgrade with -uu, 

Now why would you do that unless you explicitly want to downgrade? This
is only useful if you disable testing and want to downgrade all
packages. Upgrading is only one -u.




signature.asc
Description: OpenPGP digital signature


[arch-general] downgrades when moving out of [testing]

2013-03-26 Thread Matthew Monaco
I typically upgrade with -uu, and use [*testing]. I've noticed lately that there
is a window when a package moves out of [testing] that it will be downgraded.

For example, this happened when openssh-6.2 recently moved.

Are the packages being removed from [testing] before being added to e.g. [core]?
Does mirroring happen separately, but faster for [testing]? (I use kernel.org).

Best,
Matt


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Sean Greenslade
On Mar 26, 2013 7:55 AM, "Magnus Therning"  wrote:
>
> On Thu, Mar 07, 2013 at 07:32:52AM +0100, Julien Pecqueur wrote:
> > Hi
> >
> > I have the dame wireless chipset and it "works" on my Archlinux
> > setup (64bits, GNOME, b43-firmware and network manager).
> >
> > I sa y "works" because i can use the wireless connection but the
> > connection is slow.
> >
> > What does dmesg says after a connection try?
>
> I've been struggling enough with this damn wireless chipset lately to
> start thinking about getting a new laptop.

For what it's worth, I had a broadcom chipset in my netbook that gave me
nothing but trouble. I bought a ten dollar realtek chipset on ebay, and my
life has markedly improved since.

If you can replace the wifi chipset, I would recommend you to consider it.


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Julien Pecqueur
Which card did you bought?

Cordialement,

Julien Pecqueur


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Leonidas Spyropoulos
On 26 Mar 2013 11:55, "Magnus Therning"  wrote:
>
> On Thu, Mar 07, 2013 at 07:32:52AM +0100, Julien Pecqueur wrote:
> > Hi
> >
> > I have the dame wireless chipset and it "works" on my Archlinux
> > setup (64bits, GNOME, b43-firmware and network manager).
> >
> > I sa y "works" because i can use the wireless connection but the
> > connection is slow.
> >
> > What does dmesg says after a connection try?
>
> I've been struggling enough with this damn wireless chipset lately to
> start thinking about getting a new laptop.  Anyway, here's what dmesg
> says:
>
> 
> [   54.440439] wlan0: authenticate with b0:b2:dc:d1:99:a4
> [   54.453312] wlan0: capabilities/regulatory prevented using AP HT/VHT
configuration, downgraded
> [   54.467051] wlan0: send auth to b0:b2:dc:d1:99:a4 (try 1/3)
> [   54.468936] wlan0: authenticated
> [   54.469132] b43 ssb0:0 wlan0: disabling HT/VHT due to WEP/TKIP use
> [   54.469690] wlan0: associate with b0:b2:dc:d1:99:a4 (try 1/3)
> [   54.473986] wlan0: RX AssocResp from b0:b2:dc:d1:99:a4 (capab=0xc11
status=0 aid=3)
> [   54.474823] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> [   54.474920] wlan0: associated
> [   71.715677] fuse init (API version 7.20)
> [  179.609102] ieee80211 phy0: wlan0: No probe response from AP
b0:b2:dc:d1:99:a4 after 500ms, disconnecting.
> [  179.642723] cfg80211: Calling CRDA for country: SE
> [  180.950693] wlan0: authenticate with b0:b2:dc:d1:99:a4
> [  180.963233] wlan0: capabilities/regulatory prevented using AP HT/VHT
configuration, downgraded
> [  180.963421] wlan0: send auth to b0:b2:dc:d1:99:a4 (try 1/3)
> [  181.165948] wlan0: send auth to b0:b2:dc:d1:99:a4 (try 2/3)
> [  181.368875] wlan0: send auth to b0:b2:dc:d1:99:a4 (try 3/3)
> [  181.571809] wlan0: authentication with b0:b2:dc:d1:99:a4 timed out
> 
>
> Not sure if it matters, but the laptop was bought in the UK and we've
> since moved to Sweden (I did notice the mention of SE above).
>
> As you understand I'm pretty ignorant about this whole thing, so I can't
make
> heads nor tails of it.  After booting the network is up, for a little
> while, just enough to ping the router a few times:
>
> 
> % ping 192.168.1.254
> PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
> 64 bytes from 192.168.1.254: icmp_seq=1 ttl=64 time=11.4 ms
> 64 bytes from 192.168.1.254: icmp_seq=2 ttl=64 time=10.0 ms
> 64 bytes from 192.168.1.254: icmp_seq=3 ttl=64 time=4.51 ms
> 64 bytes from 192.168.1.254: icmp_seq=4 ttl=64 time=6.56 ms
> 64 bytes from 192.168.1.254: icmp_seq=5 ttl=64 time=5.24 ms
> 64 bytes from 192.168.1.254: icmp_seq=6 ttl=64 time=14.2 ms
> ping: sendmsg: No buffer space available
> ping: sendmsg: No buffer space available
> ping: sendmsg: No buffer space available
> ping: sendmsg: No buffer space available
> ping: sendmsg: No buffer space available
> ping: sendmsg: No buffer space available
> ^C
> --- 192.168.1.254 ping statistics ---
> 12 packets transmitted, 6 received, 50% packet loss, time 30030ms
> rtt min/avg/max/mdev = 4.510/8.686/14.278/3.527 ms
> 
>
> Any suggestion on what I can do to fix it is welcome.
>
> /M
>
> --
> Magnus Therning  OpenPGP: 0xAB4DFBA4
> email: mag...@therning.org   jabber: mag...@therning.org
> twitter: magthe   http://therning.org/magnus
>
> I invented the term Object-Oriented, and I can tell you I did not have
> C++ in mind.
>  -- Alan Kay

I had problems as well with archlinux and Ubuntu b43 driver. I tried many
times without success so I abandoned the idea and bought a new WiFi card
for my laptop. Not helpful I know..


Re: [arch-general] Broadcom B43 problems

2013-03-26 Thread Magnus Therning
On Thu, Mar 07, 2013 at 07:32:52AM +0100, Julien Pecqueur wrote:
> Hi
> 
> I have the dame wireless chipset and it "works" on my Archlinux
> setup (64bits, GNOME, b43-firmware and network manager).
> 
> I sa y "works" because i can use the wireless connection but the
> connection is slow.
> 
> What does dmesg says after a connection try?

I've been struggling enough with this damn wireless chipset lately to
start thinking about getting a new laptop.  Anyway, here's what dmesg
says:


[   54.440439] wlan0: authenticate with b0:b2:dc:d1:99:a4
[   54.453312] wlan0: capabilities/regulatory prevented using AP HT/VHT 
configuration, downgraded
[   54.467051] wlan0: send auth to b0:b2:dc:d1:99:a4 (try 1/3)
[   54.468936] wlan0: authenticated
[   54.469132] b43 ssb0:0 wlan0: disabling HT/VHT due to WEP/TKIP use
[   54.469690] wlan0: associate with b0:b2:dc:d1:99:a4 (try 1/3)
[   54.473986] wlan0: RX AssocResp from b0:b2:dc:d1:99:a4 (capab=0xc11 status=0 
aid=3)
[   54.474823] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   54.474920] wlan0: associated
[   71.715677] fuse init (API version 7.20)
[  179.609102] ieee80211 phy0: wlan0: No probe response from AP 
b0:b2:dc:d1:99:a4 after 500ms, disconnecting.
[  179.642723] cfg80211: Calling CRDA for country: SE
[  180.950693] wlan0: authenticate with b0:b2:dc:d1:99:a4
[  180.963233] wlan0: capabilities/regulatory prevented using AP HT/VHT 
configuration, downgraded
[  180.963421] wlan0: send auth to b0:b2:dc:d1:99:a4 (try 1/3)
[  181.165948] wlan0: send auth to b0:b2:dc:d1:99:a4 (try 2/3)
[  181.368875] wlan0: send auth to b0:b2:dc:d1:99:a4 (try 3/3)
[  181.571809] wlan0: authentication with b0:b2:dc:d1:99:a4 timed out


Not sure if it matters, but the laptop was bought in the UK and we've
since moved to Sweden (I did notice the mention of SE above).

As you understand I'm pretty ignorant about this whole thing, so I can't make
heads nor tails of it.  After booting the network is up, for a little
while, just enough to ping the router a few times:


% ping 192.168.1.254
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
64 bytes from 192.168.1.254: icmp_seq=1 ttl=64 time=11.4 ms
64 bytes from 192.168.1.254: icmp_seq=2 ttl=64 time=10.0 ms
64 bytes from 192.168.1.254: icmp_seq=3 ttl=64 time=4.51 ms
64 bytes from 192.168.1.254: icmp_seq=4 ttl=64 time=6.56 ms
64 bytes from 192.168.1.254: icmp_seq=5 ttl=64 time=5.24 ms
64 bytes from 192.168.1.254: icmp_seq=6 ttl=64 time=14.2 ms
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
^C
--- 192.168.1.254 ping statistics ---
12 packets transmitted, 6 received, 50% packet loss, time 30030ms
rtt min/avg/max/mdev = 4.510/8.686/14.278/3.527 ms


Any suggestion on what I can do to fix it is welcome.

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus

I invented the term Object-Oriented, and I can tell you I did not have
C++ in mind.
 -- Alan Kay


pgpxAwX2tuC80.pgp
Description: PGP signature


[arch-general] strange behaviour of pacman, what did I do?

2013-03-26 Thread Shridhar Daithankar
Hi

I was updating an archroot, created with mkarchroot to play with lxc. I thought 
following 
would work but it was doing something else altogether


[root@bheem lxc]# pacman -Su -c /var/cache/pacman/pkg/ --root=$PWD/server1
Cache directory: /var/cache/pacman/pkg/
Packages to keep:
  All locally installed packages
Do you want to remove all other packages from cache? [Y/n] ^C
Interrupt signal received


I think I lost a few packages during this because following command lead to a 
30MB worth of 
download.


[root@bheem lxc]# pacman -Su --cachedir=/var/cache/pacman/pkg/  
--root=$PWD/server1


What did pacman do the first time? The man page does not have bare -c option 
and it wasn't 
-Sc where it started cleaning the packages(or was it?)

And just to be sure.. I wanted to run pacman on the host again.. and eh? I lost 
my synced 
dbs? Thats strange..


[root@bheem lxc]# pacman -Syu
:: Synchronizing package databases...
error: core.db appears to be truncated: 3990/0 bytes
error: failed retrieving file 'core.db' from mirrors.kernel.org : Failed error: 
core.db appears to 
be truncated: 3990/0 bytes
error: core.db appears to be truncated: 3990/0 bytes
error: core.db appears to be truncated: 3990/0 bytes
error: failed retrieving file 'core.db' from mirrors.easynews.com : Resolving 
timed out after 
1 milliseconds
 core is up to date 
0.0   B  0.00B/s 00:00 
[-]   0%
 extra  
 1416.8 KiB   205K/s 00:07 
[#] 100%
 community  
 1917.7 KiB   206K/s 
00:09 [#] 
100%
:: Starting full system upgrade...
 there is nothing to do


-- 
Regards
 Shridhar


Re: [arch-general] Upgrade finish in a "Kernel Panic - not syncing : no init found"

2013-03-26 Thread Dany De Bontridder
Hi,

On Sun, Mar 24, 2013 at 6:55 PM, Tom Gundersen  wrote:
(...)
> Out of interest: did you try booting a live-medium and chrooting into
> your install? Were you able  to enter the chroot? What filesystem do
> you use.

Yes, I installed archlinux on 16 of march, type pacman -Syu on 22, the
filesystem was ext4

I get the package before and after but I found nothing, even
downgrading didn't fix the problem


KR,

Dany


Re: [arch-general] Forward all PPTP VPN packets to another proxy?

2013-03-26 Thread Bill Sun
On Sat, Mar 23, 2013 at 08:30:10PM +0800, Hexchain Tong wrote:
> On Sat, Mar 23, 2013 at 2:39 PM, Bill Sun  wrote:
> >
> > I'm thinking about running a http server that handles all the
> > authentication for Server 2 (such as dante?), then forward all packets
> > to that server (running in Server 1). But I don't know how to write
> > corresponding iptables rules. So how to write such rules?
>
> You need to setup another proxy on Server 1. Take squid for example,
> in squid.conf, set upstream server using cache_peer and authentication
> parameters (please refer to squid manual because I don't know how to
> do it :-P ), and set a port that handles intercepted traffic (or it
> won't work!):
>
> http_port  intercept
>
> and insert the following iptables rule:
>
> iptables -t nat -A PREROUTING -s  -p tcp --dport 80
> -j REDIRECT --to-port 
Great! It works! But I need to add an additional iptables rule:
iptables -t nat -A POSTROUTING -j ACCEPT

Regards.