All times are UTC-06:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Tue Nov 22, 2011 9:51 am 
Offline

Joined: Tue Nov 08, 2011 9:27 pm
Posts: 24
Location: Redwood Shores, CA & Napa, CA
I downloaded the Ubuntu image efika-armhf+3d-20110925.img.xz and wrote it to an SD Card which then allowed me to boot into Ubuntu.

Let me preface that I am unfamiliar with Ubuntu, my experience with Linux has been with version by Redhat, Gentoo, and, of course, Oracle.

I want to have a basic editor in the graphical interface for text files (nano in a shell works, but makes cutting and pasting cumbersome). So I try the install application feature and selected Emacs and also Gedit. What happens is that I get an error message: 404 not found when the packages are attempted to be downloaded.

My Ice Weasel browser works fine, I can download files therein.

What is not working for me is the Ubuntu package manager. I'll post a reply to this topic from within my Ubuntu session as to the error messages I receive. I'm thinking the problem may be the address of the server that is pre-installed, or there is a port issue (I do run a firewall on my network). It seems to me the package manager ought to work right out of the box, and if it doesn't something should be brought to the user's attention of what variables may prevent it from working, e.g. what ports need to be open or the user needs to select an address for a package repository.

I tried to ftp from a shell, but ftp is not in the default install. So, I'm in the chicken-or-the-egg scenario of troubleshooting this.


Last edited by jlpoole on Tue Nov 22, 2011 4:18 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Tue Nov 22, 2011 10:05 am 
Offline

Joined: Tue Nov 08, 2011 9:27 pm
Posts: 24
Location: Redwood Shores, CA & Napa, CA
Here's my scenario:

I'm in File Browser. I select a text file. Right click to "Open with other application". Dialog appears with two panels: installed & available applications. I select the Available Application and select one (there are two with the same version '23' ??) Emacs. Click "Install" window disappears. After about a minute a window would pop up saying that connection to the server failed with a 404 error.

As I enter this, I tried again so I could capture the output and I did not get the failure window, so it appears maybe good things are happening and Emacs is being successfully installed.

I tried System-Administration-Synaptic Package Manager and was told a background process instance was already running. It would be be nice to have a message that told be where to go to monitor the progress. I'll keep my fingers crossed and update this thread with the results.


Top
   
 Post subject:
PostPosted: Tue Nov 22, 2011 10:33 am 
Offline

Joined: Tue Nov 08, 2011 9:27 pm
Posts: 24
Location: Redwood Shores, CA & Napa, CA
I monitored synaptic in the System Monitor and found it doing nothing, so I killed it. I then went through the same selection process and this time selected to install "gedit". After clicking "Install" the dialog closes and 30 seconds pops up a dialog warning of problems, I click through to get the error messages:
Code:
E: Unable to correct missing packages

W: Failed to fetch http://ftp.debian-ports.org/debian/pool ... -1_all.deb
404 Not Found [IP: 206.12.19.127 80]


W: Failed to fetch http://ftp.debian-ports.org/debian/pool ... _armhf.deb
404 Not Found [IP: 206.12.19.127 80]


W: Failed to fetch http://ftp.debian-ports.org/debian/pool ... _armhf.deb
404 Not Found [IP: 206.12.19.127 80]


Is there something I can do to download packages in this Ubuntu install?


Top
   
 Post subject:
PostPosted: Tue Nov 22, 2011 1:39 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi John,

Could you run the following (as root)
Code:
apt-get update
After that, try installing a package again, with e.g,:
Code:
apt-get install gedit
Does this work?

By the way, efika-armhf+3d-20110925.img.xz is plain Debian, not Ubuntu.

Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Tue Nov 22, 2011 2:02 pm 
Offline

Joined: Tue Nov 08, 2011 9:27 pm
Posts: 24
Location: Redwood Shores, CA & Napa, CA
Quote:
Hi John,

Could you run the following (as root)
Code:
apt-get update
After that, try installing a package again, with e.g,:
Code:
apt-get install gedit
Does this work?

By the way, efika-armhf+3d-20110925.img.xz is plain Debian, not Ubuntu.

Johan.
Almost (running in a terminal window within Gnome :
Code:
root@efikamx-armhf:~# apt-get update
Ign http://ftp.debian-ports.org unstable InRelease
Ign http://ftp.debian-ports.org unreleased InRelease
Get:1 http://ftp.debian-ports.org unstable Release.gpg [836 B]
Get:2 http://ftp.debian-ports.org unreleased Release.gpg [836 B]
Get:3 http://ftp.debian-ports.org unstable Release [23.8 kB]
Ign http://incoming.debian-ports.org unstable InRelease
Get:4 http://ftp.debian-ports.org unreleased Release [25.8 kB]
Get:5 http://incoming.debian-ports.org unstable Release.gpg [836 B]
Get:6 http://incoming.debian-ports.org unstable Release [30.6 kB]
Get:7 http://ftp.debian-ports.org unstable/main armhf Packages [7738 kB]
Get:8 http://incoming.debian-ports.org unstable/main Sources [14 B]
Get:9 http://incoming.debian-ports.org unstable/main armhf Packages [52.8 kB]
Ign http://incoming.debian-ports.org unstable/main TranslationIndex
Ign http://incoming.debian-ports.org unstable/main Translation-en
Get:10 http://ftp.gr.debian.org unstable InRelease [160 kB]
Get:11 http://ftp.gr.debian.org unstable/main Sources/DiffIndex [2038 B]
Get:12 http://ftp.gr.debian.org unstable/contrib Sources/DiffIndex [2023 B]
Get:13 http://ftp.gr.debian.org unstable/non-free Sources/DiffIndex [2023 B]
Get:14 http://ftp.gr.debian.org unstable/main Sources [5931 kB]
Ign http://ftp.debian-ports.org unstable/main TranslationIndex
Get:15 http://ftp.debian-ports.org unreleased/main armhf Packages [12.6 kB]
Ign http://ftp.debian-ports.org unreleased/main TranslationIndex
Ign http://ftp.debian-ports.org unstable/main Translation-en
Ign http://ftp.debian-ports.org unreleased/main Translation-en
Get:16 http://ftp.gr.debian.org unstable/contrib Sources [57.2 kB]
Get:17 http://ftp.gr.debian.org unstable/non-free Sources [103 kB]
Fetched 14.1 MB in 1min 31s (154 kB/s)
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@efikamx-armhf:~#
If I need to exit Gnome to run apt-get update, I'll need instructions to exit yet retain a command line and then return (startx?).


Top
   
 Post subject:
PostPosted: Tue Nov 22, 2011 3:34 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

You don't have to exit GNome. Try running it again. I think there might be a stale lock file, so you might just want to delete it.

Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject: Problem solved
PostPosted: Tue Nov 22, 2011 4:14 pm 
Offline

Joined: Tue Nov 08, 2011 9:27 pm
Posts: 24
Location: Redwood Shores, CA & Napa, CA
There was a stale lock and I deleted it and the update proceeded. Thereafter, I was able to install Emacs using the package management system.

Thank you.

For propriety:
Code:
root@efikamx-armhf:~# apt-get update
Ign http://incoming.debian-ports.org unstable InRelease
Hit http://incoming.debian-ports.org unstable Release.gpg
Hit http://incoming.debian-ports.org unstable Release
Ign http://ftp.debian-ports.org unstable InRelease
Ign http://ftp.debian-ports.org unreleased InRelease
Hit http://ftp.debian-ports.org unstable Release.gpg
Hit http://incoming.debian-ports.org unstable/main Sources
Hit http://ftp.debian-ports.org unreleased Release.gpg
Hit http://incoming.debian-ports.org unstable/main armhf Packages
Ign http://incoming.debian-ports.org unstable/main TranslationIndex
Hit http://ftp.debian-ports.org unstable Release
Hit http://ftp.gr.debian.org unstable InRelease
Hit http://ftp.debian-ports.org unreleased Release
Hit http://ftp.debian-ports.org unstable/main armhf Packages
Ign http://ftp.debian-ports.org unstable/main TranslationIndex
Ign http://incoming.debian-ports.org unstable/main Translation-en
Hit http://ftp.debian-ports.org unreleased/main armhf Packages
Ign http://ftp.debian-ports.org unreleased/main TranslationIndex
Ign http://ftp.debian-ports.org unstable/main Translation-en
Ign http://ftp.debian-ports.org unreleased/main Translation-en
Hit http://ftp.gr.debian.org unstable/main Sources/DiffIndex
Hit http://ftp.gr.debian.org unstable/contrib Sources/DiffIndex
Hit http://ftp.gr.debian.org unstable/non-free Sources/DiffIndex
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@efikamx-armhf:~# ls /var/lib/dpkg/lock
/var/lib/dpkg/lock
root@efikamx-armhf:~# ls -la /var/lib/dpkg/lock
-rw-r----- 1 root root 0 Sep 25 09:19 /var/lib/dpkg/lock
root@efikamx-armhf:~# date
Tue Nov 22 14:00:48 PST 2011
root@efikamx-armhf:~# rm /var/lib/dpkg/lock
root@efikamx-armhf:~# ls -la /var/lib/dpkg/lock
ls: cannot access /var/lib/dpkg/lock: No such file or directory
root@efikamx-armhf:~# apt-get update
Ign http://incoming.debian-ports.org unstable InRelease
Ign http://ftp.debian-ports.org unstable InRelease
Ign http://ftp.debian-ports.org unreleased InRelease
Hit http://incoming.debian-ports.org unstable Release.gpg
Hit http://ftp.debian-ports.org unstable Release.gpg
Hit http://incoming.debian-ports.org unstable Release
Hit http://ftp.debian-ports.org unreleased Release.gpg
Hit http://ftp.debian-ports.org unstable Release
Hit http://ftp.debian-ports.org unreleased Release
Hit http://ftp.gr.debian.org unstable InRelease
Hit http://incoming.debian-ports.org unstable/main Sources
Hit http://incoming.debian-ports.org unstable/main armhf Packages
Ign http://incoming.debian-ports.org unstable/main TranslationIndex
Hit http://ftp.debian-ports.org unstable/main armhf Packages
Ign http://ftp.debian-ports.org unstable/main TranslationIndex
Hit http://ftp.debian-ports.org unreleased/main armhf Packages
Ign http://ftp.debian-ports.org unreleased/main TranslationIndex
Ign http://incoming.debian-ports.org unstable/main Translation-en
Ign http://ftp.debian-ports.org unstable/main Translation-en
Ign http://ftp.debian-ports.org unreleased/main Translation-en
Hit http://ftp.gr.debian.org unstable/main Sources/DiffIndex
Hit http://ftp.gr.debian.org unstable/contrib Sources/DiffIndex
Hit http://ftp.gr.debian.org unstable/non-free Sources/DiffIndex
Reading package lists... Done
root@efikamx-armhf:~#


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group