Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

apt-get source linux-image-$(uname -r)

gives me the below error

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Picking 'linux' as source package instead of 'linux-image-3.0.0-12-generic'
NOTICE: 'linux' packaging is maintained in the 'Git' version control system at:
http://kernel.ubuntu.com/git-repos/ubuntu/ubuntu-oneiric.git
Skipping already downloaded file 'linux_3.0.0-17.30.dsc'
Need to get 99.9 MB of source archives.
Err http://pk.archive.ubuntu.com/ubuntu/ oneiric-updates/main linux 3.0.0-17.30 (tar)
  500  ( The request was rejected by the HTTP filter. Contact your ISA Server administrator.  )
Err http://pk.archive.ubuntu.com/ubuntu/ oneiric-updates/main linux 3.0.0-17.30 (diff)
  500  ( The request was rejected by the HTTP filter. Contact your ISA Server administrator.  )
Failed to fetch http://pk.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux_3.0.0.orig.tar.gz  500  ( The request was rejected by the HTTP filter. Contact your ISA Server administratorThe request was rejected by the HTTP filter. Contact your ISA Server administrator.  )
Failed to fetch http://pk.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux_3.0.0-17.30.diff.gz  500  ( The request was rejected by the HTTP filter. Contact your ISA Server administrator.  )
E: Failed to fetch some archives.

Can someone suggest a solution?

share|improve this question
    
looks like a network problem to me –  hbdgaf Apr 10 '12 at 11:54
    
How can we verify it? –  MA1 Apr 10 '12 at 12:28
add comment

1 Answer 1

up vote 4 down vote accepted

Your Microsoft ISA server is blocking access to the .gz packages.

The request was rejected by the HTTP filter. Contact your ISA Server administrator.

If you're not administering the network, you should bring this up at your administrator to make the server allow this traffic.

share|improve this answer
    
I also suspected this but admin is saying that they have done nothing...not blocking anything. Is there anyway to verify that problem is really with network means our ISA server is blocking the request? –  MA1 Apr 10 '12 at 12:22
    
Well, there should be logs in your ISA server that contain entries about the rejection. On the other hand apt does not really know about „ISA”, it is the server that is sending the message. –  lgarzo Apr 10 '12 at 12:29
    
The only solution i see is to run the command on a "live ip" bypassing the local network server. After then picture will be more clear. –  MA1 Apr 10 '12 at 12:35
    
Verified. Just run the command on "live ip" and its working with no issues. Problem is definitely with local ISA Server. –  MA1 Apr 10 '12 at 12:45
    
You can prove to them that ISA server is blocking ports by showing them that output, it's the ISA server providing that message and it's clear as day that the server is the problem in this case. Perhaps it was an admin who has since left that configured that firewall rule, you never know. –  Jeff Welling Apr 10 '12 at 14:51
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.