[apport] package texlive-pstricks-doc None [modified: /var/lib/dpkg/info/texlive-pstricks-doc.list] failed to install/upgrade: feil i buffer_write(fd) (10, ret=-1)

Bug #255147 reported by Alexander Rødseth
6
Affects Status Importance Assigned to Milestone
texlive-extra (Ubuntu)
New
Undecided
Unassigned

Bug Description

My root partition was out of disk space.
I guess this is a dpkg-bug that should be re-assigned to dpkg?

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu intrepid (development branch)
Release: 8.10
Codename: intrepid

% dpkg -l dpkg
ii dpkg 1.14.20ubuntu4 Debian package management system

% dpkg -l texlive-pstricks-doc
in texlive-pstric <ingen> (ingen beskrivelse tilgjengelig)

% LC_ALL=C dpkg -l texlive-pstricks-doc
in texlive-pstric <none> (no description available)

% apt-cache policy dpkg
dpkg:
  Installert: 1.14.20ubuntu4
  Kandidat: 1.14.20ubuntu4
  Versjonstabell:
 *** 1.14.20ubuntu4 0
        500 http://no.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

% apt-cache policy texlive-pstricks-doc
texlive-pstricks-doc:
  Installert: (ingen)
  Kandidat: 2007.dfsg.2-1
  Versjonstabell:
     2007.dfsg.2-1 0
        500 http://no.archive.ubuntu.com intrepid/main Packages

What I expected/what happened:

I expected dpkg to tell me that the partition was out of disk space and ask me if I wanted to continue or not.
If I did not answer for 10 minutes, I would expect dpkg to give up, exit gracefully and tell me which command I should type in order to resume the operation. If I were running Synaptic, I would expect it too pick up the problem and handle it gracefully too.

What happened was apport detected a crash, I went out of diskspace, I had to manually delete packages from the dpkg-cache without knowing which were installed or not, I had to run dpkg --configure -a and fix a broken package.

I also ended up doing this, in order to save a bit more space for each package I installed:
for $f in *.deb; do sudo dpkg -i $f; sudo rm $f; done
I would expect dpkg to be at least that smart, in order to save disk-space when needed. Or is that apt's job?

I don't know exactly which package is to blame here, but this is a bug in my view.

ProblemType: Package
Architecture: amd64
Dependencies:

DistroRelease: Ubuntu 8.10
ErrorMessage: feil i buffer_write(fd) (10, ret=-1)
NonfreeKernelModules: fglrx
Package: texlive-pstricks-doc None [modified: /var/lib/dpkg/info/texlive-pstricks-doc.list]
PackageArchitecture: all
SourcePackage: texlive-extra
Title: package texlive-pstricks-doc None [modified: /var/lib/dpkg/info/texlive-pstricks-doc.list] failed to install/upgrade: feil i buffer_write(fd) (10, ret=-1)
Uname: Linux 2.6.26-5-generic x86_64

Revision history for this message
Alexander Rødseth (alexanro) wrote :
Revision history for this message
Alexander Rødseth (alexanro) wrote :

I see there are also other funky error-messages in DpkgTerminalLog.gz, like this one:
///usr/share/gnome/help/serverguide/C/serverguide.xml:5: I/O warning : failed to load external entity "/usr/share/gnome/help/libs/global.ent"

%globalent;

           ^

 %globalent;

            ^

I have no idea if this is considered a bug or not. Is it?

Revision history for this message
Dominik Stadler (dominik-stadler) wrote :

I think this as duplicate of bug 312491 where improving the error message display is discussed.

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.