Discussion:
pkgin: mplayer-1.1.1nb1 is not available on the repository
Carsten Kunze
2014-07-16 19:43:42 UTC
Permalink
Hello,

on trying to install mplayer on NetBSD 6.1.4 amd64 I got the following output:

# pkgin install mplayer
calculating dependencies... done.

nothing to upgrade.
18 packages to be installed: libaudiofile-0.3.6nb1 popt-1.16nb1 mplayer-fonts-20030714nb1 xvidcore-1.3.2 x264-devel-20140303 nas-1.9.3nb1 mplayer-share-1.1.1nb1 libtheora-1.1.1nb2 libmad-0.15.1bnb1 libdvdread-4.2.0 libdvdnav-4.2.0 libdv-1.0.0nb1 giflib-5.0.5 faad2-2.7nb2 esound-0.2.41nb3 cdparanoia-3.0.10.2nb2 SDL-1.2.15nb8 mplayer-1.1.1nb1 (14M to download, 46M to install)

proceed ? [Y/n]
downloading packages...
libaudiofile-0.3.6nb1.tgz
popt-1.16nb1.tgz
mplayer-fonts-20030714nb1.tgz
xvidcore-1.3.2.tgz
x264-devel-20140303.tgz
nas-1.9.3nb1.tgz
mplayer-share-1.1.1nb1 is not available on the repository
proceed ? [y/N] y
libtheora-1.1.1nb2.tgz
libmad-0.15.1bnb1.tgz
libdvdread-4.2.0.tgz
libdvdnav-4.2.0.tgz
libdv-1.0.0nb1.tgz
giflib-5.0.5.tgz
faad2-2.7nb2.tgz
esound-0.2.41nb3.tgz
cdparanoia-3.0.10.2nb2.tgz
SDL-1.2.15nb8.tgz
mplayer-1.1.1nb1 is not available on the repository
proceed ? [y/N]
pkgin: mplayer-1.1.1nb1 is not available on the repository


I did not setup a special server for that so the default server is used.

Are not all packages available for all amd64 NetBSD releases? And if yes--why did pkgin not know this?

Carsten
Roy Bixler
2014-07-16 21:08:55 UTC
Permalink
Post by Carsten Kunze
Hello,
on trying to install mplayer on NetBSD 6.1.4 amd64 I got the following output
<snip>
Post by Carsten Kunze
mplayer-1.1.1nb1 is not available on the repository
proceed ? [y/N]
pkgin: mplayer-1.1.1nb1 is not available on the repository
I did not setup a special server for that so the default server is used.
Are not all packages available for all amd64 NetBSD releases? And if yes--why did pkgin not know this?
Did you do a

pkgin up

by any chance? When I do a

pkgin av

it shows that

mplayer-1.1.1nb3 Fast, cross-platform movie player

is available.
--
Roy Bixler <***@nyx.net>
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman
Aleksej Saushev
2014-07-16 22:01:37 UTC
Permalink
Post by Carsten Kunze
# pkgin install mplayer
calculating dependencies... done.
nothing to upgrade.
...
Post by Carsten Kunze
I did not setup a special server for that so the default server is used.
Are not all packages available for all amd64 NetBSD releases? And if yes--why did pkgin not know this?
You cannot distribute useful binary package for MPlayer for legal reasons.
--
HE CE3OH...
Carsten Kunze
2014-07-16 22:11:26 UTC
Permalink
Post by Carsten Kunze
Post by Carsten Kunze
Are not all packages available for all amd64 NetBSD releases? And if
yes--why did pkgin not know this?
You cannot distribute useful binary package for MPlayer for legal reasons.
I know that from Linux, but had not expected it on NetBSD.

But if that's the reason why does "pkgin avail" list it? Or do I have do setup an alternative server path to be able to install it?
Christian Koch
2014-07-16 22:37:52 UTC
Permalink
Post by Carsten Kunze
Post by Carsten Kunze
Post by Carsten Kunze
Are not all packages available for all amd64 NetBSD releases? And if
yes--why did pkgin not know this?
You cannot distribute useful binary package for MPlayer for legal reasons.
I know that from Linux, but had not expected it on NetBSD.
But if that's the reason why does "pkgin avail" list it?
I'm not sure. But as already mentioned, it would be worth performing "pkgin up"
-- there's a version of the MPlayer package newer than what your system is aware
of.
Post by Carsten Kunze
Or do I have do setup an alternative server path to be able to install it?
Depending on what you need from MPlayer, it *will* be necessary to let pkgsrc
know about some non-default details.

For example, the following is in my /etc/mk.conf:

LIBDVDCSS_MASTER_SITES=http://download.videolan.org/pub/libdvdcss/
ACCEPTABLE_LICENSES+= libdvdcss-license
ACCEPTABLE_LICENSES+= mplayer-codec-license

This lets me play commercial DVDs on my NetBSD laptop. But AFAIK the only way to
install MPlayer this way is to not use binary pakages -- you'll have to compile
from source.

-Christian
Jeremy C. Reed
2014-07-16 22:46:31 UTC
Permalink
Post by Carsten Kunze
But if that's the reason why does "pkgin avail" list it? Or do I have
do setup an alternative server path to be able to install it?
I assume the pkg_summary(5) database was created using a repo of
packages that included some packages not allowed to be served. The
problem package was either removed or at least not uploaded. So the
list of available packages doesn't match.

I didn't look at old email in this thread to see what repo has problem.
But I have a few scripts to check sanity of the repo and see many
potential problems, including:
http://ftp.netbsd.org/pub/NetBSD/misc/reed/pkgsrc-package-sanity/missing-or-old-pkg_summary.txt

See
http://ftp.netbsd.org/pub/NetBSD/misc/reed/pkgsrc-package-sanity/README
for some details
Aleksej Saushev
2014-07-17 06:56:05 UTC
Permalink
Post by Carsten Kunze
Post by Carsten Kunze
Post by Carsten Kunze
Are not all packages available for all amd64 NetBSD releases? And if
yes--why did pkgin not know this?
You cannot distribute useful binary package for MPlayer for legal reasons.
I know that from Linux, but had not expected it on NetBSD.
This is the problem in the law, not in NetBSD.
Post by Carsten Kunze
But if that's the reason why does "pkgin avail" list it?
Or do I have do setup an alternative server path to be able to install it?
Just build it from the source, it takes only fifteen minutes with decent
hardware and internet connectivity.
--
HE CE3OH...
Carsten Kunze
2014-07-16 21:28:47 UTC
Permalink
Post by Roy Bixler
Did you do a
pkgin up
The system had been installed 3 days ago. I did not made an update, but if I do it does not change anything.
Post by Roy Bixler
by any chance? When I do a
pkgin av
it shows that
mplayer-1.1.1nb3 Fast, cross-platform movie player
is available.
Exactly what I am saying. It thinks it is available but it is not (I get the same output like you, but if I do the install it is not there.)
Loading...