Re: Update and Package manager unresponsive

2006-07-08 Thread Hans van Middendorp
On Sat, 08 Jul 2006 14:20:57 +0100
Stephen Fahey <[EMAIL PROTECTED]> wrote:

> I've been a debian etch user for less than a week, all was going very 
> well until after installing Firestarter firewall, which went well, I
> got the updates available window and went ahead with updates
> resulting in an error message, which I didn't write down.
> 
> I now cannot open Update manager or start Synaptic package Manager.
> I think the issue is I'm not being asked for Administrator password, 
> access to  Root Terminal does not get a response.  Running  :~$
> apt-get check in Terminal returns
> 
> E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission
> denied) E: Unable to lock the administration directory
> (/var/lib/dpkg/), are you root?
> 
One of the upgrades of Etch this week gave me the same problem.
Open an terminal and login as root.
Then run synaptic from the command line
Check in synaptic if gksu is correctly installed.
If not, as i presume, reinstall it.

Hans


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Update and Package manager unresponsive

2006-07-08 Thread Andrew Sackville-West
On Sat, Jul 08, 2006 at 04:53:31PM +0100, Stephen Fahey wrote:
> Robin Putters wrote:
> >On Sat, 2006-07-08 at 14:20 +0100, Stephen Fahey wrote:
> >  
> >>I now cannot open Update manager or start Synaptic package Manager.
> >>I think the issue is I'm not being asked for Administrator password, 
> >>access to  Root Terminal does not get a response.  Running  :~$ apt-get 
> >>check in Terminal returns
> >>
> >>
> >
> >Try :
> >:~$ sudo apt-get update
> >
> >or 
> >
> >:~$ su -c "apt-get update"
> >
> >
> >
> >
> >  
> sudo apt-get update resulted in password prompt but wouldn't except
> password, so tried next see below:

what password did you use? you should have used your users password,
not the root password. Is you user in the sudoers list? man sudo

> 
> [EMAIL PROTECTED]:~$ su -c "apt-get update"
> Password:
> Get: 1 http://mirror.cs.wisc.edu etch Release.gpg [189B]
> Hit http://mirror.cs.wisc.edu etch Release
> Hit http://mirror.cs.wisc.edu etch/main Packages/DiffIndex
> Hit http://mirror.cs.wisc.edu etch/main Sources/DiffIndex
> Get: 2 http://security.debian.org etch/updates Release.gpg [189B]
> Hit http://security.debian.org etch/updates Release
> Ign http://security.debian.org etch/updates/main Packages/DiffIndex
> Ign http://security.debian.org etch/updates/main Sources/DiffIndex
> Hit http://security.debian.org etch/updates/main Packages
> Hit http://security.debian.org etch/updates/main Sources
> Fetched 2B in 3s (1B/s)
> Reading package lists... Done
> [EMAIL PROTECTED]:~$

this command worked properly. you apt system seems to be working fine.

> 
> I however still have access problems. Holding the mouse over the Update 
> manager symbol I see the message
> "A error occurred, please run Package Manager from the right-click menu 
> or apt-get on a terminal to see what is wrong. The error message was: 
> 'Error: BrokenCount > 0' "
> Doing so gets no response.

which update manager are you talking about here? what desktop system
are you running: gnome? kde? some other? 

> 
> Is there a way of logging in as administrator (root) on startup? or am I 
> going to have to reinstall.

yes. you can log in as administrator many ways. the easiest is to upen
a terminal and type the su command. then enter the root password. you
will see the command line prompt change to a different style and you
will be then operating as root. be sure to exit out of root when you
are done.

you most certainly will not have to reinstall. once you install
debian, unless you REALLY REALLY break something, you'll never have to
reinstall. this list can help you solve all kinds of problems, but it
is important to provide really detailed information such as what
commands you've issued, what the responses were -- prefereably
verbatim (copy and paste from terminal windows). 

A


signature.asc
Description: Digital signature


Re: Update and Package manager unresponsive

2006-07-08 Thread Kamaraju Kusumanchi
On Saturday 08 July 2006 09:20, Stephen Fahey wrote:
> E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission
> denied) E: Unable to lock the administration directory (/var/lib/dpkg/),
> are you root?
>

You cannot run two simulataneous processes both of which will upgrade packages 
on your system. For example you cannot run two apt-get sessions or 
apt-get+synaptic sessions etc., simultaneously. To make sure that there are 
no such simultaneous sessions what apt does is to create a lock file. If the 
lock file is present other process cannot upgrade the packages.

What would have happened in your case is that one of your 
apt-get/synaptic/aptitude sessions were stopped abruptly. So the lock file 
was not deleted. you can kill the corresponding apt-get/synaptic/aptitude 
process by doing 

pkill apt-get

as root. Substitude apt-get with your package manager. After that everything 
should be fine.

> I've tried rebooting to no effect.

If you are using Debian (or any other Linux for that matter), normally you can 
trouble shoot a problem without rebooting. Rebooting is M$ way of solving 
problems. Do you want to be perceived as a clueless M$ user?

raju

-- 
http://kamaraju.googlepages.com/cornell-bazaar
http://groups.google.com/group/cornell-bazaar/about


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Update and Package manager unresponsive

2006-07-08 Thread Stephen Fahey




Robin Putters wrote:

  On Sat, 2006-07-08 at 14:20 +0100, Stephen Fahey wrote:
  
  
I now cannot open Update manager or start Synaptic package Manager.
I think the issue is I'm not being asked for Administrator password, 
access to  Root Terminal does not get a response.  Running  :~$ apt-get 
check in Terminal returns


  
  
Try :
:~$ sudo apt-get update

or 

:~$ su -c "apt-get update"




  

sudo apt-get update resulted in password prompt but wouldn't except 
password, so tried next see below:

[EMAIL PROTECTED]:~$ su -c "apt-get update"
Password:
Get: 1 http://mirror.cs.wisc.edu etch Release.gpg [189B]
Hit http://mirror.cs.wisc.edu etch Release
Hit http://mirror.cs.wisc.edu etch/main Packages/DiffIndex
Hit http://mirror.cs.wisc.edu etch/main Sources/DiffIndex
Get: 2 http://security.debian.org etch/updates Release.gpg [189B]
Hit http://security.debian.org etch/updates Release
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/main Sources
Fetched 2B in 3s (1B/s)
Reading package lists... Done
[EMAIL PROTECTED]:~$

I however still have access problems. Holding the mouse over the Update
manager symbol I see the message 
"A error occurred, please run Package Manager from the right-click menu
or apt-get on a terminal to see what is wrong. The error message was:
'Error: BrokenCount > 0' "
Doing so gets no response.

Is there a way of logging in as administrator (root) on startup? or am
I going to have to reinstall.

Steve






Re: Update and Package manager unresponsive

2006-07-08 Thread Robin Putters
On Sat, 2006-07-08 at 14:20 +0100, Stephen Fahey wrote:
> I now cannot open Update manager or start Synaptic package Manager.
> I think the issue is I'm not being asked for Administrator password, 
> access to  Root Terminal does not get a response.  Running  :~$ apt-get 
> check in Terminal returns
> 

Try :
:~$ sudo apt-get update

or 

:~$ su -c "apt-get update"




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Update and Package manager unresponsive

2006-07-08 Thread Bob Smither
On Sat, 2006-07-08 at 14:20 +0100, Stephen Fahey wrote:
> I've been a debian etch user for less than a week, all was going very 
> well until after installing Firestarter firewall, which went well, I got 
> the updates available window and went ahead with updates resulting in an 
> error message, which I didn't write down.
> 
> I now cannot open Update manager or start Synaptic package Manager.
> I think the issue is I'm not being asked for Administrator password, 
> access to  Root Terminal does not get a response.

Not sure about the above, but ...

>   Running  :~$ apt-get 
> check in Terminal returns
> E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you 
> root?

AFAIK, the command line tool will not prompt for the root password.
Just run your apt-get command after logging in as root.

Regards,


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Update and Package manager unresponsive

2006-07-08 Thread Stephen Fahey
I've been a debian etch user for less than a week, all was going very 
well until after installing Firestarter firewall, which went well, I got 
the updates available window and went ahead with updates resulting in an 
error message, which I didn't write down.


I now cannot open Update manager or start Synaptic package Manager.
I think the issue is I'm not being asked for Administrator password, 
access to  Root Terminal does not get a response.  Running  :~$ apt-get 
check in Terminal returns


E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you 
root?


I've tried rebooting to no effect.

Any suggestions

Steve


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]