Author Topic: Is the package still broken?  (Read 3835 times)

0 Members and 1 Guest are viewing this topic.

sijon1

  • Guest
Is the package still broken?
« on: February 06, 2007, 03:04:27 PM »
I have had avast! 4 Home Edition installed and running for
a few days. The automatic update had succeeded two times
but then the next update reported error: "... The package is
broken". Then, before I had tried any repair (which I was
adviced to do) another automatic update was done and with
no errors this time.

Is everything OK now, or do I still have to do a repair?
Is it possible to see if the database is in the right state?

My network connection requires login every morning,
I have to bring up Internet Explorer and login before
the network can be accessed. This takes a few seconds.
Can this disturb the automatic update?

Best regards,
Sven Ingvar

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89065
  • No support PMs thanks
Re: Is the package still broken?
« Reply #1 on: February 06, 2007, 03:24:49 PM »
The repair should only need to be done once if it resolves the problem.

What type of connection do you have, dial-up or broadband ?

If the connection isn't dully established the auto update check may fail as it can't connect to the servers so it may be best to extend the duration before the auto update check.

This can be don by editing the avast4.ini file, C:\Program Files\Alwil Software\Avast4\Data\avast4.ini assuming you installed avast in the default location.

Find the [InetWD] section:
For Dial-up add the line RASWaitSeconds=60, if it does exist change the value to 60 (one minutes)

For Broadband add the line AlwaysConnectedWaitSeconds=60, if it does exist change the value to 60 (one minute)

[InetWD]
RASWaitSeconds=60
OR
AlwaysConnectedWaitSeconds=60
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

sijon1

  • Guest
Re: Is the package still broken?
« Reply #2 on: February 06, 2007, 05:44:59 PM »
Thank you! I will try the modification you suggested
for a broadband connection.

But it so happened that the last update succeeded before
I had done any repair at all. Is a repair necessary in this
case?

Best regards,
Sven Ingvar

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89065
  • No support PMs thanks
Re: Is the package still broken?
« Reply #3 on: February 06, 2007, 06:07:40 PM »
The package failure error is something different to an update failure associated with a connection issue.

If there was a reboot after the package error that may have resolved it so I would say there is no need now as you aren't getting an error that a repair may resolve. However, trying a repair won't hurt anything.

Welcome to the forums.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

sijon1

  • Guest
Re: Is the package still broken?
« Reply #4 on: February 08, 2007, 09:44:53 AM »
I did not find any [InetWD] section in the file so
I tried the "Ask when update is available" option
and it seems to work fine!
Sven Ingvar

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89065
  • No support PMs thanks
Re: Is the package still broken?
« Reply #5 on: February 08, 2007, 02:42:07 PM »
There should be an [InetWD] section and it should have at the least:

UpdatePeriod=240
AssumeAlwaysConnected=1 (this if you have set Update (Connections) to My computer is permanently connected to the Internet)
OR
UseRAS=1 (I only connect to the Internet using a dial-up modem)

If there is no [InetWD] section you could adjust any of these Program Settings and it should create it, there is nothing to stop you creating it either. It comes after the [Simple] (or [Chest] section if you have modified the default settings) and before the [Quick] section, though I don't believe the order is and issue provided you don't place it in the middle of a section.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

sijon1

  • Guest
Re: Is the package still broken?
« Reply #6 on: February 12, 2007, 05:36:16 PM »
There should be an [InetWD] section and it should have at the least:

UpdatePeriod=240
AssumeAlwaysConnected=1 (this if you have set Update (Connections) to My computer is permanently connected to the Internet)
OR
UseRAS=1 (I only connect to the Internet using a dial-up modem)

If there is no [InetWD] section you could adjust any of these Program Settings and it should create it, there is nothing to stop you creating it either. It comes after the [Simple] (or [Chest] section if you have modified the default settings) and before the [Quick] section, though I don't believe the order is and issue provided you don't place it in the middle of a section.

OK, I have added the line AlwaysConnectedWaitSeconds=60
as well as chosen the option "Ask when update is available"
and now it seems as if the updates can be performed without
errors. Thank you!

If there has been an update error "The package is broken" and
then the update succeeds the next time, what happens then?
Is the the unsuccessful update repaired with the successful
update or is there something missing in the database?

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89065
  • No support PMs thanks
Re: Is the package still broken?
« Reply #7 on: February 12, 2007, 06:03:53 PM »
If you get the package is broken, I would as a matter of course try a repair and if it still reports package broken, try a reboot. The final step a reinstall - uninstall, reboot, install, reboot.

A repair will validate avast and try to rectify any problem it might find (it may not find a problem), so successful repair report should resolve a package is broken, but nothing in life is guaranteed (except ***** and taxes) so you may have to take other steps.

There really are too many permutations to what may cause a package is broken, I'm just an avast user like you and I'm not privy to those.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security