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. ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| 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. |