0

my laptop: window 7 32 bit. cs50 appliance: linux 2.6/3.x (64bit)

I can not launch gedit. Terminal works. Chrome works. When i click on gedit it gives me the following message (see attachment). I have tried "sudo apt-get update" and "sudo apt-get upgrade" and "sudo apt-get update --reinstall gedit" but it did not solved the issue. I have tried relaunching the cs50 appliance but had no success. gedit error message

update: I tried to do as shown in the video https://www.youtube.com/watch?v=kcoRaJLMX-U&feature=youtu.be

I have this (a copy of terminal below). Gedit still does not work.

jharvard@appliance (~): gedit              
/usr/bin/gedit: line 4:  4214 Segmentation fault      (core dumped) /usr/bin/gedit.appliance50-orig "$@" 2> /dev/null
jharvard@appliance (~): sudo apt-get update
Ign http://dl.google.com stable InRelease                                      
Get:1 http://mirror.cs50.net  InRelease [2085 B]                               
Get:2 http://dl.google.com stable Release.gpg [198 B]                          
Get:3 http://dl.google.com stable Release [1347 B]                             
Ign http://linux.dropbox.com trusty InRelease                                  
Get:4 http://mirror.cs50.net  Packages [2770 B]                                
Get:5 http://dl.google.com stable/main i386 Packages [1196 B]                  
Hit http://linux.dropbox.com trusty Release.gpg                                
Hit http://linux.dropbox.com trusty Release                                    
Hit http://linux.dropbox.com trusty/main amd64 Packages                        
Ign http://dl.google.com stable/main Translation-en                            
Hit http://linux.dropbox.com trusty/main i386 Packages                         
Ign http://mirror.cs50.net  Translation-en                                     
Ign http://linux.dropbox.com trusty/main Translation-en                        
Ign http://us.archive.ubuntu.com trusty InRelease                              
Ign http://us.archive.ubuntu.com trusty-updates InRelease                    
Ign http://us.archive.ubuntu.com trusty-backports InRelease                  
Hit http://us.archive.ubuntu.com trusty Release.gpg                          
Get:6 http://us.archive.ubuntu.com trusty-updates Release.gpg [933 B]        
Hit http://us.archive.ubuntu.com trusty-backports Release.gpg                
Hit http://us.archive.ubuntu.com trusty Release                              
Get:7 http://us.archive.ubuntu.com trusty-updates Release [62.0 kB]            
Hit http://us.archive.ubuntu.com trusty-backports Release                      
Hit http://us.archive.ubuntu.com trusty/main Sources                           
Hit http://us.archive.ubuntu.com trusty/restricted Sources                     
Hit http://us.archive.ubuntu.com trusty/universe Sources                       
Hit http://us.archive.ubuntu.com trusty/multiverse Sources                     
Hit http://us.archive.ubuntu.com trusty/main i386 Packages                     
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages               
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages                 
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://us.archive.ubuntu.com trusty/main Translation-en                    
Get:8 http://us.archive.ubuntu.com trusty/multiverse Translation-en [102 kB]   
Get:9 http://us.archive.ubuntu.com trusty/restricted Translation-en [3457 B]   
Hit http://us.archive.ubuntu.com trusty/universe Translation-en                
Get:10 http://us.archive.ubuntu.com trusty-updates/main Sources [177 kB]       
Ign http://security.ubuntu.com trusty-security InRelease                       
Get:11 http://security.ubuntu.com trusty-security Release.gpg [933 B]          
Get:12 http://security.ubuntu.com trusty-security Release [62.0 kB]            
Get:13 http://security.ubuntu.com trusty-security/main Sources [65.3 kB]       
Get:14 http://security.ubuntu.com trusty-security/restricted Sources [2061 B]  
Get:15 http://security.ubuntu.com trusty-security/universe Sources [17.4 kB]   
Get:16 http://security.ubuntu.com trusty-security/multiverse Sources [1896 B]  
Get:17 http://security.ubuntu.com trusty-security/main i386 Packages [191 kB]  
Err http://us.archive.ubuntu.com trusty-updates/restricted Sources             
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/universe Sources               
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/multiverse Sources             
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/main i386 Packages             
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages       
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/universe i386 Packages         
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages       
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/main Translation-en            
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en      
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/restricted Translation-en      
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-updates/universe Translation-en        
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/main Sources                 
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/restricted Sources           
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/universe Sources             
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/multiverse Sources           
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/main i386 Packages           
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages     
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/universe i386 Packages       
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages     
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/main Translation-en          
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en    
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/restricted Translation-en    
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Err http://us.archive.ubuntu.com trusty-backports/universe Translation-en      
  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]
Get:18 http://security.ubuntu.com trusty-security/restricted i386 Packages [8846 B]
Get:19 http://security.ubuntu.com trusty-security/universe i386 Packages [85.4 kB]
Get:20 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3624 B]
Get:21 http://security.ubuntu.com trusty-security/main Translation-en [101 kB] 
Get:22 http://security.ubuntu.com trusty-security/multiverse Translation-en [1580 B]
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Get:23 http://security.ubuntu.com trusty-security/universe Translation-en [46.8 kB]
Fetched 941 kB in 6min 53s (2272 B/s)                                          
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/source/Sources  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/source/Sources  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-i386/Packages  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/i18n/Translation-en  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/i18n/Translation-en  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/i18n/Translation-en  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/main/source/Sources  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/source/Sources  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/source/Sources  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/source/Sources  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/main/binary-i386/Packages  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/binary-i386/Packages  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/binary-i386/Packages  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/binary-i386/Packages  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/main/i18n/Translation-en  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/i18n/Translation-en  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/i18n/Translation-en  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/i18n/Translation-en  Unable to connect to us.archive.ubuntu.com:http: [IP: 2001:67c:1562::14 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/i18n/Translation-en  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
jharvard@appliance (~): sudo apt-get install --reinstall gedit
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb cifs-utils dmraid dpkg-repack firefox-locale-en
  gir1.2-appindicator3-0.1 gir1.2-json-1.0 gir1.2-timezonemap-1.0
  gir1.2-xkl-1.0 kpartx kpartx-boot libdebian-installer4
  libdevmapper-event1.02.1 libdmraid1.0.0.rc16 libtimezonemap1
  localechooser-data lvm2 python3-icu python3-pam rdate watershed
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 49 not upgraded.
Need to get 481 kB of archives.
After this operation, 0 B of additional disk space will be used.
Err http://us.archive.ubuntu.com/ubuntu/ trusty/main gedit i386 3.10.4-0ubuntu4
  Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/g/gedit/gedit_3.10.4-0ubuntu4_i386.deb  Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
jharvard@appliance (~): 
5
  • Actually it is sudo apt-get install --reinstall gedit! – kzidane Feb 10 '15 at 5:43
  • @Kareem, please, have a look at the edits i have posted above. It still does not work. – Alisher Tashpulatov Feb 10 '15 at 7:13
  • Are you sure you're having internet connection in the appliance? – kzidane Feb 10 '15 at 7:18
  • @Kareem thank you. I have internet connection. But for some reasons it would not download some stuff properly. I repeated the following sequence of commands until they had performed correctly: 1. sudo apt-get update 2. sudo apt-get install 3 sudo apt-get update --fix-missing – Alisher Tashpulatov Feb 10 '15 at 8:55
  • If your problem is solved, you may answer your own question and accept the answer for future references! – kzidane Feb 10 '15 at 10:15
1

I had the same problem, I resolved it by reinstalling gedit... be sure to update your appliance before reinstall

0

It turns out I had to update gedit. And it would not update properly. So, I repeated the following sequence of commands until they had performed correctly:
1. sudo apt-get update
2. sudo apt-get install
3. sudo apt-get update --fix-missing
ps. you can fix most of the issues thru watching the following video - Installing CS50 Appliance 2014 V26 in VirtualBox in Windows

1
  • Hi, as per the output posted above it seems that the Us ubuntu mirror was down when you tried to update, maybe because it is overloaded by people using cs50 appliance :). You could switch to other mirror in the future. . – hydrosIII Feb 12 '15 at 8:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .