gcc-3.4-doc uphgrade failed due to missing usr/share/info/gcc-3.4.info.gz

Bug #205348 reported by Erik Meitner
146
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-3.4 (Ubuntu)
Fix Released
High
Matthias Klose
Hardy
Fix Released
High
Matthias Klose

Bug Description

Binary package hint: gcc-3.4

Setting up gcc-3.4-doc (3.4.6-6ubuntu3) ...
sh: /usr/share/info/gcc-3.4.info.gz: No such file or directory
install-info(/usr/share/info/gcc-3.4.info.gz):
dpkg: error processing gcc-3.4-doc (--configure):
 subprocess post-installation script returned error exit status 1

ProblemType: Package
Architecture: i386
Date: Sat Mar 22 12:54:05 2008
Dependencies:

DistroRelease: Ubuntu 8.04
ErrorMessage:
 ErrorMessage: subprocess post-installation script returned error exit status 1
Package: gcc-3.4-doc None [modified: /var/lib/dpkg/info/gcc-3.4-doc.list]
PackageArchitecture: all
SourcePackage: gcc-3.4
Title: package gcc-3.4-doc None [modified: /var/lib/dpkg/info/gcc-3.4-doc.list] failed to install/upgrade:
Uname: Linux 2.6.24-12-generic i686

Revision history for this message
Tiger!P (ubuntu-tigerp) wrote :

A work-a-round to get the package installation to complete, is to copy other gcc info files to the file that is missing.
This can be done by doing the following steps:
[code]
cp /usr/share/info/gcc-4.1.info.gz /usr/share/info/gcc-3.4.info.gz
cp /usr/share/info/gccint-4.1.info.gz /usr/share/info/gccint-3.4.info.gz
dpkg --configure -a
[/code]

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This is a issue at least on dapper->hardy upgrades, I mark it high and milestone it as it makes upgrades fail.

Changed in gcc-3.4:
importance: Undecided → High
milestone: none → ubuntu-8.04.1
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

...
Preparing to replace gcc-3.4-doc 3.4.6-1ubuntu2 (using .../gcc-3.4-doc_3.4.6-6ubuntu3_all.deb) ...
Unpacking replacement gcc-3.4-doc ...
...
Setting up gcc-3.4-base (3.4.6-6ubuntu3) ...
Setting up gcc-3.4-doc (3.4.6-6ubuntu3) ...
sh: cannot open /usr/share/info/gcc-3.4.info.gz: No such file
install-info(/usr/share/info/gcc-3.4.info.gz):
dpkg: error processing gcc-3.4-doc (--configure):
 subprocess post-installation script returned error exit status 2

Revision history for this message
Matthias Klose (doko) wrote :
Steve Langasek (vorlon)
Changed in gcc-3.4:
milestone: ubuntu-8.04.1 → none
importance: Undecided → High
milestone: none → ubuntu-8.04.1
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Changed in gcc-3.4:
milestone: ubuntu-8.04.1 → none
status: Confirmed → Fix Committed
assignee: nobody → doko
milestone: none → intrepid-alpha-1
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-3.4 - 3.4.6-7ubuntu1

---------------
gcc-3.4 (3.4.6-7ubuntu1) intrepid; urgency=low

  * Merge with Debian; remaining changes:
    - Build from upstream source tarball, regenerate control file.

gcc-3.4 (3.4.6ds1-7) unstable; urgency=low

  * Don't build the following languages from the gcc-3.4 sources:
    - Pascal, now based on the GCC-4.1 sources.
    - Fortran 77, now superseded by GFortran built from the GCC-4.3 sources.
    - C++, having a different ABI for g++ (>= 4.1) in lenny on four
      release architectures.
    - C for 64bit hppa, kernel builds use gcc-4.x.
  * Don't build any package on hppa (allows removal of libgcc2 and the
    gcc-4.0-source for lenny).
  * Backport version checks for makeinfo and ld from the gcc-4_1-branch.

gcc-3.4 (3.4.6-6ubuntu4) hardy-proposed; urgency=low

  * Correct makeinfo version check. LP: #205348.

 -- Matthias Klose <email address hidden> Fri, 02 May 2008 12:16:10 +0200

Changed in gcc-3.4:
status: Confirmed → Fix Released
Revision history for this message
Albert Damen (albrt) wrote :

SRU test failed

Trying to install gcc-3.4-doc in a hardy pbuilder with hardy-proposed enabled fails with the following error message:

Unpacking gcc-3.4-base (from .../gcc-3.4-base_3.4.6-6ubuntu4_amd64.deb) ...
Selecting previously deselected package gcc-3.4-doc.
Unpacking gcc-3.4-doc (from .../gcc-3.4-doc_3.4.6-6ubuntu4_all.deb) ...
Setting up gcc-3.4-base (3.4.6-6ubuntu4) ...
Setting up gcc-3.4-doc (3.4.6-6ubuntu4) ...

No `START-INFO-DIR-ENTRY' and no `This file documents'.
install-info(/usr/share/info/gcc-3.4.info.gz): unable to determine description for `dir' entry - giving up
dpkg: error processing gcc-3.4-doc (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 gcc-3.4-doc

The info.gz files are very small:
-rw-r--r-- 1 root root 33 May 6 11:37 /usr/share/info/gcc-3.4.info.gz
-rw-r--r-- 1 root root 40 May 6 11:37 /usr/share/info/gccinstall-3.4.info.gz
-rw-r--r-- 1 root root 36 May 6 11:37 /usr/share/info/gccint-3.4.info.gz

In Gutsy the file sizes are 309882, 54130 and 337185 respectively.

Revision history for this message
Martin Pitt (pitti) wrote :

Matthias, does this affect intrepid as well?

Changed in gcc-3.4:
assignee: nobody → doko
status: Fix Committed → In Progress
Revision history for this message
Matthias Klose (doko) wrote :

not anymore, gcc-3.x had more makeinfo version checks hidden :-/

Revision history for this message
Martin Pitt (pitti) wrote :

Matthias, I meant gcc-3.4 in intrepid (the task is marked 'fix released').

Revision history for this message
Matthias Klose (doko) wrote :

> Matthias, I meant gcc-3.4 in intrepid
yes, me as well.

updated gcc-3.4 and gcc-3.3 packages for hardy-proposed uploaded.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into hardy-proposed, please test.

Changed in gcc-3.4:
status: In Progress → Fix Committed
Revision history for this message
Albert Damen (albrt) wrote :

+1
hardy-proposed/universe gcc-3.4-doc 3.4.6-6ubuntu5 installed without problems in a hardy pbuilder.
info gcc, info gccint and info gccinstall produce useful output.

Revision history for this message
Daniel Hahler (blueyed) wrote :

I can confirm that the installation of gcc-3.4-doc is fixed in hardy-proposed, too.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Martin Pitt (pitti)
Changed in gcc-3.4:
status: Fix Committed → Fix Released
Revision history for this message
sergio alberto rosales (espiral17) wrote :

help!
I am not an expert in Linux but I have to, ir order to work with GROMACS. Everything was OK until this bug appear and now I cannot doing anything
Errors were encountered while processing:
 g77-3.4-doc
E: Sub-process /usr/bin/dpkg returned an error code (1)

Could you tell me, please, what can I do?

Revision history for this message
angeleum (angeleum) wrote : Re: [Bug 205348] Re: gcc-3.4-doc uphgrade failed due to missing usr/share/info/gcc-3.4.info.gz

I reported my own encounter with this bug quite some time back now. In
fact, I'd forgotten about it till I rec'd your e-mail. Why Canonical
routed your query to me mystifies me as I'm simply another user. Sorry I
don't have a deep answer for you Sergio; I never rec'd an answer back
myself. On the other hand...

I surmised that, since the upgrade script didn't find the expected file in
the path quoted, my system was misconfigured to begin with, or the file was
damaged. The nasty work around in such a case is to blow away your Linux
installation and start fresh with the latest install image, which is what I
did. The better solution, if you have a good full backup that worked, try
a system restore and proceed from there. So few of us back up religiously,
that may not help.

Probably not the answer you looked for. Hope my answer helps though.

Gary Greene <email address hidden>
Gilroy, California

On Wed, Sep 5, 2018 at 10:55 AM sergio alberto rosales <email address hidden>
wrote:

> help!
> I am not an expert in Linux but I have to, ir order to work with GROMACS.
> Everything was OK until this bug appear and now I cannot doing anything
> Errors were encountered while processing:
> g77-3.4-doc
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Could you tell me, please, what can I do?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (190186).
> https://bugs.launchpad.net/bugs/205348
>
> Title:
> gcc-3.4-doc uphgrade failed due to missing
> usr/share/info/gcc-3.4.info.gz
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gcc-3.4/+bug/205348/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.