Error while trying to install some programs to wheezy with apt

203 views
Skip to first unread message

Fritz Chwolka

unread,
Jun 13, 2019, 9:23:07 AM6/13/19
to MFM Discuss
Hi...
as the console isn't my part I installed some other programms and  xfce.
Now as Wheezy is an old distry debian put it into the http://archive.debian.org/debian/dists/wheezy/  and
with it I cant install or get updates anymore.

Question:  what have I change in the apt.conf files(s) to get it work ?  ( I'm not a linux guru)


root@beaglebone:~# sudo apt-get update
Ign http://ftp.us.debian.org wheezy Release.gpg
Hit http://repos.rcn-ee.com wheezy Release.gpg
Ign http://security.debian.org wheezy/updates Release.gpg
Ign http://ftp.us.debian.org wheezy-updates Release.gpg
Hit http://repos.rcn-ee.com wheezy Release
Ign http://security.debian.org wheezy/updates Release
Ign http://ftp.us.debian.org wheezy Release
Ign http://ftp.us.debian.org wheezy-updates Release
Hit http://repos.rcn-ee.com wheezy/main armhf Packages
Err http://security.debian.org wheezy/updates/main armhf Packages
  404  Not Found [IP: 151.101.12.204 80]
Err http://security.debian.org wheezy/updates/contrib armhf Packages
  404  Not Found [IP: 151.101.12.204 80]
Err http://security.debian.org wheezy/updates/non-free armhf Packages
  404  Not Found [IP: 151.101.12.204 80]
Err http://ftp.us.debian.org wheezy/main armhf Packages
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/contrib armhf Packages
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/non-free armhf Packages
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy-updates/main armhf Packages
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy-updates/contrib armhf Packages
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy-updates/non-free armhf Packages
  404  Not Found [IP: 64.50.233.100 80]
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-armhf/Packages  404  Not Found [IP: 151.101.12.204 80]

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/contrib/binary-armhf/Packages  404  Not Found [IP: 151.101.12.204 80]

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/non-free/binary-armhf/Packages  404  Not Found [IP: 151.101.12.204 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/main/binary-armhf/Packages  404  Not Found [IP: 64.50.233.100 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/contrib/binary-armhf/Packages  404  Not Found [IP: 64.50.233.100 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/non-free/binary-armhf/Packages  404  Not Found [IP: 64.50.233.100 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy-updates/main/binary-armhf/Packages  404  Not Found [IP: 64.50.233.100 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy-updates/contrib/binary-armhf/Packages  404  Not Found [IP: 64.50.233.100 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy-updates/non-free/binary-armhf/Packages  404  Not Found [IP: 64.50.233.100 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@beaglebone:~#

Fritz Chwolka

unread,
Jun 13, 2019, 9:43:29 AM6/13/19
to MFM Discuss
Okay.. I changed

/etc/apt/sources.list and added http.//archive/...   but must eveb change the updates URL I believe

## deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
###
deb http://archive.debian.org/debian wheezy main contrib non-free 
###
#deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free

deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free

#deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
#deb-src http://security.debian.org/ wheezy/updates main contrib non-free

#deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
##deb-src http://ftp.debian.org/debian wheezy-backports main contrib non-free

#Kernel source (repos.rcn-ee.com) : https://github.com/RobertCNelson/linux-stable-rcn-ee
#
#git clone https://github.com/RobertCNelson/linux-stable-rcn-ee
#cd ./linux-stable-rcn-ee
#git checkout `uname -r` -b tmp
#
deb [arch=armhf] http://repos.rcn-ee.com/debian/ wheezy main
#deb-src [arch=armhf] http://repos.rcn-ee.com/debian/ wheezy main
#
##--------------- now install MC



root@beaglebone:/etc/apt# apt-get install mc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libgpm2 mc-data
Suggested packages:
  gpm bzip2 links w3m lynx arj xpdf pdf-viewer dbview odt2txt gv catdvi djvulibre-bin imagemagick python-boto
  python-tz
The following NEW packages will be installed:
  libgpm2 mc mc-data
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 1534 kB of archives.
After this operation, 5948 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.debian.org/debian/ wheezy/main libgpm2 armhf 1.20.4-6 [34.0 kB]
Get:2 http://archive.debian.org/debian/ wheezy/main mc-data all 3:4.8.3-10 [1086 kB]
Get:3 http://archive.debian.org/debian/ wheezy/main mc armhf 3:4.8.3-10 [415 kB]
Fetched 1534 kB in 1s (1441 kB/s)
Selecting previously unselected package libgpm2:armhf.
(Reading database ... 21190 files and directories currently installed.)
Unpacking libgpm2:armhf (from .../libgpm2_1.20.4-6_armhf.deb) ...
Selecting previously unselected package mc-data.
Unpacking mc-data (from .../mc-data_3%3a4.8.3-10_all.deb) ...
Selecting previously unselected package mc.
Unpacking mc (from .../mc_3%3a4.8.3-10_armhf.deb) ...
Setting up libgpm2:armhf (1.20.4-6) ...
Setting up mc-data (3:4.8.3-10) ...
Setting up mc (3:4.8.3-10) ...
update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode
root@beaglebone:/etc/apt#


David Gesswein

unread,
Jun 13, 2019, 9:39:18 PM6/13/19
to mfm-d...@googlegroups.com
I just fixed that for my image (not yet online). Attached is what I went
with. Don't know which is better.
> --
> You received this message because you are subscribed to the Google Groups "MFM Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mfm-discuss...@googlegroups.com.
> To post to this group, send email to mfm-d...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/mfm-discuss/74aaa791-8b1c-4658-8458-3b0a86734c6d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

sources.list
Reply all
Reply to author
Forward
0 new messages