"302 Moved Temporarily" Repository down?

Discussions related to using VirtualBox on Linux hosts.

"302 Moved Temporarily" Repository down?

Postby DaGoodBoy » 4. Mar 2010, 17:22

Trying to upgrade this morning and seeing this after running apt-get upgrade:

Err http://download.virtualbox.org lenny/non-free virtualbox-3.1 3.1.4-57640_Debian_lenny
302 Moved Temporarily

The package download is redirecting to:

http://dlc-cdn.sun.com/virtualbox/debia ... y_i386.deb

This kind of redirection is considered a security issue and is not followed by apt. Please fix this!

Tony
DaGoodBoy
 
Posts: 2
Joined: 5. Nov 2009, 22:25
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Linux, Windows

Re: "302 Moved Temporarily" Repository down?

Postby sonicmasters » 5. Mar 2010, 00:16

Same problem here!
Can anybody help?

Err http://download.virtualbox.org lenny/non-free virtualbox-3.1 3.1.4-57640_Debian_lenny 302 Moved Temporarily
Failed to fetch http://download.virtualbox.org/virtualb ... y_i386.deb 302 Moved Temporarily
sonicmasters
 
Posts: 2
Joined: 5. Mar 2010, 00:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Win Xp Pro

Re: "302 Moved Temporarily" Repository down?

Postby ahbei7Yu » 5. Mar 2010, 10:39

Same problem with Debian Lenny (AMD64)!

It's OK when apt-updating (deb http://download.virtualbox.org/virtualbox/debian lenny non-free), but fails with "302 Moved Temporarily" when trying to apt-upgrade.
ahbei7Yu
 
Posts: 1
Joined: 5. Mar 2010, 10:31
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Windows XP x64, Debian testing, Ubuntu

Re: "302 Moved Temporarily" Repository down?

Postby grep » 5. Mar 2010, 23:29

I'm sure "me-too" posts are discouraged but I was attempting a new install of virtualbox-3.1.4 via apt on Ubuntu 8.10 x64 for a new deployment and ran into this as well:

Failed to fetch http://download.virtualbox.org/virtualb ... _amd64.deb 302 Moved Temporarily


Anyone aware of why this redirect was done or what can be done to apt to follow the redirect?

EDIT

According to https://bugs.launchpad.net/debian/+sour ... +bug/18645, apt not following HTTP redirects was considered a "bug" for years and was recently fixed in 0.7.20. Of course, I'm running 0.7.14 in Ubuntu 8.10.

EDIT #2

As a work around, I used aptitude to install VirtualBox 3.1.4 from the repositories. It installs everything but the main program which is being 302 redirected:

aptitude install virtualbox-3.1

Then I manually downloaded the main VirtualBox deb using wget and installed it using dpkg:

wget http://download.virtualbox.org/virtualb ... _amd64.deb
dpkg -i virtualbox-3.1_3.1.4-57640_Ubuntu_intrepid_amd64.deb

--

I guess this "workaround" isn't specific to a VirtualBox install but I hope this helps someone.
grep
 
Posts: 2
Joined: 5. Mar 2010, 23:25
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Ubuntu

Re: "302 Moved Temporarily" Repository down?

Postby schtebo » 6. Mar 2010, 12:32

schtebo
 
Posts: 25
Joined: 11. Apr 2009, 12:16
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: windows 7/xp, debian lenny / ubuntu lucidlynx

Re: "302 Moved Temporarily" Repository down?

Postby sonicmasters » 6. Mar 2010, 15:27

Failed to fetch http://download.virtualbox.org/virtualb ... _amd64.deb 302 Moved Temporarily


Anyone aware of why this redirect was done or what can be done to apt to follow the redirect?

EDIT

According to https://bugs.launchpad.net/debian/+sour ... +bug/18645, apt not following HTTP redirects was considered a "bug" for years and was recently fixed in 0.7.20. Of course, I'm running 0.7.14 in Ubuntu 8.10.

I guess this "workaround" isn't specific to a VirtualBox install but I hope this helps someone.



Thank you for your help!=)

Shure its work if uninstall and setup manualy

1.apt-get remove virtualbox-(your version of Virtualbox cernel)
2.wget http://download.virtualbox.org/virtualb ... y_i386.deb (or any other builds)
3.dpkg -i /path-to/virtualbox-3.1_3.1.4-57640_Ubuntu_hardy_i386.deb (or any other builds)
sonicmasters
 
Posts: 2
Joined: 5. Mar 2010, 00:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Win Xp Pro

Re: "302 Moved Temporarily" Repository down?

Postby stkris » 12. Mar 2010, 23:47

It's now been 8 days and I still have no virtualbox.

Code: Select all   Expand viewCollapse view
Err http://download.virtualbox.org lenny/non-free virtualbox-3.1 3.1.4-57640_Debian_lenny
  302 Moved Temporarily
E: Failed to fetch http://download.virtualbox.org/virtualbox/debian/pool/non-free/v/virtualbox-3.1/virtualbox-3.1_3.1.4-57640_Debian_lenny_i386.deb: 302 Moved Temporarily


So I thougth I could go back to 3.0 in the meantime, but alas:

Code: Select all   Expand viewCollapse view
Err http://download.virtualbox.org lenny/non-free virtualbox-3.0 3.0.12-54655_Debian_lenny
  302 Moved Temporarily
E: Failed to fetch http://download.virtualbox.org/virtualbox/debian/pool/non-free/v/virtualbox-3.0/virtualbox-3.0_3.0.12-54655_Debian_lenny_i386.deb: 302 Moved Temporarily


Any other trustworthy place to get it? Or a dummies guide to VMWare? :twisted:

I know this one, but what about a debian repo?
http://www.virtualbox.org/wiki/Linux_Downloads
stkris
 
Posts: 27
Joined: 21. Mar 2009, 00:17
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Win XP

Re: "302 Moved Temporarily" Repository down?

Postby Perryg » 13. Mar 2010, 00:06

Here is the direct download from VirtualBox for the PUEL version. http://download.virtualbox.org/virtualbox/3.1.4/
If you are using the OSE version the problem is with your OSs repo
Download direct and install locally for PUEL users. If you decide to install the PUEL version be aware that you MUST uninstall your OSE version first and you should backup the entire .VirtualBox folder and files to be safe.
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: "302 Moved Temporarily" Repository down?

Postby drrk » 15. Mar 2010, 15:18

That not a helpful post, the problem is in the Official VirtualBox repository, for the PUEL license. Suggesting that people just download the package will indeed allow you to install it, but then you will not benefit from the managed upgrades that using the repository provides. Could this please be fixed correctly.
drrk
 
Posts: 2
Joined: 15. Mar 2010, 13:42
Primary OS: Debian Lenny
VBox Version: PUEL
Guest OSses: Windows

Re: "302 Moved Temporarily" Repository down?

Postby Perryg » 15. Mar 2010, 15:31

drrk wrote:That not a helpful post, the problem is in the Official VirtualBox repository, for the PUEL license. Suggesting that people just download the package will indeed allow you to install it, but then you will not benefit from the managed upgrades that using the repository provides. Could this please be fixed correctly.


Sure. Contact Debian and tell them to fix it.
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: "302 Moved Temporarily" Repository down?

Postby stkris » 15. Mar 2010, 16:47

Perryg wrote:Sure. Contact Debian and tell them to fix it.


Seems to me it would be easier for VirtualBox to fix this URL that used to work instead of debian changing it's OS. Or just a new URL for apt that we could change to.

Code: Select all   Expand viewCollapse view
deb http://download.virtualbox.org/virtualbox/debian lenny non-free
stkris
 
Posts: 27
Joined: 21. Mar 2009, 00:17
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Win XP

Re: "302 Moved Temporarily" Repository down?

Postby Perryg » 15. Mar 2010, 20:26

Try this first to make sure that there is no corruption in apt
Code: Select all   Expand viewCollapse view
apt-get clean
apt-get update
apt-get upgrade

If that fails let me know
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: "302 Moved Temporarily" Repository down?

Postby drrk » 16. Mar 2010, 16:39

Code: Select all   Expand viewCollapse view
belmakor:~# apt-get install virtualbox-3.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  virtualbox-3.1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.0MB of archives.
After this operation, 89.2MB of additional disk space will be used.
Err http://download.virtualbox.org lenny/non-free virtualbox-3.1 3.1.4-57640_Debian_lenny
  302 Moved Temporarily
Failed to fetch http://download.virtualbox.org/virtualbox/debian/pool/non-free/v/virtualbox-3.1/virtualbox-3.1_3.1.4-57640_Debian_lenny_i386.deb  302 Moved Temporarily
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
belmakor:~#


The problem here is that apt doesn't support 302 redirects, it never has. Your repository used to work (I am doing an install here rather than an upgrade as I removed it to remove the errors on upgrades)
Why can you not revert the changes that included the redirect.

From research it seems that the next version of apt will support it, but currently it does not, and the new version will not be released until squeeze is made stable, which could be some time, so again I request you revert your changes.

Thank you
drrk
 
Posts: 2
Joined: 15. Mar 2010, 13:42
Primary OS: Debian Lenny
VBox Version: PUEL
Guest OSses: Windows

Re: "302 Moved Temporarily" Repository down?

Postby fixedwheel » 16. Mar 2010, 17:18

drrk wrote:From research it seems that the next version of apt will support it, but currently it does not, and the new version will not be released until squeeze is made stable, which could be some time,

additionally: this wont help with existing etch or lenny installs

JFTR, the virtualbox.org debian repository has already been there before sun acquired innotek... oracle, please fix it!
fixedwheel
Volunteer
 
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: "302 Moved Temporarily" Repository down?

Postby Perryg » 16. Mar 2010, 18:05

I reported the problem with full information and the DEVs are able to reproduce it now.
The problem is the version of apt in Debian and they are going to try to set the Debian repo to not redirect until the version Debian uses catches up.
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Next

Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: Google [Bot] and 34 guests