[Bug 1584151] [NEW] When 'apt-get -y dist-upgrade' error: E: Sub-process /usr/bin/dpkg returned an error code (1)
grofaty
1584151 at bugs.launchpad.net
Fri May 20 17:19:20 UTC 2016
Public bug reported:
After executing: sudo apt-get update && sudo apt-get -y dist-upgrade
I got bellow error and I just can't get out of it. Trying million of things.
============
Fetched 132 kB in 12s (10,7 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
binutils
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2120 kB of archives.
After this operation, 8192 B of additional disk space will be used.
(Reading database ... 432717 files and directories currently installed.)
Preparing to unpack .../binutils_2.24-5ubuntu14.1_i386.deb ...
Unpacking binutils (2.24-5ubuntu14.1) over (2.24-5ubuntu14) ...
dpkg: error processing archive /var/cache/apt/archives/binutils_2.24-5ubuntu14.1_i386.deb (--unpack):
unable to install new version of `/usr/bin/c++filt': Device or resource busy
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
/var/cache/apt/archives/binutils_2.24-5ubuntu14.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I currently don't have any PPA installed.
============
I tried bellow commands, but the problem is the same.
sudo apt-get -f install
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: binutils 2.24-5ubuntu14
ProcVersionSignature: Ubuntu 3.13.0-86.131-generic 3.13.11-ckt39
Uname: Linux 3.13.0-86-generic i686
ApportVersion: 2.14.1-0ubuntu3.20
Architecture: i386
CurrentDesktop: Unity
Date: Fri May 20 19:14:51 2016
Dependencies:
gcc-4.9-base 4.9.3-0ubuntu4
libc6 2.19-0ubuntu6.7
libgcc1 1:4.9.3-0ubuntu4
multiarch-support 2.19-0ubuntu6.7
zlib1g 1:1.2.8.dfsg-1ubuntu1
InstallationDate: Installed on 2014-05-23 (728 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
SourcePackage: binutils
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: binutils (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 trusty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1584151
Title:
When 'apt-get -y dist-upgrade' error: E: Sub-process /usr/bin/dpkg
returned an error code (1)
Status in binutils package in Ubuntu:
New
Bug description:
After executing: sudo apt-get update && sudo apt-get -y dist-upgrade
I got bellow error and I just can't get out of it. Trying million of things.
============
Fetched 132 kB in 12s (10,7 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
binutils
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2120 kB of archives.
After this operation, 8192 B of additional disk space will be used.
(Reading database ... 432717 files and directories currently installed.)
Preparing to unpack .../binutils_2.24-5ubuntu14.1_i386.deb ...
Unpacking binutils (2.24-5ubuntu14.1) over (2.24-5ubuntu14) ...
dpkg: error processing archive /var/cache/apt/archives/binutils_2.24-5ubuntu14.1_i386.deb (--unpack):
unable to install new version of `/usr/bin/c++filt': Device or resource busy
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
/var/cache/apt/archives/binutils_2.24-5ubuntu14.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I currently don't have any PPA installed.
============
I tried bellow commands, but the problem is the same.
sudo apt-get -f install
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: binutils 2.24-5ubuntu14
ProcVersionSignature: Ubuntu 3.13.0-86.131-generic 3.13.11-ckt39
Uname: Linux 3.13.0-86-generic i686
ApportVersion: 2.14.1-0ubuntu3.20
Architecture: i386
CurrentDesktop: Unity
Date: Fri May 20 19:14:51 2016
Dependencies:
gcc-4.9-base 4.9.3-0ubuntu4
libc6 2.19-0ubuntu6.7
libgcc1 1:4.9.3-0ubuntu4
multiarch-support 2.19-0ubuntu6.7
zlib1g 1:1.2.8.dfsg-1ubuntu1
InstallationDate: Installed on 2014-05-23 (728 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
SourcePackage: binutils
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1584151/+subscriptions
More information about the foundations-bugs
mailing list