[Puppet Users] Could not set present on ensure: Read-only file system
Hi, I try install python-psycopg2 with other packages, when run apt-get -y update returns the errors: err: /Stage[main]/Etc/Package[build-essential]/ensure: change from purged to present failed: Could not set 'present on ensure: Read-only file system - /tmp/puppet20120216-1063-18q7lsz-0 at /tmp/vagrant-puppet/manifests/vagrant.pp:15 err: /Stage[main]/Etc/Package[python-psycopg2]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-psycopg2' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Python::Gunicorn/File[/var/log/gunicorn]/ensure: change from absent to directory failed: Could not set 'directory on ensure: Read-only file system - /var/log/gunicorn at /tmp/vagrant-puppet/modules-0/python/manifests/gunicorn.pp:11 notice: /Stage[main]/Python::Gunicorn/File[/var/run/gunicorn]/ensure: created err: /Stage[main]/Python::Venv/Package[python-virtualenv]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-virtualenv' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Group[puppet]/ensure: change from absent to present failed: Could not create group puppet: Execution of '/usr/sbin/groupadd puppet' returned 1: err: /Stage[main]/Etc/Package[libcurl3-dev]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libcurl3-dev' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Etc/Package[curl]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install curl' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Monit/Package[monit]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install monit' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. notice: /Stage[main]/Monit/File[/etc/default/monit]: Dependency Package[monit] has failures: true warning: /Stage[main]/Monit/File[/etc/default/monit]: Skipping because of failed dependencies notice: /Stage[main]/Monit/File[/etc/monit/monitrc]: Dependency Package[monit] has failures: true warning: /Stage[main]/Monit/File[/etc/monit/monitrc]: Skipping because of failed dependencies notice: /Stage[main]/Monit/File[/etc/logrotate.d/monit]: Dependency Package[monit] has failures: true warning: /Stage[main]/Monit/File[/etc/logrotate.d/monit]: Skipping because of failed dependencies notice: /Stage[main]/Monit/Service[monit]: Dependency Package[monit] has failures: true warning: /Stage[main]/Monit/Service[monit]: Skipping because of failed dependencies err: /Stage[main]/Etc/Package[git-doc]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install git-doc' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Etc/Package[libcurl4-gnutls-dev]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libcurl4-gnutls-dev' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Dev/Exec[apt-get -y update]/returns: change from notrun to 0 failed: /usr/bin/apt-get -y update returned 100 instead of one of [0] at /tmp/vagrant-puppet/manifests/vagrant.pp:62 err: /Stage[main]/Dev/Exec[apt-get -y make]/returns: change from notrun to 0 failed: /usr/bin/apt-get -r make upgrade returned 100 instead of one of [0] at /tmp/vagrant-puppet/manifests/vagrant.pp:70 err: /Stage[main]/Dev/Exec[apt-get -y upgrade]/returns: change from notrun to 0 failed: /usr/bin/apt-get -y upgrade returned 100 instead of one of [0] at /tmp/vagrant-puppet/manifests/vagrant.pp:66 err: /Stage[main]/Nginx/Package[nginx]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install nginx' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must
Re: [Puppet Users] Could not set present on ensure: Read-only file system
Hi, Is it a read only file system? change from purged to present failed: Could not set 'present on ensure: Read-only file system - /tmp/puppet20120216-1063-18q7lsz-0 at /tmp/vagrant-puppet/manifests/vagrant.pp:15 Try doing a remount on / with rw. Also check if you can do a manual install of the package once you confirm you can right to the file system. On 17/02/2012, at 6:03, Jair Gaxiola jyr.gaxi...@gmail.com wrote: Hi, I try install python-psycopg2 with other packages, when run apt-get -y update returns the errors: err: /Stage[main]/Etc/Package[build-essential]/ensure: change from purged to present failed: Could not set 'present on ensure: Read-only file system - /tmp/puppet20120216-1063-18q7lsz-0 at /tmp/vagrant-puppet/manifests/vagrant.pp:15 err: /Stage[main]/Etc/Package[python-psycopg2]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-psycopg2' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Python::Gunicorn/File[/var/log/gunicorn]/ensure: change from absent to directory failed: Could not set 'directory on ensure: Read-only file system - /var/log/gunicorn at /tmp/vagrant-puppet/modules-0/python/manifests/gunicorn.pp:11 notice: /Stage[main]/Python::Gunicorn/File[/var/run/gunicorn]/ensure: created err: /Stage[main]/Python::Venv/Package[python-virtualenv]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-virtualenv' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Group[puppet]/ensure: change from absent to present failed: Could not create group puppet: Execution of '/usr/sbin/groupadd puppet' returned 1: err: /Stage[main]/Etc/Package[libcurl3-dev]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libcurl3-dev' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Etc/Package[curl]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install curl' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Monit/Package[monit]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install monit' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. notice: /Stage[main]/Monit/File[/etc/default/monit]: Dependency Package[monit] has failures: true warning: /Stage[main]/Monit/File[/etc/default/monit]: Skipping because of failed dependencies notice: /Stage[main]/Monit/File[/etc/monit/monitrc]: Dependency Package[monit] has failures: true warning: /Stage[main]/Monit/File[/etc/monit/monitrc]: Skipping because of failed dependencies notice: /Stage[main]/Monit/File[/etc/logrotate.d/monit]: Dependency Package[monit] has failures: true warning: /Stage[main]/Monit/File[/etc/logrotate.d/monit]: Skipping because of failed dependencies notice: /Stage[main]/Monit/Service[monit]: Dependency Package[monit] has failures: true warning: /Stage[main]/Monit/Service[monit]: Skipping because of failed dependencies err: /Stage[main]/Etc/Package[git-doc]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install git-doc' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Etc/Package[libcurl4-gnutls-dev]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libcurl4-gnutls-dev' returned 100: W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. err: /Stage[main]/Dev/Exec[apt-get -y update]/returns: change from notrun to 0 failed: /usr/bin/apt-get -y update returned 100 instead of one of [0] at /tmp/vagrant-puppet/manifests/vagrant.pp:62 err: /Stage[main]/Dev/Exec[apt-get -y make]/returns: change from notrun to 0 failed: /usr/bin/apt-get -r make upgrade returned 100 instead
Re: [Puppet Users] Could not set present on ensure: Read-only file system
On Thu, Feb 16, 2012 at 1:28 PM, Denmat tu2bg...@gmail.com wrote: Hi, Is it a read only file system? change from purged to present failed: Could not set 'present on ensure: Read-only file system - /tmp/puppet20120216-1063-18q7lsz-0 at /tmp/vagrant-puppet/manifests/vagrant.pp:15 I have of file system read only, drwxrwxrwt 3 rootroot4096 Feb 16 11:43 . drwxr-xr-x 22 rootroot4096 Jul 21 2011 .. -rw--- 1 rootroot2799 Feb 16 11:49 puppet20120216-1053-1p4uxc-0 -rw--- 1 vagrant vagrant 191 Feb 16 11:43 vagrant-network-entry -rw-r--r-- 1 rootroot 283 Feb 16 11:43 vagrant-network-interfaces drwxr-xr-x 4 rootroot4096 Feb 16 11:43 vagrant-puppet vagrant@lucid32:~$ drwxr-xr-x 4 rootroot4096 Feb 16 11:43 . drwxrwxrwt 3 rootroot4096 Feb 16 11:43 .. drwxr-xr-x 1 vagrant vagrant 102 Feb 16 11:49 manifests drwxr-xr-x 1 vagrant vagrant 238 Feb 15 15:23 modules-0 vagrant@lucid32:~$ ls -al /tmp/vagrant-puppet/manifests total 8 drwxr-xr-x 1 vagrant vagrant 102 Feb 16 11:49 . drwxr-xr-x 4 rootroot4096 Feb 16 11:43 .. -rw-r--r-- 1 vagrant vagrant 1444 Feb 16 10:32 vagrant.pp I run sudo dpkg --configure -a from console returns: dpkg: unable to access dpkg status area: Read-only file system -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.