View Single Post
zxcvbnm3230's Avatar
Posts: 132 | Thanked: 224 times | Joined on Dec 2013
#51
Bumping this thread, because it seems i need a mirror for download.maemo.nokia.com... btw do I really need it?
here I want to install gcc
Code:
 # apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils cpp cpp-4.4 gcc-4.4 libgmp3c2 libgomp1 libmpfr1ldbl
Suggested packages:
  binutils-doc cpp-doc gcc-4.4-locales gcc-multilib manpages-dev autoconf
  automake1.9 libtool flex bison gdb gcc-doc libmudflap0-4.4-dev gcc-4.4-doc
  libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7
Recommended packages:
  libc6-dev libc-dev
The following NEW packages will be installed
  binutils cpp cpp-4.4 gcc gcc-4.4 libgmp3c2 libgomp1 libmpfr1ldbl
0 upgraded, 8 newly installed, 0 to remove and 6 not upgraded.
Need to get 8,279kB of archives.
After this operation, 21.2MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libmpfr1ldbl cpp-4.4 cpp libgomp1 gcc-4.4 gcc
Install these packages without verification [y/N]? y
Get: 1 http://mirror.thecust.net harmattan/sdk/free libmpfr1ldbl 2.4.1-0maemo4+0m6 [422kB]
Get: 2 http://mirror.thecust.net harmattan/sdk/free cpp-4.4 4.4.1-0maemo14+0m6 [3,844kB]
Get: 3 http://mirror.thecust.net harmattan/sdk/free cpp 4:4.4.1-5-0maemo1 [14.9kB]
Get: 4 http://mirror.thecust.net harmattan/sdk/free libgomp1 4.4.1-0maemo14+0m6 [25.1kB]
Get: 5 http://mirror.thecust.net harmattan/sdk/free gcc-4.4 4.4.1-0maemo14+0m6 [515kB]
Get: 6 http://mirror.thecust.net harmattan/sdk/free gcc 4:4.4.1-5-0maemo1 [4,960B]
Err https://downloads.maemo.nokia.com ./ binutils 2.19.51.20090709-0maemo10+0m6
  Resolving host timed out: downloads.maemo.nokia.com
Err https://downloads.maemo.nokia.com ./ libgmp3c2 2:4.3.2+dfsg-1+maemo5+0m6
  Resolving host timed out: downloads.maemo.nokia.com
Fetched 4,826kB in 29s (164kB/s)
Failed to fetch https://qa9recEP:Pat2UGuP@downloads.maemo.nokia.com/harmattan/tools/./binutils_2.19.51.20090709-0maemo10+0m6_armel.deb  Resolving host timed out: downloads.maemo.nokia.com
Failed to fetch https://qa9recEP:Pat2UGuP@downloads.maemo.nokia.com/harmattan/apps/./libgmp3c2_4.3.2+dfsg-1+maemo5+0m6_armel.deb  Resolving host timed out: downloads.maemo.nokia.com
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Well, then I go to http://wiki.maemo.org/Apt-mirror and try to get apt-mirror installed

Code:
 # apt-get install apt-mirror
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  apt-mirror
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 16.4kB of archives.
After this operation, 131kB of additional disk space will be used.
Get: 1 http://harmattan.openrepos.net personal/main apt-mirror 0.4.8-6 [16.4kB]
Fetched 16.4kB in 10s (1,566B/s)
Selecting previously deselected package apt-mirror.
(Reading database ... 55214 files and directories currently installed.)
Unpacking apt-mirror (from .../apt-mirror_0.4.8-6_all.deb) ...
aegis-installing apt-mirror (from '')
Setting up apt-mirror (0.4.8-6) ...
chage: the shadow password file is not present
/usr/bin/chage failed with return code 15, shadow not enabled, password aging cannot be set. Continuing.
chown: /var/spool/apt-mirror: Operation not permitted
dpkg: error processing apt-mirror (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 apt-mirror
Updating desktop entries... Done
E: Sub-process /usr/bin/dpkg returned an error code (1)
I just can't really get these errors. I mean, I don't even know what to do with all of these.