apt-get update returns error - feign - 22nd Feb, 2015 12:01 AM
This error below started appearing when i run apt-get update on my xbian. I'm not really sure why and searching for the problem returned nothing useful. Can anybody point me to the right direction? Thank you.
I've pasted apt sources below.
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch mirror://apt.xbian.org/mirror.txt/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
Terminal root@xbian /etc/apt # uname -a
Linux xbian.private 3.17.7-ck2+ #3 PREEMPT Sat Jan 17 15:08:48 CET 2015 armv6l GNU/Linux
root@xbian /etc/apt # cat /etc/xbian_version
20141231-2
root@xbian /etc/apt # cat sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
root@xbian /etc/apt # cat sources.list.d/xbian.list
deb mirror://apt.xbian.org/mirror.txt stable main rpi-wheezy
RE: apt-get update returns error - IriDium - 22nd Feb, 2015 01:05 AM
Have you tried upgrading via ssh xbian-config - especially 1) Upgrading the mirrors?
RE: apt-get update returns error - feign - 22nd Feb, 2015 05:20 AM
(22nd Feb, 2015 01:05 AM)IriDium Wrote: Have you tried upgrading via ssh xbian-config - especially 1) Upgrading the mirrors?
I have, didn't help. I think that mirrors are OK but something is strange with architecture. Mine is trying to find i386 in Release file and when i check //mirrordirector.raspbian.org/raspbian/dists/wheezy/Release it has only armhf
RE: apt-get update returns error - rikardo1979 - 22nd Feb, 2015 05:41 AM
so what was you doing before this happened? your issue is very, very strange
RE: apt-get update returns error - deHakkelaar - 22nd Feb, 2015 08:50 AM
Maybe related to me having created an additional wheezy apt mirror for the amd64 architecture on the same box that hosts the xbian.dehakkelaar.nl mirror for xbian.
I symlinked some components from the xbian armhf apt mirror to the same mirror that holds the amd64 files (different root folder) so to create my own repo with only deb files that i need for private use.
Maybe some components jumped via the symlinks to the wrong spot on my xbian mirror.
Have removed the symlinks I created and in about 30 minutes from now, xbian.dehakkelaar.nl will get refreshed/resynced.
Try again please after running 'sudo apt-get clean all'?
RE: apt-get update returns error - feign - 23rd Feb, 2015 12:15 AM
Thanks for reply but it didn't help. :/
Could it be that i installed something with i386 architecture that has now dependency on those releases?
RE: apt-get update returns error - deHakkelaar - 23rd Feb, 2015 02:30 PM
My mirror now is as clean as can be.
Try play with:
dpkg --print-architecture
dpkg --print-foreign-architectures
I believe with below one you can remove arch:
dpkg --remove-architecture i386
Or add :
dpkg --add-architecture armhf
Need to do 'apt-get update' afterwards and maybe 'apt-get clean' first.
RE: apt-get update returns error - feign - 24th Feb, 2015 10:36 PM
(23rd Feb, 2015 02:30 PM)deHakkelaar Wrote: I believe with below one you can remove arch:
dpkg --remove-architecture i386
Tank you! This worked; removing i386 arch. I installed new updates and now i have this situation.
Should i do dist-upgrade or just leave it as it is?
Thank you again!
Terminal
root@xbian ~ # apt-get upgrade -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
xbian-package-config-xbmc (1.2.0-1 => 20150220-1)
xbian-package-xbmc-scripts (1.1.5 => 1.1.8)
xbian-update (20141231-2 => 20150218-1)
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@xbian ~ # apt-get dist-upgrade -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
upstart (1.6.1-1)
xbian-package-config-xbmc (20150220-1)
xbian-package-lirc (1.5.1)
xbian-package-xbmc (13.2-RLS-1419734381)
xbian-update (20150218-1)
The following NEW packages will be installed:
iptables (1.4.14-3.1)
libnfnetlink0 (1.0.0-1.1)
sysvinit (2.88dsf-41+deb7u1)
The following packages will be upgraded:
xbian-package-xbmc-scripts (1.1.5 => 1.1.8)
WARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing!
xbian-update xbian-package-lirc (due to xbian-update) upstart (due to xbian-update) xbian-package-xbmc (due to xbian-update)
1 upgraded, 3 newly installed, 5 to remove and 0 not upgraded.
Need to get 516 kB of archives. After this operation, 85.2 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
RE: apt-get update returns error - f1vefour - 24th Feb, 2015 11:32 PM
Never do dist-upgrade.
RE: apt-get update returns error - CurlyMo - 25th Feb, 2015 12:13 AM
After installing the latest xbian-update of today users will get this nice warning Lets hope it helps:
Terminal
# apt-get dist-upgrade
----------- WARNING -----------
Running 'apt-get dist-upgrade'
can break your system badly.
Are you sure you want to take
that risk?
----------- WARNING -----------
[y/n]
RE: apt-get update returns error - deHakkelaar - 25th Feb, 2015 01:21 AM
Hi Curly,
initialy i got a different warning:
Terminal root@pi2dev ~ # apt-get upgrade
The following packages will be upgraded:
xbian-update
Terminal root@pi2dev ~ # apt-get dist-upgrade
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
Only after reboot I get your warning:
Terminal root@pi2dev ~ # apt-get dist-upgrade
----------- WARNING -----------
Running 'apt-get dist-upgrade'
can break your system badly.
Are you sure you want to take
that risk?
----------- WARNING -----------
[y/n]
RE: apt-get update returns error - CurlyMo - 25th Feb, 2015 01:34 AM
After a reboot or after a re-login.
RE: apt-get update returns error - deHakkelaar - 25th Feb, 2015 03:15 AM
I did not try to re-login again.
After 'reboot', the warning changed.
RE: apt-get update returns error - feign - 26th Feb, 2015 08:46 PM
(24th Feb, 2015 11:32 PM)f1vefour Wrote: Never do dist-upgrade.
Roger that.
But my OCD part refuses to look at those kept back updates.
RE: apt-get update returns error - picard12 - 27th Feb, 2015 03:20 AM
I have this update error:
Code:
apt-get update
Err http://apt.xbian.org stable Release.gpg
Something wicked happened resolving 'apt.xbian.org:http' (-5 - No address associated with hostname)
Ign http://apt.xbian.org stable Release
Err http://mirrordirector.raspbian.org wheezy Release.gpg
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Ign http://apt.xbian.org stable/main armhf Packages/DiffIndex
Ign http://mirrordirector.raspbian.org wheezy Release
Ign http://mirrordirector.raspbian.org wheezy/main armhf Packages/DiffIndex
Ign http://mirrordirector.raspbian.org wheezy/contrib armhf Packages/DiffIndex
Ign http://mirrordirector.raspbian.org wheezy/non-free armhf Packages/DiffIndex
Ign http://mirrordirector.raspbian.org wheezy/rpi armhf Packages/DiffIndex
Err http://apt.xbian.org stable/main Translation-en_US
Something wicked happened resolving 'apt.xbian.org:http' (-5 - No address associated with hostname)
Err http://apt.xbian.org stable/main Translation-en
Something wicked happened resolving 'apt.xbian.org:http' (-5 - No address associated with hostname)
Err http://apt.xbian.org stable/main armhf Packages
Something wicked happened resolving 'apt.xbian.org:http' (-5 - No address associated with hostname)
Ign mirror://apt.xbian.org stable Release.gpg
Ign mirror://apt.xbian.org stable Release
Ign mirror://apt.xbian.org stable/main armhf Packages/DiffIndex
Ign mirror://apt.xbian.org stable/rpi-wheezy armhf Packages/DiffIndex
Ign mirror://apt.xbian.org stable/main Translation-en_US
Ign mirror://apt.xbian.org stable/main Translation-en
Ign mirror://apt.xbian.org stable/rpi-wheezy Translation-en_US
Ign mirror://apt.xbian.org stable/rpi-wheezy Translation-en
Err mirror://apt.xbian.org stable/main armhf Packages
No mirror file '/var/lib/apt/mirrors/apt.xbian.org_mirror.txt' found [Mirror: ]
Err mirror://apt.xbian.org stable/rpi-wheezy armhf Packages
No mirror file '/var/lib/apt/mirrors/apt.xbian.org_mirror.txt' found [Mirror: ]
Err http://mirrordirector.raspbian.org wheezy/contrib Translation-en_US
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/main Translation-en_US
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/main Translation-en
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/non-free Translation-en_US
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/rpi Translation-en_US
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/main armhf Packages
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
Err http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/Release.gpg Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://apt.xbian.org/dists/stable/Release.gpg Something wicked happened resolving 'apt.xbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://apt.xbian.org/dists/stable/main/i18n/Translation-en_US Something wicked happened resolving 'apt.xbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://apt.xbian.org/dists/stable/main/i18n/Translation-en Something wicked happened resolving 'apt.xbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://apt.xbian.org/dists/stable/main/binary-armhf/Packages Something wicked happened resolving 'apt.xbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/contrib/i18n/Translation-en_US Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/contrib/i18n/Translation-en Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/i18n/Translation-en_US Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/i18n/Translation-en Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/non-free/i18n/Translation-en_US Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/non-free/i18n/Translation-en Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/rpi/i18n/Translation-en_US Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/rpi/i18n/Translation-en Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/contrib/binary-armhf/Packages Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/non-free/binary-armhf/Packages Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/rpi/binary-armhf/Packages Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch mirror://apt.xbian.org/mirror.txt/dists/stable/main/binary-armhf/Packages No mirror file '/var/lib/apt/mirrors/apt.xbian.org_mirror.txt' found [Mirror: ]
W: Failed to fetch mirror://apt.xbian.org/mirror.txt/dists/stable/rpi-wheezy/binary-armhf/Packages No mirror file '/var/lib/apt/mirrors/apt.xbian.org_mirror.txt' found [Mirror: ]
E: Some index files failed to download. They have been ignored, or old ones used instead.
|