Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-07-21 Thread Bernard Cayeux
Hi Andreas,

Pleased to let you know that I can now install apps like Skype & 
Screaming Frog.

Thanks again for your helps and support

With best regards

Bernard

On 17/07/17 22:49, Andreas Hasenack wrote:
> Ok, thanks for getting back to us.
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698772

Title:
  package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1698772/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-07-14 Thread Bernard Cayeux
Hi Andreas,

Thanks for writing. Looks like you are right.

It did not work straight away, i had to make several updates (and 
eventually an upgrade command) for it to work. I can now install apps 
via the terminal and also via the software manager (I only tried a few 
games that maybe are not needing the packages that were damaged.)

However Clam still fails to install even using the terminal. Looks like 
it's an issue with Freshclam.

I will try new apps like screaming frog later and keep you updated.

At least the vulnerability issue is over now.

Thanks again and best regards

Bernard

On 13/07/17 21:32, Andreas Hasenack wrote:
> Maybe you were hit by this bug:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679435
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698772

Title:
  package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1698772/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-07-07 Thread Bernard Cayeux
Hi Andreas,

Agreed not to use the update or software manager for now.

Here is the output for dpkg -l | grep clamav

iU  clamav 0.99.2+dfsg-6   amd64 anti-virus 
utility for Unix - command-line interface
iHR clamav-base 0.99.2+dfsg-6   all 
anti-virus utility for Unix - base package
iU  clamav-freshclam 0.99.2+dfsg-6   amd64 
anti-virus utility for Unix - virus database update utility
ii  libclamav7:amd64 0.99.2+dfsg-6   amd64 
anti-virus utility for Unix - library

With best regards

Bernard

On 07/07/17 15:59, Andreas Hasenack wrote:
> dpkg -l | grep clamav

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698772

Title:
  package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1698772/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-07-06 Thread Bernard Cayeux
Hi Andreas,

I realised I was incomplete in my answer yesterday.

The installations that stall are those initiated via the software 
manager, not via apt-get.

Additional information
After restarting, the software manager says it (ClamAv) is installed but 
I cannot configure it because it's not fully installed. So we are back 
to square one except that updates seem to install completely. (I'm 
waiting for new ones to be available before being able to confirm this.)

Have a nice day,

With best regards

Bernard



On 06/07/17 18:31, Andreas Hasenack wrote:
> Just ps fauxww and the current error, because I'm lost again, apologies.
>
> When you say the installation stalls, you mean an installation that you
> started manually via apt-get?
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698772

Title:
  package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1698772/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-07-06 Thread Bernard Cayeux
Hi Andreas,

Attached is output for ps fauxww.

The update I had was a notification in the ubuntu software manager.

Thanks again and best regards

Bernard

On 06/07/17 18:31, Andreas Hasenack wrote:
> Just ps fauxww and the current error, because I'm lost again, apologies.
>
> When you say the installation stalls, you mean an installation that you
> started manually via apt-get?
>


** Attachment added: "ps_fauxww"
   https://bugs.launchpad.net/bugs/1698772/+attachment/4910371/+files/ps_fauxww

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698772

Title:
  package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1698772/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-07-06 Thread Bernard Cayeux
Hi Andreas,

Thanks again for your precious help. We are nearly there. At least it 
looks like the DPKG issue is lessened.

I am attaching 2 files with the outputs from the terminal.
The one without the "bis" is the output I had the first time. Where not 
much changed in the sense that after restart I still had a pending 
update from the software manager which stalled at about 90%.

The one ending with "bis" is when I tried again after restarting again 
and again. I was prompted to use "apt --fix-broken install" which 
apparently fixed most issue as I could fully install that update, then 
check for more updates from the terminal.

What's left is the initial issue, which is that new applications (Clamav 
or any other) cannot be installed. The process stalls half-way.

Should I repeat the full processes from the begining? (Report output for 
ps fauxwwand sudo lsof /var/cache/debconf/config.dat)

Thanks again and best regards

Bernard


On 04/07/17 01:06, Andreas Hasenack wrote:
> Wow, so many things happened
>
> Can you try
>
> "sudo apt install --reinstall libc6-dev"?
>


** Attachment added: "reinstall libc6-dev-bis"
   
https://bugs.launchpad.net/bugs/1698772/+attachment/4910144/+files/reinstall%20libc6-dev-bis

** Attachment added: "reinstall libc6-dev"
   
https://bugs.launchpad.net/bugs/1698772/+attachment/4910145/+files/reinstall%20libc6-dev

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698772

Title:
  package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1698772/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-07-01 Thread Bernard Cayeux
Hi Joshua,

Thanks for your input. Pardon my ignorance but I guess I need to place 
or extract the downloaded contents somewhere in the root directory after 
down load. When I ran the command it first had a message (which I don't 
remeber) but meaning it could not locate the files or something.

Then I opted the right-click and open with package installer. It did 
initiate until it reached 95% then stalled.

Now that I try the command again it says it's locked [dpkg: error: dpkg 
status database is locked by another process]

Any idea to get around this?

Thanks in advance,

Regards

Bernard

On 30/06/17 21:32, Joshua Powers wrote:
> wow, libc6 in an inconsistent state this is no good.
>
> Well you could try installing manually from the deb. Find the version in
> /var/cache/apt/archives or download it from packages.ubuntu.com [1],
> click on amd64, and download from there. I believe that is the same
> version you have installed. Download that and `sudo dpkg -i libc6*.deb`
>
> [1] https://packages.ubuntu.com/zesty/libc6
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698772

Title:
  package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1698772/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-06-27 Thread Bernard Cayeux
Hi Christian,

Here are some updates.

FYI, since I started getting this problem I had set the update manager 
to never check for updates, so it could not have been an update going in 
the back ground.

Also, since your first reply I had not restarted the computer as I 
prefered to have it all backed-up first.

Today I did and straightaway check the package manager. It was like 
initially; Clamav was installed but unusable as all its config files etc 
were not installed.

1. I tried to remove via the package manager and got:

"Detailed errors from the package manager follow:
apt transaction returned result exit-failed"

2. tried via the terminal and got:

bernard@bernard-Lenovo-Flex-2-14:~$ sudo apt-get --purge remove clamav 
clamav-base clamav-daemon clamav-freshclam libclamav2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libclamav2' is not installed, so not removed
Package 'clamav-daemon' is not installed, so not removed
The following packages were automatically installed and are no longer 
required:
   libclamav7 libcommon-sense-perl libjson-perl libjson-xs-perl 
libllvm3.9 libmspack0 libtext-csv-perl libtext-csv-xs-perl libtfm1 
libtypes-serialiser-perl
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
   clamav* clamav-base* clamav-freshclam*
0 to upgrade, 0 to newly install, 3 to remove and 0 not to upgrade.
4 not fully installed or removed.
Need to get 0 B/2,276 kB of archives.
After this operation, 1,914 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 227901 files and directories currently installed.)
Removing clamav (0.99.2+dfsg-6) ...
Removing clamav-freshclam (0.99.2+dfsg-6) ...
dpkg: error processing package clamav-base (--remove):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting a removal
Errors were encountered while processing:
  clamav-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
bernard@bernard-Lenovo-Flex-2-14:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
   libclamav7 libcommon-sense-perl libjson-perl libjson-xs-perl 
libllvm3.9 libmspack0 libtext-csv-perl libtext-csv-xs-perl libtfm1 
libtypes-serialiser-perl
0 to upgrade, 0 to newly install, 10 to remove and 0 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/2,334 kB of archives.
After this operation, 49.2 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 227859 files and directories currently installed.)
Removing libclamav7:amd64 (0.99.2+dfsg-6) ...
Removing libjson-xs-perl (3.030-1) ...
Removing libtypes-serialiser-perl (1.0-1) ...
Removing libcommon-sense-perl (3.74-2) ...
Removing libjson-perl (2.90-1) ...
Removing libllvm3.9:amd64 (1:3.9.1-5ubuntu1) ...
Removing libmspack0:amd64 (0.5-1) ...
Removing libtext-csv-perl (1.33-2) ...
Removing libtext-csv-xs-perl (1.26-1) ...
Removing libtfm1:amd64 (0.13-4) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Processing triggers for man-db (2.7.6.1-2) ...
dpkg: error processing package libc6-dev:amd64 (--configure):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting configuration
Errors were encountered while processing:
  libc6-dev:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

3. Tried again to remove the libc6-dev:amd64

bernard@bernard-Lenovo-Flex-2-14:~$ sudo dpkg -r libc6-dev:amd64
dpkg: dependency problems prevent removal of libc6-dev:amd64:
  build-essential depends on libc6-dev | libc-dev; however:
   Package libc6-dev:amd64 is to be removed.
   Package libc-dev is not installed.
   Package libc6-dev:amd64 which provides libc-dev is to be removed.
  libstdc++-6-dev:amd64 depends on libc6-dev (>= 2.13-0ubuntu6).
  build-essential depends on libc6-dev | libc-dev; however:
   Package libc6-dev:amd64 is to be removed.
   Package libc-dev is not installed.
   Package libc6-dev:amd64 which provides libc-dev is to be removed.

dpkg: error processing package libc6-dev:amd64 (--remove):
  dependency problems - not removing
Errors were encountered while processing:
  libc6-dev:amd64
bernard@bernard-Lenovo-Flex-2-14:~$ sudo apt-get install libc6-dev:amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6-dev is already the newest version (2.24-9ubuntu2.2).
libc6-dev set to manually installed.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/2,334 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
dpkg: error processing package libc6-dev:amd64 (--configure):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting configuration
Errors were encountered while processing:
  libc6-dev:amd64
E: 

Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-06-23 Thread Bernard Cayeux
Hi Christian,

Thanks for the response. Since my understanding of all this is next to 
null, I have just followed the steps you recommended, without results. 
Here are the outputs.

1. At first the outputs were different and did not change anything. I 
eventually stopped the process of the update manager, restarted a few 
times and finally got the response that the file was no more present.

2. Entered $ apt-get upgradeand the return was:

pdate-initramfs: Generating /boot/initrd.img-4.10.0-24-generic
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Errors were encountered while processing:
  libc6-dev:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish

dpkg: error processing package libc6-dev:amd64 (--configure):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting configuration
Errors were encountered while processing:

3. Uninstalled libc6-dev:amd64 including dependencies using sudo apt-get 
remove --auto-remove libc6-dev-amd64 There was an error message

4. Reinstalled using sudo apt-get install libc6-dev-amd64 and got this 
output

Get:1 http://archive.ubuntu.com/ubuntu zesty/main i386 gcc-6-base i386 
6.3.0-12ubuntu2 [17.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu zesty/main i386 libgcc1 i386 
1:6.3.0-12ubuntu2 [48.0 kB]
Get:3 http://archive.ubuntu.com/ubuntu zesty-updates/main i386 libc6 
i386 2.24-9ubuntu2.2 [2,277 kB]
Get:4 http://archive.ubuntu.com/ubuntu zesty-updates/main i386 
libc6-amd64 i386 2.24-9ubuntu2.2 [2,623 kB]
Get:5 http://archive.ubuntu.com/ubuntu zesty-updates/main i386 
linux-libc-dev i386 4.10.0-24.28 [918 kB]
Get:6 http://archive.ubuntu.com/ubuntu zesty-updates/main i386 libc6-dev 
i386 2.24-9ubuntu2.2 [1,869 kB]
Get:7 http://archive.ubuntu.com/ubuntu zesty-updates/main i386 
libc6-dev-amd64 i386 2.24-9ubuntu2.2 [1,770 kB]
Fetched 9,521 kB in 2min 25s (65.3 kB/s)
Preconfiguring packages ...
Selecting previously unselected package gcc-6-base:i386.
(Reading database ... 226683 files and directories currently installed.)
Preparing to unpack .../0-gcc-6-base_6.3.0-12ubuntu2_i386.deb ...
Unpacking gcc-6-base:i386 (6.3.0-12ubuntu2) ...
Selecting previously unselected package libgcc1:i386.
Preparing to unpack .../1-libgcc1_1%3a6.3.0-12ubuntu2_i386.deb ...
Unpacking libgcc1:i386 (1:6.3.0-12ubuntu2) ...
Selecting previously unselected package libc6:i386.
Preparing to unpack .../2-libc6_2.24-9ubuntu2.2_i386.deb ...
Unpacking libc6:i386 (2.24-9ubuntu2.2) ...
Selecting previously unselected package libc6-amd64:i386.
Preparing to unpack .../3-libc6-amd64_2.24-9ubuntu2.2_i386.deb ...
Unpacking libc6-amd64:i386 (2.24-9ubuntu2.2) ...
Replaced by files in installed package libc6:amd64 (2.24-9ubuntu2.2) ...
Selecting previously unselected package linux-libc-dev:i386.
Preparing to unpack .../4-linux-libc-dev_4.10.0-24.28_i386.deb ...
Unpacking linux-libc-dev:i386 (4.10.0-24.28) ...
Selecting previously unselected package libc6-dev:i386.
Preparing to unpack .../5-libc6-dev_2.24-9ubuntu2.2_i386.deb ...
Unpacking libc6-dev:i386 (2.24-9ubuntu2.2) ...
Selecting previously unselected package libc6-dev-amd64:i386.
Preparing to unpack .../6-libc6-dev-amd64_2.24-9ubuntu2.2_i386.deb ...
Unpacking libc6-dev-amd64:i386 (2.24-9ubuntu2.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Setting up gcc-6-base:i386 (6.3.0-12ubuntu2) ...
Setting up linux-libc-dev:i386 (4.10.0-24.28) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for ca-certificates (20161130) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

updates of cacerts keystore disabled.
done.
dpkg: error processing package libc6-dev:amd64 (--configure):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting configuration
Setting up libc6:i386 (2.24-9ubuntu2.2) ...
Setting up libc6-amd64:i386 (2.24-9ubuntu2.2) ...
Setting up libc6-dev:i386 (2.24-9ubuntu2.2) ...
Setting up libgcc1:i386 (1:6.3.0-12ubuntu2) ...
Setting up libc6-dev-amd64:i386 (2.24-9ubuntu2.2) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Errors were encountered while processing:
  libc6-dev:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

5. Ran an update command (there were none)

6. Tried reinstalling Clam from software centre. It satalled again.

7. Tried removing Clamav:
$ sudo apt-get --purge remove clamav clamav-base clamav-daemon 
clamav-freshclam libclamav2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libclamav2' is not installed, so not removed
Package 'clamav' is 

[Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-06-22 Thread Bernard Cayeux
Hi Andreas,

In case you had not not received my reply, here is the output, this time
pasted here for others to see.

ps fauxww
USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
root 2  0.0  0.0  0 0 ?SJun20   0:00 [kthreadd]
root 4  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[kworker/0:0H]
root 6  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[ksoftirqd/0]
root 7  0.0  0.0  0 0 ?SJun20   0:12  \_ [rcu_sched]
root 8  0.0  0.0  0 0 ?SJun20   0:00  \_ [rcu_bh]
root 9  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[migration/0]
root10  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[lru-add-drain]
root11  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[watchdog/0]
root12  0.0  0.0  0 0 ?SJun20   0:00  \_ [cpuhp/0]
root13  0.0  0.0  0 0 ?SJun20   0:00  \_ [cpuhp/1]
root14  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[watchdog/1]
root15  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[migration/1]
root16  0.0  0.0  0 0 ?SJun20   0:09  \_ 
[ksoftirqd/1]
root18  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[kworker/1:0H]
root19  0.0  0.0  0 0 ?SJun20   0:00  \_ [cpuhp/2]
root20  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[watchdog/2]
root21  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[migration/2]
root22  0.0  0.0  0 0 ?SJun20   0:01  \_ 
[ksoftirqd/2]
root24  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[kworker/2:0H]
root25  0.0  0.0  0 0 ?SJun20   0:00  \_ [cpuhp/3]
root26  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[watchdog/3]
root27  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[migration/3]
root28  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[ksoftirqd/3]
root30  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[kworker/3:0H]
root31  0.0  0.0  0 0 ?SJun20   0:00  \_ [kdevtmpfs]
root32  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [netns]
root34  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[khungtaskd]
root35  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[oom_reaper]
root36  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [writeback]
root37  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[kcompactd0]
root38  0.0  0.0  0 0 ?SN   Jun20   0:00  \_ [ksmd]
root39  0.0  0.0  0 0 ?SN   Jun20   0:01  \_ 
[khugepaged]
root40  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [crypto]
root41  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[kintegrityd]
root42  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root43  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [kblockd]
root44  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [ata_sff]
root45  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [md]
root46  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[devfreq_wq]
root47  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [watchdogd]
root51  0.0  0.0  0 0 ?SJun20   0:00  \_ [kauditd]
root52  0.0  0.0  0 0 ?SJun20   0:00  \_ [kswapd0]
root53  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [vmstat]
root54  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root55  0.0  0.0  0 0 ?SJun20   0:00  \_ 
[ecryptfs-kthrea]
root95  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [kthrotld]
root96  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[acpi_thermal_pm]
root97  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root98  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root   100  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root   101  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root   102  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root   103  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root   104  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root   105  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ [bioset]
root   110  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[ipv6_addrconf]
root   134  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[charger_manager]
root   174  0.0  0.0  0 0 ?SJun20   0:00  \_ [scsi_eh_0]
root   175  0.0  0.0  0 0 ?S<   Jun20   0:00  \_ 
[scsi_tmf_0]

Re: [Bug 1698772] Re: package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-06-21 Thread Bernard Cayeux
Dear Andreas,

Thanks for responding. I have indeed an update from the software 
installer that starts then stalls. It may be it. Anyway, most updates, 
like applications / software being installed, stall half-way.

Attached is the output.

Thanks and regards

Bernard

On 20/06/17 23:47, Andreas Hasenack wrote:
> ps fauxww


** Attachment added: "ps fauxww output"
   
https://bugs.launchpad.net/bugs/1698772/+attachment/4900045/+files/ps%20fauxww%20output

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698772

Title:
  package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1698772/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1698772] [NEW] package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

2017-06-19 Thread Bernard Cayeux
Public bug reported:

Hi, my Ubuntu version is 17.04
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"

Chronology

1. A fresh install of Ubuntu was done approx. 1 month ago by a non-expert.
2. Trying to install Screaming frog I noticed installation stalled (download 
was OK)
3. Tested software centre by installing ClamAv and it also stalled.
4 Now I went down the checklist mentioned here 
https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
5. It looked like the main issue was around the ca certificates which 
apparently were not at all installed.
6. Reran command[LANG=C;sudo apt-get -f install] and got output:
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ca-certificates-java java-common linux-headers-4.10.0-19
  linux-headers-4.10.0-19-generic linux-image-4.10.0-19-generic
  linux-image-extra-4.10.0-19-generic openjdk-9-jre-headless python3-dateutil
  qtdeclarative5-accounts-plugin qtdeclarative5-ubuntu-download-manager0.1
  unity-webapps-qml
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
4 not fully installed or removed.
Need to get 57.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu zesty/main amd64 clamav-base all 
0.99.2+dfsg-6 [57.8 kB]
Fetched 57.8 kB in 1s (48.3 kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another 
process: Resource temporarily unavailable
dpkg: dependency problems prevent configuration of clamav-freshclam:
 clamav-freshclam depends on clamav-base (>= 0.99.2+dfsg-6); however:
  Package clamav-base is not installed.

dpkg: error processing package clamav-freshclam (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of clamav:
 clamav depends on clamav-freshclam (>= 0.99.2+dfsg) | clamav-data; however:
  Package clamav-freshclam is not configured yet.
  Package clamav-data is not installed.
  Package clamav-freshclam which provides clamav-data is not configured yet.

No apport report written because the error message indicates its a followup 
error from a previous failure.
  No apport report written because the error message 
indicates its a followup error from a previous failure.
dpkg: error processing 
package clamav (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of clamtk:
 clamtk depends on clamav (>= 0.95); however:
  Package clamav is not configured yet.
 clamtk depends on clamav-freshclam (>= 0.95) | clamav-data; however:
  Package clamav-freshclam is not configured yet.
  Package clamav-data is not installed.
  Package clamav-freshclam which provides clamav-data is not configured yet.

dpkg: error processing package clamtk (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
  Errors were encountered while processing:
 clamav-freshclam
 clamav
 clamtk
E: Sub-process /usr/bin/dpkg returned an error code (1)

7. Tried removing Clamav from software centre -stalled
8. Tried via terminal using command [sudo apt-get --purge remove clamav 
clamav-base clamav-daemon clamav-freshclam libclamav2] and got output
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Package 'libclamav2' is not installed, so not removed
Package 'clamav-daemon' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  ca-certificates-java java-common libclamav7 libcommon-sense-perl
  libjson-perl libjson-xs-perl libllvm3.9 libmspack0 libtext-csv-perl
  libtext-csv-xs-perl libtfm1 libtypes-serialiser-perl linux-headers-4.10.0-19
  linux-headers-4.10.0-19-generic linux-image-4.10.0-19-generic
  linux-image-extra-4.10.0-19-generic openjdk-9-jre-headless python3-dateutil
  qtdeclarative5-accounts-plugin qtdeclarative5-ubuntu-download-manager0.1
  unity-webapps-qml
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  clamav* clamav-base* clamav-freshclam* clamtk*
0 upgraded, 0 newly installed, 4 to remove and 20 not upgraded.
4 not fully installed or removed.
After this operation, 2,895 kB disk space will be freed.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another 
process: Resource temporarily unavailable
(Reading database ... 261432 files and directories currently installed.)
Removing clamtk (5.24-1) ...
Removing clamav (0.99.2+dfsg-6) ...
Removing clamav-freshclam (0.99.2+dfsg-6) ...
dpkg: error