Unix Technical Forum

Problem Installing Broken Dependency

This is a discussion on Problem Installing Broken Dependency within the Debian Linux support forums, part of the Debian Linux category; --> Anybody have a solution for ignoring an error when using apt-get or aptitude to REMOVE a package or file. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 07:58 AM
Schmidty
 
Posts: n/a
Default Problem Installing Broken Dependency

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 07:58 AM
Bill Marcum
 
Posts: n/a
Default Re: Problem Installing Broken Dependency

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com