Linux Debian support - Problem Installing Broken Dependency

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > September 2006 > Problem Installing Broken Dependency





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem Installing Broken Dependency
Schmidty

2006-09-09, 1:12 pm

Anybody have a solution for ignoring an error when using apt-get or
aptitude to REMOVE a package or file. Here is what I am doing and the
error I get;

schmidty@desktop:~$ sudo apt-get remove gforge-db-postgresql
Password:
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
gforge-db-postgresql
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 1130kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 98877 files and directories currently installed.)
Removing gforge-db-postgresql ...
head: cannot open `/var/lib/postgres/data/postmaster.pid' for reading:
No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or
kill -l [sigspec]
dpkg: error processing gforge-db-postgresql (--remove):
subprocess pre-removal script returned error exit status 1
/etc/postgresql/7.4/main//pg_hba.conf replacement already wanted, not
changing.
Errors were encountered while processing:
gforge-db-postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
schmidty@desktop:~$


The file `/var/lib/postgres/data/postmaster.pid' DOES NOT exist and I am
not sure how to get around this. Also this package is depends on another
package 'php4-pgsql' that I would like to remove but am unable to. Also
- Could I set aptitude to ignore missing files or directories?

Thanks,

Schmidty
Bill Marcum

2006-09-09, 1:12 pm

On Fri, 08 Sep 2006 23:30:49 -0700, Schmidty
<schmidty@wsucougars.com> wrote:
> Anybody have a solution for ignoring an error when using apt-get or
> aptitude to REMOVE a package or file. Here is what I am doing and the
> error I get;
>

Modify the script in /var/lib/dpkg/info/{name of package}.* and file a
bug report on the package.


--
Sinners can repent, but stupid is forever.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com