The officially official Devuan Forum!

You are not logged in.

#1 2019-04-25 20:50:01

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

[Solved] Software selection in Devuan ASCII netinst

Hello:

I'm needing to install Devuan with just the main stuff + XFCE so I can complete the installation later on once bootedup and running.
eg:  no Open Office, among other things.

But I see no way of doing this in Devuan ASCII netinst, even with the advanced option.

Any way to do this?

Thanks in advance.

A.

Last edited by Altoid (2019-04-26 23:25:20)

Offline

#2 2019-04-25 21:25:53

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved] Software selection in Devuan ASCII netinst

No, there isn't. If you choose one of the desktops in the installer, you get the task-xxx-desktop package that pulls in everything else. If you un-check everything except 'Standard system utilities' at the tasksel window, you'll get a working cli-only system, and you can then install xfce4 and whatever else you want.

Another option would be to install from CD-1 without a network mirror. You'll get a working desktop with a bunch of the usual stuff missing. I'm not sure if that includes libreoffice or not.

Offline

#3 2019-04-25 21:33:46

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

fsmithred wrote:

...  If you choose one of the desktops in the installer, you get the task-xxx-desktop package that pulls in everything else.

I see ...

fsmithred wrote:

... un-check everything except 'Standard system utilities' at the tasksel window, you'll get a working cli-only system, and you can then install xfce4 and whatever else you want.

OK, sound like it may be pretty much what I need.
I suppose it configures the wired network?

fsmithred wrote:

... install from CD-1 without a network mirror.
... a working desktop with a bunch of the usual stuff missing.
... not sure if that includes libreoffice or not.

I think it does.

Thanks for your input.

A.

Offline

#4 2019-04-25 23:12:24

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

fsmithred wrote:

...  everything except 'Standard system utilities' at the tasksel window ...

It refused to do it.
ie: failed at that point in the installation.

Retried a number of times but the only way I was able to continue and write GRUB to the USB stick was to uncheck that.
But it will not boot.

I just get a  j (lowercase) followed by a blinking underscore.

ie:  j_ 

I'm having a very hard time with this installation, no idea what's going on.
The .iso file I downloaded checked out perfectly well and the installer verified the "CD-ROM" so that's not it.

This is what I have:

groucho@devuan:~$ sudo fdisk -l /dev/sdf
[sudo] password for groucho: 
Disk /dev/sdf: 7.2 GiB, 7757398016 bytes, 15151168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000312cd

Device     Boot    Start      End Sectors  Size Id Type
/dev/sdf1  *        4096  9220095 9216000  4.4G 83 Linux
/dev/sdf2        9222142 15151103 5928962  2.8G  5 Extended
/dev/sdf5        9222144 12294143 3072000  1.5G 82 Linux swap / Solaris
/dev/sdf6       12296192 15151103 2854912  1.4G 83 Linux
groucho@devuan:~$ 

Any ideas?

Thanks in advance.

A.

Last edited by Altoid (2019-04-25 23:23:28)

Offline

#5 2019-04-26 15:27:27

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 267  
Website

Re: [Solved] Software selection in Devuan ASCII netinst

Altoid wrote:

I suppose it configures the wired network?

Yes, it does.

Offline

#6 2019-04-26 15:34:18

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 267  
Website

Re: [Solved] Software selection in Devuan ASCII netinst

Altoid wrote:

ie: failed at that point in the installation. Any ideas?

Yes. Repeat the procedure. At the first error, change to another console. I dont remember if you need Ctl+Alt+F2, Ctl+Alt+F3 or Ctl+Alt+F4, but in some of them you can read a detailed log of the steps of your instalation. Hopefully, you will read a more complete error description and we will continue thinking from that point.

Last edited by PedroReina (2019-04-26 19:53:44)

Offline

#7 2019-04-26 21:01:23

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

PedroReina wrote:

Yes. Repeat the procedure. At the first error ...

I've repeated the procedure.
But in case there was some issue with the SDCard, this time I carried out the installation using the same devuan_ascii_2.0.0_i386_netinst.iso burnt to a CD instead of dd'd to an SD Card.

Again, the CD-ROM was correctly verified.

This time the installation went through without any issues but the result has been the same as before, in the two machines I have.

But it will not boot.

I just get a  j (lowercase) followed by a blinking underscore.

ie:  j_

The fdisk -l output is the same, only difference is where the boot partition starts (2048 instead of 4096):

groucho@devuan:~$ sudo fdisk -l /dev/sdf
[sudo] password for groucho: 
Disk /dev/sdf: 7.2 GiB, 7757398016 bytes, 15151168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000312cd

Device     Boot    Start      End Sectors  Size Id Type
/dev/sdf1  *        2048  9220095 9218048  4.4G 83 Linux
/dev/sdf2        9222142 15151103 5928962  2.8G  5 Extended
/dev/sdf5        9222144 12294143 3072000  1.5G 82 Linux swap / Solaris
/dev/sdf6       12296192 15151103 2854912  1.4G 83 Linux
groucho@devuan:~$ 

A.

Offline

#8 2019-04-26 23:24:52

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

Altoid wrote:

This time the installation went through without any issues but the result has been the same as before, in the two machines I have.
But it will not boot.

I just get a  j (lowercase) followed by a blinking underscore.

ie:  j_

I managed to fix the problem but have no idea why it happened or how to avoid it happening.

To fix it, with the USB installation in place, I booted with a Devuan ASCII 2.0.0_i386_DVD-1 installer DVD, went to Rescue Mode and reinstalled GRUB to the USB stick (/dev/sdb).

And that was it.

The drive booted into GRUB and upon logging in I installed XFCE4 which, after a reboot, started without any issues (for the time being).

rant
It's a pity that installing a desktop drags so much stuff in with it ...
eg: I did not ask for an Orage Calendar or Orage Globaltime.
But there it is.

And uninstalling it also uninstalls XFCE4 (and only XFCE4).
Reminds me of some similar MS practises we have all suffered at some time or another ...
/rant

But the problem is fixed.

Thanks for your input.

A.

Offline

#9 2019-04-27 17:04:51

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 267  
Website

Re: [Solved] Software selection in Devuan ASCII netinst

Altoid wrote:

It's a pity that installing a desktop drags so much stuff in with it ...

The defaults of any OS instalations are just that, the defaults. Using Devuan we can not use the defaults and install only the packages we want; it is a time consuming task, but this way is easier to get to your ideal instalation. I do. But when I try a new system (say, Devuan Beowulf) a need between a week and a month to get it to my taste. With other OS (non free) I needed more than two months and the end result is not what I really wanted.

On the other hand, I'm glad to know that your problem is fixed. smile

Offline

#10 2019-04-27 20:53:28

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

PedroReina wrote:

... defaults of any OS instalations are just that, the defaults.

Of course ...

My point being that getting Orage installed by default when installing the XFCE desktop does not seem to have any justification.
Or is it an essential part of XFCE, without which XFCE does not function at all or is in any way hampered?

PedroReina wrote:

... glad to know that your problem is fixed. smile

Thanks.

A.

Offline

#11 2019-04-28 08:45:53

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 267  
Website

Re: [Solved] Software selection in Devuan ASCII netinst

Altoid wrote:

My point being that getting Orage installed by default when installing the XFCE desktop does not seem to have any justification.

Agreed. But the mantainer of the package xfce4 dont agree with us. May be he/she thinks that the average XFCE user wants to have a nice calendar application installed by default. Different opinions, not big deal IMHO. My way of work with this is very simple: not install the package xfce4; I try to find the minimal set of packages needed to get XFCE working. This is why I need a lot of time before finish a new instalation.

The point Altoid talk about is very important for me. I like the Debian and Devuan aproach to have a very fine grained dependencies system. Other systems (even free software ones) have it more coarse. When I want a very minimal system, I dont like the attitude of "I know better" from some packagers, they say "install all this staff". We are not clueless childrens. Just an example: I skip the "Select and install software" step in the Devuan expert install and then I uninstall a few packages more; you cant do that on other systems.

Offline

#12 2019-04-28 18:07:13

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

PedroReina wrote:

... the mantainer of the package xfce4 dont agree ...

We may be drifting off topic here ...

But jo make my position clear: I'm not nocking Linux or Devuan, quite the contrary.

It is just that (IMO) what XFCE does by forcing the installation of (unneeded) Orage and on top of that, making it impossible to uninstall without also uninstalling XFCE altogether is contrary to the basic philosophy behind Linux:

------------------- > Do one thing and do it well

There are other programs/maintainers that do this same sort of thing.
Must have all learnt how to do it at the Redmond Academy.  8-D!!!

PedroReina wrote:

Different opinions, not big deal ...

Well ...
It's the same type of different opinion than generated the need for Devuan.
systemd is also a different opinion on how to do things and also contrary to the basic philosophy behind Linux. 

PedroReina wrote:

...  is very simple: not install the package xfce4 ...

Just what I am doing: openbox and tint2 work quite well for the time being.

PedroReina wrote:

... point Altoid talk about is very important for me.

It is of the utmost importance, not only to both of us but for how Linux will continue to develop.

Thanks a lot for your input.

Best,

A.

Last edited by Altoid (2019-04-28 18:08:51)

Offline

#13 2019-04-29 04:52:19

ToxicExMachina
Member
Registered: 2019-03-11
Posts: 210  

Re: [Solved] Software selection in Devuan ASCII netinst

I don't understand what is the problem. Netinstall: install core system even without X11 then install minimal working set of XFCE4 components. If you want extremely minimal XFCE4 desktop after installation you definitely need custom Devuan iso. If you don't like dependencies like orage - avoid such metapackages as xfce4 and task-xfce-desktop. You can make your own metapackage for minimal XFCE4 installation.

Offline

#14 2019-04-29 11:59:43

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved] Software selection in Devuan ASCII netinst

The point of the metapackage is so that you can get a working desktop without having to type something like

apt install  xfconf xfdesktop4 xfwm4 xfce4-terminal xfce4-session xfce4-xkb-plugin xfce4-panel \
thunar thunar-volman thunar-archive-plugin xfce4-notifyd libnotify-bin mesa-utils  \
xfce4-power-manager xfce4-cpugraph-plugin  xfwm4-themes \

Of course, now you don't have to type all that. You could just copy/paste it or modify it to fit your needs.

If you install the packages individually, you can remove them individually. You can even do this if the packages were automatically installed because of a dependency. When you 'apt-get install' a package that was automatically installed, its status gets changed to manually installed. Then, when you remove the metapackage, the manually installed packages won't be removed.

Offline

#15 2019-05-26 12:10:21

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

fsmithred wrote:

If you install the packages individually, you can remove them individually.

OK.

fsmithred wrote:

... even do this if the packages were automatically installed ...

Cannot seem to get it done.

eg:

groucho@devuan:~$ sudo apt-get purge orage
Reading package lists... Done
Building dependency tree       
Reading state information... Done

The following packages were automatically installed and are no longer required:
gtk2-engines-xfce libical2 libkeybinder-3.0-0 libxfce4ui-utils xfce4-appfinder xfce4-pulseaudio-plugin
Use 'sudo apt autoremove' to remove them.

The following packages will be REMOVED:
  orage* xfce4*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 5723 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
groucho@devuan:~$ 

But this seems to be a Devuan/Debian thing as I have been told that in other distributions (eg: fedora) you can uninstall orage without much ado.

I could always uninstall orage and then reinstall the packages which were removed (xfce4 gtk2-engines-xfce libical2 libkeybinder-3.0-0 libxfce4ui-utils xfce4-appfinder xfce4-pulseaudio-plugin) but then re-installing xfce4 would drag along orage again.

Catch22?

Best,

A.

Offline

#16 2019-05-26 14:16:13

Dutch_Master
Member
Registered: 2018-05-31
Posts: 275  

Re: [Solved] Software selection in Devuan ASCII netinst

I think you're missing the point:

The following packages were automatically installed and are no longer required:
gtk2-engines-xfce libical2 libkeybinder-3.0-0 libxfce4ui-utils xfce4-appfinder xfce4-pulseaudio-plugin
Use 'sudo apt autoremove' to remove them

I.e., if you don't use the autoremove command, they're still installed. smile

Online

#17 2019-05-26 14:44:34

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

Dutch_Master wrote:

I.e., if you don't use the autoremove command, they're still installed. smile

Indeed ...  =-D !

I did think of that too.
But ...

At some time or another ie: a week, a month or even a year later, I surely will have to use apt-get autoremove for something or other.
eg: general spring clean-up.

And that's when things will go south very quickly.
Isn't this so?

Thanks for your input.

A.

Offline

#18 2019-05-26 14:56:12

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved] Software selection in Devuan ASCII netinst

The problem is you keep trying to install the xfce4 package when you don't want it. It's a metapackage that pulls in parts of the xfce4 desktop that you don't want. Just install the parts you do want as I posted above.

Here it is again, without the extra backslash at the end:

apt install  xfconf xfdesktop4 xfwm4 xfce4-terminal xfce4-session xfce4-xkb-plugin xfce4-panel \
thunar thunar-volman thunar-archive-plugin xfce4-notifyd libnotify-bin mesa-utils  \
xfce4-power-manager xfce4-cpugraph-plugin  xfwm4-themes

More info:

$ apt-cache show xfce4
Package: xfce4
Version: 4.12.3
Installed-Size: 16
Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>
Architecture: all
Depends: xfwm4 (>= 4.12.0), xfconf (>= 4.12.0), xfce4-settings (>= 4.12.0), xfce4-panel (>= 4.12.0), xfdesktop4 (>= 4.12.0), thunar (>= 1.6.6), gtk2-engines-xfce (>= 3.2.0), xfce4-session (>= 4.12.0), xfce4-appfinder (>= 4.12.0), xfce4-pulseaudio-plugin, orage (>= 4.12.0), libxfce4ui-utils (>= 4.12)
Homepage: http://www.xfce.org/
Recommends: xorg, desktop-base (>= 5.0.4), thunar-volman (>= 0.8.1), tango-icon-theme (>= 0.8.90), xfce4-notifyd
Description: Meta-package for the Xfce Lightweight Desktop Environment
Description-md5: 53123f9cf40a71f1a87679634af17db3
Suggests: xfce4-goodies, xfce4-power-manager (>= 1.4.0), gtk3-engines-xfce (>= 3.2.0)
Tag: admin::configuring, interface::graphical, interface::x11, role::dummy,
scope::utility, suite::xfce, uitoolkit::gtk, use::configuring,
x11::application
Section: xfce
Priority: optional
Filename: pool/DEBIAN/main/x/xfce4/xfce4_4.12.3_all.deb
Size: 8014
MD5sum: f3c63bd59ac3aecd6d96ceeeea5f011c
SHA256: 72242e290d6efd1e672f25ec5eaf3c45925be2206e329081b02c19032b69397a

Offline

#19 2019-05-26 17:03:35

Dutch_Master
Member
Registered: 2018-05-31
Posts: 275  

Re: [Solved] Software selection in Devuan ASCII netinst

Alternatively, mark one of the named packages* for installation and everything it depends on, and of course the package itself, will stay on your system on autoremove.

*cleverly, choose one of the higher-level packages in the list, not the low-level ones that only add certain features tongue  I'd suggest xfdesktop4 to start with.

aptitude install xfdesktop4

Precede with sudo if you must (personal taste, I'd strongly (very) prefer the 'old' *nix way of su into the root account)

As the package is actually already installed, it won't do anything, except marking it in the database as manually installed and therefore not subject to an auto-prune event. Which is what you're after smile

Online

#20 2019-05-27 23:12:57

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

fsmithred wrote:

... you keep trying to install the xfce4 package when you don't want it.

Ahh ...
So I've been confusing xfce4 which is the metapackage with the xfce desktop package.

Needless to say, I feel quite embarrassed.  =-/

fsmithred wrote:

... install the parts you do want as I posted above.

Thanks a lot for clearing this up for me.

Best,

A.

Offline

#21 2019-05-27 23:26:32

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] Software selection in Devuan ASCII netinst

Hello:

Dutch_Master wrote:

... mark one of the named packages* for installation and everything it depends on, and of course the package itself, will stay on your system on autoremove.

*cleverly, choose one of the higher-level packages in the list, not the low-level ones that only add certain features tongue  I'd suggest xfdesktop4 to start with.

aptitude install xfdesktop4

OK, thanks for the tip.  =-)

Dutch_Master wrote:

... strongly (very) prefer the 'old' *nix way of su into the root account)

Yes, I do too.
I've come to see sudo as a rather dangerous thing if used (or rather set up) lightly.
It's something I picked up at the PCLinux OS forum.

I only use sudo along with specific user_xxxx files in sudoers.d which are set up just for for me to do routine things which need admin rights.
eg: dmesg, updatedb, shutdown/reboot, linsssd and such.   

Dutch_Master wrote:

As the package is actually already installed, it won't do anything, except marking it in the database as manually installed and therefore not subject to an auto-prune event. Which is what you're after smile

Yes, I was about to ask with respect to marking files as manually installed and the effect is had.

Thanks a lot for your input.

Best,

A.

Offline

Board footer