Problem Installing Broken Dependency
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Problem Installing Broken Dependency




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Problem Installing Broken Dependency  
Schmidty


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-09-06 06: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





[ Post a follow-up to this message ]



    Re: Problem Installing Broken Dependency  
Bill Marcum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-09-06 06: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.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:59 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register