Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #170185 > unrolled thread
| Started by | Aaron Gray <aaronngray.lists@gmail.com> |
|---|---|
| First post | 2016-07-16 17:20 +0200 |
| Last post | 2016-07-16 20:10 +0200 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.debian.user
[dpkg] broken local package system Aaron Gray <aaronngray.lists@gmail.com> - 2016-07-16 17:20 +0200
Re: [dpkg] broken local package system Francesco Ariis <fa-ml@ariis.it> - 2016-07-16 17:30 +0200
Re: [dpkg] broken local package system Aaron Gray <aaronngray.lists@gmail.com> - 2016-07-16 17:50 +0200
Re: [dpkg] broken local package system Aaron Gray <aaronngray.lists@gmail.com> - 2016-07-16 19:30 +0200
Re: [dpkg] broken local package system Brian <ad44@cityscape.co.uk> - 2016-07-16 20:10 +0200
| From | Aaron Gray <aaronngray.lists@gmail.com> |
|---|---|
| Date | 2016-07-16 17:20 +0200 |
| Subject | [dpkg] broken local package system |
| Message-ID | <rVzxL-5qm-7@gated-at.bofh.it> |
Hi,
dpkg seems to be totally broken :-
~~~~
$ sudo apt-get install node
[sudo] password for aaronngray:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
exim4-base : Depends: exim4-config (>= 4.82) but it is not going to
be installed or
exim4-config-2
Recommends: mailx
node : Depends: ax25-node but it is not going to be installed
Conflicts: nodejs-legacy
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
aaronngray@aarongray:/etc/apt$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
aaronngray@aarongray:/etc/apt$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libc-ares2 libjs-node-uuid libjs-underscore liblockfile1
libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-ansi-color-table
node-archy node-async node-block-stream node-combined-stream node-cookie-jar
node-delayed-stream node-forever-agent node-form-data node-fstream
node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile
node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream
node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once
node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar
node-tunnel-agent node-underscore node-which
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
exim4-config
The following packages will be REMOVED:
postfix
The following NEW packages will be installed:
exim4-config
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/501 kB of archives.
After this operation, 1,129 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
dpkg: error processing package postfix (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
aaronngray@aarongray:/etc/apt$ sudo apt-get -f install postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
exim4-base : Depends: exim4-config (>= 4.82) but it is not going to
be installed or
exim4-config-2
Recommends: mailx
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
aaronngray@aarongray:/etc/apt$ sudo apt-get -f install exim4-config
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
exim4-config : Conflicts: postfix but 2.11.3-1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
aaronngray@aarongray:/etc/apt$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libc-ares2 libjs-node-uuid libjs-underscore liblockfile1
libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-ansi-color-table
node-archy node-async node-block-stream node-combined-stream node-cookie-jar
node-delayed-stream node-forever-agent node-form-data node-fstream
node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile
node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream
node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once
node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar
node-tunnel-agent node-underscore node-which
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
exim4-config
The following packages will be REMOVED:
postfix
The following NEW packages will be installed:
exim4-config
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/501 kB of archives.
After this operation, 1,129 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
dpkg: error processing package postfix (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
aaronngray@aarongray:/etc/apt$ sudo apt-get -f reinstall postfix
E: Command line option 'f' [from -f] is not known.
aaronngray@aarongray:/etc/apt$ sudo apt-get reinstall postfix
E: Invalid operation reinstall
~~~~
Is there anyway to fix this ? or am I better doing a reinstall ?
Many thanks in advance,
Aaron
[toc] | [next] | [standalone]
| From | Francesco Ariis <fa-ml@ariis.it> |
|---|---|
| Date | 2016-07-16 17:30 +0200 |
| Message-ID | <rVzHr-5tJ-3@gated-at.bofh.it> |
| In reply to | #170185 |
On Sat, Jul 16, 2016 at 04:12:54PM +0100, Aaron Gray wrote:
> Hi,
>
> dpkg seems to be totally broken :-
Hello Aaron,
is this Debian of Frankendebian?
[toc] | [prev] | [next] | [standalone]
| From | Aaron Gray <aaronngray.lists@gmail.com> |
|---|---|
| Date | 2016-07-16 17:50 +0200 |
| Message-ID | <rVA0O-5A2-7@gated-at.bofh.it> |
| In reply to | #170186 |
Debian 8 nearly a fresh install too see my other post as to how it got like it On 16 July 2016 at 16:18, Francesco Ariis <fa-ml@ariis.it> wrote: > On Sat, Jul 16, 2016 at 04:12:54PM +0100, Aaron Gray wrote: >> Hi, >> >> dpkg seems to be totally broken :- > > Hello Aaron, > is this Debian of Frankendebian? >
[toc] | [prev] | [next] | [standalone]
| From | Aaron Gray <aaronngray.lists@gmail.com> |
|---|---|
| Date | 2016-07-16 19:30 +0200 |
| Message-ID | <rVBzz-6DJ-7@gated-at.bofh.it> |
| In reply to | #170188 |
fixed. I removed exim4-base and it took me back to the terminal stage of the postfix install. On 16 July 2016 at 16:39, Aaron Gray <aaronngray.lists@gmail.com> wrote: > Debian 8 nearly a fresh install too > see my other post as to how it got like it > > > On 16 July 2016 at 16:18, Francesco Ariis <fa-ml@ariis.it> wrote: >> On Sat, Jul 16, 2016 at 04:12:54PM +0100, Aaron Gray wrote: >>> Hi, >>> >>> dpkg seems to be totally broken :- >> >> Hello Aaron, >> is this Debian of Frankendebian? >>
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2016-07-16 20:10 +0200 |
| Message-ID | <rVCci-75y-17@gated-at.bofh.it> |
| In reply to | #170190 |
On Sat 16 Jul 2016 at 18:25:51 +0100, Aaron Gray wrote: > fixed. I removed exim4-base and it took me back to the terminal stage > of the postfix install. Considering it is impossible to have two MTAs at the same time one wonders how exim4-base was on your machine at the simultaneously with postfix. I tested this and installing postfix completely removes any exim4 packages. You can do this too. If it doesn't work for you it is a bug.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web