Computer Janitor complains that package dash is missing

Bug #341002 reported by Colin Ian King
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
computer-janitor (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: cruft

ISO testing: http://cdimage.ubuntu.com/daily-live/20090311/jaunty-desktop-amd64.iso

After installing and rebooting I started up the Computer Janitor cruft remover (System->Administration->Computer Janitor) and got the error message:

"Essential package dash is missing. There may be
problems with apt sources.list or Packages files may be
missing?"

Attached is a png of this error message.

Clearly something is not right here.

Tags: iso-testing
Revision history for this message
Colin Ian King (colin-king) wrote :
Revision history for this message
Colin Ian King (colin-king) wrote :

Once one rolls in updates this problem does not occur.

Revision history for this message
Colin Watson (cjwatson) wrote :

cruft is actually a different package, FWIW; Computer Janitor is in the computer-janitor package.

Revision history for this message
to be removed (liw) wrote :

I don't seem to be able to reproduce this with a fresh jaunty beta install. Thus, I'll close it, but if it occurs again, please reopen the bug!

Changed in computer-janitor:
status: New → Invalid
Revision history for this message
rumandfruit (mirko-3) wrote :

This bug affects me though; I tried moving /etc/apt/sources.list to /etc/apt/sources.list.bak and running computer janitor again, same error. How do i go about debugging it/providing you with relevant information?

to be removed (liw)
Changed in computer-janitor (Ubuntu):
status: Invalid → New
Revision history for this message
to be removed (liw) wrote :

rumandfruit, does it still occur to you? If it does, could you attach the output of the commands "dpkg --status dash" and "apt-cache policy dash"?

Changed in computer-janitor (Ubuntu):
status: New → Incomplete
Revision history for this message
DB Cummings (dbcummings3174) wrote :

I am getting the same error. I just installed a fresh copy of Jaunty last night. The first package I ran was Computer Janitor because I am going to be working on documentation for it.

The output for dpkg --status dash:

administrator@JauntyDesktop:~$ dpkg --status dash
Package: dash
Essential: yes
Status: install ok installed
Priority: required
Section: shells
Installed-Size: 224
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Version: 0.5.4-12ubuntu2
Depends: debianutils (>= 2.15)
Pre-Depends: libc6 (>= 2.4)
Description: POSIX-compliant shell
 The Debian Almquist Shell (dash) is a lightweight POSIX-compliant shell
 derived from ash.
 .
 It can be usefully installed as /bin/sh (because it executes scripts
 faster than bash), or as the default shell for the superuser. It
 depends on fewer libraries than bash, and is therefore less likely to
 be affected by an upgrade problem or a disk failure. It is also
 useful for checking the POSIX compliance of scripts.
Homepage: http://gondor.apana.org.au/~herbert/dash/
Original-Maintainer: Gerrit Pape <email address hidden>

The output for apt-cache policy dash:

administrator@JauntyDesktop:~$ dpkg --status dash
Package: dash
Essential: yes
Status: install ok installed
Priority: required
Section: shells
Installed-Size: 224
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Version: 0.5.4-12ubuntu2
Depends: debianutils (>= 2.15)
Pre-Depends: libc6 (>= 2.4)
Description: POSIX-compliant shell
 The Debian Almquist Shell (dash) is a lightweight POSIX-compliant shell
 derived from ash.
 .
 It can be usefully installed as /bin/sh (because it executes scripts
 faster than bash), or as the default shell for the superuser. It
 depends on fewer libraries than bash, and is therefore less likely to
 be affected by an upgrade problem or a disk failure. It is also
 useful for checking the POSIX compliance of scripts.
Homepage: http://gondor.apana.org.au/~herbert/dash/
Original-Maintainer: Gerrit Pape <email address hidden>

I hope this is helpful.

Revision history for this message
DB Cummings (dbcummings3174) wrote :

One additional note. I am running Jaunty within VirtualBox 2.2.0 r45846.

Revision history for this message
DB Cummings (dbcummings3174) wrote :

I apologize. I should have run may updates before posting above. When updates are ran, the error is corrected.

to be removed (liw)
Changed in computer-janitor (Ubuntu):
status: Incomplete → New
Revision history for this message
Nicolas Joyard (joyard-nicolas) wrote :

I have the same issue after upgrading from intrepid to jaunty.

dpkg --status dash gives the same output as DB Cummings, here is the output from apt-cache policy dash :

$ apt-cache policy dash
dash:
  Installé : 0.5.4-12ubuntu2
  Candidat : 0.5.4-12ubuntu2
  Table de version :
 *** 0.5.4-12ubuntu2 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
to be removed (liw) wrote :

I can't reproduce this with a fresh jaunty install now. I suspect it depends on exactly which code path gets executed during the installation: perhaps there is one where the package list is not updated correctly (but that gets fixed when update-manager updates is automatically).

However, it should be pretty rare for someone to need to run Computer Janitor straight after an install, so I'll not worry about this.

Changed in computer-janitor (Ubuntu):
status: New → Invalid
Revision history for this message
Fernando Chávez (nandoc) wrote :

Hola,
It just happened to me, after installing 9.10 Beta
dpkg --status dash
Package: dash
Essential: yes
Status: install ok installed
Priority: required
Section: shells
Installed-Size: 228
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Version: 0.5.5.1-2ubuntu3
Depends: debianutils (>= 2.15)
Pre-Depends: libc6 (>= 2.4)
Description: POSIX-compliant shell
 The Debian Almquist Shell (dash) is a lightweight POSIX-compliant shell
 derived from ash.
 .
 It can be usefully installed as /bin/sh (because it executes scripts
 faster than bash), or as the default shell for the superuser. It
 depends on fewer libraries than bash, and is therefore less likely to
 be affected by an upgrade problem or a disk failure. It is also
 useful for checking the POSIX compliance of scripts.
Homepage: http://gondor.apana.org.au/~herbert/dash/
Original-Maintainer: Gerrit Pape <email address hidden>

dpkg --status dash
Package: dash
Essential: yes
Status: install ok installed
Priority: required
Section: shells
Installed-Size: 228
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Version: 0.5.5.1-2ubuntu3
Depends: debianutils (>= 2.15)
Pre-Depends: libc6 (>= 2.4)
Description: POSIX-compliant shell
 The Debian Almquist Shell (dash) is a lightweight POSIX-compliant shell
 derived from ash.
 .
 It can be usefully installed as /bin/sh (because it executes scripts
 faster than bash), or as the default shell for the superuser. It
 depends on fewer libraries than bash, and is therefore less likely to
 be affected by an upgrade problem or a disk failure. It is also
 useful for checking the POSIX compliance of scripts.
Homepage: http://gondor.apana.org.au/~herbert/dash/
Original-Maintainer: Gerrit Pape <email address hidden>
consultorio@consultorio-desktop:~$ apt-cache policy dash
dash:
  Instalados: 0.5.5.1-2ubuntu3
  Candidato: 0.5.5.1-2ubuntu3
  Tabla de versión:
 *** 0.5.5.1-2ubuntu3 0
        100 /var/lib/dpkg/status
     0.5.5.1-2ubuntu2 0
        500 http://ubuntu.patan.com.ar karmic/main Packages

Hope this helps.
Fernando

tags: added: iso-testing
Revision history for this message
celamad (celamad-datang) wrote :

its happend to me too

this is me dpkg status

dpkg --status dash
Package: dash
Essential: yes
Status: install ok installed
Priority: required
Section: shells
Installed-Size: 228
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Version: 0.5.5.1-2ubuntu3
Depends: debianutils (>= 2.15)
Pre-Depends: libc6 (>= 2.4)
Description: POSIX-compliant shell
 The Debian Almquist Shell (dash) is a lightweight POSIX-compliant shell
 derived from ash.
 .
 It can be usefully installed as /bin/sh (because it executes scripts
 faster than bash), or as the default shell for the superuser. It
 depends on fewer libraries than bash, and is therefore less likely to
 be affected by an upgrade problem or a disk failure. It is also
 useful for checking the POSIX compliance of scripts.
Homepage: http://gondor.apana.org.au/~herbert/dash/
Original-Maintainer: Gerrit Pape <email address hidden>

any heLP..............................................?

Revision history for this message
David D Lowe (flimm) wrote :

I get a similar error. I'm running Ubuntu 9.10. I got this error after trying to install cubemodel according to these instructions: http://forum.ubuntu-fr.org/viewtopic.php?id=259077&p=1

I've since disabled all third-party repositories in sources.list.

I think it's a bug in apt_pkg python module, not computer janitor per se. See the attached file for proof.

Changed in computer-janitor (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
David D Lowe (flimm) wrote :

I found the source of the error: for some reason, Ubuntu main updates had been disabled. Once I enabled them again, Computer Janitor launched without any problems. I'm marking this bug as invalid because it was my mistake.
If anyone else is experiencing this problem, please attach a copy of /etc/apt/sources.list and re-open the bug.

Changed in computer-janitor (Ubuntu):
status: Confirmed → Invalid
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.