Youtube-dl problem/question

William A. Mahaffey III wam at hiwaay.net
Wed Apr 22 04:32:20 UTC 2015


On 04/21/15 22:38, Michael B. Eichorn wrote:
> On Mon, 2015-04-20 at 14:56 -0453, William A. Mahaffey III wrote:
>> On 04/20/15 14:47, jungle Boogie wrote:
>>> Hi William,
>>> On 20 April 2015 at 12:28, William A. Mahaffey III <wam at hiwaay.net
>>>> wrote:
>>>> I poked around a bit & ytdl doesn't seem to beavailable for
>>>> FreeBSD 9.3,
>>>> have I got that right ? If so, any plans to get a pkg going for
>>>> 9.3R ? Just
>>>> curious .... TIA & have a good one.
>>> I don't have a 9.3 system but I'm pretty sure all pks/ports build
>>> on
>>> all versions. This isn't linux where the software version is
>>> locked to
>>> the OS.
>>>
>>> https://www.freshports.org/www/youtube_dl/
>>>
>>> Try it out:
>>> pkg install www/youtube_dl/
>> OK, here goes:
>>
>> [root at kabini1, /etc, 2:44:48pm] 348 % pkg install www/youtube_dl/
>> Updating FreeBSD repository catalogue...
>> FreeBSD repository is up-to-date.
>> All repositories are up-to-date.
>> New version of pkg detected; it needs to be installed first.
>> The following 1 packages will be affected (of 0 checked):
>>
>> Installed packages to be UPGRADED:
>>           pkg: 1.4.12 -> 1.5.1
>>
>> The process will require 320 KiB more space.
>> 2 MiB to be downloaded.
>>
>> Proceed with this action? [y/N]: y
>> Fetching pkg-1.5.1.txz: 100%    2 MiB 349.1kB/s    00:06
>> Checking integrity... done (0 conflicting)
>> [1/1] Upgrading pkg from 1.4.12 to 1.5.1...
>> [1/1] Extracting pkg-1.5.1: 100%
>> Message for pkg-1.5.1:
>>    If you are upgrading from the old package format, first run:
>>
>>     # pkg2ng
>> Updating FreeBSD repository catalogue...
>> pkg: Unable to upgrade "FreeBSD" repo schema version 2010 (target
>> version 2011) -- change not found
>> pkg: need to re-create repo FreeBSD to upgrade schema version
>> Fetching meta.txz: 100%    972 B   1.0kB/s    00:01
>> Fetching packagesite.txz: 100%    5 MiB 353.7kB/s    00:15
>> Processing entries: 100%
>> FreeBSD repository update completed. 23878 packages processed.
>> pkg: No packages available to install matching 'www/youtube_dl/'
>> have
>> been found in the repositories
>>    whew !!!! that took (15.864 cpu + 1.666 sys) sec., 0:50.56 elapsed
>> time tot, 34.6% CPU efficiency
>>           (208 text, 2555 data, 29920 max) KB, (0+1064) io, 7466 pfs
>> + 0
>> swaps
>> [root at kabini1, /etc, 2:51:17pm] 349 % uname -a
>> FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0:
>> Tue
>> Apr  7 03:01:12 UTC 2015
>> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>> [root at kabini1, /etc, 2:52:48pm] 350 %
>>
>>
>> Any clues ? I do see it in /usr/ports/www, maybe try w/o the www ?
> <snip>
>
> The problem is that there is no package 'www/youtube_dl/'
> There is a package 'www/youtube_dl'
>
> Same with 'editors/vim-lite/' and 'editors/vim-lite' pkg does not
> expect a trailing '/' in the package name.
>
> # pkg install www/youtube_dl
> Works as expected.
>
> Cheers,
> Ike
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


Good point (trailing '/'), I didn't get as far as checkig that out, 
since the plain 'pkg install -y youtube_dl' worked as desired. But 
nonetheless a valid & important point (no kidding). Thanks :-) ....


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-questions mailing list