Apt-get zoekt naar verkeerde versies van deb files

Pagina: 1
Acties:
  • 290 views

Acties:
  • 0 Henk 'm!

  • technorabilia
  • Registratie: November 2006
  • Laatst online: 02-10 11:07
Edit:
Het probleem is dus eigenlijk dat steeds naar de file *1*.deb i.p.v. *2*.deb wordt gezocht.
Hoe kan ik dit omzetten?


Ik wil graag libgtk2.0-bin installeren maar krijg een melding dat een aantal files niet beschikbaar zijn.

Het gaat om het build file system voor Raspbmc @ http://www.raspbmc.com/wiki/technical/build-filesystem/.

Bijvoorbeeld:
http://ftp.us.debian.org/...-common_2.24.10-1_all.deb

Als ik op http://ftp.us.debian.org/debian/pool/main/g/gtk+2.0 kijken dan zie ik daar inderdaad een ander versie nummer staan:

http://ftp.us.debian.org/...-common_2.24.10-2_all.deb

Hoe kan ik ervoor zorgen dat naar de files *2*.deb i.p.v. *1*.deb wordt gezocht?

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
root@ubuntu:/xbmc-rbp# make install
Copying XBMC binary to /opt/xbmc-bcm/xbmc-bin/lib/xbmc/xbmc.bin
You can run XBMC with the command 'xbmc'
Copying support and legal files...                                             
Done!
Copying system files to /opt/xbmc-bcm/xbmc-bin/share/xbmc
/bin/bash: gtk-update-icon-cache: command not found                            
root@ubuntu:/xbmc-rbp# find / -name gtk-update-icon-cache
root@ubuntu:/xbmc-rbp# cat /etc/apt/sources.list
# /etc/apt/sources.list
deb http://ftp.us.debian.org/debian wheezy main
root@ubuntu:/xbmc-rbp# apt-get install libgtk2.0-bin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  fontconfig fontconfig-config hicolor-icon-theme libatk1.0-0 libatk1.0-data
  libcairo2 libcups2 libdatrie1 libfontconfig1 libgdk-pixbuf2.0-0
  libgdk-pixbuf2.0-common libgtk2.0-0 libgtk2.0-common libjasper1
  libpango1.0-0 libpixman-1-0 libthai-data libthai0 libxcb-render0 libxcb-shm0
  libxcomposite1 libxcursor1 libxft2 libxinerama1 libxrandr2 libxrender1
  ttf-dejavu-core
Suggested packages:
  cups-common librsvg2-common gvfs libjasper-runtime ttf-baekmuk
  ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp
  ttf-arphic-bkai00mp
The following NEW packages will be installed:
  fontconfig fontconfig-config hicolor-icon-theme libatk1.0-0 libatk1.0-data
  libcairo2 libcups2 libdatrie1 libfontconfig1 libgdk-pixbuf2.0-0
  libgdk-pixbuf2.0-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common
  libjasper1 libpango1.0-0 libpixman-1-0 libthai-data libthai0 libxcb-render0
  libxcb-shm0 libxcomposite1 libxcursor1 libxft2 libxinerama1 libxrandr2
  libxrender1 ttf-dejavu-core
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.8 MB/16.3 MB of archives.
After this operation, 45.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libatk1.0-data libatk1.0-0 ttf-dejavu-core fontconfig-config libfontconfig1
  libpixman-1-0 libxcb-render0 libxcb-shm0 libxrender1 libcairo2 libcups2
  libdatrie1 libjasper1 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-0
  libgtk2.0-common libthai-data libthai0 libxft2 fontconfig libpango1.0-0
  libxcomposite1 libxcursor1 libxinerama1 libxrandr2 libgtk2.0-0
  hicolor-icon-theme libgtk2.0-bin
Install these packages without verification [y/N]? y
Err http://ftp.us.debian.org/debian/ wheezy/main ttf-dejavu-core all 2.33-2
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org/debian/ wheezy/main fontconfig-config all 2.9.0-6
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org/debian/ wheezy/main libfontconfig1 i386 2.9.0-6
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org/debian/ wheezy/main libgtk2.0-common all 2.24.10-1
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org/debian/ wheezy/main libthai-data all 0.1.18-1
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org/debian/ wheezy/main libthai0 i386 0.1.18-1
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org/debian/ wheezy/main fontconfig i386 2.9.0-6
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org/debian/ wheezy/main libgtk2.0-0 i386 2.24.10-1
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org/debian/ wheezy/main libgtk2.0-bin i386 2.24.10-1
  404  Not Found [IP: 64.50.233.100 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/t/ttf-dejavu/ttf-dejavu-core_2.33-2_all.deb  404  Not Found [IP: 64.50.233.100 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/f/fontconfig/fontconfig-config_2.9.0-6_all.deb  404  Not Found [IP: 64.50.233.100 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/f/fontconfig/libfontconfig1_2.9.0-6_i386.deb  404  Not Found [IP: 64.50.233.100 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gtk+2.0/libgtk2.0-common_2.24.10-1_all.deb  404  Not Found [IP: 64.50.233.100 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/libt/libthai/libthai-data_0.1.18-1_all.deb  404  Not Found [IP: 64.50.233.100 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/libt/libthai/libthai0_0.1.18-1_i386.deb  404  Not Found [IP: 64.50.233.100 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/f/fontconfig/fontconfig_2.9.0-6_i386.deb  404  Not Found [IP: 64.50.233.100 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gtk+2.0/libgtk2.0-0_2.24.10-1_i386.deb  404  Not Found [IP: 64.50.233.100 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gtk+2.0/libgtk2.0-bin_2.24.10-1_i386.deb  404  Not Found [IP: 64.50.233.100 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@ubuntu:/xbmc-rbp#

👉🏻 Blog 👈🏻


Acties:
  • 0 Henk 'm!

  • Exhar
  • Registratie: Februari 2007
  • Niet online
Eerst `apt-get update` draaien, dan pas `apt-get install [...]` :)

Acties:
  • 0 Henk 'm!

  • technorabilia
  • Registratie: November 2006
  • Laatst online: 02-10 11:07
Thanks! Dat was het...

Ik had na deze post al de sources.txt aangepast en hierna een apt-get update gedaan en toen werkte het maar ik wist niet helemaal zeker of alleen een apt-get update genoeg was geweest...

[ Voor 82% gewijzigd door technorabilia op 02-09-2012 20:22 ]

👉🏻 Blog 👈🏻


Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 23:03

Hero of Time

Moderator LNX

There is only one Legend

Deze vraag was eenvoudig te beantwoorden als je de documentatie van de package manager had gelezen. Ook Google had je het antwoord binnen luttele seconden kunnen geven.

Als je met Linux gaat werken, verwachten wij dat je weet hoe een package manager werkt en hoe je ermee omgaat. Omdat dit topic met een beetje kennis daarvan overbodig is, gaat het op slot.

Ben je het er niet mee eens, dan kan je dat kwijt in Oneens met de actie van een moderator? Post het hier.

Commandline FTW | Tweakt met mate


Dit topic is gesloten.