| Linode Forum https://forum.linode.com/ |
|
| can't apt-get update my ubuntu server https://forum.linode.com/viewtopic.php?f=19&t=7929 |
Page 1 of 1 |
| Author: | knight [ Tue Oct 18, 2011 1:44 am ] |
| Post subject: | can't apt-get update my ubuntu server |
it seem like suddenly happen , I m still quite new on this server admin, anyone can help on this ? Code: knight@press~ $ sudo aptitude update |
|
| Author: | advocatux [ Tue Oct 18, 2011 5:00 am ] |
| Post subject: | |
It seems someone has messed up Ubuntu servers so you'll have to wait. There are new directories (created today October 18th) pointing to nothing, v.g. http://us.archive.ubuntu.com/ubuntu/ubu ... tu/ubuntu/ or http://security.ubuntu.com/ubuntu/ubunt ... tu/ubuntu/ I suppose admins will fix that asap. |
|
| Author: | knight [ Sun Oct 23, 2011 10:55 am ] |
| Post subject: | |
seem like still having problem , anyone solve this ? |
|
| Author: | hawk7000 [ Sun Oct 23, 2011 11:09 am ] |
| Post subject: | |
Track down which repository it is that is sending the bad response back. I suspect it's probably not one of the official ubuntu ones but something else that you have put in there(?)... |
|
| Author: | Piki [ Sun Oct 23, 2011 12:07 pm ] |
| Post subject: | |
Doing a ping to security,ubuntu.com, us.archive.ubuntu.com, and ppa.launchpad.net (which are the three servers I'm seeing) was successful: Code: root@debian:~# ping -c ppa.launchpad.net More likely a missing directory or repository data. Best to check which one and send in a bug report to either Launchpad or Ubuntu. |
|
| Author: | knight [ Sun Oct 23, 2011 7:37 pm ] |
| Post subject: | |
I m using the default source list and the only additional ppa i added is for nginx, i have remove nginx ppa and test again still giving me the same error. I have try to follow some instruction cleaning the source cache and re do the apt-get update, still no luck ... |
|
| Author: | Piki [ Sun Oct 23, 2011 8:07 pm ] |
| Post subject: | |
Like I said, one of the repos probably has a missing directory or repodata. |
|
| Author: | knight [ Sun Oct 23, 2011 8:15 pm ] |
| Post subject: | |
hi Piki, maybe can show me whats the correct way to debug this ? comment out each line in sources.list clean up the cache ( a must ? or optional? ) apt-get update to see does it still get the error ? |
|
| Author: | Piki [ Sun Oct 23, 2011 8:41 pm ] |
| Post subject: | |
Open /etc/apt/sources.list for editing. Place a hash mark '#' in front of all lines except for one repository line, and save. The hash mark will "comment out" those lines, meaning that apt will ignore them. Do an "apt-get update". If it works, open /etc/apt-sources.list, un-comment (remove the # mark), save, and do an "apt-get update". Re-comment any lines that seem to give you the error and keep testing each line one by one. Once you have re-enabled all the working repos, go back through your /etc/apt/sources.list and go to whoever runs the broken repos to report that those are broken (remember to include the lines that are giving you the errors). |
|
| Author: | mnordhoff [ Tue Oct 25, 2011 3:29 am ] |
| Post subject: | |
You should check for files in the directory /etc/apt/sources.list.d too. |
|
| Author: | Piki [ Tue Oct 25, 2011 9:44 am ] |
| Post subject: | |
mnordhoff wrote: You should check for files in the directory /etc/apt/sources.list.d too.
Forgot about that |
|
| Author: | knight [ Tue Oct 25, 2011 10:21 am ] |
| Post subject: | |
i have comment out 2 by 2 , no luck still getting the same error |
|
| Author: | mnordhoff [ Tue Oct 25, 2011 10:42 am ] |
| Post subject: | |
Apt *could* be configured to use a proxy, I suppose. I'm not sure the best way to check if it is, though; recursive grep for http on /etc/apt? |
|
| Author: | hoopycat [ Tue Oct 25, 2011 7:16 pm ] |
| Post subject: | |
apt-config is probably the easiest way to get that. From my home machine, Code: $ apt-config dump Pasting the entire output of "apt-config dump" here might be a good idea, just in case it's something really whack. |
|
| Author: | knight [ Tue Oct 25, 2011 7:36 pm ] |
| Post subject: | |
my apt-config dump Code: knight@press~ $ apt-config dump |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|