touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #108370
[Bug 1361445] Re: package python-problem-report 2.14.1-0ubuntu3.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127
rrors were encountered while processing:
/var/cache/apt/archives/apport_2.14.1-0ubuntu3.15_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1361445
Title:
package python-problem-report 2.14.1-0ubuntu3.2 failed to
install/upgrade: subprocess new pre-removal script returned error exit
status 127
Status in apport package in Ubuntu:
New
Bug description:
mike@mike-AO532h:~$ sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
[sudo] password for mike:
Sorry, try again.
[sudo] password for mike:
Sorry, try again.
[sudo] password for mike:
Sorry, try again.
sudo: 3 incorrect password attempts
mike@mike-AO532h:~$ sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
[sudo] password for mike:
sudo: python: command not found
Cannot write to ‘-’ (Success).
mike@mike-AO532h:~$ sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
sudo: python: command not found
Cannot write to ‘-’ (Success).
mike@mike-AO532h:~$ sudo apt-get update
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://dl.google.com stable InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.canonical.com trusty Release
Hit http://extras.ubuntu.com trusty Release
Ign http://archive.ubuntu.com trusty-updates InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Ign http://archive.ubuntu.com trusty-backports InRelease
Get:2 http://dl.google.com stable Release [1,347 B]
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.canonical.com trusty/partner Sources
Hit http://archive.canonical.com trusty/partner i386 Packages
Get:3 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://extras.ubuntu.com trusty/main Sources
Get:4 http://dl.google.com stable/main i386 Packages [1,212 B]
Get:5 http://archive.ubuntu.com trusty-backports Release.gpg [933 B]
Hit http://extras.ubuntu.com trusty/main i386 Packages
Get:6 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://archive.ubuntu.com trusty Release
Get:7 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Get:8 http://archive.ubuntu.com trusty-backports Release [59.7 kB]
Ign http://archive.canonical.com trusty/partner Translation-en_GB
Ign http://extras.ubuntu.com trusty/main Translation-en_GB
Get:9 http://archive.ubuntu.com trusty-security Release [59.7 kB]
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://dl.google.com stable/main Translation-en_GB
Hit http://archive.ubuntu.com trusty/main Sources
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en_GB
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en_GB
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en_GB
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:10 http://archive.ubuntu.com trusty-updates/main Sources [110 kB]
Get:11 http://archive.ubuntu.com trusty-updates/multiverse Sources [3,230 B]
Get:12 http://archive.ubuntu.com trusty-updates/restricted Sources [1,408 B]
Get:13 http://archive.ubuntu.com trusty-updates/universe Sources [76.6 kB]
Get:14 http://archive.ubuntu.com trusty-updates/main i386 Packages [292 kB]
Get:15 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:16 http://archive.ubuntu.com trusty-updates/universe i386 Packages [185 kB]
Get:17 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [8,437 B]
Get:18 http://archive.ubuntu.com trusty-updates/main Translation-en [130 kB]
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Get:19 http://archive.ubuntu.com trusty-updates/universe Translation-en [90.6 kB]
Get:20 http://archive.ubuntu.com trusty-backports/main Sources [3,847 B]
Get:21 http://archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Get:22 http://archive.ubuntu.com trusty-backports/universe Sources [11.8 kB]
Get:23 http://archive.ubuntu.com trusty-backports/multiverse Sources [1,315 B]
Get:24 http://archive.ubuntu.com trusty-backports/main i386 Packages [5,414 B]
Get:25 http://archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:26 http://archive.ubuntu.com trusty-backports/universe i386 Packages [15.1 kB]
Get:27 http://archive.ubuntu.com trusty-backports/multiverse i386 Packages [945 B]
Get:28 http://archive.ubuntu.com trusty-backports/main Translation-en [3,530 B]
Get:29 http://archive.ubuntu.com trusty-backports/multiverse Translation-en [613 B]
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Get:30 http://archive.ubuntu.com trusty-backports/universe Translation-en [9,972 B]
Get:31 http://archive.ubuntu.com trusty-security/main Sources [41.4 kB]
Get:32 http://archive.ubuntu.com trusty-security/multiverse Sources [699 B]
Get:33 http://archive.ubuntu.com trusty-security/restricted Sources [14 B]
Get:34 http://archive.ubuntu.com trusty-security/universe Sources [11.3 kB]
Get:35 http://archive.ubuntu.com trusty-security/main i386 Packages [128 kB]
Get:36 http://archive.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:37 http://archive.ubuntu.com trusty-security/universe i386 Packages [46.5 kB]
Get:38 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [1,398 B]
Get:39 http://archive.ubuntu.com trusty-security/main Translation-en [64.2 kB]
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Get:40 http://archive.ubuntu.com trusty-security/universe Translation-en [26.8 kB]
Fetched 1,460 kB in 10s (139 kB/s)
Reading package lists... Done
mike@mike-AO532h:~$ sudo apt-get -f update
E: Command line option ‘f’ [from -f] is not known.
mike@mike-AO532h:~$ sudo apt-get -f
E: Command line option ‘f’ [from -f] is not known.
mike@mike-AO532h:~$ sudo apt-get update
Ign http://extras.ubuntu.com trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://dl.google.com stable InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://archive.canonical.com trusty Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://extras.ubuntu.com trusty Release
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.canonical.com trusty Release
Hit http://dl.google.com stable Release
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.ubuntu.com trusty-backports InRelease
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://archive.canonical.com trusty/partner Sources
Hit http://extras.ubuntu.com trusty/main i386 Packages
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://dl.google.com stable/main i386 Packages
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty-updates Release.gpg
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://archive.ubuntu.com trusty-security Release.gpg
Ign http://extras.ubuntu.com trusty/main Translation-en_GB
Ign http://archive.canonical.com trusty/partner Translation-en_GB
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://archive.canonical.com trusty/partner Translation-en
Hit http://archive.ubuntu.com trusty Release
Ign http://dl.google.com stable/main Translation-en_GB
Hit http://archive.ubuntu.com trusty-updates Release
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com trusty-backports Release
Hit http://archive.ubuntu.com trusty-security Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en_GB
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en_GB
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en_GB
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://archive.ubuntu.com trusty/universe Translation-en
Hit http://archive.ubuntu.com trusty-updates/main Sources
Hit http://archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://archive.ubuntu.com trusty-updates/restricted Sources
Hit http://archive.ubuntu.com trusty-updates/universe Sources
Hit http://archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://archive.ubuntu.com trusty-backports/main Sources
Hit http://archive.ubuntu.com trusty-backports/restricted Sources
Hit http://archive.ubuntu.com trusty-backports/universe Sources
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/multiverse Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/main i386 Packages
Hit http://archive.ubuntu.com trusty-security/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-security/universe i386 Packages
Hit http://archive.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Reading package lists... Done
mike@mike-AO532h:~$ apt-get
apt 1.0.1ubuntu2 for i386 compiled on Jun 13 2014 17:41:42
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]
apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.
Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
autoremove - Remove automatically all unused packages
purge - Remove packages and config files
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
changelog - Download and display the changelog for the given package
download - Download the binary package into the current directory
Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to correct a system with broken dependencies in place
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, e.g. -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.
mike@mike-AO532h:~$ sudo apt-get install
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.12.0-1 is installed
python-gobject : Depends: python-gi (>= 3.12.0-1ubuntu1) but 3.12.0-1 is installed
python-samba : Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2.14.04.2) but 2:4.1.6+dfsg-1ubuntu2.14.04.3 is installed
E: Unmet dependencies. Try using -f.
mike@mike-AO532h:~$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
mike@mike-AO532h:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
linux-headers-3.13.0-27 linux-headers-3.13.0-27-generic
linux-headers-3.13.0-29 linux-headers-3.13.0-29-generic
linux-image-3.13.0-24-generic linux-image-3.13.0-27-generic
linux-image-3.13.0-29-generic linux-image-extra-3.13.0-24-generic
linux-image-extra-3.13.0-27-generic linux-image-extra-3.13.0-29-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
apport python-apport python-gi python-problem-report python-samba
The following packages will be upgraded:
apport python-apport python-gi python-problem-report python-samba
5 to upgrade, 0 to newly install, 0 to remove and 47 not to upgrade.
9 not fully installed or removed.
Need to get 0 B/1,281 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 323157 files and directories currently installed.)
Preparing to unpack .../apport_2.14.1-0ubuntu3.3_all.deb ...
apport stop/waiting
/var/lib/dpkg/info/apport.prerm: 14: /var/lib/dpkg/info/apport.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 14: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/apport_2.14.1-0ubuntu3.3_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/apport.postinst: 13: /var/lib/dpkg/info/apport.postinst: pycompile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Preparing to unpack .../python-problem-report_2.14.1-0ubuntu3.3_all.deb ...
/var/lib/dpkg/info/python-problem-report.prerm: 6: /var/lib/dpkg/info/python-problem-report.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/python-problem-report_2.14.1-0ubuntu3.3_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/python-problem-report.postinst: 6: /var/lib/dpkg/info/python-problem-report.postinst: pycompile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Preparing to unpack .../python-apport_2.14.1-0ubuntu3.3_all.deb ...
/var/lib/dpkg/info/python-apport.prerm: 6: /var/lib/dpkg/info/python-apport.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/python-apport_2.14.1-0ubuntu3.3_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/python-apport.postinst: 6: /var/lib/dpkg/info/python-apport.postinst: pycompile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Preparing to unpack .../python-gi_3.12.0-1ubuntu1_i386.deb ...
/var/lib/dpkg/info/python-gi.prerm: 6: /var/lib/dpkg/info/python-gi.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/python-gi_3.12.0-1ubuntu1_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
No apport report written because MaxReports has already been reached
/var/lib/dpkg/info/python-gi.postinst: 6: /var/lib/dpkg/info/python-gi.postinst: pycompile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Preparing to unpack .../python-samba_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_i386.deb ...
/var/lib/dpkg/info/python-samba.prerm: 6: /var/lib/dpkg/info/python-samba.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/python-samba_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
No apport report written because MaxReports has already been reached
/var/lib/dpkg/info/python-samba.postinst: 6: /var/lib/dpkg/info/python-samba.postinst: pycompile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/apport_2.14.1-0ubuntu3.3_all.deb
/var/cache/apt/archives/python-problem-report_2.14.1-0ubuntu3.3_all.deb
/var/cache/apt/archives/python-apport_2.14.1-0ubuntu3.3_all.deb
/var/cache/apt/archives/python-gi_3.12.0-1ubuntu1_i386.deb
/var/cache/apt/archives/python-samba_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: python-problem-report 2.14.1-0ubuntu3.2
ProcVersionSignature: Ubuntu 3.13.0-33.58-generic 3.13.11.4
Uname: Linux 3.13.0-33-generic i686
ApportLog:
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
Date: Tue Aug 26 01:26:03 2014
DuplicateSignature: package:python-problem-report:2.14.1-0ubuntu3.2:subprocess new pre-removal script returned error exit status 127
ErrorMessage: subprocess new pre-removal script returned error exit status 127
InstallationDate: Installed on 2014-01-05 (232 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
PackageArchitecture: all
SourcePackage: apport
Title: package python-problem-report 2.14.1-0ubuntu3.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127
UpgradeStatus: Upgraded to trusty on 2014-04-23 (124 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1361445/+subscriptions
References