barki@ninja-network:~$ sudo apt-get update sudo: unable to resolve host ninja-network [sudo] password for barki: Ign http://dl.google.com stable InRelease Ign http://ppa.launchpad.net wily InRelease Hit http://dl.google.com stable Release.gpg Ign http://archive.canonical.com trusty InRelease Hit http://archive.ubuntu.com wily InRelease Get:1 http://ppa.launchpad.net wily InRelease [15.4 kB] Hit http://dl.google.com stable Release Hit http://archive.canonical.com trusty Release.gpg Get:2 http://archive.ubuntu.com wily-updates InRelease [64.4 kB] Hit http://ppa.launchpad.net wily InRelease Hit http://archive.canonical.com trusty Release Hit http://ppa.launchpad.net wily InRelease Ign http://ppa.launchpad.net wily Release.gpg Get:3 http://ppa.launchpad.net wily/main Sources [582 B] Get:4 http://ppa.launchpad.net wily/main amd64 Packages [839 B] Get:5 http://ppa.launchpad.net wily/main i386 Packages [839 B] Hit http://dl.google.com stable/main amd64 Packages Hit http://archive.ubuntu.com wily-backports InRelease Get:6 http://ppa.launchpad.net wily/main Translation-en [396 B] Hit http://dl.google.com stable/main i386 Packages Get:7 http://archive.ubuntu.com wily-security InRelease [64.4 kB] Hit http://archive.canonical.com trusty/partner Sources Get:8 http://ppa.launchpad.net wily/main Translation-en [133 B] Get:9 http://archive.ubuntu.com wily-proposed InRelease [218 kB] Hit http://archive.canonical.com trusty/partner amd64 Packages Hit http://archive.canonical.com trusty/partner i386 Packages Ign http://dl.google.com stable/main Translation-en_US Ign http://dl.google.com stable/main Translation-en Ign http://archive.canonical.com trusty/partner Translation-en Ign http://ppa.launchpad.net wily Release Hit http://ppa.launchpad.net wily/main Sources Hit http://ppa.launchpad.net wily/main amd64 Packages Hit http://ppa.launchpad.net wily/main i386 Packages Hit http://ppa.launchpad.net wily/main Sources Hit http://ppa.launchpad.net wily/main amd64 Packages Hit http://ppa.launchpad.net wily/main i386 Packages Hit http://ppa.launchpad.net wily/main Translation-en Ign http://ppa.launchpad.net wily/main Translation-en Get:10 http://archive.ubuntu.com wily-updates/main Sources [41.4 kB] Ign http://toolbelt.heroku.com ./ InRelease Get:11 http://archive.ubuntu.com wily-updates/universe Sources [11.2 kB] Err http://ppa.launchpad.net wily/main Sources 404 Not Found Err http://ppa.launchpad.net wily/main amd64 Packages 404 Not Found Get:12 http://archive.ubuntu.com wily-updates/multiverse Sources [1,913 B] Hit http://toolbelt.heroku.com ./ Release.gpg Err http://ppa.launchpad.net wily/main i386 Packages 404 Not Found Get:13 http://archive.ubuntu.com wily-updates/restricted Sources [3,741 B] Ign http://ppa.launchpad.net wily/main Translation-en_US Ign http://ppa.launchpad.net wily/main Translation-en Get:14 http://archive.ubuntu.com wily-updates/main amd64 Packages [111 kB] Hit http://toolbelt.heroku.com ./ Release Get:15 http://archive.ubuntu.com wily-updates/restricted amd64 Packages [13.3 kB] Get:16 http://archive.ubuntu.com wily-updates/universe amd64 Packages [50.5 kB] Get:17 http://archive.ubuntu.com wily-updates/multiverse amd64 Packages [5,856 B] Hit http://toolbelt.heroku.com ./ Packages Get:18 http://archive.ubuntu.com wily-updates/main i386 Packages [108 kB] Get:19 http://archive.ubuntu.com wily-updates/restricted i386 Packages [13.4 kB] Get:20 http://archive.ubuntu.com wily-updates/universe i386 Packages [48.5 kB] Get:21 http://archive.ubuntu.com wily-updates/multiverse i386 Packages [6,064 B] Ign http://toolbelt.heroku.com ./ Translation-en_US Ign http://toolbelt.heroku.com ./ Translation-en Hit http://archive.ubuntu.com wily-backports/restricted Sources Hit http://archive.ubuntu.com wily-backports/multiverse Sources Hit http://archive.ubuntu.com wily-backports/restricted amd64 Packages Hit http://archive.ubuntu.com wily-backports/multiverse amd64 Packages Hit http://archive.ubuntu.com wily-backports/restricted i386 Packages Hit http://archive.ubuntu.com wily-backports/multiverse i386 Packages Hit http://archive.ubuntu.com wily-backports/multiverse Translation-en Hit http://archive.ubuntu.com wily-backports/restricted Translation-en Get:22 http://archive.ubuntu.com wily-security/main Sources [24.9 kB] Get:23 http://archive.ubuntu.com wily-security/universe Sources [6,513 B] Get:24 http://archive.ubuntu.com wily-security/multiverse Sources [1,913 B] Get:25 http://archive.ubuntu.com wily-security/restricted Sources [2,854 B] Get:26 http://archive.ubuntu.com wily-security/main amd64 Packages [78.2 kB] Get:27 http://archive.ubuntu.com wily-security/restricted amd64 Packages [10.9 kB] Get:28 http://archive.ubuntu.com wily-security/universe amd64 Packages [35.8 kB] Get:29 http://archive.ubuntu.com wily-security/multiverse amd64 Packages [5,856 B] Get:30 http://archive.ubuntu.com wily-security/main i386 Packages [76.4 kB] Get:31 http://archive.ubuntu.com wily-security/restricted i386 Packages [10.8 kB] Get:32 http://archive.ubuntu.com wily-security/universe i386 Packages [35.8 kB] Get:33 http://archive.ubuntu.com wily-security/multiverse i386 Packages [6,064 B] Get:34 http://archive.ubuntu.com wily-proposed/main Sources [8,760 B] Get:35 http://archive.ubuntu.com wily-proposed/restricted Sources [28 B] Get:36 http://archive.ubuntu.com wily-proposed/multiverse Sources [826 B] Get:37 http://archive.ubuntu.com wily-proposed/universe Sources [3,476 B] Get:38 http://archive.ubuntu.com wily-proposed/main amd64 Packages [15.1 kB] Get:39 http://archive.ubuntu.com wily-proposed/restricted amd64 Packages [28 B] Get:40 http://archive.ubuntu.com wily-proposed/multiverse amd64 Packages [28 B] Get:41 http://archive.ubuntu.com wily-proposed/universe amd64 Packages [13.4 kB] Get:42 http://archive.ubuntu.com wily-proposed/main i386 Packages [14.7 kB] Get:43 http://archive.ubuntu.com wily-proposed/restricted i386 Packages [28 B] Get:44 http://archive.ubuntu.com wily-proposed/multiverse i386 Packages [737 B] Get:45 http://archive.ubuntu.com wily-proposed/universe i386 Packages [12.2 kB] Get:46 http://archive.ubuntu.com wily-proposed/main Translation-en [7,691 B] Get:47 http://archive.ubuntu.com wily-proposed/multiverse Translation-en [1,236 B] Get:48 http://archive.ubuntu.com wily-proposed/restricted Translation-en [28 B] Get:49 http://archive.ubuntu.com wily-proposed/universe Translation-en [9,825 B] Hit http://archive.ubuntu.com wily/main Sources Hit http://archive.ubuntu.com wily/universe Sources Hit http://archive.ubuntu.com wily/multiverse Sources Hit http://archive.ubuntu.com wily/restricted Sources Hit http://archive.ubuntu.com wily/main amd64 Packages Hit http://archive.ubuntu.com wily/restricted amd64 Packages Hit http://archive.ubuntu.com wily/universe amd64 Packages Hit http://archive.ubuntu.com wily/multiverse amd64 Packages Hit http://archive.ubuntu.com wily/main i386 Packages Hit http://archive.ubuntu.com wily/restricted i386 Packages Hit http://archive.ubuntu.com wily/universe i386 Packages Hit http://archive.ubuntu.com wily/multiverse i386 Packages Hit http://archive.ubuntu.com wily/main Translation-en Hit http://archive.ubuntu.com wily/multiverse Translation-en Hit http://archive.ubuntu.com wily/restricted Translation-en Hit http://archive.ubuntu.com wily/universe Translation-en Hit http://archive.ubuntu.com wily-updates/main Translation-en Hit http://archive.ubuntu.com wily-updates/multiverse Translation-en Hit http://archive.ubuntu.com wily-updates/restricted Translation-en Hit http://archive.ubuntu.com wily-updates/universe Translation-en Hit http://archive.ubuntu.com wily-backports/main Sources Hit http://archive.ubuntu.com wily-backports/universe Sources Hit http://archive.ubuntu.com wily-backports/main amd64 Packages Hit http://archive.ubuntu.com wily-backports/universe amd64 Packages Hit http://archive.ubuntu.com wily-backports/main i386 Packages Hit http://archive.ubuntu.com wily-backports/universe i386 Packages Hit http://archive.ubuntu.com wily-backports/main Translation-en Hit http://archive.ubuntu.com wily-backports/universe Translation-en Hit http://archive.ubuntu.com wily-security/main Translation-en Hit http://archive.ubuntu.com wily-security/multiverse Translation-en Hit http://archive.ubuntu.com wily-security/restricted Translation-en Hit http://archive.ubuntu.com wily-security/universe Translation-en Fetched 1,164 kB in 27s (41.8 kB/s) W: Failed to fetch http://ppa.launchpad.net/bzr/ppa/ubuntu/dists/wily/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/bzr/ppa/ubuntu/dists/wily/main/binary- amd64/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/bzr/ppa/ubuntu/dists/wily/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. barki@ninja-network:~$ heroku login Enter your Heroku credentials. Email: [email protected] Password (typing will be hidden): ▸ Authentication failure. barki@ninja-network:~$ heroku login Enter your Heroku credentials. Email: [email protected] Password (typing will be hidden): Logged in as [email protected] barki@ninja-network:~$ heroku addons:create autobus:trip ! No app specified. ! Run this command from an app folder or specify which app to use with --app APP. barki@ninja-network:~$ heroku addons:create heroku-postgresql --version=9.5 ! No app specified. ! Run this command from an app folder or specify which app to use with --app APP. barki@ninja-network:~$ sudo apt-get install postgresql-9.4 sudo: unable to resolve host ninja-network Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-4.2.0-19 linux-headers-4.2.0-19-generic linux-headers-4.2.0-21 linux-headers-4.2.0-21-generic linux-image-4.2.0-19-generic linux-image-4.2.0-21-generic linux-image-extra-4.2.0-19-generic linux-image-extra-4.2.0-21-generic torsocks Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libpq5 postgresql-client-9.4 postgresql-client-common postgresql-common postgresql-contrib-9.4 Suggested packages: oidentd ident-server locales-all postgresql-doc-9.4 libdbd-pg-perl The following NEW packages will be installed: libpq5 postgresql-9.4 postgresql-client-9.4 postgresql-client-common postgresql-common postgresql-contrib-9.4 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 4,350 kB of archives. After this operation, 18.2 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://archive.ubuntu.com/ubuntu/ wily/main libpq5 amd64 9.4.5-1 [76.2 kB] Get:2 http://archive.ubuntu.com/ubuntu/ wily/main postgresql-client-common all 169git1 [26.2 kB] Get:3 http://archive.ubuntu.com/ubuntu/ wily/main postgresql-client-9.4 amd64 9.4.5-1 [814 kB] Get:4 http://archive.ubuntu.com/ubuntu/ wily/main postgresql-common all 169git1 [151 kB] Get:5 http://archive.ubuntu.com/ubuntu/ wily/main postgresql-9.4 amd64 9.4.5-1 [2,837 kB] Get:6 http://archive.ubuntu.com/ubuntu/ wily/main postgresql-contrib-9.4 amd64 9.4.5-1 [445 kB] Fetched 4,350 kB in 10s (422 kB/s) Preconfiguring packages ... Selecting previously unselected package libpq5:amd64. (Reading database ... 374467 files and directories currently installed.) Preparing to unpack .../libpq5_9.4.5-1_amd64.deb ... Unpacking libpq5:amd64 (9.4.5-1) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../postgresql-client-common_169git1_all.deb ... Unpacking postgresql-client-common (169git1) ... Selecting previously unselected package postgresql-client-9.4. Preparing to unpack .../postgresql-client-9.4_9.4.5-1_amd64.deb ... Unpacking postgresql-client-9.4 (9.4.5-1) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../postgresql-common_169git1_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (169git1) ... Selecting previously unselected package postgresql-9.4. Preparing to unpack .../postgresql-9.4_9.4.5-1_amd64.deb ... Unpacking postgresql-9.4 (9.4.5-1) ... Selecting previously unselected package postgresql-contrib-9.4. Preparing to unpack .../postgresql-contrib-9.4_9.4.5-1_amd64.deb ... Unpacking postgresql-contrib-9.4 (9.4.5-1) ... Processing triggers for man-db (2.7.4-1) ... Processing triggers for systemd (225-1ubuntu9) ... Processing triggers for ureadahead (0.100.0-19) ... ureadahead will be reprofiled on next reboot Setting up memcached (1.4.24-2ubuntu1) ... groupadd: existing lock file /etc/gshadow.lock without a PID groupadd: cannot lock /etc/gshadow; try again later. addgroup: `/usr/sbin/groupadd -g 133 memcache' returned error code 10. Exiting. dpkg: error processing package memcached (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libpq5:amd64 (9.4.5-1) ... Setting up postgresql-client-common (169git1) ... Setting up postgresql-client-9.4 (9.4.5-1) ... update-alternatives: using /usr/share/postgresql/9.4/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up postgresql-common (169git1) ... groupadd: existing lock file /etc/gshadow.lock without a PID groupadd: cannot lock /etc/gshadow; try again later. adduser: `/usr/sbin/groupadd -g 133 postgres' returned error code 10. Exiting. dpkg: error processing package postgresql-common (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of postgresql-9.4: postgresql-9.4 depends on postgresql-common (>= 142~); however: Package postgresql-common is not configured yet. dpkg: error processing package postgresql-9.4 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of postgresql-contrib-9.4: postgresql-contrib-9.4 depends on postgresql-9.4 (= 9.4.5-1); however: Package postgresql-9.4 is not configured yet. dpkg: error processing package postgresql-contrib-9.4 (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.21-0ubuntu4) ... Processing triggers for systemd (225-1ubuntu9) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing: memcached postgresql-common postgresql-9.4 postgresql-contrib-9.4 E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/523896 Title: useradd: cannot lock /etc/passwd; try again later. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/523896/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
