BusterDog + build system (no-systemd)

a very small Live CD shaped to look and act like Puppy Linux.

Moderator: fredx181

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: BusterDog + build system (no-systemd)

Post by rcrsn51 »

If I am going to keep building wifi driver packs, people need access to the matching kernel.

But no one has complained about the 5.6.0 kernel update disappearing, so I doubt if it's really a problem.

The target audience isn't big enough to make it worth my time.
User avatar
bark-woof-fetch
Posts: 44
Joined: Sat Sep 12, 2020 7:20 am
Has thanked: 32 times
Been thanked: 3 times

Re: BusterDog + build system (no-systemd)

Post by bark-woof-fetch »

fredx181 wrote: Sat Sep 12, 2020 10:29 am Not saying it's impossible, but would it be doable...
I'm gonna try a dummy run one of these days. With a local clone of debiandog.github.io/MakeLive unless it isn't reasonably lightweight.
Without re-scripting it could also be set up as a saved VM snapshot from the chroot stage if new .iso deb-src sources could be apt added by then.

Latest run was without any of your mklive Extra Dog Packages or Desktop Environment Packages so I guess it's like a naked MakeLive then?

I checked text editor package download and installed sizes and found ne (as in nice editor https://packages.debian.org/buster/ne) which shaves about 1.2mb off vs. nano and seems quite a bit more beginner userfriendly as well. Leafpad is surprisingly lean as well at 90/465kb dl/instld.
Checking browsers next for something lean yet functional. Then create a fat SFS with a full firefox with extensions and account sync and so on to use ad hoc on the side.

Same for all the Dog and Puppy tools and see if/how that works as a SFS module loaded either on-the-fly or on boot.

I'm testing inside a portable virtualbox (https://www.vbox.me) on a 4GB RAM disk with quite fun boot times at around 2-3 secs which is helpful when trying to learn the various boot methods and how to use persistence .dat files.

Fantastic to see a bare-bone RAM bootable Debian with WM at >200mb pulling around 100mb RAM idle. It's a great base you've built for us Fred, thanks again.
bark-woof-fetch wrote: Sat Sep 12, 2020 11:19 am EDIT: Ooops.., Me, fredx181 edited accidentally your post, sorry!
LOL!
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

bark-woof-fetch wrote:Latest run was without any of your mklive Extra Dog Packages or Desktop Environment Packages so I guess it's like a naked MakeLive then?
Well, yes, then no 'Dog' packages, OK, but if you extracted "dog-boot-buster-20191026.tar.gz" in the chroot (as the mklive script does) then the filesystem will include some scripts and configs that are custom 'Dog' related. Btw, it contains also the scripts required by the porteus-boot method, it won't work properly without these.

Fred
User avatar
bark-woof-fetch
Posts: 44
Joined: Sat Sep 12, 2020 7:20 am
Has thanked: 32 times
Been thanked: 3 times

Re: BusterDog + build system (no-systemd)

Post by bark-woof-fetch »

fredx181 wrote: Sun Sep 13, 2020 2:07 pm
bark-woof-fetch wrote:Latest run was without any of your mklive Extra Dog Packages or Desktop Environment Packages so I guess it's like a naked MakeLive then?
Well, yes, then no 'Dog' packages, OK, but if you extracted "dog-boot-buster-20191026.tar.gz" in the chroot (as the mklive script does) then the filesystem will include some scripts and configs that are custom 'Dog' related. Btw, it contains also the scripts required by the porteus-boot method, it won't work properly without these.

Fred
Why extract in the chroot when mklive does the same later on?

Next 1st step here is to dl https://debiandog.github.io/MakeLive to local MakeLive folder and replace all mklive refs to that. Then push the red button.

Mounting installer ISOs into chroot and adding them to sources.list works. Challenge then is where to look for what since there are 16 install DVDs to mirror the online mirrors (https://cdimage.debian.org/debian-cd/10 ... 4/list-dvd).
Found roll-your-own tools like https://fai-project.org/FAIme/ and Ansible playbooks and some meta ISOs like https://fai-project.org/fai-cd/ and https://www.debian.org/blends/, gonna try with them next.
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

bark-woof-fetch wrote:Why extract in the chroot when mklive does the same later on?
Probably I misunderstood thinking for a moment that you want it "pure" Debian without any 'Dog' stuff so then you might not want to extract "dog-boot-buster-20191026.tar.gz"
All the best!

EDIT: Indeed looks like there are 16 DVD's :shock: not sure if you need them all
http://debian.mirror.iweb.com/debian-cd ... 4/iso-dvd/

Fred
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

Kernel Sid 5.8.0-1 (plus some older versions 64-bit) moved to here:
https://github.com/DebianDog/BusterDog/ ... s/tag/v0.2
Also added 5.7.0-0 buster-backports kernel.

Fred
User avatar
bark-woof-fetch
Posts: 44
Joined: Sat Sep 12, 2020 7:20 am
Has thanked: 32 times
Been thanked: 3 times

Re: BusterDog + build system (no-systemd)

Post by bark-woof-fetch »

fredx181 wrote: Mon Sep 14, 2020 6:32 am
bark-woof-fetch wrote:Why extract in the chroot when mklive does the same later on?
Probably I misunderstood thinking for a moment that you want it "pure" Debian without any 'Dog' stuff so then you might not want to extract "dog-boot-buster-20191026.tar.gz"
All the best!

EDIT: Indeed looks like there are 16 DVD's :shock: not sure if you need them all
http://debian.mirror.iweb.com/debian-cd ... 4/iso-dvd/

Fred
No misunderstanding at all Fred, I want the Dog! :thumbup:

Since I'm only adding and installing debs and editing the boot menu entries, a standard DDog remaster would probably have been more simple than chroot apt installs and save the build time afterwards inside the VM. Didn't realize that until now...

https://fai-project.org/FAIme/ is great btw as front-end to the debian mirrors, it accepts a single line of (unlimited) package names and a third party repo as well. The 2.2gb iso came up after 10 minutes or so. For UbuntuDogs https://launchpad.net/cubic looks good.
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

Hi bark-woof-fetch, as I was curious, I did some playing with your idea.
Found that without the busterdog repo it will be very difficult, since apart from the packages install from config file, there are some more lines in the script that install required packages (e.g. elogind, part of busterdog repo), so I made busterdog-repo.iso:
https://github.com/DebianDog/BusterDog/ ... g-repo.iso
I must say that I came very far with only the first 3 Debian DVD's (most essential packages available, but not all) and busterdog-repo.iso

Changes I made in modified mklive-buster script for to point to ISO mountpoints:
(change paths according to what it is for you, of course)
This is for 64-bit build and I only tested offline apt install packages from ISO mirrors.

line 649:

Code: Select all

########## Set up debootstrap ##########
echo -e "\e[0;36mSetting up debootstrap in buster/chroot\033[0m"
echo -e "\e[0;36mThis may take a while...\033[0m"
mkdir -p buster/chroot && cd buster &&
mkdir -p chroot/mnt/iso1
mkdir -p chroot/mnt/iso2
mkdir -p chroot/mnt/iso3
mkdir -p chroot/mnt/iso4
mount -o loop /mnt/sda2/00-debiso/debian-10.5.0-amd64-DVD-1.iso chroot/mnt/iso1
mount -o loop /mnt/sda2/00-debiso/debian-10.5.0-amd64-DVD-2.iso chroot/mnt/iso2
mount -o loop /mnt/sda2/00-debiso/debian-10.5.0-amd64-DVD-3.iso chroot/mnt/iso3
mount -o loop /mnt/sda2/00-debiso/busterdog-repo.iso chroot/mnt/iso4    # busterdog-repo.iso
debootstrap --no-check-gpg --no-merged-usr --arch=$ARCH --variant=minbase --include=apt-transport-https,ca-certificates buster chroot file:///mnt/sda5/buster/chroot/mnt/iso1
(I have buster/chroot on sda5, needs full path for debootstrap, I think)

line 723:

Code: Select all

[ "$ARCH" = "amd64" ] && echo '#deb https://github.com/doglinux/busterdog/raw/master/amd64/ ./
deb [trusted=yes] file:///mnt/iso4/amd64/ ./
## package repositories
deb [trusted=yes] file:///mnt/iso1/ buster main contrib
deb [trusted=yes] file:///mnt/iso2/ buster main contrib
deb [trusted=yes] file:///mnt/iso3/ buster main contrib
#deb http://ftp.us.debian.org/debian/ buster main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ buster main contrib non-free
#deb http://security.debian.org/ buster/updates main contrib non-free
#deb-src http://security.debian.org/ buster/updates main contrib non-free
#deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free
#deb http://la.mxrepo.com/antix/buster buster main nonfree
#deb http://mxrepo.com/mx/repo/ buster main non-free
' > /etc/apt/sources.list
line 803 (remove live-boot from this line as it is not available from the 3 DVD's):

Code: Select all

apt-get install menu dbus xserver-xorg-legacy --yes
Do not forget to unmount chroot/mnt/iso1 chroot/mnt/iso2 etc... before creating 01-filesystem.squashfs

Attached is "custom.conf" that works for me, remove fake .gz and run (I named the script mklive-buster-mod) :

Code: Select all

./mklive-buster-mod -gui /path/to/custom.conf
Resulted for me in ISO size 288MB, including openbox, lxpanel, firefox-esr, pcmanfm, synaptic, gparted and more, and boots fine.

Hope this helps.

Fred
Attachments
custom.conf.gz
remove fake .gz
(2.59 KiB) Downloaded 49 times
User avatar
bark-woof-fetch
Posts: 44
Joined: Sat Sep 12, 2020 7:20 am
Has thanked: 32 times
Been thanked: 3 times

Re: BusterDog + build system (no-systemd)

Post by bark-woof-fetch »

fredx181 wrote: Mon Sep 14, 2020 4:09 pm Found that without the busterdog repo it will be very difficult, since apart from the packages install from config file, there are some more lines in the script that install required packages (e.g. elogind, part of busterdog repo), so I made busterdog-repo.iso:
https://github.com/DebianDog/BusterDog/ ... g-repo.iso
Fantastic!
I must say that I came very far with only the first 3 Debian DVD's (most essential packages available, but not all) and busterdog-repo.iso
Same here, I just lined up a column in my notes in Calc for every conceivable package I may need and used the FAI ISO builder to avoid hunting the DVD lists. May as well have used mklive for that of course, FAI was just more practical under current circumstances.
Changes I made in modified mklive-buster script for to point to ISO mountpoints...
...Attached is "custom.conf" that works for me...
very very helpful, thanks again Fred. Once beta testing is done and my Dog is in the house with git and all I'll do a proper fork based on your mod.

As mentioned in previous post I'm not yet sure about which use case this would be an advantage for compared to a regular remaster.

Every user would still need to bake an ISO or download the right debian ones anyway. But having your mklive script deps as a repo to be downloaded and used offline as well may make the build process more convenient for some. Say if one got access to broadband somewhere but neither time or root access to build perhaps.
ralcocer
Posts: 24
Joined: Tue Aug 25, 2020 2:23 pm

Re: BusterDog + build system (no-systemd)

Post by ralcocer »

Trying to run qemu I get this error now: Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: -bios -cdrom: drive with bus=0, unit=0 (index=0) exists. However since I am used to LXDE I used the Script to make a Google-Chrome with a few changes I added Opengl since I do 3d Printing took the firewall out also added Arduino also Yradio which by the way the sound works but the Web Browsers have no sound. I tried Chrome, chromiun,and palemoon.
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

Updated packages:

- quick-remaster, version 1.2.4
Change is that there is choice now to merge extra loaded .squashfs modules into the remaster or not.
(previous version only offered to rename extra loaded .squashfs to .bak, if chosen not to rename, it still merged into 01-filesystem.squashfs)
Also added to Stretchdog, Bionicdog, Fossadog repositories.

- straw-viewer (gtk-youtube-viewer alternative), version 0.0.9 (latest at this time)

@ralcocer
Trying to run qemu I get this error now: Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: -bios -cdrom: drive with bus=0, unit=0 (index=0) exists. However since I am used to LXDE I used the Script to make a Google-Chrome with a few changes I added Opengl since I do 3d Printing took the firewall out also added Arduino also Yradio which by the way the sound works but the Web Browsers have no sound. I tried Chrome, chromiun,and palemoon.
I would like to help, but cannot, don't know much about qemu and Palemoon and Google-chrome works for me with sound (not qemu booting, though).

Fred
helloworld
Posts: 76
Joined: Thu Sep 24, 2020 3:53 am
Has thanked: 10 times
Been thanked: 9 times

Re: BusterDog + build system (no-systemd)

Post by helloworld »

hi ,i like your busterdog (thanks for your great work),but got some problems: flatpak cannot install apps or runs with problems . And gimp from debian repo can be installed but fail to run(i was sure i have installed all depends), please check and fix it ,if you are available and it is possible.
it seems other debaindog can run gimp well. by the way. i change my init system into systemd following your tutorial,but how do i change it back to elogind(nosystemd),i try to install packages related to elogind ,but failed
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

helloworld wrote:And gimp from debian repo can be installed but fail to run(i was sure i have installed all depends), please check and fix it ,if you are available and it is possible.
I've checked and gimp runs for me, can you run gimp from terminal and post the output ?
i change my init system into systemd following your tutorial,but how do i change it back to elogind(nosystemd),i try to install packages related to elogind ,but failed
I've tried some ways, but failed too, could not figure out how to get back to elogind, sorry, I guess it's best for you to start fresh.

Fred
helloworld
Posts: 76
Joined: Thu Sep 24, 2020 3:53 am
Has thanked: 10 times
Been thanked: 9 times

Re: BusterDog + build system (no-systemd)

Post by helloworld »

fredx181 wrote: Sat Sep 26, 2020 10:36 am
helloworld wrote:And gimp from debian repo can be installed but fail to run(i was sure i have installed all depends), please check and fix it ,if you are available and it is possible.
I've checked and gimp runs for me, can you run gimp from terminal and post the output ?
i change my init system into systemd following your tutorial,but how do i change it back to elogind(nosystemd),i try to install packages related to elogind ,but failed
I've tried some ways, but failed too, could not figure out how to get back to elogind, sorry, I guess it's best for you to start fresh.

Fred
###########################################
i started busterdog fresh,gimp worked well, i guessed the change of init(to systemd) caused its failure(but i was not sure). Have you tried flatpak , i always got some similiar to the following from terminal :
+++++++++++++++++++++++++

(flatpak update:24141): GLib-GIO-CRITICAL **: 14:44:00.119: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

** (flatpak update:24141): CRITICAL **: 14:44:00.119: polkit_authority_register_authentication_agent_with_options_sync: assertion 'POLKIT_IS_AUTHORITY (authority)' failed
Segmentation fault
++++++++++++++++++++++++++++++
so what about you? could you fix it?
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

Hi helloworld, similar as snap, flatpak seems problematic on a live system, see e.g. here:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=923046
EDIT: Tested on a Busterdog full install now and got the same errors

But found here a workaround that works for me, DBUS_SYSTEM_BUS_ADDRESS= flatpak ...
https://github.com/flatpak/flatpak/issues/2781
So in terminal you can do something like:

Code: Select all

export DBUS_SYSTEM_BUS_ADDRESS=
flatpak install ...
flatpak run ...
Or add the flatpak command after DBUS_SYSTEM_BUS_ADDRESS=

Code: Select all

DBUS_SYSTEM_BUS_ADDRESS= flatpak run ...
This way I could make gimp installed and running, not sure though if it's without unwanted side-effects.
Btw, why not install gimp with apt ? Looks like it's the same version as the flatpak version (2.10).

Fred
helloworld
Posts: 76
Joined: Thu Sep 24, 2020 3:53 am
Has thanked: 10 times
Been thanked: 9 times

Re: BusterDog + build system (no-systemd)

Post by helloworld »

fredx181 wrote: Sat Sep 26, 2020 5:14 pm Hi helloworld, similar as snap, flatpak seems problematic on a live system, see e.g. here:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=923046
EDIT: Tested on a Busterdog full install now and got the same errors

But found here a workaround that works for me, DBUS_SYSTEM_BUS_ADDRESS= flatpak ...
https://github.com/flatpak/flatpak/issues/2781
So in terminal you can do something like:

Code: Select all

export DBUS_SYSTEM_BUS_ADDRESS=
flatpak install ...
flatpak run ...
Or add the flatpak command after DBUS_SYSTEM_BUS_ADDRESS=

Code: Select all

DBUS_SYSTEM_BUS_ADDRESS= flatpak run ...
This way I could make gimp installed and running, not sure though if it's without unwanted side-effects.
Btw, why not install gimp with apt ? Looks like it's the same version as the flatpak version (2.10).

Fred
########################################################
so much thanks,it also works for a frugal-install system. Apt gimp is not the latest ,flatpak gimp is the official way and the latest(it is the best choice),and also i can run glimpse-image-editor.appimage (a fork of gimp,it is very close to the latest),even in the worst conditon,i can make install from source code(but not friendly to a user). I just think more than one choice is always better to us,more choices,less panic.like scrcpy ,if you dont want to compile it,just add antix repo to buster/fossadog, and download it, it works well for both dogs(it is just not the latest version,but easy to do ),see, two choices.
recobayu
Posts: 64
Joined: Tue Jul 14, 2020 9:34 am
Has thanked: 11 times
Been thanked: 8 times

Re: BusterDog + build system (no-systemd)

Post by recobayu »

Hi Fred, I found a bug in roxterm in all debian dog (buster and fossa). It is not automatically to the last line. When I scroll up and I press ctrl+l, or I type something, roxterm does not focus to the last line, so I must scroll down it first to get the last line.
Thank you.
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

Can be fixed in Preferences, tick "Scroll on output"
Screenshot.png
Screenshot.png (71.63 KiB) Viewed 1684 times
Fred
andywilson
Posts: 2
Joined: Mon Oct 12, 2020 11:56 am
Location: https://mini-militia.com

Re: BusterDog + build system (no-systemd)

Post by andywilson »

johnevans wrote: Sat Aug 15, 2020 11:53 am
+Me wrote: Sun Jul 26, 2020 10:41 am But when I Try 2 install it on me Favorite Flavor of Linux it Complains about being root... I did insert the option of allow-root B4 the wget script, But I couldn't get it 2 work 4 me, I don't know wot I'm doing wRong... Can yoU Please Help me? Thanx ;-)K
I had a similar problem when I tried to install WhatsApp on my Linux, so I searched the net and found this FM WhatsApp modified app of WhatsApp. After installing this app, I found out. Come on, this is an unofficial app that was developed by a Spanish developer, so I immediately deleted this app from my Linux, but I'm still looking for a solution.
Which version of WhatsApp are you trying to install on your Linux? If you are trying to install an older version of WhatsApp, try the updated version of WhatsApp. I hope your issue is resolved.
ralcocer
Posts: 24
Joined: Tue Aug 25, 2020 2:23 pm

Re: BusterDog + build system (no-systemd)

Post by ralcocer »

When you do a full HD install , do the system revert to systemd?

Rafaelalcocer
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

ralcocer wrote: Sun Oct 18, 2020 8:29 am When you do a full HD install , do the system revert to systemd?

Rafaelalcocer
No, it doesn't, why you ask ?

Fred
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

Updated quick-remaster package to v1.2.6, see issue and fix here:
viewtopic.php?p=7866#p7866

Fred
ralcocer
Posts: 24
Joined: Tue Aug 25, 2020 2:23 pm

Re: BusterDog + build system (no-systemd)

Post by ralcocer »

It feels different it boots from the .img. I don't know if it make any difference.
keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 108 times
Been thanked: 67 times

Re: BusterDog + build system (no-systemd)

Post by keniv »

@ fredx181,
I'm using BusterDog-openbox_jwm-2020-06-29 the 32 bit version. I attempted to use Menu>Multimedia>YouTube-Get v2. I first tried to update youtube-dl and got an error (see image1). I then tried "Download from Youtube Search" and got a different error (see image2). I repeated this using your search example of "the beatles" but got the same error. I am wondering if this is due to issues with github reported elsewhere on the forum. Am I doing something wrong or is this something that can be fixed?

Regards,

Ken.
Attachments
image2.png
image2.png (24.8 KiB) Viewed 1678 times
image1.png
image1.png (20.05 KiB) Viewed 1678 times
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

Yes, official youtube-dl development is on hold, but there's a new github repository, from which I compiled and should fix the problem.
https://github.com/doglinux/busterdog/r ... -dl.tar.gz
Extract youtube-dl.tar.gz in /usr/local/bin/
Let me know how it goes for you, please.
See also here: viewtopic.php?f=90&t=1212

Fred
Screenshot.png
Screenshot.png (95.08 KiB) Viewed 1665 times
Screenshot(1).gif
Screenshot(1).gif (98.63 KiB) Viewed 1664 times
User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by wiak »

fredx181 wrote: Thu Oct 29, 2020 7:23 pm Yes, official youtube-dl development is on hold, but there's a new github repository, from which I compiled and should fix the problem.
https://github.com/doglinux/busterdog/r ... -dl.tar.gz
Extract youtube-dl.tar.gz in /usr/local/bin/
Let me know how it goes for you, please.
Maybe good to get copy of that in the, I hope, unlikely event that Msoft also start looking for and freezing or deleting even tarred up examples of the original youtube-dl repo. Good thing is, as long as such tar.gz's exist there is nothing to stop anyone keeping their own git repo on own private maches, though no longer possible to create and maintain an actual github repo of it.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

wiak wrote:there is nothing to stop anyone keeping their own git repo on own private maches
It's already done by "l1ving" : https://source.netsyms.com/Mirrors/l1ving_youtube-dl
EDIT: another up-to-date mirror: https://gitea.datahoarding.agency/Zenul ... youtube-dl

@keniv : seems like the youtube-dl search option still doesn't work properly for me, for example (ytsearch5 should give 5 results)

Code: Select all

youtube-dl --get-format --get-filename ytsearch5:"iphone"
No results, but when I search for something else it works, but not always... :?
Also, the youtube-get2 program is limited to search for specific formats, e.g. 360p, 720p, 240p, not HD, so not ideal.

EDIT: Ater many tries, I get results for "iphone":

Code: Select all

root@live:~# QUAL="22/44/35/43/18/34/5/17"
root@live:~# youtube-dl -f $QUAL --no-check-certificate --get-format --get-filename ytsearch5:"iphone"
iPhone 12 Pro Honest Review after 1 week!-aJJYDd9QgBU.mp4
22 - 1280x720 (720p)
iPhone 12 Pro Review - You Sure About That-eWI_BtcDJu0.mp4
22 - 1280x640 (720p)
Honest iPhone 12 Commercial-472UUFjiN54.mp4
22 - 1280x720 (720p)
iPhone 12 Pro vs. Galaxy Note 20 Ultra camera comparison-gWagyFTUYes.mp4
22 - 1280x720 (720p)
7 Days With iPhone 12 - I Don't Understand.-1lpvoxAopQs.mp4
22 - 1280x640 (720p)
but when trying again, then got nothing.
EDIT: after all, gtk-youtube-viewer seems much more useful for searching and downloading videos.
Fred
keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 108 times
Been thanked: 67 times

Re: BusterDog + build system (no-systemd)

Post by keniv »

@fredx181,
Hi Fred, I followed your instructions and YouTube-Get v2 is working again. As a test I typed in "beatles" and you can see the results in the attached image. I downloaded the last one on the list (010). The download was pretty quick and to give it a test I played it.
after all, gtk-youtube-viewer seems much more useful for searching and downloading videos.
Yes, I tried "iphone5 battery replacement" again and got no results. I've tried this in the past and got loads of results. This might be a stupid question but will the "Update youtube-dl" button now work?

Regards,

Ken.
Attachments
download-youtube.png
download-youtube.png (95.47 KiB) Viewed 1596 times
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: BusterDog + build system (no-systemd)

Post by fredx181 »

Hi Ken,
will the "Update youtube-dl" button now work?
No, not as long as youtube-dl repo is down.

I've found that a fork of youtube-dl, named youtube-dlc supports a different search method, see also info here: viewtopic.php?p=8868#p8868

Here's youtube-get3 deb package, a modified youtube-get2 using youtube-dlc (included), search should work OK, please test.
https://github.com/doglinux/busterdog/r ... .0_all.deb (install with right-click > install .deb) (EDIT: Updated to v1.1.0)
Only thing is that it cannot find more than 40 results, also I found that sometimes the results list is empty, but when trying again it works for me.
And updating youtube-dlc doesn't work, so removed the Update button.

Fred
youtube-get v3 search
youtube-get v3 search
Screenshot.jpg (74.86 KiB) Viewed 1567 times
keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 108 times
Been thanked: 67 times

Re: BusterDog + build system (no-systemd)

Post by keniv »

Hi Fred,
Thanks for time time you have taken with this and the new .deb which I've installed. The search on "iphone5 battery replacement" worked first time (see image). I tested by downloading 001 which worked fine. I also tested Menu>Multimedia>GTK Straw Viewer in which the "iphone5 battery replacement" search works properly. I'm guessing it also uses youtube-dl. If so I guess it's using the new version you uploaded as I deleted the old non-working version. If this is so the "search" seems to work better in GTK Straw Viewer.
YouTube-Get v2 is still a menu entry. Can I remove it by deleting it from /usr/share/applications and running fixmenus? I thought I wold also remove the entry for Menu>Multimedia>GTK-YouTube-Updater as well if it is no longer usable.

Regards,

Ken.
Attachments
results.png
results.png (101.26 KiB) Viewed 1546 times
Post Reply

Return to “DebianDogs”