Cant start the AppVM - uninstalled python-numpy.

18 views
Skip to first unread message

Keld Norman

unread,
Feb 12, 2017, 7:31:14 PM2/12/17
to qubes-users
Hi community :)

I ran this on a standalone debian 8 appvm
apt-get purge python-numpy

Yes, I now know that is not the most cleaver command to run..

It resulted in the following packages got removed:
python-numpy python-qwt4-qt4 qubes-core-agent gimp gpsd-clients live-usb-install python-glade2 python-matplotlib qubes-gui-agent w3af python-kivy python-gtk2 python-scipy python-pygame

So now I can not boot that AppVM normally..

I can connect to it using: sudo xl console Lab from dom0's console
and get a prompt (login as root) but I am missing the /rw directory and everything seems readonly (I wanted to reinstall the uninstalled packages)

When i try to run apt-get install (all the packages listed above) it just fails with "Unable to write to /var/cache/apt" because /var is not there and /rw is also not there.. :/

Is there a way to fix this ?

Regards
Keld.

stupid1.png

john.david.r.smith

unread,
Feb 13, 2017, 6:43:17 AM2/13/17
to qubes...@googlegroups.com
i am not an expert in this, but did you try to `sudo mkdir -p "/var/cache/apt"`?
maybe this allows you to re-install the packages.

Keld Norman

unread,
Feb 13, 2017, 6:47:04 AM2/13/17
to qubes-users
I got the appvm on-line - found the .deb packages here http://ftp.qubes-os.org/repo/deb/r3.1/vm/pool/main/q/ and ran wget xxxx to downloaded them - then dpkg -i xxxx.deb and now it is all good agin :)

Thanks for the response

Reply all
Reply to author
Forward
0 new messages