Live install missing rsync on install

Ask for help with issues regarding the Installations of the Debian O/S.
Locked
Message
Author
compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Live install missing rsync on install

#1 Post by compis3 »

I installed the live install app "debian-12.1.0-amd64-DVD-1.iso" SHA256:9168ff53d789537db4f5233e7dfa5e860519c44b68132b70805218f842b00041

The live install has rsync command for copying files shown in demo mode but when it is installed the rsync app is not present in the /usr/bin directory, why is it missing?

User avatar
bw123
Posts: 4051
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 33 times

Re: Live install missing rsync on install

#2 Post by bw123 »

https://cdimage.debian.org/debian-cd/cu ... so-hybrid/
you can check the contents of each image. check link that ends with .contents. I recently installed https://cdimage.debian.org/debian-cd/cu ... 64-kde.iso and it was all well.
resigned by AI ChatGPT

compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Re: Live install missing rsync on install

#3 Post by compis3 »

I understand that it is not present and that it can be added manually but why would it be in the live version of Debian 12? Isn't the purpose of the live version is to demonstrate the product?

Dai_trying
Posts: 1155
Joined: 2016-01-07 12:25
Has thanked: 12 times
Been thanked: 29 times

Re: Live install missing rsync on install

#4 Post by Dai_trying »

compis3 wrote: Isn't the purpose of the live version is to demonstrate the product?
I use live images to test different machines to see if they function ootb (or not) and have a few different versions with different sets of packages that I might feel inclined to use, I never thought of it as a product demonstration tool, but it is another use case.

You can have live version that installs exactly what you want (or not as the case may be) but it requires some work to get there, you can create your own live image using live-build and this is what I do, I can have the default language/keyboard set to my own preference and install whichever packages I feel the need to include.
You can find some information and examples here:- https://debian-live-config.readthedocs. ... ustom.html

pwzhangzz
Posts: 524
Joined: 2020-11-11 17:42
Has thanked: 11 times
Been thanked: 38 times

Re: Live install missing rsync on install

#5 Post by pwzhangzz »

Dai_trying wrote: 2023-09-25 07:36You can find some information and examples here:- https://debian-live-config.readthedocs. ... ustom.html
Building a live image from scratch takes a long time. Now, suppose I forgot to include a package to the config file, how do I re-build the live image without starting from the beginning again?

Also, is it possible to remove or exclude a package from the live image during the build process?

compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Re: Live install missing rsync on install

#6 Post by compis3 »

When i look at the contents for https://cdimage.debian.org/debian-cd/cu ... o.packages i do see the rsync command. Why isn't it installed ?

re 0.1-7+b1
read-edid 3.0.2-1.1
readline-common 8.2-1.3
ristretto 0.12.4-1
rpcsvc-proto 1.4.3-1
rsync 3.2.7-1
rtkit 0.13-5
samba-libs:amd64 2:4.17.9+dfsg-0+deb12u3
sane-airscan 0.99.27-1+b1
sane-utils 1.2.1-2

Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re: Live install missing rsync on install

#7 Post by Aki »

compis3 wrote: 2023-09-26 03:53 When i look at the contents for https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.1.0-amd64-xfce.iso packages i do see the rsync command. Why isn't it installed ? [..]
You may ask here: and report back.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Dai_trying
Posts: 1155
Joined: 2016-01-07 12:25
Has thanked: 12 times
Been thanked: 29 times

Re: Live install missing rsync on install

#8 Post by Dai_trying »

pwzhangzz wrote: 2023-09-25 19:09
Dai_trying wrote: 2023-09-25 07:36You can find some information and examples here:- https://debian-live-config.readthedocs. ... ustom.html
Building a live image from scratch takes a long time. Now, suppose I forgot to include a package to the config file, how do I re-build the live image without starting from the beginning again?

Also, is it possible to remove or exclude a package from the live image during the build process?
I use a script to build my images, it doesn't take that long on my system although I do have plenty of cores and ram available which likely makes a difference, I also host my own repository which vastly improves download speed of packages which also helps with time taken.

and yes, If you "forget" a package that you want you will have to rebuild the image again.

I'm not sure about removing packages as I only install the ones I want so it is a problem that has not arisen.

Like I said there is definitely a learning curve to doing this but I find it incredibly useful to run my script, create my image and throw it in a vm for testing until I'm happy with it and then it is ready to use on real hardware.

And remember this is not something you will have to do more than once per Debian release (although you can update it whenever you feel the need).

pwzhangzz
Posts: 524
Joined: 2020-11-11 17:42
Has thanked: 11 times
Been thanked: 38 times

Re: Live install missing rsync on install

#9 Post by pwzhangzz »

Dai_trying wrote: 2023-09-26 09:14 and yes, If you "forget" a package that you want you will have to rebuild the image again.
My initial question was imprecise. What I meant to ask is, how can I re-use the packages that have already been downloaded (and configured)? I.e., can I ask the live build process to only download the "forgotten" package?

In other words, after testing on your VM and you want to make some modifications on the live image, how did you start the live build process from stage 3 or 2, but not from 1? Thanks.

{Ed] Regarding the "removal" of certain package(s), again, this was an imprecise use of word. I always add the "Packages Priority standard" and the "task-gnome-desktop" package groups in the package-lists during the initial run. There are certain packages that I don't want to include in the live image. Is there any way to exclude certain packages from the standard package groups?

Dai_trying
Posts: 1155
Joined: 2016-01-07 12:25
Has thanked: 12 times
Been thanked: 29 times

Re: Live install missing rsync on install

#10 Post by Dai_trying »

If you do not use meta-packages (like task-gnome-desktop) then you can install only required packages, iirc there is a method to remove packages that are not wanted but I have never needed that option as I only install packages that are wanted (by me of course :) ) in most cases you could check out the dependencies using apt and only install the required ones.

if you have deb files downloaded you can include them in the image by placing them in "config/packages.chroot/". And as I mentioned earlier I use my own "local" repository which can be specified using "lb config".

When you want to rebuild the image (after making changes to packages etc) simply run lb clean and then run through the creation process again. As said before I use a script to create my images do I can simply run it and it will create the image. My reason for using a script is to ensure I can get the exact same image again without having to remember any of the steps I used to get there (and sometimes forgetting them).

compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Re: Live install missing rsync on install

#11 Post by compis3 »

My original question regarding the missing Rsync package missing is an error? As you package list clearing shows it should be installed but is missing strangely since the live version has rsync.

How is this issue handled ?

pwzhangzz
Posts: 524
Joined: 2020-11-11 17:42
Has thanked: 11 times
Been thanked: 38 times

Re: Live install missing rsync on install

#12 Post by pwzhangzz »

Dai_trying wrote: 2023-09-27 07:54 If you do not use meta-packages (like task-gnome-desktop) then you can install only required packages
What I often did, is to look at the packages-list file that will be generated after the initial lb build process (using meta-packages), and delete packages that I don't want (also add packages that I forgot to include in the initial run). Then I include the edited package-list file in my script to re-build a new live image.

I, of course, used lb clean before I started my second or further go around. However, all the packages had to be re-downloaded and re-configured. Thus, I was asking whether there is any way to re-use the downloaded packages? (Also to avoid the re-configuration process). In other words, it took the same amount of time whether I used the lb clean step or simply rebuilt the live image from scratch.

I need to mention that, at one time, the lb clean step caused the build process to fail and I have stopped using it (always re-build my live images with a new folder). Apparently this bug has been solved?

Also, Debian Live Manual:

https://live-team.pages.debian.net/live ... ex.en.html
Last edited by pwzhangzz on 2023-09-29 05:49, edited 1 time in total.

pwzhangzz
Posts: 524
Joined: 2020-11-11 17:42
Has thanked: 11 times
Been thanked: 38 times

Re: Live install missing rsync on install

#13 Post by pwzhangzz »

compis3 wrote: 2023-09-27 11:29 My original question regarding the missing Rsync package missing is an error? As you package list clearing shows it should be installed but is missing strangely since the live version has rsync.

How is this issue handled ?
I remember the rsync package was indeed missing from the early iterations of Sid (maybe even bkworm). Perhaps a bug in the installation script? This seems to have been solved?

I would like to build my own live images and do installations from them. The best way to start this, is perhaps to download the package list of an "official" (?) live image, edit it, then use it as the starting point for the package config file that will be used when you build your own live image. This way, you will know exactly what you are putting into your Debian system. Your build script can also include changes to the root system (e.g., additional repos and gpgs) as well as your home directory (most often by modifying the /etc/skel directory).

compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Re: Live install missing rsync on install

#14 Post by compis3 »

Since it is solved what is the corrected version for the current

Old isdebian-12.1.0-amd64-DVD-1.iso" SHA256:9168ff53d789537db4f5233e7dfa5e860519c44b68132b70805218f842b00041,

Is now the sha256 979dc8a5cc170a9120f36c6de48ed7b86812a77579420992083ac7ac1723f462

correct ?

compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Re: Live install missing rsync on install

#15 Post by compis3 »

I do not see a resolutions to this question? Where is the correct version with Rsync for AMD64 bit XFCE ?

compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Re: Live install missing rsync on install

#16 Post by compis3 »

7e3d33bbf035567c744012e00f9bc377a49f16ce8aab2e0bbf7b71a632ea9336 debian-live-12.2.0-amd64-xfce.iso is the same as 12.1.

There is a rsync app in the live version but it is missing from the installation. the debian-live-12.2.0-amd64-xfce.package says it should be avaialble but there is discontinuity in the live and the install.

Locked