Premature end of archive

2009-11-04 Thread sonjaya
Dear all
i try install clamav from packages but  get error like this , how to solved ?
- i try another mirror still same
- try donwload to local pc still same

# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/
# pkg_add -i clamav
Premature end of archive
clamav-0.95.2: complete
Adjusting sha for /usr/local/lib/libclamav.a from
k3C2K5oQcz5KJ1wrU0uLgN9h6iZ1w6MYh5gIYM02On4= to
orCLZWKfCRHFq1lVJcXljBP3QjUq2trZIlRJ49Np5zk=
/usr/sbin/pkg_add: Installation of clamav-0.95.2 failed, partial
installation recorded as partial-clamav-0.95.2

-- 
sonjaya
http://sicute.blogspot.com



Re: Premature end of archive

2010-04-22 Thread sonjaya
i get solusion why this happent.

me using sonicwall ass gateway  ...
here i capture log in server and sonicwall
# wget
ftp://anga.funkfeuer.at/pub/OpenBSD/4.6/packages/i386/clamav-0.95.2.tgz
--2010-04-22 17:53:03--
ftp://anga.funkfeuer.at/pub/OpenBSD/4.6/packages/i386/clamav-0.95.2.tgz
   => `clamav-0.95.2.tgz.1'
Resolving anga.funkfeuer.at... 78.41.115.130, 2a02:60:1:1::9
Connecting to anga.funkfeuer.at|78.41.115.130|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/OpenBSD/4.6/packages/i386 ... done.
==> SIZE clamav-0.95.2.tgz ... 1516336
==> PASV ... done.==> RETR clamav-0.95.2.tgz ... done.
Length: 1516336 (1.4M)

24% [>
] 376,480 40.4K/s   in 9.6s

2010-04-22 17:53:18 (38.2 KB/s) - Data connection: Connection reset by
peer; Control connection closed.
Retrying.

--2010-04-22 17:53:19--
ftp://anga.funkfeuer.at/pub/OpenBSD/4.6/packages/i386/clamav-0.95.2.tgz
  (try: 2) => `clamav-0.95.2.tgz.1'
Connecting to anga.funkfeuer.at|78.41.115.130|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/OpenBSD/4.6/packages/i386 ... done.
==> SIZE clamav-0.95.2.tgz ... 1516336
==> PASV ... done.==> REST 376480 ...
REST failed, starting from scratch.

==> RETR clamav-0.95.2.tgz ... done.
Length: 1516336 (1.4M), 1139856 (1.1M) remaining

24% [>
] 376,480 38.8K/s   in 9.6s

2010-04-22 17:53:34 (38.1 KB/s) - Data connection: Connection reset by
peer; Control connection closed.
Retrying.


then i check in sonicwall

12  UTC 04/22/2010 10:52:56.032 Alert Security Services Gateway
Anti-Virus Alert: Mytob.Crypter (Worm) blocked 78.41.115.130, 51671,
X3 192.168.xxx.10, 13305, X5

ha ha so the trouble maker is sonicwall 

On Thu, Nov 5, 2009 at 4:54 PM, J.C. Roberts 
wrote:
> On Wed, 4 Nov 2009 17:49:55 +0700 sonjaya  wrote:
>
>> Dear all
>> i try install clamav from packages but  get error like this , how to
>> solved ?
>> - i try another mirror still same
>> - try donwload to local pc still same
>>
>> # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/
>> # pkg_add -i clamav
>> Premature end of archive
>> clamav-0.95.2: complete
>> Adjusting sha for /usr/local/lib/libclamav.a from
>> k3C2K5oQcz5KJ1wrU0uLgN9h6iZ1w6MYh5gIYM02On4= to
>> orCLZWKfCRHFq1lVJcXljBP3QjUq2trZIlRJ49Np5zk=
>> /usr/sbin/pkg_add: Installation of clamav-0.95.2 failed, partial
>> installation recorded as partial-clamav-0.95.2
>   ^
>
> You need to delete the *PARTIALLY* installed package. As for why this
> does not happen by default on all failed installation attempts, I don't
> know, but that fact that failed installation attempts leave non-working
> junk on the system can cause problems.
>
> $ sudo pkg_delete partial-clamav-0.95.2
>
>
>
> --
> J.C. Roberts
>



--
sonjaya
http://www.sharenupload.com
http://www.farmproxy.com



Re: Premature end of archive

2010-04-25 Thread J.C. Roberts
On Thu, 22 Apr 2010 17:56:48 +0700 sonjaya  wrote:

> Length: 1516336 (1.4M), 1139856 (1.1M) remaining
> 
> 24% [>
> ] 376,480 38.8K/s   in 9.6s
> 
> 2010-04-22 17:53:34 (38.1 KB/s) - Data connection: Connection reset by
> peer; Control connection closed.
> Retrying.
> 
> 
> then i check in sonicwall
> 
> 12  UTC 04/22/2010 10:52:56.032 Alert Security Services Gateway
> Anti-Virus Alert: Mytob.Crypter (Worm) blocked 78.41.115.130, 51671,
> X3 192.168.xxx.10, 13305, X5
> 
> ha ha so the trouble maker is sonicwall 

Signature based detection has always been flawed, and worse, as the
volume of malware increases, so does the number of "illegal" byte
sequences. The result is obvious; more and more stuff will be blocked
due to false positives.

Using encryption (ssh, scp, ssl) is a way around this problem, and if
it does happen when using encryption, then just change to using a
different cypher (resulting in a different byte sequence).

jcr

-- 
The OpenBSD Journal - http://www.undeadly.org



Re: Premature end of archive

2009-11-04 Thread Nick Guenther
On Wed, Nov 4, 2009 at 5:49 AM, sonjaya  wrote:
> Dear all
> i try install clamav from packages but  get error like this , how to solved
?
> - i try another mirror still same
> - try donwload to local pc still same
>
> # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/
> # pkg_add -i clamav
> Premature end of archive
>clamav-0.95.2: complete
> Adjusting sha for /usr/local/lib/libclamav.a from
> k3C2K5oQcz5KJ1wrU0uLgN9h6iZ1w6MYh5gIYM02On4= to
> orCLZWKfCRHFq1lVJcXljBP3QjUq2trZIlRJ49Np5zk=
> /usr/sbin/pkg_add: Installation of clamav-0.95.2 failed, partial
> installation recorded as partial-clamav-0.95.2
>

Did you make sure to pkg_delete the partial install before trying again?



Re: Premature end of archive

2009-11-04 Thread sonjaya
yes already pkg_delete  but still same  show up  that problem

On Wed, Nov 4, 2009 at 7:11 PM, Nick Guenther  wrote:
> On Wed, Nov 4, 2009 at 5:49 AM, sonjaya  wrote:
>> Dear all
>> i try install clamav from packages but  get error like this , how to solved
?
>> - i try another mirror still same
>> - try donwload to local pc still same
>>
>> # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/
>> # pkg_add -i clamav
>> Premature end of archive
>>clamav-0.95.2: complete
>> Adjusting sha for /usr/local/lib/libclamav.a from
>> k3C2K5oQcz5KJ1wrU0uLgN9h6iZ1w6MYh5gIYM02On4= to
>> orCLZWKfCRHFq1lVJcXljBP3QjUq2trZIlRJ49Np5zk=
>> /usr/sbin/pkg_add: Installation of clamav-0.95.2 failed, partial
>> installation recorded as partial-clamav-0.95.2
>>
>
> Did you make sure to pkg_delete the partial install before trying again?
>



--
sonjaya
http://sicute.blogspot.com
http://www.pojokdomain.com(sell & buy domain with free )



Re: Premature end of archive

2009-11-04 Thread FRLinux
On Wed, Nov 4, 2009 at 12:49 PM, sonjaya  wrote:
> yes already pkg_delete  but still same  show up  that problem

Delete the partial again and try pkg_add -r

Cheers,
Steph