I broke my system. I tried the following. I am stuck. I need help.
Started on Trisquel Mini. Uninstalled metapackage trisquel-mini.
sudo apt-get remove trisquel-mini
No NetworkManager, lost WiFi. Solution: reinstall NetworkManager without
WiFi.
Booted live Trisquel. Decrypted Trisquel Mini root volume.
Chrooted to Trisquel Mini root volume.
sudo chroot /media/trisquel/ee2acd05-1b50-470f-add3-cebc0298a5ee/ bash
Installed NetworkManager in chroot.
root@trisquel:/# sudo apt-get install --yes network-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
iputils-arping libgnome-bluetooth11 libnm-glib-vpn1 libnm-gtk-common
libnm-gtk0 network-manager-gnome network-manager-pptp
network-manager-pptp-gnome pptp-linux wpasupplicant
Suggested packages:
gnome-bluetooth network-manager-openconnect-gnome
network-manager-openvpn-gnome network-manager-vpnc-gnome wpagui
libengine-pkcs11-openssl
The following NEW packages will be installed:
iputils-arping libgnome-bluetooth11 libnm-glib-vpn1 libnm-gtk-common
libnm-gtk0 network-manager network-manager-gnome network-manager-pptp
network-manager-pptp-gnome pptp-linux wpasupplicant
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,795 kB of archives.
After this operation, 7,670 kB of additional disk space will be used.
Get:1 http://us.archive.trisquel.info/trisquel/ belenos-updates/main
wpasupplicant i386 2.1-0ubuntu1.3 [734 kB]
Get:2 http://us.archive.trisquel.info/trisquel/ belenos-updates/main
iputils-arping i386 3:20121221-4ubuntu1.1 [26.2 kB]
Get:3 http://us.archive.trisquel.info/trisquel/ belenos-updates/main
network-manager i386 0.9.8.8-0ubuntu7.1 [493 kB]
Get:4 http://us.archive.trisquel.info/trisquel/ belenos-updates/main
libgnome-bluetooth11 i386 3.8.2.1-0ubuntu4.2 [55.8 kB]
Get:5 http://us.archive.trisquel.info/trisquel/ belenos-updates/main
libnm-glib-vpn1 i386 0.9.8.8-0ubuntu7.1 [12.9 kB]
Get:6 http://us.archive.trisquel.info/trisquel/ belenos-updates/main
libnm-gtk-common all 0.9.8.8-0ubuntu4.3 [5,492 B]
Get:7 http://us.archive.trisquel.info/trisquel/ belenos-updates/main
libnm-gtk0 i386 0.9.8.8-0ubuntu4.3 [60.1 kB]
Get:8 http://us.archive.trisquel.info/trisquel/ belenos-updates/main
network-manager-gnome i386 0.9.8.8-0ubuntu4.3 [309 kB]
Get:9 http://us.archive.trisquel.info/trisquel/ belenos/main pptp-linux i386
1.7.2-7 [47.3 kB]
Get:10 http://us.archive.trisquel.info/trisquel/ belenos/main
network-manager-pptp i386 0.9.8.2-1ubuntu2 [22.4 kB]
Get:11 http://us.archive.trisquel.info/trisquel/ belenos/main
network-manager-pptp-gnome i386 0.9.8.2-1ubuntu2 [27.9 kB]
Fetched 1,795 kB in 16s (107 kB/s)
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
dpkg-preconfigure: unable to re-open stdin: No such file or directory
E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or
directory)
Selecting previously unselected package wpasupplicant.
(Reading database ... 213174 files and directories currently installed.)
Preparing to unpack .../wpasupplicant_2.1-0ubuntu1.3_i386.deb ...
Unpacking wpasupplicant (2.1-0ubuntu1.3) ...
Selecting previously unselected package iputils-arping.
Preparing to unpack .../iputils-arping_3%3a20121221-4ubuntu1.1_i386.deb ...
Unpacking iputils-arping (3:20121221-4ubuntu1.1) ...
Selecting previously unselected package network-manager.
Preparing to unpack .../network-manager_0.9.8.8-0ubuntu7.1_i386.deb ...
Unpacking network-manager (0.9.8.8-0ubuntu7.1) ...
Selecting previously unselected package libgnome-bluetooth11.
Preparing to unpack .../libgnome-bluetooth11_3.8.2.1-0ubuntu4.2_i386.deb ...
Unpacking libgnome-bluetooth11 (3.8.2.1-0ubuntu4.2) ...
Selecting previously unselected package libnm-glib-vpn1.
Preparing to unpack .../libnm-glib-vpn1_0.9.8.8-0ubuntu7.1_i386.deb ...
Unpacking libnm-glib-vpn1 (0.9.8.8-0ubuntu7.1) ...
Selecting previously unselected package libnm-gtk-common.
Preparing to unpack .../libnm-gtk-common_0.9.8.8-0ubuntu4.3_all.deb ...
Unpacking libnm-gtk-common (0.9.8.8-0ubuntu4.3) ...
Selecting previously unselected package libnm-gtk0.
Preparing to unpack .../libnm-gtk0_0.9.8.8-0ubuntu4.3_i386.deb ...
Unpacking libnm-gtk0 (0.9.8.8-0ubuntu4.3) ...
Selecting previously unselected package network-manager-gnome.
Preparing to unpack .../network-manager-gnome_0.9.8.8-0ubuntu4.3_i386.deb ...
Unpacking network-manager-gnome (0.9.8.8-0ubuntu4.3) ...
Selecting previously unselected package pptp-linux.
Preparing to unpack .../pptp-linux_1.7.2-7_i386.deb ...
Unpacking pptp-linux (1.7.2-7) ...
Selecting previously unselected package network-manager-pptp.
Preparing to unpack .../network-manager-pptp_0.9.8.2-1ubuntu2_i386.deb ...
Unpacking network-manager-pptp (0.9.8.2-1ubuntu2) ...
Selecting previously unselected package network-manager-pptp-gnome.
Preparing to unpack .../network-manager-pptp-gno