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

Bug #1698772 reported by Bernard Cayeux
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

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 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)

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: clamav-base 0.99.2+dfsg-6
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
Uname: Linux 4.10.0-22-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
Date: Mon Jun 19 13:10:36 2017
DuplicateSignature:
 package:clamav-base: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
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
InstallationDate: Installed on 2017-05-17 (32 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.10.0-22-generic root=UUID=811193d3-95a3-465a-b071-f85243b21ca2 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.10ubuntu2
 apt 1.4
SourcePackage: clamav
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
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

You seem to have an existing process trying to install or remove packages and that is conflicting with your other attempts.

Could you please attach the output of the following command to this bug:

ps fauxww

Thanks!

Changed in clamav (Ubuntu):
status: New → Incomplete
Revision history for this message
Bernard Cayeux (2-bernary-y) wrote : 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

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

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :
Download full text (31.0 KiB)

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 %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S Jun20 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 ? S Jun20 0:00 \_ [ksoftirqd/0]
root 7 0.0 0.0 0 0 ? S Jun20 0:12 \_ [rcu_sched]
root 8 0.0 0.0 0 0 ? S Jun20 0:00 \_ [rcu_bh]
root 9 0.0 0.0 0 0 ? S Jun20 0:00 \_ [migration/0]
root 10 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [lru-add-drain]
root 11 0.0 0.0 0 0 ? S Jun20 0:00 \_ [watchdog/0]
root 12 0.0 0.0 0 0 ? S Jun20 0:00 \_ [cpuhp/0]
root 13 0.0 0.0 0 0 ? S Jun20 0:00 \_ [cpuhp/1]
root 14 0.0 0.0 0 0 ? S Jun20 0:00 \_ [watchdog/1]
root 15 0.0 0.0 0 0 ? S Jun20 0:00 \_ [migration/1]
root 16 0.0 0.0 0 0 ? S Jun20 0:09 \_ [ksoftirqd/1]
root 18 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [kworker/1:0H]
root 19 0.0 0.0 0 0 ? S Jun20 0:00 \_ [cpuhp/2]
root 20 0.0 0.0 0 0 ? S Jun20 0:00 \_ [watchdog/2]
root 21 0.0 0.0 0 0 ? S Jun20 0:00 \_ [migration/2]
root 22 0.0 0.0 0 0 ? S Jun20 0:01 \_ [ksoftirqd/2]
root 24 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [kworker/2:0H]
root 25 0.0 0.0 0 0 ? S Jun20 0:00 \_ [cpuhp/3]
root 26 0.0 0.0 0 0 ? S Jun20 0:00 \_ [watchdog/3]
root 27 0.0 0.0 0 0 ? S Jun20 0:00 \_ [migration/3]
root 28 0.0 0.0 0 0 ? S Jun20 0:00 \_ [ksoftirqd/3]
root 30 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [kworker/3:0H]
root 31 0.0 0.0 0 0 ? S Jun20 0:00 \_ [kdevtmpfs]
root 32 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [netns]
root 34 0.0 0.0 0 0 ? S Jun20 0:00 \_ [khungtaskd]
root 35 0.0 0.0 0 0 ? S Jun20 0:00 \_ [oom_reaper]
root 36 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [writeback]
root 37 0.0 0.0 0 0 ? S Jun20 0:00 \_ [kcompactd0]
root 38 0.0 0.0 0 0 ? SN Jun20 0:00 \_ [ksmd]
root 39 0.0 0.0 0 0 ? SN Jun20 0:01 \_ [khugepaged]
root 40 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [crypto]
root 41 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [kintegrityd]
root 42 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [bioset]
root 43 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [kblockd]
root 44 0.0 0.0 0 0 ? S< Jun20 0:00 \_ [ata_...

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
so your upgrade in background is stalling at the config
root 4113 0.0 1.2 299464 104388 ? SNl Jun20 0:04 /usr/bin/python3 /usr/sbin/aptd
root 4751 0.0 1.1 300584 94612 pts/0 SNs+ Jun20 0:00 \_ /usr/bin/python3 /usr/sbin/aptd
root 4779 0.0 0.0 4496 792 pts/0 SN+ Jun20 0:00 \_ /bin/sh -c /usr/sbin/dpkg-preconfigure --apt || true
root 4780 0.0 0.2 75664 19520 pts/0 SN+ Jun20 0:00 \_ /usr/bin/perl -w /usr/sbin/dpkg-preconfigure --apt
root 4782 0.0 0.0 0 0 pts/0 ZN+ Jun20 0:00 \_ [dpkg-preconfigu] <defunct>

The related error we already saw before int he log being:
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

Now there are a few things one can do trying to clean up, steps are:
1. ensure all currently active related processes are really gone
2. clean up the files
3. retry upgrade/install

#1.1 If the upgrades in your system never stop (I assume the prompt you somewhere, but you can't see) please kill the related processes
#1.1 check if the lock files are still there
  $ ll /var/cache/debconf/config.dat
#1.2 check who (if any) still has a hold on these files
  $ sudo lsof /var/cache/debconf/config.dat
  If there is any check what the reported PID is and end them gracefully if possible, and hard if
  needed
#2 now that really no active update should be going on the file should be gone, but it isn't in
   your case, so remove it
  $ sudo rm /var/cache/debconf/config.dat
#3 run the upgrade from a console, so if any user interaction is needed you can see, handle and in the worst case report it here
  $ apt-get upgrade
  $ apt install clamav

Please report back if you had success cleaning up that concurrent locking issue due to background apt activity.

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :
Download full text (10.0 KiB)

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 ...

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Bernard,
thanks for following and trying to resolve.

At the moment I'm puzzled as well - you clearly got rid of the offending /var/cache/debconf/passwords.dat as confirmed by ll and lsof in step 10.

Why it is then "in the way" on your retry to upgrade/install I have no idea yet :-/
Maybe it races with itself - does not make sense to me yet.

Hmm - two things from here:

First of all right after the restart there might indeed be an auto-updater being started and running in the background - make sure this isn't your issue. Check who owns the new file now and that the process is completed.

Furthermore you might follow some advice given on [1] - [3]. On top of what I already suggested some users seem to have had success by removing all these files. I'm usually not bold to remove a lot of things, maybe move them away to your roots home so you can restore them in case you need to?

[1]: https://askubuntu.com/questions/136881/debconf-dbdriver-config-config-dat-is-locked-by-another-process-resource-t
[2]: https://wiki.edubuntu.org/DebuggingInstallationIssues#DbDriver_.22config.22_is_locked
[3]: https://ubuntuforums.org/showthread.php?t=1495612

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :
Download full text (7.2 KiB)

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 libc...

Read more...

Revision history for this message
Joshua Powers (powersj) 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

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :

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
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Wow, so many things happened

Can you try

"sudo apt install --reinstall libc6-dev"?

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :

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"?
>

Revision history for this message
Andreas Hasenack (ahasenack) 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?

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :
  • ps_fauxww Edit (32.0 KiB, text/plain; charset=UTF-8; name="ps_fauxww")

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?
>

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :

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?
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

The ps output looks clean now.

Can I suggest that you do not use update-manager or any other GUI to handle package upgrades or installs until we sort this? Let's stick to apt-get?

Regarding clamav, can you get this output for me:

dpkg -l | grep clamav

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :

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

Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :

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
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Ok, thanks for getting back to us.

Revision history for this message
Bernard Cayeux (2-bernary-y) wrote :

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.
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I'll mark this bug as a duplicate of bug #1679435 given this opening statement:

"2. Trying to install Screaming frog I noticed installation stalled (download was OK)"

That is a signature of #1679435

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.