Problem with apk upgrade

3 posts / 0 new
Last post
#1 Thu, 2013-10-03 12:31
hello_world
  • hello_world's picture
  • Offline
  • Last seen: 4 years 5 months ago
  • Joined: 2013-10-03

Hi,
Alpine installed and want to do apk update and apk upgrade

alpinevm:~# apk update
WARNING: Ignoring /media/apks/x86/APKINDEX.tar.gz: No such file or directory
fetch http://mirror1.hs-esslingen.de/pub/Mirrors/alpine/v2.6/main/x86/APKINDEX.tar.gz
fetch http://dl-5.alpinelinux.org/alpine/v2.6/main/x86/APKINDEX.tar.gz
main v2.6.5-2-gf1e6131 [http://mirror1.hs-esslingen.de/pub/Mirrors/alpine/v2.6/main]
main v2.6.5-2-gf1e6131 [http://dl-5.alpinelinux.org/alpine/v2.6/main]
OK: 3957 distinct packages available

alpinevm:~# apk upgrade
WARNING: Ignoring /media/apks/x86/APKINDEX.tar.gz: No such file or directory
OK: 152 MiB in 34 packages

My file repository is:
alpinevm:~# cat /etc/apk/repositories
/media/apks
http://mirror1.hs-esslingen.de/pub/Mirrors/alpine/v2.6/main
#http://mirror1.hs-esslingen.de/pub/Mirrors/alpine/v2.6/testing

http://dl-5.alpinelinux.org/alpine/v2.6/main
#http://dl-5.alpinelinux.org/alpine/v2.6/testing

alpinevm:~# ls -l /media/apks/x86/
total 0

Regards

Fri, 2013-10-04 19:24
shafire
  • shafire's picture
  • Offline
  • Last seen: 2 years 7 months ago
  • Joined: 2013-08-06

Comment the first line in your /etc/apk/repositories.

/media/apks
to
#/media/apks
Thanks for using the hs-esslingen.de mirror.

Mon, 2013-10-07 16:42
hello_world
  • hello_world's picture
  • Offline
  • Last seen: 4 years 5 months ago
  • Joined: 2013-10-03

Thanks,super helped

Log in or register to post comments