[buug] install of mysql on obsd3.6 failed. help required. thanks.

f.johan.beisser jan at caustic.org
Sun Jan 2 16:26:22 PST 2005


you're doing two things wrong, check the faq for more details, but
starting here:

pkg_add ftp://ftp.openbsd.org/...

by doing this, there's no root section for the pkg to be installed from.
either set the environment variable PKG_PATH to your pkg directory (in
this case, ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386) then run
pkg_add or grab the package and all the dependancies it wants to a local
directory, and pkg_add from there.

my habit: PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/
sudo pkg_add <packagename>

that will ensure it gets all the dependancies it'll need, from the same
pkg directory as the one you're installing.

On Sun, 2 Jan 2005, Frederic Durodie wrote:

> Hi,
>
> I'm new to OpenBSD (and additely still quite green on the linux side as
> well). I tried to install mysql on a P200/128MB but it failed. Can someone
> help me ? Thanks.
>
> Frederic
>
> geminix# pkg_add -n
> ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20
> Pretending to add
> ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20
> Dependencies for mysql-server-4.0.20 resolve to:
> mysql-client-4.0.20,p5-DBD-mysql-2.9004 (todo:
> mysql-client-4.0.20,p5-DBD-mysql-2.9004)
> Pretending to add mysql-client-4.0.20
> /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysql.1
> /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysqladmin.1
> /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysqldump.1
> /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysqlshow.1
> Pretending to add p5-DBD-mysql-2.9004
> Dependencies for p5-DBD-mysql-2.9004 resolve to:
> p5-DBI-1.43,mysql-client-4.0.20 (todo: p5-DBI-1.43)
> Pretending to add p5-DBI-1.43
> Dependencies for p5-DBI-1.43 resolve to: p5-PlRPC-0.2018 (todo:
> p5-PlRPC-0.2018)
> Pretending to add p5-PlRPC-0.2018
> Dependencies for p5-PlRPC-0.2018 resolve to: p5-Net-Daemon-0.38 (todo:
> p5-Net-Daemon-0.38)
> Pretending to add p5-Net-Daemon-0.38
> Can't install p5-DBD-mysql-2.9004: incorrect libspec:
> lib/mysql/mysqlclient.12.0
> Can't install
> ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20:
> can't resolve p5-DBD-mysql-2.9004
> /: 3037016 bytes
> geminix#
>
>
> _______________________________________________
> Buug mailing list
> Buug at weak.org
> http://www.weak.org/mailman/listinfo/buug
>

 --- f.johan.beisser ---
  I concede that I overestimated the intelligence of the American people.
  Though the people disagree with the President on almost every issue, you
  saw fit to vote for him. I never saw that coming. That's really special.
  And I mean "special" in the sense that we use it to describe those kids who
  ride the short school bus and find ways to injure themselves while eating
  pudding with rubber spoons. That kind of special.
	-- Adam Felber, "Concession Speech"
	   http://www.felbers.net/mt/archives/000945.html



More information about the buug mailing list