Error 404(Not found) in apt-get install 'package'
Tofloor
poster avatar
halomau
deepin
2016-08-16 15:47
Author
Hi Deepin forum.

I have a little problem with Deepin. I can't install any packages using the apt-get command neither the DeepinStore.

For example:
When I want to install Firefox I run this command:
  1. sudo apt-get install firefox
Copy the Code
I get the following error(404):
  1. Err:1 http://packages.deepin.com/deepin unstable/main amd64 firefox amd64 46.0-1
      404  Not Found [IP: 202.141.160.114 80]
    E: Fallo al obtener http://packages.deepin.com/deepin/pool/main/f/firefox/firefox_46.0-1_amd64.deb  404  Not Found [IP: 202.141.160.114 80]
Copy the Code
When I check the URL: 'http://packages.deepin.com/deepin/pool/main/f/firefox/' I can see that there is a Firefox package version 47, but there is no 46 version


I check the cache using
  1. sudo apt-cache policy firefox
Copy the Code
This is the result:
  1. firefox:
  2.   Instalados: (ninguno)
  3.   Candidato:  46.0-1
  4.   Tabla de versión:
  5.      46.0-1 500
  6.         500 http://packages.deepin.com/deepin unstable/main amd64 Packages
Copy the Code


I already run:
  1. apt-get update && apt-get clean
Copy the Code

I also change my mirrros using the Control Panel and I can't seem to install any package.
I don't know what else to do.

I need some help so I can install other packages, I can't seem to work without installing other packages.
Reply Favorite View the author
All Replies
stevex
deepin
2016-08-16 16:26
#1
Hello. Just asking: are you sure you have an internet connection?
Reply View the author
halomau
deepin
2016-08-16 16:36
#2
https://bbs.deepin.org/post/31371
Hello. Just asking: are you sure you have an internet connection?

Yes, I have an Internet connection, I use chrome to browse webpages. I also run apt-get update without errors.
Reply View the author
stevex
deepin
2016-08-16 16:50
#3
https://bbs.deepin.org/post/31371
Yes, I have an Internet connection, I use chrome to browse webpages. I also run apt-get update wit ...

Do not know why you are having that problem, but to work around it for now you could try installing synaptic package manager ( sudo apt-get install synaptic) which, after installation, will show up as one of your apps. Open it and search for firefox( I just checked and it is listed) and click on to install. Hope it works for you.
Reply View the author
halomau
deepin
2016-08-16 16:59
#4
https://bbs.deepin.org/post/31371
Do not know why you are having that problem, but to work around it for now you could try installin ...

It's weird, I installed synaptic using apt-get without problems.

But when I search for firefox it shows me the 46 version and it gets me the same error(404).
Reply View the author
stevex
deepin
2016-08-16 17:15
#5
That is strange. When I checked synaptic, Firefox 47.--- was shown(which I have installed) and all firefox language packs are listed as firefox 46.0, not as browser. Odd that yours does not show firefox 47.0. Make sure you scroll all the way up and down the firefox packages for there are many.  Only thing I can suggest is to update again and see if it helps. Maybe another forum member will be able to help. Good luck.
Reply View the author
stevex
deepin
2016-08-16 17:32
#6
One more odd thing is that I looked at the Firefox package in the Deepin Store and, while hovering on it, there was the "install" message rather the "open" message, which makes no sense since I have it installed. So, maybe its a temporary glitch with Deepin packages. Who knows?
Reply View the author
dance707
deepin
2016-08-16 19:18
#7
https://bbs.deepin.org/post/31371
One more odd thing is that I looked at the Firefox package in the Deepin Store and, while hovering o ...

I can confirm. It might be because originally Debian did not have a Firefox, so something should be corrected.
Reply View the author
dance707
deepin
2016-08-16 19:23
#8
I would make sure your using default sources list
and try :
  1. sudo apt-get autoclean
  2. sudo apt-get clean
  3. sudo apt-get update
  4. sudo apt-get dist-upgrade
Copy the Code
then try sudo apt-get install firefox
Reply View the author
halomau
deepin
2016-08-17 16:18
#9
Edited by halomau at 2016-8-17 08:20

SOLUTION:

Even though I change the mirror using the Control Panel it kept marking the same error.

I changed manually the repository. I checked [at]https://www.deepin.org/mirror.html?language=en[/at] and used the repository in sources.list:
  1. deb http://www.gtlib.gatech.edu/pub/deepin unstable non-free contrib main  
Copy the Code

After I update the repositories and I can install any package I want.

Thanks for your support. I was thinking about changind to other distro before resolving the error.
Reply View the author