On Fri, Mar 04, 2011 at 09:14:18AM +1300, Marshland Engineering wrote: Erik: > 'Have you been able to "sudo apt-get install" anything else? Because if > you have some repositories listed in /etc/apt/sources.list , then that > shouldn't occur, 'cos it's there to be had:' > > This is a new install of 10.04 > > All updates are done
The purpose of the question was to verify that specifically apt has worked recently, invoked from the command line, with you entering the password required for sudo. >From "All updates are done", I might guess that apt has been used for a post-install fetch of the latest package versions. But I might be wrong. > $ apt-cache search gitk --- returns > stgit-contrib - set of contributed script to help with stgit > gitk - fast, scalable, distributed revision control system (revision tree > visualizer) OK, at least the local apt package list includes gitk. So now we need to know that /etc/apt/sources.list includes at least one legit repository, and that a sudo apt-get update has been done, so that you're not trying to fetch an old package, due to a stale list. (As suggested in my previous post.) > > $ egrep '^deb' /etc/apt/sources.list > /tmp/fred > Cursor just sits at the left side of the screen. > > Only way out is CTR Z > > So what do I try next ? That looks as if it's waiting for input on stdin (in this instance, the console), so try typing: deborah is a spunk (End it with Control-D instead of Control-Z, and it will complete, instead of merely being suspended.) If that line appears in /tmp/fred, then we have a second case of command line input failing for you. That will require local investigation. How you've managed to get: $ egrep '^deb' /etc/apt/sources.list > /tmp/fred to behave as: $ egrep '^deb' > /tmp/fred is not clear. I tested the command yet again here, giving: $ egrep '^deb' /etc/apt/sources.list > /tmp/fred $ more !$ more /tmp/fred deb http://au.archive.ubuntu.com/ubuntu/ hardy main restricted deb-src http://au.archive.ubuntu.com/ubuntu/ hardy main restricted deb http://au.archive.ubuntu.com/ubuntu/ hardy-updates main restricted deb-src http://au.archive.ubuntu.com/ubuntu/ hardy-updates main restricted deb http://au.archive.ubuntu.com/ubuntu/ hardy universe If you have lines like that, with lucid instead of hardy, then apt should be able to fetch the package. The error message you quoted is consistent with a misspelled package name, but gitk is a bit short for that to be likely. Two things to try are: $ ls -l /etc/apt/sources.list -rw-r--r-- 1 root root 3159 2009-05-17 10:09 /etc/apt/sources.list to just glance at the permissions, and then open the file to look at what repositories you're going to. I should already be on the road up to the farm, so won't be able to help further until late next week. Failing a storm of good suggestions here, the ubuntu-users mailing list ought to provide ideas to take the investigation further. One good thing is you'll know a bit more about the care and feeding of linux by the time this is put to bed. ;-) Erik -- Leibowitz's Rule: When hammering a nail, you will never hit your finger if you hold the hammer with both hands. ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
