You are not logged in.

#1 2013-10-31 18:10:48

eblanchette
Member
Registered: 2013-10-31
Posts: 3

Mysql Keeps Wanting to Update

Hello,

Everytime I run packer -Syu it keeps wanting to update mysql. I believe this has something to do with the switch to the AUR repository. How do I fix this?

packer -Si mysql
Repository     : aur
Name           : libmysqlclient
Version        : 5.6.14-1
URL            : https://www.mysql.com/products/community/
Licenses       : GPL
Groups         : None
Provides       : None
Depends On     : 
Make Depends   : cmake openssl zlib
Optional Deps  : None
Conflicts With : None
Replaces       : None
Architecture   : i686 x86_64
Description    : A fast SQL database server
pacman -Qi mysql
Name           : mysql
Version        : 5.5.30-7
Description    : A fast SQL database server
Architecture   : x86_64
URL            : https://www.mysql.com/products/community/
Licenses       : GPL
Groups         : None
Provides       : mariadb=5.5.30
Depends On     : mysql-clients  systemd-tools
Optional Deps  : None
Required By    : akonadi  google-appengine-php
Optional For   : None
Conflicts With : mariadb
Replaces       : None
Installed Size : 80756.00 KiB
Packager       : Bartłomiej Piotrowski <barthalion@gmail.com>
Build Date     : Tue 05 Mar 2013 03:11:06 PM EST
Install Date   : Mon 25 Mar 2013 09:55:48 PM EDT
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Unknown
pacman -Qs mysql
local/libdbi-drivers 0.9.0-1
    Database drivers for libdbi (MySQL, PostgreSQL, and SQLite)
local/libmysqlclient 5.6.14-1
    MySQL client libraries
local/mysql 5.5.30-7
    A fast SQL database server
local/mysql-clients 5.5.30-7
    MySQL client tools

Thanks,

Eric

Offline

#2 2013-10-31 18:21:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mysql Keeps Wanting to Update

I can't find a package named libmysqlclient anywhere. The closest one is https://aur.archlinux.org/packages/?O=0 … _Search=Go

mysql is in the AUR https://aur.archlinux.org/packages/mysql/
Why don't you update it?

I see nothing to fix, you just have to update some packages.

Last edited by karol (2013-10-31 18:23:02)

Offline

#3 2013-10-31 18:55:20

eblanchette
Member
Registered: 2013-10-31
Posts: 3

Re: Mysql Keeps Wanting to Update

I do but when I run the update again it still says updates available...

:: Starting full aur upgrade...

Aur Targets    (1): mysql
....
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
==> WARNING: Package contains reference to $srcdir
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "mysql"...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Finished making: mysql 5.6.14-1 (Thu Oct 31 14:54:26 EDT 2013)
loading packages...
warning: libmysqlclient-5.6.14-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): libmysqlclient-5.6.14-1

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

:: Proceed with installation? [Y/n] 
(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%
(1/1) reinstalling libmysqlclient                         [###############################] 100%
 local database is up to date

Thanks,

Eric

Offline

#4 2013-10-31 18:59:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mysql Keeps Wanting to Update

I'm sorry, where does it say that updates available?

Offline

#5 2013-10-31 19:00:18

eblanchette
Member
Registered: 2013-10-31
Posts: 3

Re: Mysql Keeps Wanting to Update

 packer -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Synchronizing aur database...
 aur                                      145  145 [######################################]100%
:: Starting full aur upgrade...

Aur Targets    (1): mysql

Proceed with installation? [Y/n] 

Offline

#6 2013-10-31 19:08:32

progandy
Member
Registered: 2012-05-17
Posts: 5,307

Re: Mysql Keeps Wanting to Update

The mysql package in the AUR is a split package. Installing it with packer may result in an incomplete installation if packer picks only one package file to install. Makepkg for the mysql split package results in three packages and you'll have to install at least libmysqlclient and mysql, I would install mysql-clients, too.
I gave up using automated AUR helpers and switched to cower/makepkg with a few bash aliases. Since I manually verify the PKGBUILD anyways, it doesn't feel like more work to me.


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

Offline

#7 2013-10-31 19:20:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mysql Keeps Wanting to Update

progandy wrote:

I gave up using automated AUR helpers and switched to cower/makepkg with a few bash aliases. Since I manually verify the PKGBUILD anyways, it doesn't feel like more work to me.

+1

Thanks, progandy, for finding libmysqlclient ;-P I should have checked the PKGBUILD.

Offline

Board footer

Powered by FluxBB