[Bug 1280183] Re: Package missing /lib/x86_64-linux-gnu/libgcc_s.so.1, breaks apt-get etc.

Tom Worley tom at worley.co.uk
Fri Feb 14 10:55:57 UTC 2014


Just so it's obvious what is happening:

# apt-get -y upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libgcc1
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/1,286 B of archives.
After this operation, 100 kB disk space will be freed.
(Reading database ... 54392 files and directories currently installed.)
Preparing to unpack .../libgcc1_1%3a4.9-20140213-0ubuntu1_amd64.deb ...
Unpacking libgcc1:amd64 (1:4.9-20140213-0ubuntu1) over (1:4.8.2-15ubuntu3) ...
Setting up libgcc1:amd64 (1:4.9-20140213-0ubuntu1) ...

# apt-get update
apt-get: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

# ls -al /lib/x86_64-linux-gnu/libgcc_s.so.1
ls: cannot access /lib/x86_64-linux-gnu/libgcc_s.so.1: No such file or directory

# dpkg -i libgcc1_4.8.2-15ubuntu3_amd64.deb 
dpkg: warning: downgrading libgcc1:amd64 from 1:4.9-20140213-0ubuntu1 to 1:4.8.2-15ubuntu3
(Reading database ... 54391 files and directories currently installed.)
Preparing to unpack libgcc1_4.8.2-15ubuntu3_amd64.deb ...
Unpacking libgcc1:amd64 (1:4.8.2-15ubuntu3) over (1:4.9-20140213-0ubuntu1) ...
Setting up libgcc1:amd64 (1:4.8.2-15ubuntu3) ...
Processing triggers for libc-bin (2.18-0ubuntu6) ...

# ls -al /lib/x86_64-linux-gnu/libgcc_s.so.1
-rw-r--r-- 1 root root 88408 Feb 12 02:18 /lib/x86_64-linux-gnu/libgcc_s.so.1

# apt-get update
Ign http://gb.archive.ubuntu.com trusty InRelease
Ign http://gb.archive.ubuntu.com trusty-updates InRelease
Ign http://gb.archive.ubuntu.com trusty-security InRelease
Hit http://gb.archive.ubuntu.com trusty Release.gpg
Hit http://gb.archive.ubuntu.com trusty-updates Release.gpg
...... etc.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1280183

Title:
  Package missing /lib/x86_64-linux-gnu/libgcc_s.so.1, breaks apt-get
  etc.

Status in “gcc-4.8” package in Ubuntu:
  Confirmed

Bug description:
  The latest package available on testing (4.9-20140213-0ubuntu1) is missing the /lib/x86_64-linux-gnu/libgcc_s.so.1 file.
  This causes apt-get to break immediately after apt-get upgrading.
  The package is unusually small:
  -rw-r--r-- 1 root root 1286 Feb 14 09:38 /var/cache/apt/archives/libgcc1_1%3a4.9-20140213-0ubuntu1_amd64.deb
  at only just over 1KB
  The version from packages.ubuntu.com for testing shows as 4.8.2 still, downloading this and dpkg-i'ing the package fixes the issue (until you apt-get update/upgrade again).
  The old version of the file (which is 30+ times larger):
  -rw-r--r--  1 root root     37520 Feb 12 02:38 libgcc1_4.8.2-15ubuntu3_amd64.deb

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1280183/+subscriptions



More information about the foundations-bugs mailing list