Re: Re : compilation error

2005-01-09 Thread Sam Watkins
On Sun, Jan 09, 2005 at 04:57:49PM +, Alex Papadopoulos wrote:
 Oh ok, now I got it... Well it IS a problem with gcc...
 Even 'gcc -v' gives me a segmentation fault...
 
 I'll try to reinstall it...
 
 How can this be done actually with apt-get ?

It can't really, AFAIK.

I would download the deb again manually, and install it with dpkg.

It's a pity apt-get does not have a raw get function which simply
downloads a named package, no matter whether it is installed already,
etc.  Not very modular of it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Andrea Vettorello
On Mon, 10 Jan 2005 08:27:58 +1100, Sam Watkins [EMAIL PROTECTED] wrote:
 On Sun, Jan 09, 2005 at 04:57:49PM +, Alex Papadopoulos wrote:
  Oh ok, now I got it... Well it IS a problem with gcc...
  Even 'gcc -v' gives me a segmentation fault...
 
  I'll try to reinstall it...
 
  How can this be done actually with apt-get ?
 
 It can't really, AFAIK.
 
 I would download the deb again manually, and install it with dpkg.
 
 It's a pity apt-get does not have a raw get function which simply
 downloads a named package, no matter whether it is installed already,
 etc.  Not very modular of it.
 

Look in the apt-get manual for the --reinstall option, if you want
only to download some packages  use the --download-only option...


Andrea


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Alex Papadopoulos
I tried it and it failed...

It can't really, AFAIK.
I would download the deb again manually, and install it with dpkg.
It's a pity apt-get does not have a raw quot;getquot; function which 
simply
downloads a named package, no matter whether it is installed already,
etc.  Not very modular of it.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Hanspeter Kunz
On Mon, 2005-01-10 at 08:27 +1100, Sam Watkins wrote:
 On Sun, Jan 09, 2005 at 04:57:49PM +, Alex Papadopoulos wrote:
  Oh ok, now I got it... Well it IS a problem with gcc...
  Even 'gcc -v' gives me a segmentation fault...
  
  I'll try to reinstall it...
  
  How can this be done actually with apt-get ?
 
 It can't really, AFAIK.
 
 I would download the deb again manually, and install it with dpkg.
 
 It's a pity apt-get does not have a raw get function which simply
 downloads a named package, no matter whether it is installed already,
 etc.  Not very modular of it.

What about apt-get --reinstall install pkgname ?
Doesn't this work?

Cheers,
Hp.
-- 
Hanspeter Kunz  Artificial Intelligence Laboratory
Ph.D. Student   Department of Information Technology
Email: [EMAIL PROTECTED]   University of Zurich
Tel: +41.(0)44.63-54306 Andreasstrasse 15, Office 2.12
http://ailab.ch/people/hkunzCH-8050 Zurich, Switzerland

Spamtraps: [EMAIL PROTECTED] [EMAIL PROTECTED]
---
Beggars should be no choosers.
-- John Heywood


signature.asc
Description: This is a digitally signed message part


Re: Re : compilation error

2005-01-09 Thread Sam Watkins
On Sun, Jan 09, 2005 at 10:32:48PM +0100, Andrea Vettorello wrote:
 Look in the apt-get manual for the --reinstall option, if you want
 only to download some packages  use the --download-only option...

ok, so:

  apt-get --reinstall --download-only foo

will fetch foo from the archive even if it's already installed.
That's handy to know, thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Alex Papadopoulos
I removed all old versions of gcc. I only kept gcc-3.3
The error persists, but when I move /usr/lib/gcc-lib/i486-linux/2.8.1 
directory, everything goes back normal. (at least gcc -v works :)

But when I tried to recompile a kernel that had compiled well a couple of 
months ago (same config used), I got another error... Since this config 
worked before, I still believe it is gcc related. Here's the error message :
include/linux/kernel.h:71: error: parse error before va_list
include/linux/kernel.h:71: warning: function declaration isn't a prototype

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Andrea Vettorello
On Mon, 10 Jan 2005 08:40:22 +1100, Sam Watkins [EMAIL PROTECTED] wrote:
 On Sun, Jan 09, 2005 at 10:32:48PM +0100, Andrea Vettorello wrote:
  Look in the apt-get manual for the --reinstall option, if you want
  only to download some packages  use the --download-only option...
 
 ok, so:
 
   apt-get --reinstall --download-only foo
 
 will fetch foo from the archive even if it's already installed.
 That's handy to know, thanks.
 

Near, it's apt-get --reinstall --download-only install foo.


Andrea


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]