Next question related to cloning of Minimal TemplateVMs

23 views
Skip to first unread message

viktor....@gmail.com

unread,
May 30, 2020, 1:21:16 PM5/30/20
to qubes-users
Hello community,

Now that I have resolved (?) my problem concerning copying text from xterm sessions, I'm running into the next strange behavior :-(

The short version, is a simple question:

Are you able to create a clone from 'fedora-31-minimal' and extend it with packages?


The longer version contains some details on what I experienced today on my Qubes OS system:

The obvious next step for me was to create a clone of 'fedora-31-minimal' and extend it with additional packages.

Since I do all my documentation in reST & transforming it into HTML as output format, I'll require a web browser in most of my VMs.

Therefore I wanted to have 'Firefox' available - but - this was not possible :-(

Here's the log of what I did (including logs at the end):

###

Create a new template based on 'Fedora-31-Minimal' with Firefox added. - Not OK. - See "Log-001"

* Unable to `sudo dnf install firefox` ...
* Restart the Qube OS system ...

### 2020-05-30 ~ 14:05 (UTC)

* Start 'fedora-31-minimal-firefox' & try to `sudo dnf install firefox` - Again not OK.
* Delete the clone 'fedora-31-minimal'.

### 2020-05-30 ~ 14:15 (UTC)

Create a new template clone based on 'Fedora-31-Minimal' - OK.

* Start & update 'fedora-31-minimal-firefox'
* Try to `sudo dnf install firefox` - Again not OK ...

### 2020-05-30 ~ 14:30 (UTC)

Create a new template clone based on 'Fedora-31' - OK.

* Start & update 'fedora-31-java'
* Try to `sudo dnf install java-11` - OK. - See "Log-002".

###

<Log-001>


[user@fedora-31-minimal-firefox ~]$ pwd
/home/user
[user@fedora-31-minimal-firefox ~]$ ls -al
total 44
drwx------ 3 user user 4096 May 30 16:43 .
drwxr-xr-x 3 root root 4096 May 27 04:17 ..
-rw-rw-r-- 1 user user   34 May 30 16:43 .Xresources
-rw------- 1 user user  284 May 30 16:44 .bash_history
-rw-r--r-- 1 user user   18 Dec  6 13:06 .bash_logout
-rw-r--r-- 1 user user  141 Dec  6 13:06 .bash_profile
-rw-r--r-- 1 user user  376 Dec  6 13:06 .bashrc
drwxr-xr-x 3 user user 4096 May 27 04:17 .local
-rw-rw-r-- 1 user user 4322 May 30 16:44 .xsession-errors
-rw------- 1 user user   60 May 30 14:32 XTerm2020-05-30.14:32:53
[user@fedora-31-minimal-firefox ~]$ sudo dnf install firefox

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for user:
Sorry, try again.
[sudo] password for user:
Sorry, try again.
[sudo] password for user:
sudo: 3 incorrect password attempts
[user@fedora-31-minimal-firefox ~]$


</Log-001>

Obviously I typed in the correct PW - otherwise - I would not be able to use the rest of the system ...

To confirm that this is not a simple issue on my side I created a clone of 'fedora-31' with Java 11 added to the default.

That's working w/o an issue!


<Log-002>


[user@fedora-31-java ~]$ sudo dnf install java-11
Last metadata expiration check: 0:21:11 ago on Sat May 30 14:18:32 2020.
Dependencies resolved.
================================================================================
 Package                     Arch      Version                 Repository  Size
================================================================================
Installing:
 java-11-openjdk             x86_64    1:11.0.7.10-0.fc31      updates    249 k
Installing dependencies:
 copy-jdk-configs            noarch    3.7-4.fc31              fedora      24 k
 java-11-openjdk-headless    x86_64    1:11.0.7.10-0.fc31      updates     38 M
 javapackages-filesystem     noarch    5.3.0-6.fc31            fedora      11 k
 lksctp-tools                x86_64    1.0.18-3.fc31           updates     95 k
 lua                         x86_64    5.3.5-6.fc31            fedora     181 k
 lua-posix                   x86_64    33.3.1-14.fc31          fedora     174 k
 tzdata-java                 noarch    2020a-1.fc31            updates    156 k

Transaction Summary
================================================================================
Install  8 Packages

Total download size: 39 M
Installed size: 175 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): lksctp-tools-1.0.18-3.fc31.x86_64.rpm    285 kB/s |  95 kB     00:00    
(2/8): java-11-openjdk-11.0.7.10-0.fc31.x86_64. 667 kB/s | 249 kB     00:00    
(3/8): copy-jdk-configs-3.7-4.fc31.noarch.rpm    29 kB/s |  24 kB     00:00    
(4/8): tzdata-java-2020a-1.fc31.noarch.rpm      172 kB/s | 156 kB     00:00    
(5/8): javapackages-filesystem-5.3.0-6.fc31.noa  13 kB/s |  11 kB     00:00    
(6/8): lua-5.3.5-6.fc31.x86_64.rpm              152 kB/s | 181 kB     00:01    
(7/8): lua-posix-33.3.1-14.fc31.x86_64.rpm      104 kB/s | 174 kB     00:01    
(8/8): java-11-openjdk-headless-11.0.7.10-0.fc3 7.9 MB/s |  38 MB     00:04    
--------------------------------------------------------------------------------
Total                                           5.2 MB/s |  39 MB     00:07    
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: copy-jdk-configs-3.7-4.fc31.noarch                     1/1
  Running scriptlet: java-11-openjdk-headless-1:11.0.7.10-0.fc31.x86_64     1/1
  Preparing        :                                                        1/1
  Installing       : lua-posix-33.3.1-14.fc31.x86_64                        1/8
  Installing       : lua-5.3.5-6.fc31.x86_64                                2/8
  Installing       : copy-jdk-configs-3.7-4.fc31.noarch                     3/8
  Installing       : javapackages-filesystem-5.3.0-6.fc31.noarch            4/8
  Installing       : tzdata-java-2020a-1.fc31.noarch                        5/8
  Installing       : lksctp-tools-1.0.18-3.fc31.x86_64                      6/8
  Running scriptlet: lksctp-tools-1.0.18-3.fc31.x86_64                      6/8
  Installing       : java-11-openjdk-headless-1:11.0.7.10-0.fc31.x86_64     7/8
  Running scriptlet: java-11-openjdk-headless-1:11.0.7.10-0.fc31.x86_64     7/8
  Installing       : java-11-openjdk-1:11.0.7.10-0.fc31.x86_64              8/8
  Running scriptlet: java-11-openjdk-1:11.0.7.10-0.fc31.x86_64              8/8
  Running scriptlet: copy-jdk-configs-3.7-4.fc31.noarch                     8/8
  Running scriptlet: java-11-openjdk-1:11.0.7.10-0.fc31.x86_64              8/8
  Verifying        : java-11-openjdk-1:11.0.7.10-0.fc31.x86_64              1/8
  Verifying        : java-11-openjdk-headless-1:11.0.7.10-0.fc31.x86_64     2/8
  Verifying        : lksctp-tools-1.0.18-3.fc31.x86_64                      3/8
  Verifying        : tzdata-java-2020a-1.fc31.noarch                        4/8
  Verifying        : copy-jdk-configs-3.7-4.fc31.noarch                     5/8
  Verifying        : javapackages-filesystem-5.3.0-6.fc31.noarch            6/8
  Verifying        : lua-5.3.5-6.fc31.x86_64                                7/8
  Verifying        : lua-posix-33.3.1-14.fc31.x86_64                        8/8
Last metadata expiration check: 0:21:57 ago on Sat May 30 14:18:32 2020.
Notifying dom0 about installed applications

Installed:
  copy-jdk-configs-3.7-4.fc31.noarch                                            
  java-11-openjdk-1:11.0.7.10-0.fc31.x86_64                                    
  java-11-openjdk-headless-1:11.0.7.10-0.fc31.x86_64                            
  javapackages-filesystem-5.3.0-6.fc31.noarch                                  
  lksctp-tools-1.0.18-3.fc31.x86_64                                            
  lua-5.3.5-6.fc31.x86_64                                                      
  lua-posix-33.3.1-14.fc31.x86_64                                              
  tzdata-java-2020a-1.fc31.noarch                                              

Complete!
[user@fedora-31-java ~]$

</Log-002>

Any suggestions - or - additonal information that you need from my side?

The only guess I have at the moment is that the setup of the xterm (only) environment is not complete/ consistent.

For what it's worth, I'm doing all of this from a system with a german keyboard ...

With kind regards,

VR

unman

unread,
May 30, 2020, 1:49:51 PM5/30/20
to qubes-users
On Sat, May 30, 2020 at 10:21:16AM -0700, viktor....@gmail.com wrote:
> Hello community,
>
> Now that I have resolved (?) my problem concerning copying text from xterm
> sessions, I'm running into the next strange behavior :-(
>
> The short version, is a simple question:
>
> *Are you able to create a clone from 'fedora-31-minimal' and extend it with
> packages?*
>
>

Thanks for the detailed report.
The minimal template does not contain the qubes-passwordless-root
package. The full template does.
Read this: https://www.qubes-os.org/doc/templates/minimal/#passwordless-root

Viktor Ransmayr

unread,
May 30, 2020, 3:11:15 PM5/30/20
to unman, qubes-users
Hello unman,

Thanks for this link. - Now it's clear.

With kind regards,

VR
Reply all
Reply to author
Forward
0 new messages