package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ttf-liberation (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ttf-liberation
when installing or removing packages I always get this error:
E: ttf-liberation: subprocess post-installation script returned error exit status 1
Ubuntu 8.10
expected to install packages without errors but I always get this error but packages install correctly
I am unable to remove this error
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: ttf-liberation 1.04~beta2-2
PackageArchitec
SourcePackage: ttf-liberation
Title: package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-8-generic i686
Akis (r-top1) wrote : | #1 |
- Dependencies.txt Edit (415 bytes, text/plain; charset="utf-8")
- DpkgTerminalLog.txt Edit (266.4 KiB, text/plain; charset="utf-8")
Jean-Baptiste Lallement (jibel) wrote : | #2 |
Changed in ttf-liberation: | |
status: | New → Incomplete |
enyboricua (webjunk) wrote : | #3 |
I'm having this problem too. I installed wine from repo and it works fine. I ran this command and I get the following
test@test:~$sudo defoma-reconfigure -f
Updating font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating category type1..
Updating category truetype..
Updating category cid..
Updating fontconfig cache for /usr/share/
Updating fontconfig cache for /usr/share/
Updating font configuration of gs...
Cleaning up category psprint..
Cleaning up category cmap..
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category gsfontderivative..
Cl...
Jean-Baptiste Lallement (jibel) wrote : | #4 |
enyboricua, the command has run flawlessly so it fixes your problem.
@Akis, is it still an issue ?
Akis (r-top1) wrote : RE: [Bug 299303] Re: package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1 | #5 |
Hi Jean, thanks for the reply.
I used the command line to solve this issue but its still not working.
I tried removing the liberation fonts both manually and through synaptic with root privileges but I still get the same error.
thanks again
> From: <email address hidden>
> To: <email address hidden>
> Date: Mon, 1 Dec 2008 21:57:55 +0000
> Subject: [Bug 299303] Re: package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
>
> enyboricua, the command has run flawlessly so it fixes your problem.
>
> @Akis, is it still an issue ?
>
> --
> package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “ttf-liberation” source package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: ttf-liberation
>
> when installing or removing packages I always get this error:
>
>
> Error!
>
> E: ttf-liberation: subprocess post-installation script returned error exit status 1
>
> Ubuntu 8.10
> expected to install packages without errors but I always get this error but packages install correctly
> I am unable to remove this error
>
> ProblemType: Package
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ErrorMessage: subprocess post-installation script returned error exit status 1
> Package: ttf-liberation 1.04~beta2-2
> PackageArchitec
> SourcePackage: ttf-liberation
> Title: package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
> Uname: Linux 2.6.27-8-generic i686
_______
Jean-Baptiste Lallement (jibel) wrote : | #6 |
What's the output of the command:
sudo defoma-reconfigure -f
If you try to remove it, what's the output of the command:
sudo apt-get remove --purge ttf-liberation
Thanks.
Akis (r-top1) wrote : | #7 |
> What's the output of the command:
> sudo defoma-reconfigure -f
Updating font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating category type1..
Updating category truetype..
Updating category cid..
Updating fontconfig cache for /usr/share/
Updating fontconfig cache for /usr/share/
Updating font configuration of gs...
Cleaning up category psprint..
Cleaning up category cmap..
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category gsfontderivative..
Cleaning up category type3..
Cleaning up category type1..
Updating category type1..
Updating category type3..
Updating category gsfontderivative..
Updating category truetype..
Updating category cid..
Updating category cmap..
Updating category psprint..
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for KochiMincho-
No CIDSupplement specified for KochiMincho-
No CIDSupplement specified for KochiGothic-
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
No CIDSupplement specified for UMingCN, defaulting to 0.
No CIDSupplement specified for KochiGothic-
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for Batang-Bold, defaulting to 0.
Updating font configuration of libwmf0.2-7...
Cleaning up category type1..
Cleaning up category truetype..
Updating category truetype..
Updating category type1..
Updating font configuration of pango...
Cleaning up category xfont..
Updating category xfont..
Updating font configuration of psfontmgr...
Cleaning up category postscript..
Cleaning up category xfont..
Cleaning up category type1..
Cleaning up category pspreview..
Updating category pspreview..
Updating category type1..
Updating category xfont..
Updating category postscript..
Updating font configuration of x-ttcidfont-conf...
Cleaning up category cmap..
Cleaning up category cid..
Cleaning up category truetype..
Updating category truetype..
Updating category cid..
Updating category cmap..
> and If you try to remove...
Jean-Baptiste Lallement (jibel) wrote : | #8 |
Ok, we need to restore the file /etc/defoma/
Firstly extract the hints file with the command!
dpkg-deb --fsys-tarfile /var/cache/
This will extract the file ./etc/defoma/
You should now be able to purge or reinstall the package ttf-liberation.
If /var/cache/
sudo apt-get -d install --reinstall ttf-liberation
Hope this helps.
Akis (r-top1) wrote : | #9 |
Thanks for the reply!
when I copy the command I get the "command not found" error
is there anything else can do?
I also re-installed the fonts but I still get the same errors
_______
Jean-Baptiste Lallement (jibel) wrote : | #10 |
- ttf-liberation.hints Edit (3.8 KiB, text/plain)
All the command must be entered in one line
"dpkg-deb --fsys-tarfile /var/cache/
Anyway, here is the file. Place it in /etc/defoma/hints/
Normally, you should be able to reinstall or remove the package.
Akis (r-top1) wrote : | #11 |
When I insert the command: dpkg-deb --fsys-tarfile /var/cache/
I get:
dpkg-deb --fsys-tarfile /var/cache/
dpkg-deb: failed to read archive `/var/cache/
tar: This does not look like a tar archive
tar: ./etc/defoma/
tar: Error exit delayed from previous errors
I gained root access by entering sudo -i to resolve permission issues (if any) I also tried to install the fonts from synaptic but still no luck
again, thanks for your time!
_______
Pablo Martin Viva (pmviva) wrote : | #12 |
I get the following error, I had the package installed as a dependency for other package, then I tried to autoremove it and purge it with apt but I get this error:
pablo@pablo-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ttf-liberation
The following packages will be REMOVED:
ttf-liberation*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1733kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 177807 files and directories currently installed.)
Removing ttf-liberation ...
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
dpkg: error processing ttf-liberation (--purge):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
ttf-liberation
E: Sub-process /usr/bin/dpkg returned an error code (1)
pablo@pablo-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
ttf-liberation*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1733kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 177807 files and directories currently installed.)
Removing ttf-liberation ...
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
crislato (crislato) wrote : Re: [Bug 299303] Re: package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1 | #13 |
try "sudo apt-get remove --purge ttf-liberation"
or simply "sudo apt-get autoremove"
On Wed, Feb 18, 2009 at 6:23 PM, Pablo Martin Viva <email address hidden> wrote:
> I get the following error, I had the package installed as a dependency
> for other package, then I tried to autoremove it and purge it with apt
> but I get this error:
>
> pablo@pablo-
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer
> required:
> ttf-liberation
> The following packages will be REMOVED:
> ttf-liberation*
> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> After this operation, 1733kB disk space will be freed.
> Do you want to continue [Y/n]? Y
> (Reading database ... 177807 files and directories currently installed.)
> Removing ttf-liberation ...
> W: /usr/share/
> registered.
> W: /usr/share/
> not registered.
> W: /usr/share/
> not registered.
> W: /usr/share/
> registered.
> W: /usr/share/
> registered.
> W: /usr/share/
> not registered.
> W: /usr/share/
> registered.
> W: /usr/share/
> registered.
> W: /usr/share/
> not registered.
> W: /usr/share/
> registered.
> W: /usr/share/
> registered.
> W: /usr/share/
> registered.
> dpkg: error processing ttf-liberation (--purge):
> subprocess pre-removal script returned error exit status 1
> Errors were encountered while processing:
> ttf-liberation
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> pablo@pablo-
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
> ttf-liberation*
> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> After this operation, 1733kB disk space will be freed.
> Do you want to continue [Y/n]? Y
> (Reading database ... 177807 files and directories currently installed.)
> Removing ttf-liberation ...
> W: /usr/share/
> registered.
> W: /usr/share/
> not registered.
> W: /usr/share/
> not registered.
> W: /usr/share/
> registered.
> W: /usr/share/
> registered.
> W: /usr/share/...
Akis (r-top1) wrote : RE: [Bug 299303] Re: package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1 | #14 |
Thanks, it worked!
_______
Twice the fun—Share photos while you chat with Windows Live Messenger.
http://
Bocquet (johnl-bickel) wrote : | #15 |
I've Tried sudo defoma-reconfigure -f.
It seems to work.
Thanks !
(Ubuntu 9.04 amd64)
David Jones (dj) wrote : | #16 |
Thank you this seemed to work.owner@
Updating font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating category type1..
Updating category truetype..
Updating category cid..
Updating fontconfig cache for /usr/share/
Updating fontconfig cache for /usr/share/
Updating font configuration of gs...
Cleaning up category psprint..
Cleaning up category cmap..
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category gsfontderivative..
Cleaning up category type3..
Cleaning up category type1..
Updating category type1..
Updating category type3..
Updating category gsfontderivative..
Updating category truetype..
Updating category cid..
Updating category cmap..
Updating category psprint..
No CIDSupplement specified for ZenHei-CNS, defaulting to 0.
No CIDSupplement specified for ZenHei, defaulting to 0.
No CIDSupplement specified for UMingCN, defaulting to 0.
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for Batang-Bold, defaulting to 0.
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
Updating font configuration of libwmf0.2-7...
Cleaning up category type1..
Cleaning up category truetype..
Updating category truetype..
Updating category type1..
Updating font configuration of pango...
Cleaning up category xfont..
Updating category xfont..
Updating font configuration of psfontmgr...
Cleaning up category postscript..
Cleaning up category xfont..
Cleaning up category type1..
Cleaning up category pspreview..
Updating category pspreview..
Updating category type1..
Updating category xfont..
Updating category postscript..
Updating font configuration of x-ttcidfont-conf...
Cleaning...
Jean-Baptiste Lallement (jibel) wrote : | #17 |
This bug report is being closed due to the various comments regarding this being fixed. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https:/
Changed in ttf-liberation (Ubuntu): | |
status: | Incomplete → Invalid |
Thanks for your report.
The root cause of the failure is defoma/ locked exists.
=====
Setting up ttf-liberation (1.04~beta2-2) ...
E: /var/lib/
E: Another defoma process seems running, or you aren't root.
E: If you are root and defoma process isn't running undoubtedly,
E: it is possible that defoma might have aborted.
E: Please run defoma-reconfigure -f to fix its broken status.
dpkg: error processing ttf-liberation (--configure):
subprocess post-installation script returned error exit status 1
=====
could you please run
sudo defoma-reconfigure -f
and tell if this helps.