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-gnome_0.9.8.2-1ubuntu2_i386.deb ...
Unpacking network-manager-pptp-gnome (0.9.8.2-1ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Can't open /dev/null: Permission denied
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for libglib2.0-0:i386 (2.40.2-0ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
/var/lib/dpkg/info/gconf2.postinst: 27: /var/lib/dpkg/info/gconf2.postinst: cannot create /dev/null: Permission denied
dpkg: error processing package gconf2 (--unpack):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for desktop-file-utils (0.22-1ubuntu1+7.0trisquel1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Errors were encountered while processing:
 gconf2
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@trisquel:/# sudo apt-get -f install --yes network-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
network-manager is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)
Setting up wpasupplicant (2.1-0ubuntu1.3) ...
/var/lib/dpkg/info/wpasupplicant.postinst: 23: /var/lib/dpkg/info/wpasupplicant.postinst: cannot create /dev/null: Permission denied
Setting up iputils-arping (3:20121221-4ubuntu1.1) ...
/var/lib/dpkg/info/iputils-arping.postinst: 10: /var/lib/dpkg/info/iputils-arping.postinst: cannot create /dev/null: Permission denied /var/lib/dpkg/info/iputils-arping.postinst: 11: /var/lib/dpkg/info/iputils-arping.postinst: cannot create /dev/null: Permission denied
Setting up network-manager (0.9.8.8-0ubuntu7.1) ...
/var/lib/dpkg/info/network-manager.postinst: 28: /var/lib/dpkg/info/network-manager.postinst: cannot create /dev/null: Permission denied
dpkg: error processing package network-manager (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up gconf2 (3.2.6-0ubuntu2) ...
Traceback (most recent call last):
  File "/usr/sbin/gconf-schemas", line 111, in
    fd = os.open("/dev/null",os.O_WRONLY)
OSError: [Errno 13] Permission denied: '/dev/null'
dpkg: error processing package gconf2 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libgnome-bluetooth11 (3.8.2.1-0ubuntu4.2) ...
/sbin/ldconfig: 6: /sbin/ldconfig: cannot create /dev/null: Permission denied
Setting up libnm-glib-vpn1 (0.9.8.8-0ubuntu7.1) ...
/sbin/ldconfig: 6: /sbin/ldconfig: cannot create /dev/null: Permission denied
Setting up libnm-gtk-common (0.9.8.8-0ubuntu4.3) ...
Setting up libnm-gtk0 (0.9.8.8-0ubuntu4.3) ...
/sbin/ldconfig: 6: /sbin/ldconfig: cannot create /dev/null: Permission denied
dpkg: dependency problems prevent configuration of network-manager-gnome:
 network-manager-gnome depends on network-manager (>= 0.9.8); however:
  Package network-manager is not configured yet.

dpkg: error processing package network-manager-gnome (--configure):
 dependency problems - leaving unconfigured
Setting up pptp-linux (1.7.2-7) ...
Setting up network-manager-pptp (0.9.8.2-1ubuntu2) ...
/usr/sbin/invoke-rc.d: 272: /usr/sbin/invoke-rc.d: cannot create /dev/null: Permission denied /usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: cannot create /dev/null: Permission denied
xargs: `/dev/null': Permission denied
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: cannot create /dev/null: Permission denied
xargs: `/dev/null': Permission denied
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: cannot create /dev/null: Permission denied
xargs: `/dev/null': Permission denied
Setting up network-manager-pptp-gnome (0.9.8.2-1ubuntu2) ...
Errors were encountered while processing:
 network-manager
 gconf2
 network-manager-gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)


Ask for more outputs if appropriate.

Reply via email to