Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Half installed .deb causing problems :(

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Teaboy
Posts: 1
Joined: 2005-10-20 18:15

Half installed .deb causing problems :(

#1 Post by Teaboy »

Is there any way to set some packages as not installed?

I tried installing Plesk, which installed some .deb files but then stopped installing. This has left me with some problems.

When I try to run 'apt-get -f install', I get this:

Code: Select all

Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  exim4 exim4-base exim4-config exim4-daemon-light libgcrypt11-dev libgnutls12 libgpg-error-dev libidn11 libxml2-dev libxslt1-dev php4-imap php4-mysql
  zlib1g-dev
Suggested packages:
  eximon4 exim4-doc-html exim4-doc-info gnutls-bin
The following packages will be REMOVED:
  psa-courier-imap-add psa-imp
The following NEW packages will be installed:
  exim4 exim4-base exim4-config exim4-daemon-light libgcrypt11-dev libgnutls12 libgpg-error-dev zlib1g-dev
The following packages will be upgraded:
  libidn11 libxml2-dev libxslt1-dev php4-imap php4-mysql
5 upgraded, 8 newly installed, 2 to remove and 32 not upgraded.
41 not fully installed or removed.
Need to get 0B/3833kB of archives.
After unpacking 7327kB disk space will be freed.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 31918 files and directories currently installed.)
Removing psa-courier-imap-add ...
/var/lib/dpkg/info/psa-courier-imap-add.postrm: line 43: /etc/courier-imap/imapd: No such file or directory
mv: cannot stat `/etc/courier-imap/imapd.purg': No such file or directory
/var/lib/dpkg/info/psa-courier-imap-add.postrm: line 43: /etc/courier-imap/imapd: No such file or directory
mv: cannot stat `/etc/courier-imap/imapd.purg': No such file or directory
/var/lib/dpkg/info/psa-courier-imap-add.postrm: line 43: /etc/courier-imap/pop3d: No such file or directory
mv: cannot stat `/etc/courier-imap/pop3d.purg': No such file or directory
/var/lib/dpkg/info/psa-courier-imap-add.postrm: line 43: /etc/courier-imap/pop3d: No such file or directory
mv: cannot stat `/etc/courier-imap/pop3d.purg': No such file or directory
/var/lib/dpkg/info/psa-courier-imap-add.postrm: line 43: /etc/courier-imap/imapd-ssl: No such file or directory
mv: cannot stat `/etc/courier-imap/imapd-ssl.purg': No such file or directory
/var/lib/dpkg/info/psa-courier-imap-add.postrm: line 43: /etc/courier-imap/imapd-ssl: No such file or directory
mv: cannot stat `/etc/courier-imap/imapd-ssl.purg': No such file or directory
/var/lib/dpkg/info/psa-courier-imap-add.postrm: line 43: /etc/courier-imap/pop3d-ssl: No such file or directory
mv: cannot stat `/etc/courier-imap/pop3d-ssl.purg': No such file or directory
/var/lib/dpkg/info/psa-courier-imap-add.postrm: line 43: /etc/courier-imap/pop3d-ssl: No such file or directory
mv: cannot stat `/etc/courier-imap/pop3d-ssl.purg': No such file or directory
Stopping Courier-IMAP server:
/etc/init.d/courier-imap: line 193: /etc/courier-imap/imapd: No such file or directory
dpkg: error processing psa-courier-imap-add (--remove):
 subprocess post-removal script returned error exit status 1
Removing psa-imp ...
Unable to find product configuration file: /etc/psa/psa.conf

ERROR while trying to Unable to get admin password
Check the error reason(see log file: /tmp/imp-4.0.3.log), fix and try again

Aborting...

dpkg: error processing psa-imp (--remove):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 psa-courier-imap-add
 psa-imp
E: Sub-process /usr/bin/dpkg returned an error code (1)

So basically if I can mark the packages as being not installed, then I can run the Plesk installer again and hopefully it will finish installing everything this time.

Or maybe I'm doing it the wrong way?

:?:

anon

#2 Post by anon »

"
5 upgraded, 8 newly installed, 2 to remove and 32 not upgraded.
41 not fully installed or removed.
With that many packages waiting to be upgraded or not fully installed your system was in a broken state before you even began installing plesk. Fix your broken system first, forget about plesk. Since you didn't have exim4 installed I'll assume you're trying to run sarge upgraded from woody. There's no point in trying to skip a version, it's not supported, so make sure your /etc/apt/sources.list to points to sarge. Do an apt-get update && apt-get dist-upgrade and post the output here.

Post Reply