can't install education-language and can't remove it

Bug #195948 reported by Marc Cheng
60
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-edu (Ubuntu)
Triaged
High
Unassigned

Bug Description

$ sudo apt-get -f install

Vorbereiten zum Ersetzen von education-language 0.824 (durch .../education-language_0.824_i386.deb) ...
Entpacke Ersatz für education-language ...
err 67: Custom distribution education does not exist
dpkg: Warnung - altes post-removal-Skript wurde mit Fehler-Status 67 beendet
dpkg - probiere stattdessen Skript aus dem neuen Paket ...
err 67: Custom distribution education does not exist
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/education-language_0.824_i386.deb (--unpack):
 Unterprozess neues post-removal-Skript gab den Fehlerwert 67 zurück
err 67: Custom distribution education does not exist
dpkg: Fehler beim Aufräumen:
 Unterprozess post-removal script gab den Fehlerwert 67 zurück
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/education-language_0.824_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo apt-get remove education-language

After this operation, 65,5kB disk space will be freed.
Möchten Sie fortfahren [J/n]?
dpkg: Fehler beim Bearbeiten von education-language (--remove):
 Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie sollten
 es erneut installieren, bevor Sie es zu entfernen versuchen.
Fehler traten auf beim Bearbeiten von:
 education-language
E: Sub-process /usr/bin/dpkg returned an error code (1)

i really can't install or uninstall that package.

Revision history for this message
Robert Smart (robert-kenneth-smart) wrote :

I get (may be different?):

Errors were encountered while processing:
 education-language
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up education-language (0.824) ...
/var/lib/dpkg/info/education-language.postinst: line 19: /etc/cdd/cdd.conf: No such file or directory
dpkg: error processing education-language (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 education-language

Revision history for this message
overjoyed (studiosusmed) wrote :

same problem!

with all of the debian-education packages.
Prevents complete upgrade to hardy.

Revision history for this message
athena (athina-paty1) wrote :

What can we do to eliminate this problem? I've tried to reinstall education-astronomy through debian-edu packages but it doesn't work!! And I continue with this broken package on my system.

Revision history for this message
jean-luc (analogfaz) wrote : Re: [Bug 195948] Re: can't install education-language and can't remove it

Le dimanche 13 juillet 2008 à 03:08 +0000, athena a écrit :
> What can we do to eliminate this problem? I've tried to reinstall
> education-astronomy through debian-edu packages but it doesn't work!!
> And I continue with this broken package on my system.
>
I'm not absolutely shure but i think than i have delete the archive :
var/cache/apt/archive/debian-edu..........
(in root) apt-get update
apt-get upgrade.

You can move the file if you want not delete it.
I can't verify because i have delete the file.

Revision history for this message
athena (athina-paty1) wrote : RE: [Bug 195948] Re: can't install education-language and can't remove it

I solved that by removing /etd/cdd/cdd-conf and then reinstalling, via aptitude, education-tasks and education-astronomy.
Best regards.

> From: <email address hidden>
> To: <email address hidden>
> Date: Mon, 14 Jul 2008 19:33:30 +0000
> Subject: Re: [Bug 195948] Re: can't install education-language and can't remove it
>
> Le dimanche 13 juillet 2008 à 03:08 +0000, athena a écrit :
> > What can we do to eliminate this problem? I've tried to reinstall
> > education-astronomy through debian-edu packages but it doesn't work!!
> > And I continue with this broken package on my system.
> >
> I'm not absolutely shure but i think than i have delete the archive :
> var/cache/apt/archive/debian-edu..........
> (in root) apt-get update
> apt-get upgrade.
>
> You can move the file if you want not delete it.
> I can't verify because i have delete the file.
>
> --
> can't install education-language and can't remove it
> https://bugs.launchpad.net/bugs/195948
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “debian-edu” source package in Ubuntu: New
>
> Bug description:
> $ sudo apt-get -f install
>
> Vorbereiten zum Ersetzen von education-language 0.824 (durch .../education-language_0.824_i386.deb) ...
> Entpacke Ersatz für education-language ...
> err 67: Custom distribution education does not exist
> dpkg: Warnung - altes post-removal-Skript wurde mit Fehler-Status 67 beendet
> dpkg - probiere stattdessen Skript aus dem neuen Paket ...
> err 67: Custom distribution education does not exist
> dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/education-language_0.824_i386.deb (--unpack):
> Unterprozess neues post-removal-Skript gab den Fehlerwert 67 zurück
> err 67: Custom distribution education does not exist
> dpkg: Fehler beim Aufräumen:
> Unterprozess post-removal script gab den Fehlerwert 67 zurück
> Fehler traten auf beim Bearbeiten von:
> /var/cache/apt/archives/education-language_0.824_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> $ sudo apt-get remove education-language
>
> After this operation, 65,5kB disk space will be freed.
> Möchten Sie fortfahren [J/n]?
> dpkg: Fehler beim Bearbeiten von education-language (--remove):
> Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie sollten
> es erneut installieren, bevor Sie es zu entfernen versuchen.
> Fehler traten auf beim Bearbeiten von:
> education-language
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> i really can't install or uninstall that package.

_________________________________________________________________
Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de relacionamentos com até 6,000 fotos!
http://www.amigosdomessenger.com.br

Changed in debian-edu:
importance: Undecided → High
status: New → Triaged
Revision history for this message
rafmav (rafmav) wrote :

Removing /etc/cdd/cdd.conf does not functions: dpkg only changes the number of the error from 67 to 64, and telling post-removal script could'nt find some files ("no such file por directory").

The problem seem to be in cdd-dev ; I don't know why, but I found this in /etc/cdd: a folder named med/ and inside, med.conf ; don't ask me what it is for, I forgot (I usually install packages to try them and forget to delete them)...

1. I did something like this, with sudo or not, I forgot; It did not run, and I don't know if this is important!
   cdd-role add med
   cdd-user med rafmav med
   cdd-update-menus med rafmav
   cdd-update-usermenus med rafmav
When I tried to:
    sudo apt-get -f install

2. Thus, I did this:
   sudo mkdir /etc/cdd/education
   sudo cp /etc/cdd/med/med.conf /etc/cdd/education/education.conf
   vim /etc/cdd/education/education.conf
   >change CDDNAME=Deb-Med to CDDNAME=Education
When I tried to:
    sudo apt-get -f install
This is magic, and All the packages education-* depending on cdd have ended their install!

I am tired with all this with cdd-dev and education-* packages... For a while, I will not touch the education-* packages, to remove it or to try it...

Now, I can remove some other packages (impossible to remove network-manager before, etc.) that I could not because of the education-* scripts: always aptitude, synaptic, apt-get, dpkg and others tried to configure these fuc**** files, making these package-managers applications run a lot and several times with no result! I think there is a bug or a mismaking of these package "helpers", because when I want to remove files or applications from my computer, I want them to be removed, no matter for me if they are configured or not! I consider such suc*** acting from softwares like virus !

Revision history for this message
ZhangCheng (xxzc) wrote :

thanks rafmac!I solved this problem!but I did not add any group or user,I just make a dir,copy and change the conf.and remove education-physics and education-tasks.then everything become usual!
谢谢!

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.