Re: [qubes-users] safely remove yum from debian tempate?

2020-06-29 Thread Qubes

On 6/28/20 11:23 PM, Dave C wrote:

I'd like to

sudo apt remove yum

However, apt warns the following:

The following packages will be REMOVED:
   qubes-core-agent-dom0-updates qubes-vm-recommended yum yum-utils



Have a look here, 
https://www.qubes-os.org/doc/removing-templatevm-packages/, scroll down 
to 'Removing Only Packages Not Needed for a Qubes TemplateVM'.






--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1caabe87-4804-79e0-30b5-b53b0399f186%40ak47.co.za.


Re: [qubes-users] safely remove yum from debian tempate?

2020-06-29 Thread unman
On Mon, Jun 29, 2020 at 12:50:01PM +0200, Fr??d??ric Pierret wrote:
> 
> 
> On 2020-06-28 23:23, Dave C wrote:
> > I'd like to??
> > 
> > |
> > sudo apt remove yum
> > |
> > 
> > because the yum files in /etc/bash_completion.d/ break things for fossil 
> > (autocomplete appends a space instead of slash after directories when 
> > running fossil).
> > 
> > However, apt warns the following:
> > 
> > |
> > The following packages will be REMOVED:
> > ?? qubes-core-agent-dom0-updates qubes-vm-recommended yum yum-utils
> > 
> > |
> > 
> > A) Is it safe to remove qubes-core-agent-dom0-updates and 
> > qubes-vm-recommended from a debian template?
> > 
> > Also, apt tells me that autoremove would further remove quite a few 
> > packages, including several from qubes:
> > 
> > |
> > ?? qubes-core-agent-passwordless-root qubes-gpg-split
> > ?? qubes-img-converter qubes-input-proxy-sender qubes-mgmt-salt-vm-connector
> > ?? qubes-pdf-converter qubes-thunderbird qubes-usb-proxy
> > |
> 
> When building normal template, we add a meta-package called 
> qubes-vm-recommended which is responsible to pull above dependencies and 
> notably qubes-core-agent-dom0-updates, which itself requires yum and 
> yum-util. You can safely remove it if you don't use debian template as 
> "UpdateVM" in Qubes global preferences.

As with any meta-package, you may want to keep some of the other
packages that it pulls in. This is not peculiar to Qubes.
You should mark these as "hold" or "instal" when removing the
meta-package, so that you remove only the target package.
A decent package manager like aptitude will make this easy.

If you need help with this, just ask.

unman

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200629113150.GA25753%40thirdeyesecurity.org.


Re: [qubes-users] safely remove yum from debian tempate?

2020-06-29 Thread Frédéric Pierret


On 2020-06-28 23:23, Dave C wrote:
> I'd like to 
> 
> |
> sudo apt remove yum
> |
> 
> because the yum files in /etc/bash_completion.d/ break things for fossil 
> (autocomplete appends a space instead of slash after directories when running 
> fossil).
> 
> However, apt warns the following:
> 
> |
> The following packages will be REMOVED:
>   qubes-core-agent-dom0-updates qubes-vm-recommended yum yum-utils
> 
> |
> 
> A) Is it safe to remove qubes-core-agent-dom0-updates and 
> qubes-vm-recommended from a debian template?
> 
> Also, apt tells me that autoremove would further remove quite a few packages, 
> including several from qubes:
> 
> |
>   qubes-core-agent-passwordless-root qubes-gpg-split
>   qubes-img-converter qubes-input-proxy-sender qubes-mgmt-salt-vm-connector
>   qubes-pdf-converter qubes-thunderbird qubes-usb-proxy
> |

When building normal template, we add a meta-package called 
qubes-vm-recommended which is responsible to pull above dependencies and 
notably qubes-core-agent-dom0-updates, which itself requires yum and yum-util. 
You can safely remove it if you don't use debian template as "UpdateVM" in 
Qubes global preferences.


> B) Is it safe to allow these to be autoremoved?
> 
> I'm guessing that it is ok to remove the former (A: yes) and not ok to remove 
> the latter (B: no).
> 
> I've noticed that installing qubes-vm-recommended brings yum and yum-utils 
> along with it.  This leaves me wondering, is there a way to uninstall yum on 
> a debian template?
> 
> Thanks for any help.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to qubes-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/qubes-users/550e6bc7-8319-4587-83a2-94ea3b7432eao%40googlegroups.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f0274833-f2b9-1a0f-95b5-9aa995ac2cdb%40qubes-os.org.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] safely remove yum from debian tempate?

2020-06-29 Thread David Hobach

On 6/28/20 11:23 PM, Dave C wrote:

I'd like to

sudo apt remove yum

because the yum files in /etc/bash_completion.d/ break things for fossil
(autocomplete appends a space instead of slash after directories when
running fossil).

However, apt warns the following:

The following packages will be REMOVED:
   qubes-core-agent-dom0-updates qubes-vm-recommended yum yum-utils


yum is installed for dom0 updates:
If you use your debian template as netVM, yum will be used to download 
updates for dom0 via the netVM.


So removing any of these packages is certainly not recommended as it may 
break expected base Qubes OS functionality.


Btw, removing thunderbird currently also removes `qubes-vm-recommended` 
in debian templates, which breaks the same Qubes functionality and is 
clearly a bug.


--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0cbbc6da-887b-e968-5624-2e7926789d1d%40hackingthe.net.


smime.p7s
Description: S/MIME Cryptographic Signature


[qubes-users] safely remove yum from debian tempate?

2020-06-28 Thread Dave C
I'd like to 

sudo apt remove yum

because the yum files in /etc/bash_completion.d/ break things for fossil 
(autocomplete appends a space instead of slash after directories when 
running fossil).

However, apt warns the following:

The following packages will be REMOVED:
  qubes-core-agent-dom0-updates qubes-vm-recommended yum yum-utils


A) Is it safe to remove qubes-core-agent-dom0-updates and 
qubes-vm-recommended from a debian template?

Also, apt tells me that autoremove would further remove quite a few 
packages, including several from qubes:

  qubes-core-agent-passwordless-root qubes-gpg-split
  qubes-img-converter qubes-input-proxy-sender qubes-mgmt-salt-vm-connector
  qubes-pdf-converter qubes-thunderbird qubes-usb-proxy

B) Is it safe to allow these to be autoremoved?

I'm guessing that it is ok to remove the former (A: yes) and not ok to 
remove the latter (B: no).

I've noticed that installing qubes-vm-recommended brings yum and yum-utils 
along with it.  This leaves me wondering, is there a way to uninstall yum 
on a debian template?

Thanks for any help.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/550e6bc7-8319-4587-83a2-94ea3b7432eao%40googlegroups.com.