Re: [qubes-users] Just Broke Debian-8 Template

2016-11-19 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-11-16 04:37, Sec Tester wrote:
> qvm-revert-template-changes debian-8 - didnt fix it. I tried to set an 
> earlier date, but --help file and man file didnt specific the option format.
> 

qvm-revert-template-changes can only roll back changes made during the last 
time the TemplateVM was run. It does not keep any history beyond that.

https://www.qubes-os.org/doc/software-update-vm/#reverting-changes-to-a-templatevm

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYMDjkAAoJENtN07w5UDAwy+UQAKuugiVovNhGw4jLCLxwx1qw
VF5Ki0aWmbwJNJuuVL59w7EyiD2IJcyk6pWerDxvl2tyhOuSkqAi+9QxCyiWcU4l
CdlH4srSzHIyQtygNUreIoU7aWTNWaqSLp2rk6VRhjLAQe5U7PBWHgcSNxR6eMhz
e6aszYa4EnwuneP7a6OH+kOkU41IZamOfUqkCIZRAWKed44V2QD1XbEKCjHXPkZN
AVQfQloX3AyMFGySm4EWrAEFV0nroZZ51pHERUelrirAdLP4hSbyU7zjjmrc0RqY
1A0hkKiG9UVE28ex/c+C3A3en4J4j/1HoC04WqwqPQEwU6KzFosptoFIeIGMQKpV
Py3cAAN86b19DTW3pif3coRB4WH/keX8rpaPdveTjxF1wD+bSAWw/XiBqMzgcBQt
YVD/j/hNbvVWHKt3u5BjvtlMiHOqjxJJ0X39zYDRM1ke+9g2NM4BQ3L+MlM+F76K
bncidYNW9gnFjJdbDfZ2/d/79qNAFMUdo9UayZ8O583CHM3rY4jb9q7eP5dKUOzw
A8InI0AGKnwrYpoqf4w+lZCRdzc9C3du5gxOMir2c96hJQtvt/QknlWGrT6rX/0A
TY8a5j32E6hBGqpgju/XeSUy9F7agkkimW42yWNTOy1onKXV3LnFTL1lwrFJifSO
gEAkDBYo4HN1uZIfsuLE
=IVc8
-END PGP SIGNATURE-

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/011a9b2d-ff05-9e00-0e53-fb0877325ac2%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Just Broke Debian-8 Template

2016-11-16 Thread Sec Tester
On Thursday, 17 November 2016 10:33:28 UTC+10, Vít Šesták  wrote:
> I've tried to replicate it in a DVM and it behaved according to my 
> expectation:
> 
> When running sudo apt remove imagemagick, it asks me for also removing some 
> qubes-* packages. The reason is that those packages depend on ImageMagick 
> package, so you should either remove them as well or keep ImageMagick. Well, 
> the prompt looks mostly as a standard remove prompt. If you don't read 
> carefully what is going to be removed, it is easy not to notice that 
> something additional is going to be removed. I remember I have done a similar 
> kind of mistake when removing a Debian package.
> 
> Now, it is easy to see why just installing ImageMagick didn't help. Your 
> problem is not just that you miss ImageMagick, the problem is also that you 
> have removed few other packages, including Qubes GUI daemon. You should be 
> able to install them in similar way you have installed ImageMagick. You can 
> see the list of packages you have removed in /var/log/apt/term.log. One also 
> could check what dependencies are typically removed when removing 
> ImageMagick. (I can't do it right now because I am not on Qubes ATM.)
> 
> Regards,
> Vít Šesták 'v6ak'

Just for anyones future reference the additional packages seem to be:

qubes-core-agent
qubes-gui-agent
qubes-input-proxy-sender
qubes-pdf-converter

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/89a25239-aea5-4bc6-8efa-b92a64291a46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Just Broke Debian-8 Template

2016-11-16 Thread Vít Šesták
I've tried to replicate it in a DVM and it behaved according to my expectation:

When running sudo apt remove imagemagick, it asks me for also removing some 
qubes-* packages. The reason is that those packages depend on ImageMagick 
package, so you should either remove them as well or keep ImageMagick. Well, 
the prompt looks mostly as a standard remove prompt. If you don't read 
carefully what is going to be removed, it is easy not to notice that something 
additional is going to be removed. I remember I have done a similar kind of 
mistake when removing a Debian package.

Now, it is easy to see why just installing ImageMagick didn't help. Your 
problem is not just that you miss ImageMagick, the problem is also that you 
have removed few other packages, including Qubes GUI daemon. You should be able 
to install them in similar way you have installed ImageMagick. You can see the 
list of packages you have removed in /var/log/apt/term.log. One also could 
check what dependencies are typically removed when removing ImageMagick. (I 
can't do it right now because I am not on Qubes ATM.)

Regards,
Vít Šesták 'v6ak'

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/43a542cf-51b5-431a-b5b4-6a50df5ecd92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Just Broke Debian-8 Template

2016-11-16 Thread raahelps
On Wednesday, November 16, 2016 at 7:37:15 AM UTC-5, Sec Tester wrote:
> On Wednesday, 16 November 2016 21:08:14 UTC+10, Unman  wrote:
> > On Wed, Nov 16, 2016 at 10:26:34AM +, Unman wrote:
> > > On Tue, Nov 15, 2016 at 09:50:58PM -0800, Sec Tester wrote:
> > > > So i wanted to uninstall that rubbish image editor "imagemagick"
> > > > 
> > > > Ran: sudo apt-get remove imagemagick
> > > > 
> > > > VM crashed. Error in VM manager says "qrexec not connected"
> > > > 
> > > > Tried to restart, VM manager Error says "can not start qubes-guid"
> > > > 
> > > > Would prefer not to replace entire template if possible?
> > > > 
> > > > Cheers.
> > > > 
> > > Indeed, the warning about removing qubes-gui-agent and assorted other
> > > qubes modules might have tipped you off that this wasn't wise.
> > > 
> > > Use qvm-revert-template-changes which will get you back to a clean
> > > start.
> > > 
> > > unman
> > >
> > 
> > Alternatively connect to a console from dom0 using:
> > sudo xl console
> > This will give you a console connection from where you can
> > log in as root and reinstall the packages you removed.
> > 
> > unman
> 
> Thank you 
> 
> qvm-revert-template-changes debian-8 - didnt fix it. I tried to set an 
> earlier date, but --help file and man file didnt specific the option format.
> 
> while VM light was still yellow
> ran: sudo xl debian-8
> root
> apt-get install imagemagick
> 
> Unfortunately still wont start up. must be other missing a packages.
> 
> I decided to just replace the template.
> 
> > Indeed, the warning about removing qubes-gui-agent and assorted other
> > qubes modules might have tipped you off that this wasn't wise.
> 
> ha, well just habbit of hitting y when runnning apt-get. Oops :P

I do that on baremetal debian all the time.  hahah tk goodness for Qubes.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2d57158d-0b46-4897-9f3b-b5a25bc8b271%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Just Broke Debian-8 Template

2016-11-16 Thread Sec Tester
On Wednesday, 16 November 2016 21:08:14 UTC+10, Unman  wrote:
> On Wed, Nov 16, 2016 at 10:26:34AM +, Unman wrote:
> > On Tue, Nov 15, 2016 at 09:50:58PM -0800, Sec Tester wrote:
> > > So i wanted to uninstall that rubbish image editor "imagemagick"
> > > 
> > > Ran: sudo apt-get remove imagemagick
> > > 
> > > VM crashed. Error in VM manager says "qrexec not connected"
> > > 
> > > Tried to restart, VM manager Error says "can not start qubes-guid"
> > > 
> > > Would prefer not to replace entire template if possible?
> > > 
> > > Cheers.
> > > 
> > Indeed, the warning about removing qubes-gui-agent and assorted other
> > qubes modules might have tipped you off that this wasn't wise.
> > 
> > Use qvm-revert-template-changes which will get you back to a clean
> > start.
> > 
> > unman
> >
> 
> Alternatively connect to a console from dom0 using:
> sudo xl console
> This will give you a console connection from where you can
> log in as root and reinstall the packages you removed.
> 
> unman

Thank you 

qvm-revert-template-changes debian-8 - didnt fix it. I tried to set an earlier 
date, but --help file and man file didnt specific the option format.

while VM light was still yellow
ran: sudo xl debian-8
root
apt-get install imagemagick

Unfortunately still wont start up. must be other missing a packages.

I decided to just replace the template.

> Indeed, the warning about removing qubes-gui-agent and assorted other
> qubes modules might have tipped you off that this wasn't wise.

ha, well just habbit of hitting y when runnning apt-get. Oops :P

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9238ac05-f1cd-465e-abf3-2788d5e002d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Just Broke Debian-8 Template

2016-11-16 Thread Unman
On Wed, Nov 16, 2016 at 10:26:34AM +, Unman wrote:
> On Tue, Nov 15, 2016 at 09:50:58PM -0800, Sec Tester wrote:
> > So i wanted to uninstall that rubbish image editor "imagemagick"
> > 
> > Ran: sudo apt-get remove imagemagick
> > 
> > VM crashed. Error in VM manager says "qrexec not connected"
> > 
> > Tried to restart, VM manager Error says "can not start qubes-guid"
> > 
> > Would prefer not to replace entire template if possible?
> > 
> > Cheers.
> > 
> Indeed, the warning about removing qubes-gui-agent and assorted other
> qubes modules might have tipped you off that this wasn't wise.
> 
> Use qvm-revert-template-changes which will get you back to a clean
> start.
> 
> unman
>

Alternatively connect to a console from dom0 using:
sudo xl console
This will give you a console connection from where you can
log in as root and reinstall the packages you removed.

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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20161116110813.GA30267%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Just Broke Debian-8 Template

2016-11-16 Thread Unman
On Tue, Nov 15, 2016 at 09:50:58PM -0800, Sec Tester wrote:
> So i wanted to uninstall that rubbish image editor "imagemagick"
> 
> Ran: sudo apt-get remove imagemagick
> 
> VM crashed. Error in VM manager says "qrexec not connected"
> 
> Tried to restart, VM manager Error says "can not start qubes-guid"
> 
> Would prefer not to replace entire template if possible?
> 
> Cheers.
> 
Indeed, the warning about removing qubes-gui-agent and assorted other
qubes modules might have tipped you off that this wasn't wise.

Use qvm-revert-template-changes which will get you back to a clean
start.

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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20161116102634.GA29990%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Just Broke Debian-8 Template

2016-11-15 Thread Sec Tester
So i wanted to uninstall that rubbish image editor "imagemagick"

Ran: sudo apt-get remove imagemagick

VM crashed. Error in VM manager says "qrexec not connected"

Tried to restart, VM manager Error says "can not start qubes-guid"

Would prefer not to replace entire template if possible?

Cheers.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/61b34100-9754-448e-994c-6a63f5ab5358%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.