好的,下面是我在sudo apt更新或任何sudo apt-get操作过程中遇到的所有错误。
在你离开之前请阅读!(谢谢^^)
(记得在完成课文后添加这个词:顺便说一句,我使用的是ubuntu 13.04!)
我不知道如何创建一个绘图仪,所以代码或整个终端将在最后提供。我只想解释一下我的情况。所以我试着让Ubuntu (因为我很绝望,我尝试了任何可用的发行版(Debian))或者仅仅是linux来工作,我最终让Ubuntu开始工作,这是一个光荣的时刻!但是,随着最实际的使用也逐渐消失,辉煌的时刻很快就消失了,是的,我说的是Sudo apt-get命令或操作。
我的安卓手机是三星星系s4,提供了一些规格:
Model : "APQ8064T"
Cores : "4"
Architecture : "Krait 300"
Revision : "r1p0"
Process : "28nm"
Clock Speed : "384 MHZ - 1.89 GHz" #Pretty much a fast phone!
GPU Vendor : "Qualcomm"
GPU Renderer : "Adreno (TM) 320 @ 450 MHz"
Scaling Governor : Currently set to "ondemand"所以我的意思是手机可以很容易的同时运行android和ubuntu。
现在,我这样做的方式是遵循一个教程,即:这里
按照步骤,我使用了" vnc“方法,您基本上是在亚行外壳上以文本模式运行Ubuntu;或终端模拟器;并允许vnc连接到它。我基本上不使用它,因为连接是缓慢的,但无论如何它是坏的。您需要一个.img文件来使用它。它使用灌装箱来安装一个循环装置或类似的东西,瞧,就像魔法一样,它运行得很完美!或者我是这么想的,不管怎么说,从我所看到的情况来看,它是用armhf运行的,我的手机正在使用
Kernel Architecture : "armv7l"所以我猜它的意思是它使用的是什么架构。它确实有点过热安静(47c),但它只使用两个核心在中到高使用率(即分别为918 MHz和1350!)
下面是一些文本,我已经尝试过编辑sources.list,但它没有工作,我删除了"port.ubuntu",将它更改为"release.ubuntu“,还有”旧版本“-- changed -似乎什么都不起作用。
下面是404错误:
root@jflte:/ # sh /sdcard/ubuntu.sh
Making mount points and mounting to them...
Connecting to /sdcard...
Putting in some settings...
net.ipv4.ip_forward = 1
ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
(You will see an error about wlan0 if your WiFi is disabled. Safe to ignore.)
----------------- OKAY, starting Ubuntu! -----------------
Start VNC server? (y/n)
y
Start SSH server? (y/n)
y
Now enter the screen size you want in pixels (e.g. 800x480), followed by [ENTER]:
1920x1080
New 'X' desktop is localhost:0
Starting applications specified in /home/ubuntu/.vnc/xstartup
Log file is /home/ubuntu/.vnc/localhost:0.log
If you see the message 'New 'X' Desktop is localhost:0' then you are ready to VNC into your ubuntu OS..
If connection from a different machine on the same network as the android device use the address below:
192.168.0.87
If using androidVNC, change the 'Color Format' setting to 24-bit colour, and once you've VNC'd in, change the 'input mode' to touchpad (in settings)
* Starting OpenBSD Secure Shell server sshd [ OK ]
Save settings as defaults? (y/n) (You can always change it later in the app)
n
To shut down the Linux environment, just enter 'exit' at this terminal - and WAIT for all shutdown routines to finish!
root@localhost:/# sudo apt-get update
Ign http://releases.ubuntu.com raring Release.gpg
Ign http://releases.ubuntu.com raring Release
Err http://releases.ubuntu.com raring/main Sources
404 Not Found [IP: 91.189.88.148 80]
Err http://releases.ubuntu.com raring/restricted Sources
404 Not Found [IP: 91.189.88.148 80]
Err http://releases.ubuntu.com raring/universe Sources
404 Not Found [IP: 91.189.88.148 80]
Err http://releases.ubuntu.com raring/main armhf Packages
404 Not Found [IP: 91.189.88.148 80]
Err http://releases.ubuntu.com raring/restricted armhf Packages
404 Not Found [IP: 91.189.88.148 80]
Err http://releases.ubuntu.com raring/universe armhf Packages
404 Not Found [IP: 91.189.88.148 80]
Ign http://releases.ubuntu.com raring/main Translation-en
Ign http://releases.ubuntu.com raring/restricted Translation-en
Ign http://releases.ubuntu.com raring/universe Translation-en
W: Failed to fetch http://releases.ubuntu.com/dists/raring/main/source/Sources 404 Not Found [IP: 91.189.88.148 80]
W: Failed to fetch http://releases.ubuntu.com/dists/raring/restricted/source/Sources 404 Not Found [IP: 91.189.88.148 80]
W: Failed to fetch http://releases.ubuntu.com/dists/raring/universe/source/Sources 404 Not Found [IP: 91.189.88.148 80]
W: Failed to fetch http://releases.ubuntu.com/dists/raring/main/binary-armhf/Packages 404 Not Found [IP: 91.189.88.148 80]
W: Failed to fetch http://releases.ubuntu.com/dists/raring/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.88.148 80]
W: Failed to fetch http://releases.ubuntu.com/dists/raring/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.88.148 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@localhost:/# 因此,这是sources.list文件,请帮助!我等不及要开始工作了:)我已经走了这么远.
发布于 2015-02-28 08:30:53
不管怎样,我在深入挖掘之后找到了一个解决办法.
我找到了这个网站EOLUpgrades
这对我有帮助。我刚做了一个sudo apt-get update,只收到一个404,因为我包含了一个可选的源代码。
这是我的sources.list
deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multivers最后一个会被移除。升级还在进行中,安装.
对于任何接收到此信息的人,只需添加sources.list并删除最后一行
deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse更新完成。安装java。
所以我现在就了结这个。谢谢你的低语,因为你鼓励我再深入一点。:D
https://askubuntu.com/questions/590942
复制相似问题