Skip to content

Cannot update.packages (error message)

6 messages · Richardson, Patrick, Uwe Ligges

#
Richardson, Patrick wrote:
Can you try to reinstall (with install.packages()) all your installed 
package *bundles* (the 8 on CRAN are VR, CoCo, dse, hoa, gregmisc, 
BACCO, empiricalBayes, forecasting). I hope update packages will work 
again afterwards.

Best wishes,
Uwe Ligges
#
Hi Uwe,

I was able to reinstall every package you suggested except for "gregmisc" (see below)

package 'gregmisc' successfully unpacked and MD5 sums checked
Error in unpackPkg(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib) : 
  malformed bundle DESCRIPTION file, no Contains field

I've again tried update.packages() and the ones that fail are:
fBasics
Matrix
plm
R2HTML
timeSeries
zoo

When trying to install the above packages I receive the same error are originally reported (same as in "gregmisc").

Any ideas?

Thanks,

Patrick


-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] 
Sent: Tuesday, April 28, 2009 10:01 AM
To: Richardson, Patrick
Cc: r-help at r-project.org
Subject: Re: [R] Cannot update.packages (error message)
Richardson, Patrick wrote:
Can you try to reinstall (with install.packages()) all your installed 
package *bundles* (the 8 on CRAN are VR, CoCo, dse, hoa, gregmisc, 
BACCO, empiricalBayes, forecasting). I hope update packages will work 
again afterwards.

Best wishes,
Uwe Ligges
#
Richardson, Patrick wrote:
Arrrgh, I made anoter mistake with gregmisc which is now fixed.
Can you try in 24 hours to reinstall gregmisc and try update.packages() 
after that?

Or for even better for now: Please delete the gregmisc folder in your 
library and try to run update.packages after that. Still problems?

Uwe
#
Uwe,

I deleted "gregmisc" from by library folder and ran update.packages() again and I still get the same error:

package 'fBasics' successfully unpacked and MD5 sums checked
Error in unpackPkg(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib) : 
  malformed bundle DESCRIPTION file, no Contains field
Best regards,

Patrick

-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] 
Sent: Tuesday, April 28, 2009 11:01 AM
To: Richardson, Patrick
Cc: r-help at r-project.org
Subject: Re: [R] Cannot update.packages (error message)
Richardson, Patrick wrote:
Arrrgh, I made anoter mistake with gregmisc which is now fixed.
Can you try in 24 hours to reinstall gregmisc and try update.packages() 
after that?

Or for even better for now: Please delete the gregmisc folder in your 
library and try to run update.packages after that. Still problems?

Uwe
#
Richardson, Patrick wrote:
I am lost where this comes from.

So, can you then please grep through all DESCRIPTION files in your 
library for "bundle" and tell me in which DESCRIPTION files this is present.

Or even better: Can you try to debug yourself from which DESCRIPTION 
file it comes from?

I'd set
   options(error=recover)
and then go into the unpackPkg environment and check the actual objects 
therein.


Thank you and best wishes,
uwe