forums.xandros.com Forum Index forums.xandros.com
Xandros User Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

apt-get error
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Console
View previous topic :: View next topic  
Author Message
KrGAce
Xplorer


Joined: 15 Jul 2006
Posts: 24
Location: Vermont

PostPosted: Wed Jul 19, 2006 2:14 pm    Post subject: Reply with quote

pitheris wrote:
entdiablo wrote:
That's all that supposed to be there, from what I understand.


You don't really need anything in apt.conf, but you can add some options.
A sample apt.conf file here:
http://qref.sourceforge.net/Debian/reference/examples/apt.conf



I tried putting that in there, and still nothing. I have even done a full re-install as the box product came today (I was using the cd's I downloaded thinking there was something perhaps wrong with them) when completed, I ran apt-get update and I still get network time out issues.

I am stumped!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Arne Anka
Xanspiration
Xanspiration


Joined: 21 Mar 2004
Posts: 4186
Location: Stockholm, Sweden

PostPosted: Wed Jul 19, 2006 3:15 pm    Post subject: Reply with quote

Are you able to use internet at all (e.g. browsing with Firefox, reading e-mail etc.) ?

If you are behind a proxy, there are two methods to use to configure APT to work:

The first method requires edit of /etc/apt/apt.conf (as previously suggested) and add of

Code:

Acquire::http::Proxy "uri";
Acquire::ftp::Proxy "uri";


where uri is on the form http://[[user][:pass]@]host[:port] or ftp://[[user][:pass]@]host[:port] depending on how your proxy is setup.

The other method requires edit of /etc/profile and add of

Code:

export http_proxy=uri
export ftp_proxy=uri


at end of the file. The uri in /etc/profile has same form as in /etc/apt/apt.conf.

The latter method is more generic in that it works with lot of application such as ftp, lynx etc.

I have used both methods at work where I am behind a proxy and both works equally well.

Other than that you have to check out your firewall setting or how your proxy server is configured a second time (contact your admin or ISP if required). You may also try to disable the firewall for instance if possible.
Back to top
View user's profile Send private message
geekydude
Xandrosianschwing


Joined: 29 May 2005
Posts: 2513
Location: Portland, OR

PostPosted: Wed Jul 19, 2006 3:52 pm    Post subject: Reply with quote

Al of this troubleshoting of the firewall is great, but we still haven't determined the firewall IS the issue yet... Confused

Why not just disable the firewall to see if it works, then troubleshoot the firewall if it is?

You should be able to open the security suite and disable it.

I'd be curious if that advances our knowledge of the situation, so please post back if you tried it and what happened. Smile
_________________
geekydude
registered Linux user number 410045.

The source will be with you...always....
Back to top
View user's profile Send private message Send e-mail Visit poster's website
pitheris
Xandrosian
Xandrosian


Joined: 07 Mar 2006
Posts: 202
Location: USA

PostPosted: Wed Jul 19, 2006 4:28 pm    Post subject: Reply with quote

geekydude wrote:

Why not just disable the firewall to see if it works, then troubleshoot the firewall if it is?


I'd be curious if that advances our knowledge of the situation, so please post back if you tried it and what happened. Smile


BTW was there a lock file?
Back to top
View user's profile Send private message
KrGAce
Xplorer


Joined: 15 Jul 2006
Posts: 24
Location: Vermont

PostPosted: Wed Jul 19, 2006 6:12 pm    Post subject: Reply with quote

Yes I can get the Internet and Email

Yes there was a lock file and it was 0, and I did what you said.

I can surf, read email, and XN tells me there are no updates.


AceMan
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TGBaker
Xandrosianding
Xandrosianding


Joined: 15 Nov 2004
Posts: 545
Location: St. Simons Island, GA

PostPosted: Wed Jul 19, 2006 8:19 pm    Post subject: Reply with quote

I've reproduced the problem simply by adding the repositories KrGAce intially listed. The statement about resource must mean the repository. Therefore how do we edit the repository list?
_________________
"You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Arne Anka
Xanspiration
Xanspiration


Joined: 21 Mar 2004
Posts: 4186
Location: Stockholm, Sweden

PostPosted: Wed Jul 19, 2006 8:26 pm    Post subject: Reply with quote

TGBaker

The www.archlug.org repositories seem to be down at the moment. Those can be disabled either in XN or simply by editing /etc/apt/sources.list and set a # char in front of each archlug repository.
Back to top
View user's profile Send private message
TGBaker
Xandrosianding
Xandrosianding


Joined: 15 Nov 2004
Posts: 545
Location: St. Simons Island, GA

PostPosted: Wed Jul 19, 2006 8:48 pm    Post subject: Reply with quote

Arne Anka wrote:
TGBaker

The www.archlug.org repositories seem to be down at the moment. Those can be disabled either in XN or simply by editing /etc/apt/sources.list and set a # char in front of each archlug repository.


Thanks Arne I was looking at /var/lib/apt/lists from the error message. The repository it was stopping on for me was 4 non-free!! I don't have an /etc/apt/sources.list. All I have is /etc/apt/apt.conf.d which reads:

// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};

EDITED I removed the references to the non-free repositories and XN worked again. An apt-get update got me this however:


Hit http://xnv4.xandros.com xandros4.0-xn/main Packages
Ign http://xnv4.xandros.com xandros4.0-xn/main Release
Hit http://xnv4.xandros.com xandros4.0-xn/contrib Packages
Ign http://xnv4.xandros.com xandros4.0-xn/contrib Release
Err http://xnv4.xandros.com xandros4.0-xn/non-free Packages
416 Requested Range Not Satisfiable [IP: 64.40.114.226 80]
Ign http://xnv4.xandros.com xandros4.0-xn/non-free Release
Hit http://xnv4.xandros.com unsupported4.0-xn/main Packages
Hit http://xnv4.xandros.com unsupported4.0-xn/main Release
Hit http://xnv4.xandros.com unsupported4.0-xn/contrib Packages
Hit http://xnv4.xandros.com unsupported4.0-xn/contrib Release
Hit http://xnv4.xandros.com unsupported4.0-xn/non-free Packages
Hit http://xnv4.xandros.com unsupported4.0-xn/non-free Release
Failed to fetch http://xnv4.xandros.com/4.0/pkg/dists/xandros4.0-xn/non-free/binary-i386/Packages.gz 416 Requested Range Not Satisfiable [IP: 64.40.114.226 80]
Reading Package Lists... Done
W: Couldn't stat source package list http://xnv4.xandros.com xandros4.0-xn/non-free Packages (/var/lib/apt/lists/xnv4.xandros.com_4.0_pkg_dists_xandros4.0-xn_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.

By deselecting Xandros distribution site running XN and then reselecting it XN was back to normal and the error message was gone. I guess I tend to use the shotgun method Embarassed
_________________
"You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa


Last edited by TGBaker on Wed Jul 19, 2006 9:03 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Arne Anka
Xanspiration
Xanspiration


Joined: 21 Mar 2004
Posts: 4186
Location: Stockholm, Sweden

PostPosted: Wed Jul 19, 2006 9:01 pm    Post subject: Reply with quote

TGBaker wrote:

The repository it was stopping on for me was 4 non-free!! I don't have an /etc/apt/sources.list. All I have is /etc/apt/apt.conf.d which reads:


That's strange. In XN, whenever you alter Edit|Set Application Sources ..., that file is updated. From a console, execute

ls -l /etc/apt/sources.list

and see what it says.
Back to top
View user's profile Send private message
TGBaker
Xandrosianding
Xandrosianding


Joined: 15 Nov 2004
Posts: 545
Location: St. Simons Island, GA

PostPosted: Wed Jul 19, 2006 9:08 pm    Post subject: Reply with quote

Arne Anka wrote:
TGBaker wrote:

The repository it was stopping on for me was 4 non-free!! I don't have an /etc/apt/sources.list. All I have is /etc/apt/apt.conf.d which reads:


That's strange. In XN, whenever you alter Edit|Set Application Sources ..., that file is updated. From a console, execute

ls -l /etc/apt/sources.list

and see what it says.


You suppose it disappeared from whatever the lockup was. Because I now have a source.list a source.list~ and an apt.conf which were not there until I did whatever I did!!! Question Question Question Shocked
_________________
"You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
geekydude
Xandrosianschwing


Joined: 29 May 2005
Posts: 2513
Location: Portland, OR

PostPosted: Wed Jul 19, 2006 9:18 pm    Post subject: Reply with quote

Interesting...

I was starting to feel guilty for providing those excelent repositories, but I'm glad it doesn't seem to be that at all. Confused

Anyone contact Xandros for the latest word as to whether or not there's an issue they are aware of?
_________________
geekydude
registered Linux user number 410045.

The source will be with you...always....
Back to top
View user's profile Send private message Send e-mail Visit poster's website
geekydude
Xandrosianschwing


Joined: 29 May 2005
Posts: 2513
Location: Portland, OR

PostPosted: Wed Jul 19, 2006 9:20 pm    Post subject: Reply with quote

TGBaker wrote:
Arne Anka wrote:
TGBaker wrote:

The repository it was stopping on for me was 4 non-free!! I don't have an /etc/apt/sources.list. All I have is /etc/apt/apt.conf.d which reads:


That's strange. In XN, whenever you alter Edit|Set Application Sources ..., that file is updated. From a console, execute

ls -l /etc/apt/sources.list

and see what it says.


You suppose it disappeared from whatever the lockup was. Because I now have a source.list a source.list~ and an apt.conf which were not there until I did whatever I did!!! Question Question Question Shocked


BTW...

I've come to learn that Giraffes with with whipped cream are pretty good at navigating wormholes... Shocked Wink Laughing
_________________
geekydude
registered Linux user number 410045.

The source will be with you...always....
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Arne Anka
Xanspiration
Xanspiration


Joined: 21 Mar 2004
Posts: 4186
Location: Stockholm, Sweden

PostPosted: Wed Jul 19, 2006 9:24 pm    Post subject: Reply with quote

geekydude wrote:

Anyone contact Xandros for the latest word as to whether or not there's an issue they are aware of?


Which issue do you mean ?
Back to top
View user's profile Send private message
geekydude
Xandrosianschwing


Joined: 29 May 2005
Posts: 2513
Location: Portland, OR

PostPosted: Wed Jul 19, 2006 9:32 pm    Post subject: Reply with quote

Arne Anka wrote:
geekydude wrote:

Anyone contact Xandros for the latest word as to whether or not there's an issue they are aware of?


Which issue do you mean ?


Sorry...I was thinking out loud with my fingertips! Embarassed

I was thinking about the issue with the repositories not responding in the above posts...
_________________
geekydude
registered Linux user number 410045.

The source will be with you...always....
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KrGAce
Xplorer


Joined: 15 Jul 2006
Posts: 24
Location: Vermont

PostPosted: Wed Jul 19, 2006 10:19 pm    Post subject: Reply with quote

So....? After all of this it doesn't turn out to be me afterall? Oh my head! Smile





AceMan
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Console All times are GMT - 5 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group