You are not logged in.
Hello,
I seem to be having some trouble running sudo apt-get update. Here's the error I receive:
+ michael@debianT430 /etc/apt/sources.list.d $ sudo apt-get update
Hit http://pkg.bunsenlabs.org bunsen-hydrogen InRelease
Get:1 http://pkg.bunsenlabs.org bunsen-hydrogen/main amd64 Packages [9,404 B]
Hit http://security.debian.org jessie/updates InRelease
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Ign http://httpredir.debian.org jessie InRelease
Get:2 http://httpredir.debian.org jessie Release.gpg [2,373 B]
Get:3 http://httpredir.debian.org jessie Release [148 kB]
Get:4 http://httpredir.debian.org jessie/main amd64 Packages [6,761 kB]
Get:5 http://httpredir.debian.org jessie-updates InRelease [142 kB]
Get:6 http://httpredir.debian.org jessie-updates/main amd64 Packages [15.5 kB]
Get:7 http://httpredir.debian.org jessie/contrib amd64 Packages [50.2 kB]
Get:8 http://httpredir.debian.org jessie/non-free amd64 Packages [83.6 kB]
Get:9 http://httpredir.debian.org jessie-updates/contrib amd64 Packages [32 B]
Get:10 http://httpredir.debian.org jessie-updates/non-free amd64 Packages [516 B]
Fetched 7,214 kB in 27s (267 kB/s)
W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease Unable to find expected entry 'main/binary-i384/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/binary-i384/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://pkg.bunsenlabs.org/debian/dists/bunsen-hydrogen/InRelease Unable to find expected entry 'main/binary-i384/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/Release Unable to find expected entry 'main/binary-i384/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.
bash: __git_ps1: command not found
I made sure to make my /etc/apt/sources.list consistent with these instructions. I commented out all third-party sources in /etc/apt/sources.list.d/ (except for bunsen.list).
As far as I know, my architecture is x86_64.
I have not been able to find much support for the error message.
Any help you may have is most welcome!
Last edited by mastokley (2016-09-12 18:16:49)
Offline
Can you show us your /etc/apt/sources.list please?
Offline
^ I think we need to see all of the sources:
grep -v '^$\|^#' /etc/apt/sources.list{,.d/*}
Offline
cloverskull, Head_on_a_Stick, thank you for the replies.
Here are the sources:
+ michael@debianT430 ~ $ grep -v '^$\|^#' /etc/apt/sources.list{,.d/*}
/etc/apt/sources.list:deb http://httpredir.debian.org/debian jessie main contrib non-free
/etc/apt/sources.list:deb http://security.debian.org/ jessie/updates main contrib non-free
/etc/apt/sources.list:deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
/etc/apt/sources.list.d/bunsen.list:deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main
Offline
What does this say:
dpkg --print-foreign-architectures
Offline
+ michael@debianT430 ~ $ dpkg --print-foreign-architectures
i386
i384
Offline
Try:
sudo dpkg --remove-architecture i384
Offline
Try:
sudo dpkg --remove-architecture i384
Thank you so much! That seems to have fixed it. I can run sudo apt-get update.
Offline