[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to properly install 2 packages



J.F.Gratton wrote:
Hi all,

I've never been good to fix packages that break down at install (I'm not
blaming maintainers for the packages, btw... I guess I'm responsible for
the mess here).

Here's what happened :

-----
helsinki:~# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up guile-1.6 (1.6.7-1) ...
dpkg (subprocess): unable to execute post-installation script: Exec
format error
dpkg: error processing guile-1.6 (--configure):
 subprocess post-installation script returned error exit status 2

That script would be /var/lib/dpkg/info/guile-1.6.postinst

If it exists and is uncorrupted, then you can try to debug it manually,
or else just try purging the package and starting over again.

You can ignore the rest of the messages.

dpkg: dependency problems prevent configuration of libgwrapguile1:
 libgwrapguile1 depends on guile-1.6; however:
  Package guile-1.6 is not configured yet.
dpkg: error processing libgwrapguile1 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 guile-1.6
 libgwrapguile1
E: Sub-process /usr/bin/dpkg returned an error code (1)


---

How do I get out of the "Exec format error" ?

On a related topic : is there a way to make apt "forget" a package,
and/or completely purge it from the disk, its installed packages list,
etc ? Just so I'd be able to reinstall it or a newer version sometime
later ?

dpkg -P <pkg-name>



Thanks,

Jeff





Reply to: